/* Shared type system: all public HeyBacon pages use a Chinese-capable sans serif. */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --reading-sans: "Noto Sans SC", "Inter", "Helvetica Neue", Arial, sans-serif;
  --reading-font: var(--reading-sans);
}

/* Keep editorial headings on balanced, natural lines.  Layouts retain control of
   their measure, while titles avoid a lone Chinese character or punctuation mark. */
:where(h1, h2, h3, h4, h5, h6, [data-balance-text]) {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
}
