/* /videos (the launch videos on the site; public/js/videos.js renders the list): mobile-first, 16 px gutter from the
   container, no horizontal page scroll, tap targets >= 44 px. Landscape videos fill the column (a full grid row);
   vertical ones are capped at 360 px wide so a 9:16 player never fills a desktop screen. Logical properties for RTL. */
.vid-page { display: block; }
.vid-hero { margin: 8px 0 16px; }
.vid-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.1; margin: 4px 0 8px; }
.vid-hero .lead { font-size: 1rem; max-width: 46rem; margin: 0; }
.vid-draft { border-color: var(--accent); border-inline-start-width: 4px; margin-bottom: 20px; }
.vid-draft h2 { font-size: 1.05rem; color: var(--accent); margin: 0 0 6px; }
.vid-draft p { margin: 0; max-width: 46rem; }
.vid-status { margin: 12px 0; }
.vid-list { min-height: 60vh; } /* holds the column until the list arrives (no footer jump) */
.vid-list:empty { min-height: 40vh; }
.vid-group { margin: 0 0 28px; }
.vid-group h2 { margin: 0 0 6px; }
.vid-group-note { margin: 0 0 12px; max-width: 46rem; }
.vid-grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--pg-gap); }
.vid-grid > .card + .card { margin-top: 0; }
.vid-item { min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.vid-item.is-landscape { grid-column: 1 / -1; }
.vid-title { font-size: 1.1rem; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.vid-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); }
.vid-frame { width: 100%; }
.vid-frame video { display: block; width: 100%; height: auto; background: #000; border-radius: 10px; border: 1px solid var(--line); }
.vid-item.is-vertical .vid-frame { max-width: 360px; }
.vid-item.is-vertical .vid-frame video { aspect-ratio: 9 / 16; }
.vid-item.is-landscape .vid-frame video { aspect-ratio: 16 / 9; }
.vid-meta { margin: 0; font-size: 0.9rem; }
.vid-about { margin: 0; max-width: 46rem; }
.vid-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; }
.vid-langs .btn.small { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; font-size: 0.9rem; }
.vid-langs .btn.small[aria-pressed="false"] { background: var(--bg-3); color: var(--text); border-color: var(--line); }
.vid-langs .btn.small:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.vid-langs-links { align-items: center; }
.vid-langs-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.vid-more { margin: 8px 0 0; }
.vid-more a { display: inline-flex; align-items: center; min-height: 44px; }
/* two vertical videos side by side from tablet width; landscape ones keep the whole row */
@media (min-width: 720px) {
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .vid-item.is-landscape { padding: 20px; }
}
