.home-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--lam-public-header-height, 118px));
    height: calc(100dvh - var(--lam-public-header-height, 118px));
    margin-top: 0;
    overflow: hidden;
    background: #101318;
}

.home-hero__carousel,
.home-hero__inner,
.home-hero__slide,
.home-hero__picture {
    width: 100%;
    height: 100%;
}

.home-hero__slide {
    position: relative;
    background: #101318;
}

.home-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 12, 24, .62) 0%, rgba(5, 12, 24, .22) 48%, rgba(5, 12, 24, .36) 100%);
}

.home-hero__picture {
    display: block;
}

.home-hero__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero__description {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.home-hero__description-content {
    width: min(680px, 58vw);
    max-height: 48vh;
    overflow: hidden;
    color: #fff;
    font-size: clamp(24px, 3.2vw, 52px);
    font-weight: 400;
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .28);
    pointer-events: auto;
}

.home-hero__description-content > :last-child {
    margin-bottom: 0;
}

.home-hero__description-content p {
    margin-bottom: .55em;
}

.home-hero__description-content a {
    color: #fff;
    text-decoration: underline !important;
    text-underline-offset: .18em;
}

.home-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(0, 0, 0, .12);
    color: #fff;
    transform: translateY(-50%);
    transition: border-width .2s ease, background-color .2s ease, transform .2s ease;
}

.home-hero__arrow:hover,
.home-hero__arrow:focus-visible {
    border-width: 4px;
    background: rgba(26, 71, 145, .52);
    color: #fff;
    outline: none;
    transform: translateY(-50%) scale(.94);
}

.home-hero__arrow svg {
    width: 27px;
    height: 27px;
}

.home-hero__arrow--previous { left: 2vw; }
.home-hero__arrow--next { right: 2vw; }

.home-hero__counter {
    position: absolute;
    left: clamp(90px, 12vw, 180px);
    bottom: 6vh;
    z-index: 4;
    display: flex;
    gap: 5px;
    align-items: baseline;
    color: #fff;
    font-size: 16px;
    letter-spacing: .08em;
}

.home-hero__counter [data-hero-current] {
    font-size: 22px;
    font-weight: 600;
}

.home-hero__video-controls {
    position: absolute;
    right: 2vw;
    bottom: 2.2vh;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.home-hero__video-controls[hidden] { display: none; }

.home-hero__video-controls button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(0, 0, 0, .64);
    color: #fff;
}

.home-hero__video-controls button:hover,
.home-hero__video-controls button:focus-visible {
    background: #1a4791;
    outline: none;
}

.home-hero__video-controls svg { width: 25px; height: 25px; }
.home-hero__icon-play,
.home-hero__icon-sound { display: none; }
.home-hero__video-controls.is-paused .home-hero__icon-play,
.home-hero__video-controls.is-unmuted .home-hero__icon-sound { display: block; }
.home-hero__video-controls.is-paused .home-hero__icon-pause,
.home-hero__video-controls.is-unmuted .home-hero__icon-muted { display: none; }

.home-hero .carousel-fade .carousel-item {
    transition-duration: .55s;
}

@media (max-width: 767.98px) {
    .home-hero__slide::after {
        background: linear-gradient(0deg, rgba(5, 12, 24, .7) 0%, rgba(5, 12, 24, .16) 72%);
    }

    .home-hero__description {
        align-items: flex-end;
        padding: 0 0 18vh;
    }

    .home-hero__description-content {
        width: calc(100vw - 48px);
        font-size: clamp(25px, 8vw, 42px);
    }

    .home-hero__arrow {
        width: 48px;
        height: 48px;
    }

    .home-hero__arrow--previous { left: 14px; }
    .home-hero__arrow--next { right: 14px; }

    .home-hero__counter {
        left: 24px;
        bottom: 4vh;
    }

    .home-hero__video-controls {
        right: 16px;
        bottom: 3vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero .carousel-item,
    .home-hero__arrow {
        transition: none !important;
    }
}
