/* Video + Text Feature Slideshow (Mark 2)
   Extends .video-feature; stacks paired slides and crossfades by index. */

.video-feature-slideshow__stack {
  position: relative;
  display: grid;
}

.video-feature-slideshow__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.video-feature-slideshow__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.video-feature-slideshow__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

.video-feature-slideshow__dot {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #b3a369;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.video-feature-slideshow__dot:hover,
.video-feature-slideshow__dot:focus-visible {
  background-color: rgba(179, 163, 105, 0.45);
  outline: none;
}

.video-feature-slideshow__dot.is-active {
  background-color: #b3a369;
  transform: scale(1.15);
}

/* Keep CTA spacing consistent while absolute slides overlay */
@media (min-width: 1200px) {
  .video-feature-slideshow.video-text-left .video-feature__text-block .cta-wrapper {
    padding-right: 70px;
  }
}

@media (max-width: 1199px) {
  .video-feature-slideshow .video-feature-slideshow__nav {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-feature-slideshow__slide {
    transition: none;
  }
}
