.luxury-home-hero .hero-media {
  z-index: 0;
  opacity: 0;
  background: #151515;
  transition: opacity 650ms ease;
}

.luxury-home-hero .hero-media.is-active {
  z-index: 1;
  opacity: 1;
}

.luxury-home-hero .hero-shade {
  z-index: 2;
  pointer-events: none;
}

.luxury-home-hero[data-hero-slide="autumn"] .hero-shade {
  background: linear-gradient(90deg, rgba(7, 22, 20, 0.72) 0%, rgba(7, 22, 20, 0.48) 51%, rgba(7, 22, 20, 0.12) 100%);
}

.luxury-home-hero .hero-content {
  z-index: 3;
}

.hero-carousel-controls {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 38px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.hero-carousel-controls[hidden],
.hero-photo-credit[hidden],
.hero-photo-credit a[hidden] {
  display: none;
}

.hero-carousel-controls button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 29, 26, 0.34);
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.hero-carousel-controls button:hover,
.hero-carousel-controls button:focus-visible {
  background: rgba(10, 29, 26, 0.8);
}

.hero-carousel-controls span {
  min-width: 30px;
  font-size: 11px;
  text-align: center;
}

.hero-photo-credit {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 9px;
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}

.hero-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-photo-credit a + a::before {
  content: " · ";
  text-decoration: none;
}

@media (max-width: 620px) {
  .hero-carousel-controls {
    right: 18px;
    bottom: 44px;
  }

  .hero-photo-credit {
    right: 18px;
    bottom: 10px;
    max-width: calc(100% - 36px);
    font-size: 9px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .luxury-home-hero .hero-media {
    transition: none;
  }
}
