.frame.frame-type-video-hero {
    padding: 0;
    z-index: 1;

    + div {
        margin-top: 100vH;
        border-radius: 24px 24px 0 0;
    }
}

.video-hero {
    position: fixed;
    height: 100%; 
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px 16px 26px;
    overflow: hidden;
    color: #ffffff;
    box-sizing: border-box;
}

.video-hero__media {
    position: absolute;
    inset: 0;
}

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

.video-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.25) 0%, rgba(13, 13, 13, 0.55) 100%);
    pointer-events: none;
}

.video-hero__content {
    position: relative;
    z-index: 3;
    width: min(29.3125rem, 100%);
    text-align: left;
}

.video-hero__headline {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.video-hero__teaser {
    margin: 0;
    max-width: 60%;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5rem;
}

.video-hero__teaser p {
    margin: 0;
}

.video-hero__teaser > *:first-child {
    margin-top: 0;
}

.video-hero__teaser > *:last-child {
    margin-bottom: 0;
}

.video-hero__playback-toggle {
    position: absolute;
    right: 16px;
    bottom: 24px;
    z-index: 4;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: #F68F00;
    border: 1px solid #F68F00;
    color: #ffffff;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.video-hero__playback-toggle:hover,
.video-hero__playback-toggle:focus-visible {
    background: #D17A00;
}

.video-hero__playback-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.video-hero__playback-toggle:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.video-hero__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.video-hero__icon {
    position: absolute;
    display: block;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-hero__icon--play {
    width: 24px;
    height: 24px;
    line-height: 1;
}

.video-hero__icon--pause {
    width: 24px;
    height: 24px;
    line-height: 1;
}

.js-video-hero.is-playing .video-hero__icon--pause {
    opacity: 1;
}

.js-video-hero:not(.is-playing) .video-hero__icon--play {
    opacity: 1;
}

.video-hero__scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 4;
    display: none;
}

.video-hero__mouse {
    width: 0.95rem;
    height: 1.5rem;
    border: 1.5px solid #ffffff;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0.22rem;
    box-sizing: border-box;
}

.video-hero__mouse-wheel {
    width: 0.12rem;
    height: 0.32rem;
    border-radius: 999px;
    background: #ffffff;
    animation: video-hero-scroll-wheel 1.5s infinite ease-in-out;
}

@keyframes video-hero-scroll-wheel {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    25% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(0.42rem);
    }
}

@media (min-width: 992px) {
    .video-hero__content-wrapper {
        max-width: 1160px;
        width: 100%;
        position: relative;
        margin: 0 auto;
    }
    
    .video-hero {
        height: calc(100vh - 64px); 
    }

    .video-hero__playback-toggle {
        right: 0;
        bottom: 0;
    }

    .video-hero__scroll-indicator {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-hero__mouse-wheel {
        animation: none;
    }
}
