/* VIRASAT FULLSCREEN HERO BACKGROUND */

#home.hero,
#home .hero,
#home .vr-cinematic-hero {
    position: relative;
    isolation: isolate;
    background-image: none !important;
    background-color: #171717 !important;
}

#home.hero::after,
#home .hero::after,
#home .vr-cinematic-hero::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;

    /* Full coverage — no inset gaps */
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;

    background-image:
        linear-gradient(
            180deg,
            rgba(23,23,23,.38),
            rgba(23,23,23,.48),
            rgba(23,23,23,.38)
        ),
        url("../assets/images/bg1.jpg") !important;

    background-size: 100% 100%, cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;

    filter: none !important;
    backdrop-filter: none !important;
    transform: none !important;
    animation: none !important;

    pointer-events: none !important;
    z-index: -1 !important;
}

/* Extend background to the viewport edges */

#home .hero::after,
#home .vr-cinematic-hero::after {
    left: 50% !important;
    right: auto !important;
    width: 100vw !important;
    transform: translateX(-50%) !important;
}

#home {
    overflow-x: clip;
}

/* Text readability */

#home .hero h1,
#home .hero h1 em {
    text-shadow: 0 3px 12px rgba(0,0,0,.65);
}

#home .hero p,
#home .hero .eyebrow,
#home .hero .button.outline {
    text-shadow: 0 2px 6px rgba(0,0,0,.85);
}

/* Tablet and mobile */

@media (max-width: 1024px) {
    #home.hero::after,
    #home .hero::after,
    #home .vr-cinematic-hero::after {
        background-size: 100% 100%, cover !important;
        background-position: center center !important;
    }
}

@media (max-width: 760px) {
    #home.hero::after,
    #home .hero::after,
    #home .vr-cinematic-hero::after {
        background-image:
            linear-gradient(
                180deg,
                rgba(23,23,23,.42),
                rgba(23,23,23,.52),
                rgba(23,23,23,.42)
            ),
            url("../assets/images/bg1.jpg") !important;

        background-size: 100% 100%, cover !important;
    }
}