/* All translated homepages share the Simplified Chinese design. These rules fit longer headlines. */

/* script.js groups the animated headline letters into words; keep each word on one line. */
.gallery-word {
  display: inline-block;
  white-space: nowrap;
}

/* Let each language wrap its headline within the same hero card. */
.hero .headline-line { white-space: normal; }
.hero :is(.headline-topics, .gallery-trigger) { max-width: 100%; }
.hero .headline-topics {
  text-align: center;
  overflow-wrap: anywhere;
}

@media (max-width: 880px) {
  .home-figma-hero .headline { font-size: clamp(22px, 7.1vw, 43px); }
}
