/* Common reading-hero baseline. Existing, more specific language typography wins. */
:where(body[data-unified-module="content"][data-page="reading"]) .capx-writing-rhythm-copy {
  position: relative;
  margin-top: 44px;
}

:where(body[data-unified-module="content"][data-page="reading"]) .capx-writing-rhythm-copy h1 {
  max-width: min(1120px, 100%);
  margin: 0;
  color: var(--cap-ink, #111827);
  font-size: clamp(50px, 4.75vw, 68px);
  font-weight: 670;
  line-height: 1.1;
  letter-spacing: -.052em;
  white-space: normal;
  text-wrap: balance;
}

:where(body[data-unified-module="content"][data-page="reading"]) .capx-writing-rhythm-copy h1 span {
  display: block;
  margin-block-start: 5px;
  color: var(--cap-blue, #2162ec);
  white-space: normal;
}

/* Preserve the existing short Chinese desktop title's inline emphasis. Its
   established mobile selector remains stronger and continues to use two lines. */
:where(body[data-lang="zh"], body[data-lang="zh-Hans"]) .capx-writing-rhythm-copy h1 span {
  display: inline;
}

@media (max-width: 760px) {
  :where(body[data-unified-module="content"][data-page="reading"]) .capx-writing-rhythm-copy {
    margin-top: 38px;
  }
  :where(body[data-unified-module="content"][data-page="reading"]) .capx-writing-rhythm-copy h1 {
    font-size: 42px;
    line-height: 1.12;
  }
}
