.video-section {
    background: var(--light-gray);
}

.video-teaser {
    position: relative;
    display: block;
    max-width: 920px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    background: var(--navy);
    isolation: isolate;
}

.video-teaser-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-teaser-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 16, 36, 0.8) 0%, rgba(6, 16, 36, 0.15) 55%, rgba(6, 16, 36, 0.3) 100%);
    transition: opacity var(--transition);
    pointer-events: none;
}

.video-teaser-play {
    position: absolute;
    border: none;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    transition: transform var(--transition), background var(--transition);
    z-index: 1;
}

.video-teaser-play svg {
    width: 34px;
    height: 34px;
    margin-left: 4px;
}

.video-teaser-caption {
    position: absolute;
    left: 28px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: white;
    text-align: left;
    pointer-events: none;
}

.video-teaser-caption strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.video-teaser-caption small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.video-teaser-caption a {
    width: fit-content;
    color: white;
    text-decoration: underline;
    pointer-events: auto;
}

.video-teaser:not(.is-playing):hover .video-teaser-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: white;
}

.video-teaser-play:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 6px;
}

.video-teaser.is-playing .video-teaser-play,
.video-teaser.is-playing .video-teaser-caption,
.video-teaser.is-paused .video-teaser-caption {
    display: none;
}

.video-teaser.is-playing .video-teaser-shade {
    opacity: 0;
}

.video-teaser.is-paused .video-teaser-shade {
    opacity: 0.35;
}

.video-controls {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px 14px;
    color: white;
    background: linear-gradient(transparent, rgba(3, 10, 25, 0.88));
}

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

.video-control {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.video-control:hover,
.video-control:focus-visible {
    background: rgba(255, 255, 255, 0.2);
}

.video-control:focus-visible,
.video-progress:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.video-control svg {
    width: 22px;
    height: 22px;
}

.video-time {
    flex: none;
    min-width: 34px;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.video-progress {
    flex: 1;
    min-width: 0;
    height: 6px;
    border-radius: 3px;
    appearance: none;
    background: linear-gradient(to right, var(--blue) var(--progress, 0%), rgba(255, 255, 255, 0.5) var(--progress, 0%));
    cursor: pointer;
}

.video-progress::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    appearance: none;
    background: white;
}

.video-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: white;
}

.video-teaser:not(.is-paused) .icon-play,
.video-teaser.is-paused .icon-pause,
.video-teaser:not(.is-muted) .sound-off,
.video-teaser.is-muted .sound-wave {
    display: none;
}

.video-teaser:fullscreen {
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
}

.video-teaser:fullscreen .video-teaser-media {
    object-fit: contain;
}

@media (max-width: 600px) {
    .video-controls {
        gap: 5px;
        padding: 14px 8px 8px;
    }

    .video-control {
        width: 32px;
        height: 32px;
    }
}
