/*******************************************************************************************

    ██╗  ██╗███████╗██████╗  ██████╗               ██╗   ██╗██╗██████╗ ███████╗ ██████╗ 
    ██║  ██║██╔════╝██╔══██╗██╔═══██╗              ██║   ██║██║██╔══██╗██╔════╝██╔═══██╗
    ███████║█████╗  ██████╔╝██║   ██║    █████╗    ██║   ██║██║██║  ██║█████╗  ██║   ██║
    ██╔══██║██╔══╝  ██╔══██╗██║   ██║    ╚════╝    ╚██╗ ██╔╝██║██║  ██║██╔══╝  ██║   ██║
    ██║  ██║███████╗██║  ██║╚██████╔╝               ╚████╔╝ ██║██████╔╝███████╗╚██████╔╝
    ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝ ╚═════╝                 ╚═══╝  ╚═╝╚═════╝ ╚══════╝ ╚═════╝ 
                                                                                                                                                                                                                                                                                                                                                                                                                    
 *******************************************************************************************/


    .is-root-container .hero-video a {
        pointer-events: none;
    }

    .nvm-hero-video {
        overflow: hidden;
        position: relative;
        color: var(--brand-color-white);
    }

    .small .nvm-slideshow {
        height: 87vh;
    }

    .laptop .nvm-hero-video {
        height: 94vh;
    }

    .nvm-hero-video .hero-video {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

    /* Video overlay. */

    .nvm-hero-video-has-overlay .hero-video-overlay {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.1) 100%
        );
    }

    .nvm-hero-video .hero-video-text {
        position: absolute;
        width: 100%;
        text-align: center;
        bottom: calc(1.6*var(--nvm-text-rhythm));
        z-index: 1;
    }


    .nvm-hero-video .hero-video-text .hero-video-text-title {
        font-size: clamp(48px, 32px + 4vw, 100px);
        font-style: italic;
        font-weight: 400;
        /* text-transform: uppercase; */
        max-width: var(--nvm-panel-narrow-width);
        margin-left: auto;
        margin-right: auto;
        position: relative;
        z-index: 0;
    }

    .nvm-hero-video .hero-video-text .hero-video-text-description {
        max-width: var(--nvm-panel-narrow-width);
        margin-top: calc(0.25 * var(--nvm-text-rhythm));
        margin-bottom: calc(0.5 * var(--nvm-text-rhythm));
        margin-left: auto;
        margin-right: auto;
    }


    /* Reveal on page load using responsiville-load */
    html.responsiville-load .nvm-hero-video .hero-video-text .hero-video-text-title,
    html.responsiville-load .nvm-hero-video .hero-video-text .hero-video-text-description {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: .2s;
    }

    .nvm-hero-video .hero-video-text .hero-video-text-title,
    .nvm-hero-video .hero-video-text .hero-video-text-description {
        transform: translateY(100px);
        will-change: opacity, transform;
        transition: opacity 0.5s ease, transform 1s ease;
        transition-delay: 0s;
    }

    .nvm-hero-video .hero-video-text .hero-video-text-title,
    .nvm-hero-video .hero-video-text .hero-video-text-description  {
        opacity: 0;
        visibility: hidden;
    }


    .nvm-hero-video .hero-video-text a.button {
        opacity: 0;
        visibility: hidden;
        transform: translateY(100px);
        will-change: opacity, transform;
        transition: opacity 0.5s ease, transform 1s ease;
        transition-delay: 0s;
    }

    .responsiville-load .nvm-hero-video .hero-video-text a.button {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 1s;
    }

