/* Home page. */

.home-page-shell,
.home-hero-shell {
    width: 100%;
    min-height: 100%;
    background: var(--edm-background-header);
}

.home-page-shell {
    overflow: hidden;
}

.home-hero-shell {
    display: flex;
    flex-direction: column;
}

.home-intro-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    flex: 0 1 auto;
    object-fit: contain;
    background: var(--edm-background-header);
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 240px;
    flex: 1 0 240px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: -96px;
    padding: 132px 32px 56px;
    overflow: hidden;
    color: var(--edm-text-header-title);
    text-align: center;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(24, 24, 24, 0) 0%,
        rgba(24, 24, 24, 0.88) 34%,
        var(--edm-background-header) 62%
    );
}

.home-hero-copy::after {
    position: absolute;
    right: 12%;
    bottom: 26px;
    left: 12%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(137, 177, 87, 0.7),
        rgba(22, 127, 229, 0.7),
        transparent
    );
    content: "";
}

.home-mobile-login {
    display: none;
    pointer-events: auto;
}

@media (min-width: 769px) {
    .home-page-shell {
        border-radius: var(--card-radius) 0 0 var(--card-radius);
    }
}

@media (max-width: 768px) {
    .home-hero-copy {
        min-height: 220px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-hero-copy .edm-text-hero-large {
        font-size: clamp(30px, 7vw, 36px);
    }

    .home-mobile-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 136px;
        margin-top: 28px;
    }
}
