/* FactRefinery — Bulgarian typographic forms for lang=bg headings.
   2026-11-13. Playfair Display has no cyrl/BGR locl (Russian-form defaults).
   Source Serif 4 BG is Source Serif 4 Display with Bulgarian locl baked into
   the default cmap, so the glyphs stay Bulgarian even if lang or locl fail.
   Sofia Sans and Sofia Sans Condensed already use Bulgarian forms as defaults
   (their locl only supplies Russian alternates). Non-bg pages are unchanged.
*/
@font-face {
  font-family: 'Source Serif 4 BG';
  src: url('/fonts/SourceSerif4BG-Display-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4 BG';
  src: url('/fonts/SourceSerif4BG-Display-It.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4 BG';
  src: url('/fonts/SourceSerif4BG-Display-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4 BG';
  src: url('/fonts/SourceSerif4BG-Display-BoldIt.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

html[lang="bg"] .editorial h1.article-title,
html[lang="bg"] .ed-deck,
html[lang="bg"] .ed-body p.ed-lead::first-letter,
html[lang="bg"] .ed-body h2.ed-h,
html[lang="bg"] .ed-body .ed-pull,
html[lang="bg"] .ed-title {
  font-family: 'Source Serif 4 BG', 'Source Serif 4', Georgia, serif;
}

/* Ask browsers that honor it to apply BGR locl; does not swap the family. */
html[lang="bg"] h1,
html[lang="bg"] h2,
html[lang="bg"] h3,
html[lang="bg"] .article-title,
html[lang="bg"] .ed-title,
html[lang="bg"] .ed-deck,
html[lang="bg"] .category-title,
html[lang="bg"] .related-title,
html[lang="bg"] .sidebar-title {
  font-language-override: "BGR";
}
