/* ==========================================================
   Hero
   ========================================================== */

   .hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 816;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}


/* ----------------------------------------------------------
   Hero introduction
   ---------------------------------------------------------- */

.hero-introduction {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, var(--content-width));
    text-align: center;
    color: var(--color-light);
    z-index: 3;
    pointer-events: none;
}

.hero-introduction-brackets {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    font-size: 24px;
    font-weight: var(--font-bold);
    line-height: 1.2;
}

.hero-introduction-text {
    font-size: 32px;
    font-weight: var(--font-bold);
    line-height: 1.2;
    text-transform: none;
}


/* ==========================================================
   Mobile
   ========================================================== */

@media screen and (max-width: 700px) {

    .hero {
        aspect-ratio: 1080 / 1350;
    }

    .hero-introduction {
        width: calc(100% - 40px);
    }

    .hero-introduction-brackets {
        font-size: 17px;
    }

    .hero-introduction-text {
        font-size: 21px;
    }

}