/* Главная: единая компоновка карточек событий, туров и выездов. */
.home-cards .item_card {
  overflow: hidden;
}

.home-cards .card_slider .item_card__text {
  height: calc(100% - 245px);
  padding: 25px 20px 126px;
}

.home-cards .item_card__title {
  display: -webkit-box;
  height: 80px;
  margin-bottom: 16px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.home-cards .item_card__descr {
  display: -webkit-box;
  max-height: 60px;
  margin-bottom: 0;
  overflow: hidden;
  text-align: justify;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.home-cards .item_card .item_cardline {
  width: 100%;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
}

.home-cards .item_card .item_cardline:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.home-cards .item_card__date {
  min-width: 0;
}

.home-cards .item_card__time {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.home-cards .item_card__meta {
  position: absolute;
  right: 0;
  bottom: 73px;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  min-height: 22px;
  padding: 0 20px;
  font-family: "Geologica", sans-serif;
  font-size: 17px;
  line-height: 1.15;
}

.home-cards .card_slider .item_card__price {
  position: static;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 8px;
  font-size: inherit;
  line-height: inherit;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.home-cards .item_card__price .item_table__price {
  line-height: inherit;
}

.home-cards .item_card__responsible {
  min-width: 0;
  overflow: hidden;
  color: #353a48;
  font-weight: 400;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.home-cards .card_slider .item_card__btn {
  right: 0;
  bottom: 16px;
  left: 0;
  width: 100%;
  height: 43px;
  padding: 0 20px;
}

.home-cards .item_card .btn {
  width: 100%;
  max-width: none;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
}

@media (max-width: 1279.98px) {
  .home-cards .item_card__title {
    height: 66px;
  }
}

@media (max-width: 769px) {
  .home-cards .card_slider .item_card__text {
    height: calc(100% - 224px);
    padding: 15px 20px 118px;
  }

  .home-cards .item_card__title {
    height: 53px;
    margin-bottom: 12px;
  }

  .home-cards .item_card__descr {
    display: -webkit-box;
    max-height: 53px;
    font-size: 13px;
    line-height: 1.35;
  }

  .home-cards .item_card__meta {
    bottom: 68px;
    min-height: 18px;
    font-size: 15px;
  }

  .home-cards .card_slider .item_card__btn {
    bottom: 16px;
    height: 40px;
  }

  .home-cards .item_card .btn {
    padding: 9px 20px;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .home-cards .card_slider .item_card__text {
    height: calc(100% - 160px);
  }
}
