/* zh-home.css - the Chinese homepage only (index.html; rules scoped to html[lang="zh-cn"], which Linguise sets on /zh-cn/).
   The hero's opening line is six separate pieces for the word-by-word reveal. The spaces between them in the markup are right for English
   but show as gaps in Chinese. As flex items the pieces lose those spaces; each piece stays whole, so a line can only break between pieces. */
html[lang="zh-cn"] .hero__opening-line { display: flex; flex-wrap: wrap; justify-content: center; }
html[lang="zh-cn"] .hero__opening-word { white-space: nowrap; }
/* Fast lane (Vicky, 13 Nov 2026, from-A 045): the big title 全球子宫内膜异位症行动 stays on one line where it fits - from 768px its
   box is no longer capped at 20ch, and from 1024px it is 15% smaller (73.6 -> 62.6px at 1280/1440). It used to break inside the name.
   Worst pixel under the white title 5.51:1 or better (768-1920). Phones are unchanged: a break only after 全球 needs a mark in the
   markup (the wording table), which the fast lane does not cover. English and Persian are untouched (html[lang="zh-cn"] only). */
@media (min-width: 48rem) {
  html[lang="zh-cn"] .hero--editorial .hero__headline { max-width: none; }
  html[lang="zh-cn"] .hero--editorial .hero__line [data-zh="home.title"] { white-space: nowrap; }
}
@media (min-width: 64rem) {
  html[lang="zh-cn"] .hero--editorial .hero__line [data-zh="home.title"] { font-size: 0.85em; }
}
/* to-B 023 (13 Nov 2026): on a phone the title breaks only after 全球 (全球 / 子宫内膜异位症行动): the wording table writes it as two
   pieces side by side (a break is allowed only at their seam), and each piece stays whole. From 768px the rule above keeps it on one line. */
html[lang="zh-cn"] .hero--editorial .hero__line [data-zh="home.title"] .zh-keep { white-space: nowrap; }
/* ...and on a phone the nine characters of the second line fit the title's column (about 100vw - 56px): the title is sized down to
   that width where it would be wider (320-599px), never up; at 600px and above it is its usual size. */
@media (max-width: 47.99rem) {
  html[lang="zh-cn"] .hero--editorial .hero__line [data-zh="home.title"] { font-size: min(1em, calc((100vw - 56px) / 9.2)); }
}
