﻿/* =========================================================
   MSOL NEW VIDEO HERO
   Independent responsive Hero system
   Desktop proportion: 1120 x 510
   ========================================================= */

.video-hero{
    position:relative;
    display:block;
    width:100%;
    margin:0;
    padding:0;
    overflow:hidden;
    background:#071a2d;
}

.video-hero-media{
    position:relative;
    width:100%;
    aspect-ratio: 1120 / 450;
    margin:0;
    padding:0;
    overflow:hidden;
    background:#071a2d;
}

.video-hero-video{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    border:0;
    object-fit:cover;
    object-position:center center;
}

.video-hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        linear-gradient(
            90deg,
            rgba(3,17,31,.74) 0%,
            rgba(3,17,31,.52) 42%,
            rgba(3,17,31,.20) 72%,
            rgba(3,17,31,.08) 100%
        );
}

.video-hero-content{
    position:absolute;
    inset:0;
    z-index:2;

    width:min(1200px,calc(100% - 60px));
    height:100%;

    margin:0 auto;
    padding:40px 0;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    box-sizing:border-box;
}

.video-hero-title{
    width:100%;
    max-width:720px;
    margin:0 0 16px;
    padding:0;

    color:#fff;

    font-size:clamp(42px,4.5vw,72px);
    font-weight:800;
    line-height:1.06;
    letter-spacing:-1.5px;
}

.video-hero-subtitle{
    width:100%;
    max-width:620px;
    margin:0 0 25px;
    padding:0;

    color:rgba(255,255,255,.94);

    font-size:clamp(16px,1.25vw,20px);
    line-height:1.55;
}

.video-hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:48px;
    padding:12px 26px;

    border-radius:7px;

    background:#f8c62f;
    color:#111827;

    font-size:14px;
    font-weight:700;
    line-height:1;

    text-decoration:none;

    box-shadow:0 8px 25px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.video-hero-btn:hover{
    color:#111827;
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(0,0,0,.25);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:991.98px){

    .video-hero-media{
        aspect-ratio:16 / 8;
    }

    .video-hero-content{
        width:calc(100% - 50px);
        padding:32px 0;
    }

    .video-hero-title{
        max-width:620px;
        font-size:clamp(36px,6vw,54px);
    }

    .video-hero-subtitle{
        max-width:560px;
        font-size:16px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:767.98px){

    .video-hero-media{
        aspect-ratio:auto;
        height:430px;
        min-height:430px;
    }

    .video-hero-overlay{
        background:rgba(3,17,31,.56);
    }

    .video-hero-content{
        width:calc(100% - 32px);
        padding:28px 0;

        align-items:center;
        text-align:center;
    }

    .video-hero-title{
        max-width:520px;
        margin-bottom:14px;

        font-size:clamp(30px,8vw,42px);
        line-height:1.1;
        letter-spacing:-.7px;
    }

    .video-hero-subtitle{
        max-width:500px;
        margin-bottom:20px;

        font-size:15px;
        line-height:1.5;
    }

    .video-hero-btn{
        min-height:44px;
        padding:11px 22px;
        font-size:13px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width:480px){

    .video-hero-media{
        height:400px;
        min-height:400px;
    }

    .video-hero-content{
        width:calc(100% - 26px);
        padding:24px 0;
    }

    .video-hero-title{
        font-size:28px;
    }

    .video-hero-subtitle{
        font-size:14px;
    }
}
/* =========================================================
   MSOL HERO CONTENT - EXACT CENTER
   ========================================================= */

.video-hero-content{
    position:absolute;
    inset:0;
    z-index:2;

    width:100%;
    height:100%;

    margin:0;
    padding:30px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;
    box-sizing:border-box;
}

.video-hero-title{
    width:100%;
    max-width:800px;
    margin:0 auto 16px;
    text-align:center;
}

.video-hero-subtitle{
    width:100%;
    max-width:680px;
    margin:0 auto 24px;
    text-align:center;
}

.video-hero-btn{
    margin:0 auto;
    align-self:center;
}

@media (max-width:767.98px){

    .video-hero-content{
        padding:24px 20px;
    }

    .video-hero-title,
    .video-hero-subtitle{
        text-align:center;
    }

    .video-hero-btn{
        margin-left:auto;
        margin-right:auto;
    }
}


/* ===== MOBILE HERO EMPTY SPACE FIX ===== */
@media (max-width:575px){

    .ed-home-hero,
    .it-hero-area.ed-home-hero{
        height:430px !important;
        min-height:430px !important;
        max-height:430px !important;
        padding:0 !important;
        margin:0 !important;
        overflow:hidden !important;
    }

    .ed-home-hero .ed-hero-media-stage{
        position:relative !important;
        width:100% !important;
        height:430px !important;
        min-height:430px !important;
        max-height:430px !important;
        padding:0 !important;
        margin:0 !important;
        overflow:hidden !important;
    }

    .ed-home-hero #heroVideoWrap{
        position:relative !important;
        width:100% !important;
        height:430px !important;
        min-height:430px !important;
        max-height:430px !important;
        padding:0 !important;
        margin:0 !important;
        overflow:hidden !important;
        background:#061828 !important;
    }

    .ed-home-hero #heroIntroVideo{
        position:absolute !important;
        inset:0 !important;
        width:100% !important;
        height:100% !important;
        min-height:100% !important;
        max-height:none !important;
        object-fit:cover !important;
        object-position:center center !important;
        margin:0 !important;
    }

    .ed-home-hero .ed-hero-video-copy{
        position:absolute !important;
        inset:0 !important;
        z-index:3 !important;

        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;

        padding:25px 20px !important;
        margin:0 !important;
        text-align:center !important;
    }

    .ed-home-hero .ed-hero-video-copy h1{
        margin:0 0 20px !important;
    }

    .ed-home-hero .ed-hero-video-copy p{
        margin:0 0 28px !important;
    }
}


/* ===== MOBILE HERO FINAL HEIGHT FIX ===== */
@media (max-width:575px){

    .ed-home-hero,
    .it-hero-area.ed-home-hero,
    .ed-home-hero .ed-hero-media-stage,
    .ed-home-hero #heroVideoWrap{
        height:560px !important;
        min-height:560px !important;
        max-height:560px !important;
        margin:0 !important;
        padding:0 !important;
        overflow:hidden !important;
    }

    .ed-home-hero #heroIntroVideo{
        width:100% !important;
        height:100% !important;
        min-height:100% !important;
        max-height:none !important;

        object-fit:cover !important;
        object-position:center center !important;

        position:absolute !important;
        top:0 !important;
        left:0 !important;
    }

    .ed-home-hero .ed-hero-video-copy{
        position:absolute !important;
        inset:0 !important;

        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;

        padding:30px 18px !important;
        text-align:center !important;
    }

    .ed-home-hero .ed-hero-video-copy h1{
        font-size:39px !important;
        line-height:1.05 !important;
        margin:0 0 22px !important;
    }

    .ed-home-hero .ed-hero-video-copy p{
        font-size:17px !important;
        line-height:1.45 !important;
        margin:0 0 30px !important;
    }

    .ed-home-hero .ed-hero-video-copy a{
        margin-top:0 !important;
    }
}

