/* ============================================================
   news-brief.css - route-scoped styles for the Digitalage News Brief
   article /news/who-controls-what-you-see.

   Loaded ONLY on that route (via $page_css in the shell). Every selector is
   `.nb-*` scoped, so nothing here affects any other page. Reuses site-2026.css
   tokens (colors, fonts, radii). Two-column editorial + vertical 9:16 video on
   desktop; single column on mobile ordered headline -> video -> copy.
   ============================================================ */

.nb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 0.5rem;
}

/* Vertical video: reserve the 9:16 box so the poster/video never shifts
   layout while metadata loads. object-fit:contain keeps the whole frame. */
.nb-video__frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: 0 26px 64px -34px rgba(10, 10, 10, 0.55);
}
.nb-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

/* Visible disclaimer directly below the video. */
.nb-disclaimer {
  max-width: 440px;
  margin: 1rem auto 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--color-text-2);
  text-align: left;
}

/* Editorial copy column. */
.nb-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-ink-2);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.nb-copy > p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 1.1rem;
}
.nb-pullquote {
  margin: 1.5rem 0;
  padding: 0.15rem 0 0.15rem 1.25rem;
  border-left: 3px solid var(--cyan);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
  font-style: normal;
  color: var(--color-ink);
}
.nb-closing {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: var(--color-ink);
  margin: 1.5rem 0 0;
}

/* Desktop: editorial left, vertical video right (approx 460px column). The
   video block is second in the DOM, so mobile order is headline -> video ->
   copy; on desktop `order` places the copy on the left, video on the right. */
@media (min-width: 820px) {
  .nb-grid {
    grid-template-columns: 1fr minmax(0, 460px);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .nb-copy  { order: 1; }
  .nb-media { order: 2; }
}

/* Visible keyboard focus. */
.nb-article a:focus-visible,
.nb-video:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
