.lv2-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 430px;
    overflow: hidden;
    border-radius: inherit;
    touch-action: pan-y;
}
.lv2-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease;
}
.lv2-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.lv2-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lv2-hero-slider-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    background: rgba(255,255,255,.92);
    color: #0b6f55;
    box-shadow: 0 5px 20px rgba(0,0,0,.14);
    cursor: pointer;
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
}
.lv2-hero-slider-control:hover {
    transform: translateY(-50%) scale(1.04);
}
.lv2-hero-slider-prev { left: 16px; }
.lv2-hero-slider-next { right: 16px; }

.lv2-hero-slider:hover .lv2-hero-slider-control,
.lv2-hero-slider-control:focus-visible {
    opacity: 1;
}

.lv2-hero-slider-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 20px;
    background: rgba(18,39,31,.36);
    backdrop-filter: blur(4px);
}
.lv2-hero-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.58);
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}
.lv2-hero-slider-dot.is-active {
    width: 24px;
    border-radius: 10px;
    background: #fff;
}
@media(max-width:767.98px) {
    .lv2-hero-slider {
        min-height: 320px;
    }
    .lv2-hero-slider-control {
        opacity: 1;
        width: 38px;
        height: 38px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .lv2-hero-slide {
        transition: none;
    }
}


/* ==========================================================
   Legacy Landing V2 slider compatibility
   ==========================================================
   Older landing.css rules controlled visibility directly on
   .lv2-hero-slider img / img.is-active. Slider V2 controls
   visibility on the parent .lv2-hero-slide instead.
   Explicitly neutralize legacy image-level hiding here.
*/
.lv2-hero-slider .lv2-hero-slide > img {
    position: static !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    z-index: auto !important;
    display: block !important;
}

.lv2-hero-slider .lv2-hero-slide.is-active > img {
    opacity: 1 !important;
    visibility: visible !important;
}


/* ==========================================================
   Hero floating CTA stacking fix
   ==========================================================
   Slider slides use their own z-index for fade transitions.
   Keep the existing floating CTA visually above the slider
   without changing its layout/position.
*/
.lv2-hero-media {
    position: relative;
}

.lv2-hero-media .lv2-hero-slider {
    z-index: 1;
}

.lv2-hero-media .lv2-floating-card {
    position: absolute;
    z-index: 6 !important;
}

.lv2-hero-media .lv2-hero-slider-control,
.lv2-hero-media .lv2-hero-slider-dots {
    z-index: 5;
}
