/* Video poster with a play button; the YouTube player loads on demand (assets/js/main/video-facade.js, audit F-0223, F-0067).
   Pages set the box ratio with --video-ratio (default 16:9). */
.video-facade {
    position: relative;
    padding-top: var(--video-ratio, 56.25%);
    background: #0d1324;
}

.video-facade-btn,
.video-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.video-facade-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-facade-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(22, 30, 53, 0.85);
    transition: background-color 0.2s ease;
}

.video-facade-play::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 22px;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #fff;
}

.video-facade-btn:hover .video-facade-play,
.video-facade-btn:focus-visible .video-facade-play {
    background: #25C9DE;
}

.video-facade-btn:focus-visible {
    outline: 3px solid #25C9DE;
    outline-offset: 3px;
}

.video-caption {
    font-size: 16px;
    margin: 12px 0 0;
}
