.hero--contained {
  max-width: var(--container-max, 1320px);
  margin: 18px auto 0;
  padding: 0 16px;
}

.hero--contained .hero-swiper {
  border-radius: 16px;
  overflow: hidden;
}

.hero-swiper {
  --swiper-navigation-color: #2b241f;
  --swiper-theme-color: #4a3b32;
  width: 100%;
  background: #f7f2ec;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: var(--hero-height, auto);
  aspect-ratio: var(--hero-aspect, 1950 / 641);
  object-fit: var(--hero-fit, cover);
  background: #f7f2ec;
}

.hero-swiper .swiper-slide img.is-ph,
.hero-swiper .swiper-slide a.is-ph img {
  object-fit: contain;
  padding: 8% 18%;
  box-sizing: border-box;
  background: #fff;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 46px;
  height: 46px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 252, 248, 0.94);
  border: 0;
  border-radius: 50%;
  color: #3a312b;
  box-shadow: 0 8px 22px rgba(43, 36, 31, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  content: none;
}

.hero-swiper .swiper-button-prev svg,
.hero-swiper .swiper-button-next svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hero-swiper .swiper-button-prev {
  left: 16px;
}

.hero-swiper .swiper-button-next {
  right: 16px;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.hero-swiper.swiper-horizontal > .swiper-pagination-bullets {
  bottom: 18px;
  left: 50%;
  width: auto;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.72);
  backdrop-filter: blur(8px);
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  background: #cfc4b8;
  opacity: 1;
  border: 0;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #4a3b32;
  width: 22px;
  border-radius: 9px;
}

@media (max-width: 700px) {
  .hero--contained {
    margin-top: 10px;
    padding: 0 12px;
  }

  .hero--contained .hero-swiper {
    border-radius: 12px;
  }

  .hero-swiper .swiper-slide img {
    height: var(--hero-mobile-height, var(--hero-height, auto));
    aspect-ratio: var(--hero-mobile-aspect, var(--hero-aspect, 1950 / 641));
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 34px;
    height: 38px;
  }

  .hero-swiper .swiper-button-prev {
    left: 8px;
  }

  .hero-swiper .swiper-button-next {
    right: 8px;
  }

  .hero-swiper .swiper-pagination {
    bottom: 10px;
  }
}
