/* News page: reuses the tokens from style.css. */
.news-page { display: block; }
.news-nav { margin-left: auto; }
.news { max-width: 1120px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-left, 0px)) 48px; }
.news-hero h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; text-wrap: balance; }
.news-hero p { margin: 6px 0 0; color: var(--muted); }
.news-section { margin-top: 32px; }
.news-section h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; font-size: 21px; text-wrap: balance; }
.news-section h2 small { font-size: 13px; font-weight: 400; color: var(--muted); }
.news-section .lede { margin: 0 0 14px; color: var(--muted); max-width: 65ch; }
.news-section .more { font-size: 14px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.story {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--panel); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  color: inherit; text-decoration: none; border-top: 3px solid var(--c);
}
.story:hover, .story:focus-visible { outline: 2px solid var(--c); }
.story-media { position: relative; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--c) 16%, var(--chip)); display: grid; place-items: center; font-size: 40px; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.story-kicker { font-size: 12px; font-weight: 600; color: var(--c); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.story h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.story-meta { font-size: 13px; color: var(--muted); }
.story-note { font-size: 13px; background: var(--accent-soft); border-radius: 6px; padding: 4px 8px; margin-top: 4px; }
.story-credit { font-size: 11px; color: var(--muted); margin-top: 2px; }
.news-foot { margin-top: 40px; font-size: 13px; color: var(--muted); line-height: 1.7; }
@media (max-width: 860px) { .news-page .brand-text small { display: inline; } }
