.hero-collage-slider{
  position: relative;
  z-index: 1;
  margin-top: 0;
    padding-top: 24px;
    background-color: #d7c5b6;
}

.hero-collage-slider__viewport {
  overflow: hidden;
}

.hero-collage-slider__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.hero-collage-slide {
  flex: 0 0 100%;
  width: 100%;
}

.hero-collage-slide__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 24px;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-collage-slide__content {
  max-width: 420px;
}

.hero-collage-slide--center .hero-collage-slide__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-collage-slide--right .hero-collage-slide__content {
  margin-left: auto;
  text-align: right;
}

.hero-collage-slide__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8a6547;
}

.hero-collage-slide__title {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.94;
  font-weight: 400;
  color: #4b4342;
}

.hero-collage-slide__text {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.55;
  color: #4b4342;
}

.hero-collage-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-collage-slide--center .hero-collage-slide__actions {
  justify-content: center;
}

.hero-collage-slide--right .hero-collage-slide__actions {
  justify-content: flex-end;
}

.hero-collage-slide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hero-collage-slide__btn--primary {
  background: #c98d5b;
  border: 1px solid #c98d5b;
  color: #ffffff;
}

.hero-collage-slide__btn--primary:hover,
.hero-collage-slide__btn--primary:focus {
  background: #b77d4c;
  border-color: #b77d4c;
  color: #ffffff;
}

.hero-collage-slide__btn--secondary {
  background: transparent;
  border: 1px solid #d9c9bc;
  color: #4b4342;
}

.hero-collage-slide__btn--secondary:hover,
.hero-collage-slide__btn--secondary:focus {
  background: #efe6de;
  color: #4b4342;
}

.hero-collage-slide__media {
  min-width: 0;
}

.hero-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.78fr);
  gap: 16px;
  align-items: stretch;
  height: 420px;
}

.hero-featured-grid__stack {
  display: grid;
  grid-template-rows: 202px 202px;
  gap: 16px;
  height: 420px;
}

.hero-featured-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #e9e3dc;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.hero-featured-grid__item--main {
  height: 420px;
}

.hero-featured-grid__item--top,
.hero-featured-grid__item--bottom {
  height: 202px;
}

.hero-featured-grid__item img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-featured-grid--fallback {
  grid-template-columns: 1fr;
  height: 420px;
}

.hero-collage-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  padding: 0 16px;
}

.hero-collage-slider__arrow {
  width: 46px;
  height: 46px;
  border: 1px solid #dfd1c4;
  border-radius: 50%;
  background: #ffffff;
  color: #4b4342;
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s ease;
}

.hero-collage-slider__arrow:hover,
.hero-collage-slider__arrow:focus {
  background: #efe6de;
}

.hero-collage-slider__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-collage-slider__dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #d7c5b6;
}

.hero-collage-slider__dot.is-active {
  background: #c98d5b;
}

@media (max-width: 1199px) {
  .hero-collage-slide__inner {
      grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
      gap: 24px;
  }

  .hero-featured-grid {
      height: 380px;
  }

  .hero-featured-grid__stack {
      grid-template-rows: 182px 182px;
      height: 380px;
  }

  .hero-featured-grid__item--main {
      height: 380px;
  }

  .hero-featured-grid__item--top,
  .hero-featured-grid__item--bottom {
      height: 182px;
  }

  .hero-featured-grid--fallback {
      height: 380px;
  }
}

@media (max-width: 991px) {
  .hero-collage-slide__inner {
      grid-template-columns: 1fr;
      gap: 22px;
      padding: 18px 20px 24px;
  }

  .hero-collage-slide__content,
  .hero-collage-slide--center .hero-collage-slide__content,
  .hero-collage-slide--right .hero-collage-slide__content {
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
  }

  .hero-collage-slide__actions,
  .hero-collage-slide--center .hero-collage-slide__actions,
  .hero-collage-slide--right .hero-collage-slide__actions {
      justify-content: center;
  }

  .hero-featured-grid {
      grid-template-columns: 1fr 1fr;
      height: 300px;
  }

  .hero-featured-grid__stack {
      grid-template-rows: 142px 142px;
      height: 300px;
  }

  .hero-featured-grid__item--main {
      height: 300px;
  }

  .hero-featured-grid__item--top,
  .hero-featured-grid__item--bottom {
      height: 142px;
  }

  .hero-featured-grid--fallback {
      height: 300px;
  }
}

@media (max-width: 767px) {
  .hero-collage-slider {
      padding: 16px 0 14px;
  }

  .hero-collage-slide__inner {
      padding: 16px 16px 22px;
      gap: 18px;
  }

  .hero-collage-slide__title {
      font-size: clamp(36px, 11vw, 56px);
  }

  .hero-collage-slide__text {
      font-size: 16px;
      line-height: 1.55;
  }

  .hero-collage-slide__actions {
      flex-direction: column;
      align-items: stretch;
  }

  .hero-collage-slide__btn {
      width: 100%;
      min-width: 0;
  }

  .hero-featured-grid {
      grid-template-columns: 1fr;
      gap: 12px;
      height: auto;
  }

  .hero-featured-grid__item--main {
      height: 280px;
  }

  .hero-featured-grid__stack {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: none;
      gap: 12px;
      height: auto;
  }

  .hero-featured-grid__item--top,
  .hero-featured-grid__item--bottom {
      height: 150px;
  }

  .hero-featured-grid--fallback {
      height: 280px;
  }

  .hero-collage-slider__controls {
      gap: 12px;
      margin-top: 12px;
  }

  .hero-collage-slider__arrow {
      width: 40px;
      height: 40px;
      font-size: 18px;
  }
}

@media (max-width: 479px) {
  .hero-collage-slide__inner {
      padding-left: 14px;
      padding-right: 14px;
  }

  .hero-featured-grid__item--main {
      height: 240px;
  }

  .hero-featured-grid__stack {
      grid-template-columns: 1fr;
  }

  .hero-featured-grid__item--top {
      height: 140px;
  }

  .hero-featured-grid__item--bottom {
      display: none;
  }

  .hero-featured-grid--fallback {
      height: 240px;
  }
}/* Enable layout for up to 5 images */
.hero-featured-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(200px, 0.7fr);
    grid-template-rows: auto auto;
}

/* Position extra images under main */
.hero-featured-grid__item--extra {
    border-radius: 24px;
}

/* 4th image */
.hero-featured-grid__item--extra-1 {
    grid-column: 1 / 2;
    grid-row: 2;
    height: 140px;
}

/* 5th image */
.hero-featured-grid__item--extra-2 {
    grid-column: 2 / 3;
    grid-row: 2;
    height: 140px;
}

/* Adjust stack when extras exist */
.hero-featured-grid__stack {
    grid-row: 1;
}

/* Desktop only for extra images */
@media (max-width: 991px) {
    .hero-featured-grid__item--extra {
        display: none;
    }
}