/* === FCD Hero Swiper === */
.fcd-hero-swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 420;
  overflow: hidden;
  background: #e7e7e7;
}

.fcd-hero-swiper .swiper-wrapper,
.fcd-hero-swiper .swiper-slide {
  height: 100%;
}

.fcd-hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.fcd-hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fcd-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

/* Captions — vw units mirror RS proportional scaling (grid 1920×420) */
.fcd-caption {
  position: absolute;
  top: 13.8%; /* 58px / 420px */
  z-index: 2;
  max-width: 21.4vw; /* 411px / 1920 */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.fcd-caption-active {
  opacity: 1;
  pointer-events: auto;
}

.fcd-caption-left  { left: 19.8%; }
.fcd-caption-right { left: 63%; }

.fcd-cap-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6vw;   /* 50px / 1920 */
  line-height: 1;
  font-weight: 900;
  color: #fff;
  background: #000;
  padding: 0.52vw 0.52vw 0.52vw 1.04vw; /* 10px 10px 10px 20px / 1920 */
  border-radius: 1.56vw 0.26vw 0 0;     /* 30px 5px 0 0 / 1920 */
}

.fcd-cap-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.93vw;  /* 37px / 1920 */
  line-height: 1;
  color: #333;
  background: #fff;
  padding: 1.04vw;    /* 20px / 1920 */
  border-radius: 0 0 2.08vw 0; /* 0 0 40px 0 / 1920 */
}

/* Button: resizeme=false in RS — stays fixed px at all viewport widths */
.fcd-cap-btn {
  display: inline-block;
  margin-top: 6px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #831134;
  padding: 12px 35px;
  border-radius: 15px 10px 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.fcd-cap-btn:hover { background: #000; color: #fff; }

/* Swiper arrows — match RS uranus style (60px inset, no background) */
.fcd-hero-swiper .swiper-button-prev,
.fcd-hero-swiper .swiper-button-next {
  color: #fff;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  text-shadow: 0 0 6px rgba(0,0,0,.7);
  width: 40px;
  height: 40px;
}

.fcd-hero-swiper .swiper-button-prev { left: 60px; }
.fcd-hero-swiper .swiper-button-next { right: 60px; }

@media (max-width: 1024px) {
  .fcd-cap-headline { font-size: 34px; line-height: 34px; }
  .fcd-cap-sub      { font-size: 32px; }

  .fcd-caption {
    max-width: 320px;
    top: 30%;
  }

  .fcd-caption-left,
  .fcd-caption-right {
    left: auto;
    right: 10px;
  }
}

/* Landscape phones — let base aspect-ratio: 1920/420 size the height */
@media (max-height: 500px) and (orientation: landscape) {
  body .section-hero-slider { margin-bottom: 40px; }

  .fcd-hero-swiper .swiper-button-prev { left: 8px; z-index: 20; }
  .fcd-hero-swiper .swiper-button-next { right: 50px; z-index: 20; }

  .fcd-caption {
    left: 50% !important;
    right: auto !important;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 200px;
    width: 40%;
    text-align: center;
  }

  .fcd-cap-headline {
    font-size: 16px;
    line-height: 1;
    white-space: normal;
    border-radius: 12px 3px 0 0;
    padding: 5px 8px;
  }

  .fcd-cap-sub {
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 8px;
  }

  .fcd-cap-btn {
    font-size: 11px;
    padding: 6px 12px;
    margin-top: 3px;
  }
}

@media (max-width: 767px) {
  .fcd-hero-swiper { aspect-ratio: unset; height: 300px; }

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

  .fcd-hero-swiper .swiper-button-prev,
  .fcd-hero-swiper .swiper-button-next {
    --swiper-navigation-size: 22px;
    width: 24px;
    height: 24px;
  }

  .fcd-caption {
    left: 50% !important;
    right: auto !important;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 286px;
    width: 86%;
    text-align: center;
  }

  .fcd-cap-headline {
    font-size: 20px;
    line-height: 1;
    white-space: normal;
    border-radius: 20px 5px 0 0;
    padding: 8px 10px;
  }

  .fcd-cap-sub {
    font-size: 16px;
    line-height: 1;
    padding: 10px 15px;
  }

  .fcd-cap-btn {
    font-size: 13px;
    padding: 10px 20px;
  }
}
