.header__background.desktop {
    display: none;
}

.header__background .slides {
    position: fixed;
    bottom: -50px;
}

.header__background.desktop,
.header__background.mobile {
    width: 100%;
}

.header__background.desktop-img .slides img {
    margin-left: 0;
    width: 100%;
    height: 100%;
}

.header__background.mobile .slides img {
    margin-left: 0;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .header__background {
        height: 735px !important;
    }
}

@media screen and (min-width:575px){
    .header__background.mobile {
        display: none;
    }
    .header__background.desktop {
        display: block;
    }
}

@media screen and (max-width: 574px) {
    #header-background-mobile.header__background.desktop-img .slides li {
        width: auto !important;
        margin-right: -144% !important;
    }

    #header-background-mobile.header__background.desktop-img .slides img {
        object-fit: cover;
    }
}

/* ─── Event Video Banner Background ─── */

/* iframe fixed to viewport — same parallax approach as image .slides { position: fixed } */
.ev-header-video-iframe {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100vh;
    min-width: 177.78vh; /* 100 / 0.5625 */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

/* Dark overlay for text readability — also fixed to follow the video */
.ev-header-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
