/* V345 — desktop hero typography guard for all 12 localized homepages.
   The hero copy was constrained by older 920/1120px max-width rules, so the
   two intentional title lines could wrap again on desktop. Tablet/mobile are
   deliberately left unchanged. */

@media (min-width:1180px){
  /* Give title-only hero enough horizontal room on desktop. */
  .jp-hero-redesign .jp-hero-shell{
    width:100%!important;
    max-width:1440px!important;
    margin-inline:auto!important;
  }
  .jp-hero-redesign .jp-hero-copy{
    width:100%!important;
    max-width:1280px!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }
  .jp-hero-redesign .jp-hero-copy h1{
    width:100%!important;
    max-width:1280px!important;
    margin-inline:auto!important;
    font-weight:800!important;
    text-align:center!important;
  }

  /* Each span is an intentional semantic line. Never split it on desktop. */
  .jp-hero-redesign .jp-hero-title-line{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    white-space:nowrap!important;
    text-wrap:nowrap!important;
    overflow-wrap:normal!important;
    text-align:center!important;
  }

  /* CJK: short copy can stay large. */
  html[lang="ja-JP"] .jp-hero-redesign .jp-hero-copy h1,
  html[lang="zh-CN"] .jp-hero-redesign .jp-hero-copy h1{
    font-size:clamp(60px,5vw,78px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
  }

  /* Korean needs slightly more width per glyph. */
  html[lang="ko-KR"] .hero-experience .jp-hero-copy{
    width:100%!important;
    max-width:1280px!important;
  }
  html[lang="ko-KR"] .jp-hero-redesign .jp-hero-copy h1{
    width:100%!important;
    max-width:1280px!important;
    font-size:clamp(50px,4.2vw,68px)!important;
    line-height:1.1!important;
    letter-spacing:-.035em!important;
    word-break:keep-all!important;
  }

  /* English. */
  html[lang="en"] .jp-hero-redesign .jp-hero-copy h1{
    font-size:clamp(50px,4.25vw,68px)!important;
    line-height:1.09!important;
    letter-spacing:-.045em!important;
  }

  /* German is the longest localized title and therefore gets its own scale. */
  html[lang="de"] .jp-hero-redesign .jp-hero-copy h1{
    font-size:clamp(44px,3.75vw,60px)!important;
    line-height:1.1!important;
    letter-spacing:-.04em!important;
  }

  /* Romance languages + Turkish share a balanced desktop scale. */
  html[lang="fr"] .jp-hero-redesign .jp-hero-copy h1,
  html[lang="es"] .jp-hero-redesign .jp-hero-copy h1,
  html[lang="pt-BR"] .jp-hero-redesign .jp-hero-copy h1,
  html[lang="tr"] .jp-hero-redesign .jp-hero-copy h1{
    font-size:clamp(48px,4.15vw,66px)!important;
    line-height:1.1!important;
    letter-spacing:-.04em!important;
  }

  /* Russian is longer than the other Latin-script localizations. */
  html[lang="ru"] .jp-hero-redesign .jp-hero-copy h1{
    font-size:clamp(46px,3.95vw,62px)!important;
    line-height:1.1!important;
    letter-spacing:-.035em!important;
  }

  /* Thai and Arabic need looser vertical metrics and no tracking compression. */
  html[lang="th"] .jp-hero-redesign .jp-hero-copy h1,
  html[lang="ar"] .jp-hero-redesign .jp-hero-copy h1{
    font-size:clamp(50px,4.2vw,68px)!important;
    line-height:1.16!important;
    letter-spacing:0!important;
  }
}
