/* Click-to-play YouTube embeds on Help Center pages (see wwwroot/js/help-video.js). */
.help-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0f172a; margin: 1rem 0 1.5rem; box-shadow: 0 6px 20px rgba(15, 23, 42, .15); }
.help-video iframe, .help-video-play, .help-video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.help-video-play { padding: 0; cursor: pointer; background: none; }
.help-video-play img { object-fit: cover; }
.help-video-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .9; transition: transform .15s ease, opacity .15s ease; }
.help-video-play:hover .help-video-icon, .help-video-play:focus-visible .help-video-icon { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
.help-video-length { position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: 6px; font-size: .85rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .75); }

/* /help/videos gallery + the Help Center index strip. */
.help-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem 1.25rem; }
.help-video-card { min-width: 0; }
.help-video-card .help-video { margin: 0 0 .65rem; box-shadow: 0 3px 12px rgba(15, 23, 42, .12); }
.help-video-card .help-video-icon svg { width: 56px; height: 40px; }
/* Two videos side by side (stacks on phones). */
.help-video-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.help-video-pair .help-video { margin: 0; }
