/* ==========================================================================
   WH Hero Slider - Complete Styles
   ========================================================================== */
p {
  line-height: 1.4;
}

/* ---------------------------------------------------------------------
   1. Main Container
   --------------------------------------------------------------------- */
.wh-hero-wrapper {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  float: none;
  text-align: center;
  left: 0;
  right: 0;
}

.wh-hero {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  background-color: #1a1a1a; /* Dark background fallback */
}

/* ---------------------------------------------------------------------
   2. Slides Container & Individual Slides
   --------------------------------------------------------------------- */
.wh-hero__media {
  position: relative;
  width: 100%;
  height: 100%;
}

.wh-hero__slides {
  position: relative;
  width: 100%;
  min-height: 800px;
  cursor: grab;
  user-select: none;
}

.wh-hero__slides:active {
  cursor: grabbing;
}

.wh-hero__slides.is-dragging {
  cursor: grabbing;
}

.wh-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.wh-hero__slide a {
  color: #f13765;
}

.wh-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* ---------------------------------------------------------------------
   3. Individual Slide Content
   --------------------------------------------------------------------- */
.wh-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Background image */
.wh-hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wh-hero-slide__image img,
.wh-hero-slide__image picture,
.wh-hero-slide__image .media,
.wh-hero-slide__image .field,
.wh-hero-slide__image .field__item {
  width: 100%;
  height: 100%;
}

.wh-hero-slide__image img {
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark overlay on image for text readability */
.wh-hero-slide__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   4. Slide Text Overlay (per-slide content)
   --------------------------------------------------------------------- */
.wh-hero-slide__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  padding-bottom: 6rem; /* Space for CTAs and dots */
  min-height: 800px;
  color: #ffffff;
  z-index: 3;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Main Headline */
.wh-hero-slide__headline {
  font-family: 'Degular Display', sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: 1px;
  /* text-transform: uppercase; */
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 2rem auto;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
  text-align: center;
}

.wh-hero-slide__headline .field {
  display: inline;
}

/* Body Text */
.wh-hero-slide__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 1.5rem auto;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
  text-align: center;
}

.wh-hero-slide__body .field {
  display: inline;
}

.wh-hero-slide__body p {
  margin: 0;
  text-align: center;
}

/* Links in rich text - inherit paragraph styles */
.wh-hero-slide__body a {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  letter-spacing: 0;
  transition: opacity 0.2s ease;
}

.wh-hero-slide__body a:hover,
.wh-hero-slide__body a:focus {
  opacity: 0.8;
  text-decoration: underline;
  color: #F32958;
}

/* Animate text when slide is active */
.wh-hero__slide.is-active .wh-hero-slide__headline,
.wh-hero__slide.is-active .wh-hero-slide__body {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive text sizes */
@media (min-width: 768px) {
  .wh-hero,
  .wh-hero__slides,
  .wh-hero-slide__overlay {
    min-height: 550px;
  }

  .wh-hero-slide__headline {
    font-size: 4rem;
  }

  .wh-hero-slide__body {
    font-size: 18px;
    line-height: 1.4;
  }

  .wh-hero-slide__overlay {
    padding: 4rem 3rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 1024px) {
  .wh-hero,
  .wh-hero__slides,
  .wh-hero-slide__overlay {
    min-height: 800px;
  }

  .wh-hero-slide__headline {
    font-size: 75px;
    max-width: 1200px;
  }

  .wh-hero-slide__body {
    font-size: 20px;
    line-height: 1.4;
    max-width: 1000px;
  }
}

/* ---------------------------------------------------------------------
   5. Global Overlay (CTAs + Dots) - Always on top
   --------------------------------------------------------------------- */
.wh-hero__overlay-global {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  z-index: 1;
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------
   6. CTA Buttons
   --------------------------------------------------------------------- */
.wh-hero__ctas {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
}

.wh-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: 3px solid transparent;
  cursor: pointer;
  transition: 
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease;
}

.wh-hero__cta:focus {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Primary CTA: solid brand color */
.wh-hero__cta--primary {
  background-color: #F32958;
  color: #ffffff;
  border-color: #F32958;
  box-shadow: 0 6px 25px rgba(243, 41, 88, 0.5);
}

.wh-hero__cta--primary:hover,
.wh-hero__cta--primary:focus {
  background-color: #ff4d7a;
  border-color: #ff4d7a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(243, 41, 88, 0.6);
  color: #ffffff;
  text-decoration: none;
}

/* Secondary CTA: same format as primary (solid pink) */
.wh-hero__cta--secondary {
  background-color: #F32958;
  color: #ffffff;
  border-color: #F32958;
  box-shadow: 0 6px 25px rgba(243, 41, 88, 0.5);
}

.wh-hero__cta--secondary:hover,
.wh-hero__cta--secondary:focus {
  background-color: #ff4d7a;
  border-color: #ff4d7a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(243, 41, 88, 0.6);
  color: #ffffff;
  text-decoration: none;
}

/* Responsive CTA sizing */
@media (min-width: 768px) {
  .wh-hero__cta {
    padding: 1.4rem 3.5rem;
    font-size: 16px;
  }

  .wh-hero__ctas {
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .wh-hero__cta {
    padding: 1.5rem 4.5rem;
    font-size: 16px;
  }
}

/* ---------------------------------------------------------------------
   7. Navigation Dots
   --------------------------------------------------------------------- */
.wh-hero__dots {
  pointer-events: auto;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.wh-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: 
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
}

.wh-hero__dot:hover {
  border-color: #ffffff;
  transform: scale(1.2);
}

.wh-hero__dot:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.wh-hero__dot.is-active {
  background-color: #ffffff;
  border-color: #ffffff;
}

/* ---------------------------------------------------------------------
   8. Accessibility - Reduced Motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .wh-hero__slide {
    transition: opacity 0.1s ease-in-out;
  }

  .wh-hero-slide__headline,
  .wh-hero-slide__body {
    transition: none;
    transform: none;
  }

  .wh-hero__slide.is-active .wh-hero-slide__headline,
  .wh-hero__slide.is-active .wh-hero-slide__body {
    transform: none;
  }
}

/* ---------------------------------------------------------------------
   9. Hide empty field wrappers
   --------------------------------------------------------------------- */
.wh-hero-slide__headline:empty,
.wh-hero-slide__body:empty {
  display: none;
}
