﻿/* =========================================
   AUTOPLAY VIDEO (wrapper + unmute overlay)
   ========================================= */

/* Stage exists immediately (pre-JS), so it can reserve height */
/*.video-stage {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}*/

/* Reserve correct space immediately */
/*.video-stage--desktop {
    aspect-ratio: 16 / 9;
}

.video-stage--mobile {
    aspect-ratio: 540 / 786;
}*/

/* Let the JS wrapper + video fill the stage */
/*.video-stage .vvg-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-stage video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}*/


/* Unmute overlay */
/*.vvg-unmute-btn {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 10;
    padding: 16px 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    background: rgba(33, 59, 52, 0.70);
    color: #fff;
    pointer-events: auto;*/ /* button remains clickable */
/*}

    .vvg-unmute-btn:focus {
        outline: 2px solid rgba(255, 255, 255, 0.85);
        outline-offset: 2px;
    }

        .vvg-unmute-btn:focus:not(:focus-visible) {
            outline: none;
        }

@media (max-width: 576px) {
    .vvg-unmute-btn {
        left: 12px;
        top: 12px;
        padding: 10px 14px;
    }
}*/


.vvg-video-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    pointer-events: none; /* prevents the wrapper from blocking video controls */
}

    .vvg-video-wrap > video {
        display: block;
        width: 100%;
        height: auto;
        pointer-events: auto; /* allow native controls to be clickable */
    }

.vvg-unmute-btn {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 5;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    background: rgba(33, 59, 52, 0.70);
    color: #fff;
    pointer-events: auto; /* button remains clickable */
}

    .vvg-unmute-btn:focus {
        outline: 2px solid rgba(255, 255, 255, 0.85);
        outline-offset: 2px;
    }

        /* Optional: focus ring only for keyboard users (modern browsers) */
        .vvg-unmute-btn:focus:not(:focus-visible) {
            outline: none;
        }


@media (max-width: 576px) {
    .vvg-unmute-btn {
        left: 12px;
        top: 12px;
        padding: 10px 14px;
    }
}
