/* Блок «Акции» на главной (streams/offers_block.html) */

.offers-block {
  clear: both;
  margin: 100px 0;
}

.offers-block__title {
  margin: 0 0 30px;
  font-family: "Open Sans", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #009e87;
}

.offers-block__title a,
.offers-block__title a:visited {
  color: inherit;
  text-decoration: none;
}

.offers-block__title a:hover {
  color: #006e9f;
}

.offers-block__list:not(.slick-initialized) .offers-block__slide + .offers-block__slide {
  display: none;
}

/* базовые стили slick: в style.css они есть только для .b-slider */
.offers-block .slick-list {
  position: relative;
  overflow: hidden;
  margin: 0 -20px;
}

.offers-block .slick-track {
  position: relative;
  display: flex;
}

.offers-block .slick-slide {
  float: none;
  height: auto;
  padding: 0 20px;
  outline: none;
}

/* Карточка: фото слева, светлая панель с текстом справа */
.offer-card {
  display: flex;
  height: 100%;
  background: #e8f5f2;
}

/* фото не ниже 3:2 и тянется на всю высоту карточки, если текст в соседней акции длиннее */
.offer-card__image {
  position: relative;
  flex: 0 0 47%;
  display: block;
  overflow: hidden;
}

.offer-card__image::before {
  content: "";
  display: block;
  padding-top: 66.67%;
}

.offer-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.offer-card__image:hover img {
  transform: scale(1.04);
}

.offer-card__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 50px;
}

.offer-card__title {
  margin: 0 0 20px;
  font-family: "Orbi Sans", "Open Sans", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.offer-card__title a,
.offer-card__title a:visited {
  color: #009e87;
  text-decoration: none;
}

.offer-card__title a:hover {
  color: #006e9f;
}

.offer-card__text {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}

.offer-card__more.link-more {
  font-size: 18px;
}

/* Стрелки слева, ссылка «Все акции» справа — как у остальных блоков */
.offers-block__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 30px;
}

.offers-block__arrows {
  display: flex;
  gap: 10px;
  margin-right: auto;
}

.offers-block__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #009e87;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

.offers-block__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #009e87;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s;
}

.offers-block__arrow:hover {
  border-color: #009e87;
  background: #009e87;
}

.offers-block__arrow:hover svg {
  stroke: #fff;
}

@media (max-width: 991px) {
  .offer-card__content {
    padding: 25px 30px;
  }

  .offer-card__title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .offers-block {
    margin: 60px 0;
  }

  .offers-block__title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .offer-card {
    flex-direction: column;
  }

  .offer-card__image {
    flex: none;
  }

  .offer-card__content {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding: 25px 20px;
  }

  .offer-card__text {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .offers-block__bottom {
    margin-top: 20px;
  }

  .offers-block__bottom .link-more {
    font-size: 16px;
  }
}
