.hero-carousel-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-carousel-background img,
.hero-carousel-background::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .45s ease;
}
.hero-carousel-background img { object-fit: cover; }
.hero-carousel-background::after {
  content: '';
  background: linear-gradient(#110b08a3, #110b0880 55%, #110b0899);
}
.hero-carousel-background img.is-active,
.hero-carousel-background.is-active::after { opacity: 1; }
.hero > .hero-content { z-index: 1; }
.hero-carousel-controls {
  position: absolute;
  z-index: 2;
  bottom: clamp(17px, 2.3vw, 42px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 5px;
  border: 1px solid #ffffff47;
  border-radius: 30px;
  background: #16110e72;
}
.hero-carousel-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}
.hero-carousel-controls button:hover { background: #ffffff24; }
.hero-carousel-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.hero-carousel-controls .hero-carousel-dot { width: 30px; }
.hero-carousel-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.hero-carousel-dot[aria-current="true"]::after { background: #fff; }
.hero-carousel-controls .hero-carousel-play { font-size: 13px; }
@media (max-width: 760px) {
  .hero-carousel-controls button { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel-background img,
  .hero-carousel-background::after { transition: none; }
}
