/* Click-to-load YouTube player (inc/labs.php shantelle_theme_youtube_embed()): Intelligence Labs detail pages and YouTube embeds in articles (inc/video.php). Loaded only where a player is printed. */
/* Click-to-load video in a 16:9 frame, direct link below. */
.ss-video { margin: 2rem 0; }
/* At least 16:9 (no layout shift) and never clipped: a 16:9 spacer and the gate or iframe share one grid cell, so a long title or notice on a narrow screen makes the frame taller instead of overflowing it. The iframe carries the rounded corners. */
.ss-video__frame { background: linear-gradient(150deg, #10154a 0%, #1d1462 100%); border-radius: 14px; display: grid; }
.ss-video__frame::before { content: ""; grid-area: 1 / 1; padding-top: 56.25%; }
.ss-video__frame > * { grid-area: 1 / 1; min-width: 0; }
.ss-video__frame iframe { border: 0; border-radius: inherit; display: block; height: 100%; width: 100%; }
.ss-video__gate { align-items: center; box-sizing: border-box; color: #e8ebff; display: flex; flex-direction: column; gap: 0.6rem; justify-content: center; padding: 1.25rem; text-align: center; }
.ss-video__gate p { margin: 0; max-width: 34rem; }
.ss-video__title { color: #fff; font-size: 1.15rem; font-weight: 800; }
.ss-video__note { color: #c3c9ef; font-size: 0.85rem; line-height: 1.5; }
.ss-video__load { background: #fff; border: 0; border-radius: 999px; color: var(--ss-navy); cursor: pointer; font: inherit; font-weight: 800; padding: 0.6rem 1.3rem; }
.ss-video__load:focus-visible { outline: 3px solid var(--ss-cyan); outline-offset: 3px; }
.ss-video figcaption { font-size: 0.9rem; margin-top: 0.5rem; }
