/* Banner Video Slider - Midlands Care */
.banner-video-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    /* Natural 16:9 ratio - no cropping */
    aspect-ratio: 16 / 9;
}

.bvs-slide {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.bvs-slide.active {
    display: block;
}

/* MP4 - natural size, no crop */
.bvs-slide video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* contain = no crop, shows full video */
    display: block;
    background: #000;
}

.bvs-slide .banner-video-fallback {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

/* YouTube iframe - natural 16:9 */
.banner-yt-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
}

/* Dark overlay so text is readable */
.banner-video-slider-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
    pointer-events: none;
}

/* Text overlay */
.banner-video-slider-wrap .slider-text,
.banner-video-slider-wrap .care-slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

/* Mute button */
.bvs-mute-btn {
    position: absolute;
    bottom: 60px;
    right: 20px;
    z-index: 20;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.bvs-mute-btn:hover { background: rgba(0,0,0,0.8); }

/* Dots */
.bvs-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.bvs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid #fff;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}
.bvs-dot.active, .bvs-dot:hover { background: #fff; }

/* Arrows */
.bvs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 14px 18px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background 0.3s;
    line-height: 1;
}
.bvs-arrow:hover { background: rgba(0,0,0,0.7); }
.bvs-prev { left: 16px; }
.bvs-next { right: 16px; }

/* Mobile */
@media (max-width: 767px) {
    .banner-video-slider-wrap {
        aspect-ratio: 16 / 9;
    }
    .bvs-arrow { padding: 8px 10px; font-size: 14px; }
    .bvs-mute-btn { width: 36px; height: 36px; font-size: 14px; bottom: 50px; right: 10px; }
}

/* Hide YouTube branding with overlay cover trick */
.bvs-slide[data-type="youtube"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 50px;
    background: #000;
    z-index: 3;
}
.bvs-slide[data-type="youtube"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: transparent;
    z-index: 3;
}

/* Cover YouTube center play button */
.bvs-slide[data-type="youtube"] {
    pointer-events: none;
}
.bvs-slide[data-type="youtube"]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
}