.wl-carousel-wrapper {
    --wl-gold:            #c9a84c;
    --wl-gold-faint:      rgba(201, 168, 76, 0.32);
    --wl-gold-mid:        rgba(201, 168, 76, 0.50);
    --wl-gold-hover:      rgba(201, 168, 76, 0.18);
    --wl-cream:           #f5ede0;
    --wl-cream-dim:       rgba(245, 237, 224, 0.76);
    --wl-dark:            #0d0b08;
    --wl-overlay-default: rgba(10, 8, 5, 0.42);
    --wl-slide-height:    100vh;
    --wl-slide-min-height: 540px;
    --wl-transition-speed: 9s;
    --wl-content-bottom:  14%;
    --wl-content-left:    8%;
    --wl-nav-bottom:      14%;
    --wl-nav-right:       8%;
    --wl-dots-bottom:     6%;
}

/* ----------------------------------------------------------------
   Wrapper
   ---------------------------------------------------------------- */
.wl-carousel-wrapper {
    position: relative;
    width: 100%;
    height: var(--wl-slide-height);
    min-height: var(--wl-slide-min-height);
    overflow: hidden;
    background-color: var(--wl-dark);
}

.wl-carousel-wrapper .owl-carousel,
.wl-carousel-wrapper .owl-stage-outer,
.wl-carousel-wrapper .owl-stage {
    width: 100% !important;
    height: 100%;
}

.wl-carousel-wrapper .owl-stage {
    display: flex;          /* keeps non-animated mode intact   */
    position: relative;
}

.wl-carousel-wrapper .owl-item {
    width: 100% !important;
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

/* ----------------------------------------------------------------
   Slide
   ---------------------------------------------------------------- */
.wl-carousel-wrapper .wl-slide {
    position: relative;
    width: 100%;
    height: var(--wl-slide-height);
    min-height: var(--wl-slide-min-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ken-Burns: start zoomed in, ease out to 1.0 when .is-active added */
    transform: scale(1.07);
    transition: transform var(--wl-transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wl-carousel-wrapper .wl-slide.is-active {
    transform: scale(1.0);
}

/* ----------------------------------------------------------------
   Overlay tint  (background set via data attribute in JS)
   ---------------------------------------------------------------- */
.wl-carousel-wrapper .wl-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: var(--wl-overlay-default);
}

/* ----------------------------------------------------------------
   Slide content
   ---------------------------------------------------------------- */
.wl-carousel-wrapper .wl-slide__content {
    position: absolute;
    bottom: var(--wl-content-bottom);
    left: var(--wl-content-left);
    max-width: 660px;
    z-index: 3;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.55s, transform 1s ease 0.55s;
}

.wl-carousel-wrapper .wl-slide.is-active .wl-slide__content {
    opacity: 1;
    transform: translateY(0);
}

/* Rule */
.wl-carousel-wrapper .wl-slide__rule {
    display: block;
    width: 48px;
    height: 1px;
    background-color: var(--wl-gold);
    margin-bottom: 20px;
    border: none;
}

/* Title */
.wl-carousel-wrapper .wl-slide__title {
    font-weight: 300;
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    line-height: 1.06;
    color: var(--wl-cream);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

/* Subtitle */
.wl-carousel-wrapper .wl-slide__subtitle {
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--wl-cream-dim);
    margin: 0 0 34px;
    letter-spacing: 0.02em;
}

/* CTA button */
.wl-carousel-wrapper .wl-slide__cta {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    background-color: var(--terracotta);
    color: white;
    border: 1px solid var(--deep-green);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    /* transition: background-color 0.35s ease, color 0.35s ease; */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.wl-carousel-wrapper .wl-slide__cta:hover,
.wl-carousel-wrapper .wl-slide__cta:focus-visible {
  background-color: var(--deep-green);
  color: var(--ochre);
    outline: none;
}

/* ----------------------------------------------------------------
   Vignette (cinematic edge darkening, always above slides)
   ---------------------------------------------------------------- */
.wl-carousel-wrapper .wl-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background:
        radial-gradient(ellipse at center, transparent 45%, rgba(10, 8, 5, 0.72) 100%),
        linear-gradient(
            to bottom,
            rgba(10, 8, 5, 0.24) 0%,
            transparent 25%,
            transparent 60%,
            rgba(10, 8, 5, 0.30) 100%
        );
}

/* ----------------------------------------------------------------
   Owl Carousel — nav buttons
   ---------------------------------------------------------------- */
.wl-carousel-wrapper .owl-nav {
    position: absolute;
    bottom: var(--wl-nav-bottom);
    right: var(--wl-nav-right);
    z-index: 10;
    margin: 0 !important;
}

.wl-carousel-wrapper .owl-nav button.owl-prev,
.wl-carousel-wrapper .owl-nav button.owl-next {
    background: transparent !important;
    border: 1px solid var(--wl-gold-mid) !important;
    color: var(--wl-gold) !important;
    font-size: 1.1rem !important;
    width: 50px;
    height: 50px;
    border-radius: 0 !important;
    margin: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.wl-carousel-wrapper .owl-nav button:hover,
.wl-carousel-wrapper .owl-nav button:focus-visible {
    background: var(--wl-gold) !important;
    color: var(--wl-dark) !important;
    border-color: var(--wl-gold) !important;
    outline: none;
}

/* ----------------------------------------------------------------
   Owl Carousel — dot indicators
   ---------------------------------------------------------------- */
.wl-carousel-wrapper .owl-dots {
    position: absolute;
    bottom: var(--wl-dots-bottom);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex !important;
    gap: 6px;
}

.wl-carousel-wrapper .owl-dot {
    display: flex !important;
    align-items: center;
}

.wl-carousel-wrapper .owl-dot span {
    width: 32px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: var(--wl-gold-faint) !important;
    margin: 0 !important;
    transition: background-color 0.4s ease !important;
}

.wl-carousel-wrapper .owl-dot.active span,
.wl-carousel-wrapper .owl-dot:hover span {
    background: var(--wl-gold) !important;
}

.wl-anim-out {
    animation: wlSlideOut 1.3s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.wl-anim-in {
    animation: wlSlideIn 1.3s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes wlSlideOut {
    0%   { opacity: 1; transform: scale(1.00) translateX(0);   }
    100% { opacity: 0; transform: scale(0.95) translateX(-4%); }
}

@keyframes wlSlideIn {
    0%   { opacity: 0; transform: scale(1.07) translateX(4%);  }
    100% { opacity: 1; transform: scale(1.00) translateX(0);   }
}

/* ----------------------------------------------------------------
   Reduced motion — respects user accessibility preferences
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .wl-carousel-wrapper .wl-slide,
    .wl-carousel-wrapper .wl-slide__content {
        transition: none;
    }
    .wl-anim-out,
    .wl-anim-in {
        animation: none;
    }
}
