/* SEO article and reader styles inherit Bitwire Ink's dark/light tokens. */
.article-document { max-width: 860px; margin: 32px auto 48px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.article-document h1 { font-size: clamp(25px, 3vw, 39px); margin: 0 0 20px; line-height: 1.25; letter-spacing: -.035em; font-weight: 600; overflow-wrap: anywhere; }
.article-date { color: var(--quiet); font-size: 12px; margin: 0 0 24px; }
.seo-pagination { display: flex; justify-content: space-between; gap: 20px; margin: 28px 0; }
.seo-pagination a { color: var(--accent); padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }
.language-switch a { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 8px; font-size: 11px; color: var(--header-muted); }
.language-switch a[aria-current="page"] { background: var(--header-selected); color: var(--header-text); }
a.topic { display: inline-flex; align-items: center; }
body:not([data-page="home"]) .rail-viewport { display: block; }
body:not([data-page="home"]) .topics-arrow { display: none !important; }
body:not([data-page="home"]) .topics { scrollbar-width: thin; scrollbar-color: var(--control) transparent; }
body:not([data-page="home"]) .topics::-webkit-scrollbar { display: block; height: 3px; }
body:not([data-page="home"]) .topics::-webkit-scrollbar-thumb { background: var(--control); }
/* Highlight the headline, not the outline of the whole story card.
   A persistent underline keeps keyboard focus visible without relying on color. */
#main a:is(.lead-link, .brief-link, .stream-link):is(:focus, :focus-visible, :active, .is-reader-active) { outline: none; }
#main a:is(.lead-link, .brief-link, .stream-link):is(:hover, :active, :focus-visible, .is-reader-active) .story-title { color: var(--accent); }
#main a:is(.lead-link, .brief-link, .stream-link):is(:focus-visible, .is-reader-active) .story-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-skip-ink: auto; }
.reader-status { color: var(--muted); font-size: 14px; }
#reader[data-news-popup] #reader-title:focus { outline: none; }
@media (forced-colors: active) {
  #main a:is(.lead-link, .brief-link, .stream-link):focus-visible .story-title { color: LinkText; text-decoration-color: LinkText; }
}
@media (max-width: 540px) { .article-document { margin-block: 24px; } .article-document .reader-content { padding: 26px 20px; } }
@media print { .article-document { max-width: none; border: 0; margin: 0; } .seo-pagination { display: none; } }
