/* The Raisina Post — publication typography
   Two families, loaded once by scripts/build.py:
   Fraunces for editorial display; Manrope for copy, UI, metadata and Threads.
   This file is last in the cascade; no per-article font setup. */
:root {
  --ra-font-display:"Fraunces",Georgia,serif;
  --ra-font-ui:"Manrope",Arial,sans-serif;
  --serif:var(--ra-font-display);
  --sans:var(--ra-font-ui);
}
body,body * {
  font-family:var(--ra-font-ui)!important;
}
/* Preserve the readability of code and preformatted public records. */
body pre,body pre *,body code,body code *,body kbd,body samp {
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;
}
/* Editorial headlines, not utility labels or navigation, use Fraunces.
   Match the specificity of older homepage shorthand font rules. */
body:has(.editorial-cover) .frontpage.editorial-cover .lead-story h2,
body:has(.editorial-cover) .frontpage.editorial-cover .lead-story h2 a,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story h3,
body:has(.editorial-cover) .frontpage.editorial-cover .home-mini-rail .rail-story h3 a,
body .ra-article .ra-mast h1,
body .ra-article .ra-body h2,
body .ra-article .ra-body h3,
body .ra-article .ra-body blockquote,
body .ra-collection .ra-mast h1,
body .ra-collection .ra-list-entry h2,
body .ra-collection .ra-list-entry h2 a,
body .editorial-document .ed-hero h1,
body .editorial-document .ed-main h2,
body .legal-document .ed-hero h1,
body .research-intro h1,
body .research-page main h1,
body .about-page main h1,
body .directory-main h1,
body .premium-desk h1,
body .obs-main h1,
body .frontpage .article-row h3,
body .frontpage .article-row h3 a {
  font-family:var(--ra-font-display)!important;
  font-optical-sizing:auto;
}
/* A distinct newspaper headline rhythm without changing sizes or card geometry. */
body:has(.editorial-cover) .frontpage.editorial-cover .lead-story h2,
body .ra-article .ra-mast h1,
body .ra-article .ra-body h2 {
  letter-spacing:-.025em!important;
}
/* Keep the interface typographic rather than editorial: labels,
   navigation, live Threads, financial tables and controls remain sans. */
body .site-header.universal-header,
body .site-header.universal-header :is(a,span,small,time,button),
body .mobile-site-chrome,
body .mobile-site-chrome :is(a,span,button),
body .home-threads,
body .home-threads :is(h2,h3,a,span,time),
body .frontpage .section-bar h2,
body .home-secondary-heading h3,
body .home-bulletins-heading h2,
body .ra-article .ra-deck,
body .ra-article .ra-body,
body .ra-article .ra-byline,
body .ra-article .ra-top-tools,
body .ra-article .ra-summary,
body .ra-article .ra-dateline,
body .ra-article .ra-end-actions {
  font-family:var(--ra-font-ui)!important;
}
/* Keep superscript citations compact and distinguishable. */
body .ra-body sup,
body .ra-body .ra-cite {
  font-family:var(--ra-font-ui)!important;
}
