/* Japanese reading composition. Text, citations and font size remain intact. */
:where(main h1, main h2, main h3, main p, main figcaption) {
  line-break: strict;
  word-break: normal;
  font-kerning: normal;
}
:where(.article-copy p, .editorial-note p, .story-card p, .page-intro p, .deck) {
  text-wrap: pretty;
  overflow-wrap: break-word;
}
:where(main h1, main h2, main h3), .article-copy .takeaway {
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* A short, edited ending travels together when it fits. At narrow/zoomed widths
   it can still wrap inside its own box, rather than overflow or shrink the type. */
.takeaway .keep-ending {
  display: inline-block;
  max-inline-size: 100%;
  vertical-align: baseline;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
}
@supports (text-spacing-trim: trim-both) {
  :where(.article-copy p, .article-copy h2, .article-heading h1, .editorial-note p) {
    text-spacing-trim: trim-both;
  }
}
