/* MOVANCE heading-wrap correction, 2026-11-10.
 * Applied AFTER home-v2-alignment.css for interior pages only.
 * Preserves headline copy/metadata and each page's visual composition.
 * Primary regression: global 53px headings added to narrow hero text columns.
 */
body:not(.home-page) main :is(h1,h2,h3) {
  text-wrap:pretty;
  overflow-wrap:break-word;
}
body:not(.home-page) main :is(h1,h2,h3) br {
  /* Desktop copy editors can keep a semantic pause; smaller widths unwrap it. */
}

/* Nationwide Web Solutions: two intentional desktop lines; no <wbr> in H1. */
body.national-reference-page .nr-hero-copy {width:min(70%,780px)}
body.national-reference-page .nr-hero h1 {
  font-size:clamp(28px,2.6vw,38px);
  line-height:1.44;
  letter-spacing:-.045em;
  overflow-wrap:normal;
  word-break:normal;
  text-wrap:pretty;
}
/* Restore the text and icon/image balance at laptop widths. */
@media (min-width:901px) and (max-width:1250px) {
  body.national-reference-page .nr-hero-copy {width:67%}
  body.national-reference-page .nr-hero h1 {font-size:clamp(27px,2.75vw,34px)}
}
@media (min-width:641px) and (max-width:900px) {
  body.national-reference-page .nr-hero-copy {width:72%;max-width:620px}
  body.national-reference-page .nr-hero h1 {font-size:clamp(26px,3.65vw,33px);line-height:1.48}
  body.national-reference-page .nr-hero h1 .nr-desktop {display:none}
}
@media (max-width:640px) {
  body.national-reference-page .nr-hero-copy {width:100%}
  body.national-reference-page .nr-hero h1 {font-size:clamp(27px,7.1vw,32px);line-height:1.45;overflow-wrap:anywhere}
  body.national-reference-page .nr-hero h1 .nr-desktop {display:none}
}

/* Legacy For Business: its long fixed 3-line hero is wider than the 45% column.
   Permit each designed line to wrap without overlapping the adjacent cards. */
body.fb-page .fb-hero h1 {
  font-size:clamp(28px,3.1vw,43px);
  line-height:1.38;
  white-space:normal;
  text-wrap:pretty;
}
@media (min-width:851px) {
  body.fb-page .fb-hero-copy {width:49%;min-width:0}
}
@media (min-width:641px) and (max-width:850px) {
  body.fb-page .fb-hero-copy {width:51%}
  body.fb-page .fb-hero h1 {font-size:clamp(25px,3.35vw,32px)}
}
@media (max-width:640px) {
  body.fb-page .fb-hero-copy {width:100%}
  body.fb-page .fb-hero h1 {font-size:clamp(28px,8vw,37px)}
}

/* Regional Tochigi: preserve semantic 3-line groupings but release
   the "nowrap" spans that clip on narrower laptop widths. */
body.tochigi-page .tc .tc-hero h1 {
  font-size:clamp(29px,3.5vw,48px);
  line-height:1.4;
  text-wrap:pretty;
}
body.tochigi-page .tc .tc-hero h1 > span {
  white-space:normal;
  overflow-wrap:break-word;
}
@media (min-width:761px) and (max-width:1100px) {
  body.tochigi-page .tc .tc-hero h1 {font-size:clamp(26px,3.4vw,38px)}
}
@media (max-width:760px) {
  body.tochigi-page .tc .tc-hero h1 {font-size:clamp(28px,7.4vw,38px)}
}

/* Home-v2 alignment overrode the original moderate Approach/Works hero sizes
   while leaving fixed-width copy columns. */
body:not(.home-page) .v2 .ap-hero-copy h1,
body:not(.home-page) .v2 .wk-hero h1,
body:not(.home-page) .v2 .ws-hero-copy h1 {
  font-size:clamp(29px,3.15vw,43px);
  line-height:1.4;
}
@media (min-width:761px) and (max-width:1100px) {
  body:not(.home-page) .v2 .ap-hero-copy h1,
  body:not(.home-page) .v2 .wk-hero h1,
  body:not(.home-page) .v2 .ws-hero-copy h1 {
    font-size:clamp(27px,3.3vw,36px);
  }
}
@media (max-width:760px) {
  body:not(.home-page) .v2 .ap-hero-copy h1,
  body:not(.home-page) .v2 .wk-hero h1,
  body:not(.home-page) .v2 .ws-hero-copy h1 {
    font-size:clamp(27px,7.1vw,35px);
  }
}

/* Product categories: no forced unbroken blocks inside a half-width grid. */
body.categories-page .category-hero .hero-copy h1 {
  font-size:clamp(29px,3.25vw,46px);
  line-height:1.36;
}
body.categories-page .category-hero .hero-copy h1 span {
  white-space:normal;
}
@media (min-width:901px) and (max-width:1120px) {
  body.categories-page .category-hero .hero-copy h1 {font-size:clamp(29px,3.1vw,36px)}
}
@media (max-width:900px) {
  body.categories-page .category-hero .hero-copy h1 {font-size:clamp(28px,5.2vw,40px)}
}
@media (max-width:640px) {
  body.categories-page .category-hero .hero-copy h1 {font-size:clamp(27px,7.8vw,36px)}
}

/* Product, Journal, About, and Contact page headlines. */
body.products-page .products-hero h1,
body.journal-page .journal-hero h1,
body.about-page .about-hero h1 {
  font-size:clamp(30px,3.4vw,46px);
  line-height:1.4;
}
@media (max-width:760px) {
  body.products-page .products-hero h1,
  body.journal-page .journal-hero h1,
  body.about-page .about-hero h1 {
    font-size:clamp(27px,7.4vw,38px);
    line-height:1.45;
  }
}

/* Launch Studio: desktop heading was forced nowrap inside 52% copy. */
body.ls-page .ls-redesign .ls-hero h1 {
  white-space:normal;
  font-size:clamp(31px,3.3vw,45px);
  line-height:1.32;
}
body.ls-page .ls-redesign .ls-hero h1 > span {
  white-space:normal;
  overflow-wrap:break-word;
}
@media (min-width:901px) and (max-width:1150px) {
  body.ls-page .ls-redesign .ls-hero h1 {font-size:clamp(28px,3.1vw,36px)}
}
@media (max-width:900px) {
  body.ls-page .ls-redesign .ls-hero h1 {font-size:clamp(29px,5vw,42px)}
}
@media (max-width:640px) {
  body.ls-page .ls-redesign .ls-hero h1 {font-size:clamp(27px,7.4vw,37px)}
}

/* Case studies, journal detail and practical guide titles do not need fixed
   large shared H1 sizing; retain comfortable natural flow at 1024px. */
body.php-case-page .pc-hero h1 {font-size:clamp(30px,3.4vw,46px);line-height:1.4}
body.journal-article-page .journal-article-header h1 {font-size:clamp(29px,3.1vw,40px);line-height:1.45}
body.web-practical-guide-page .pg-hero h1 {font-size:clamp(29px,3.5vw,47px);line-height:1.44}
@media (max-width:760px) {
  body.php-case-page .pc-hero h1,
  body.journal-article-page .journal-article-header h1,
  body.web-practical-guide-page .pg-hero h1 {font-size:clamp(27px,7.3vw,36px)}
  body.php-case-page .pc-hero h1 br {display:none}
  body.journal-article-page .journal-article-header h1 br {display:none}
}

/* Semantic editorial breaks become optional where there is less horizontal
   room. Desktop titles can still preserve the deliberate two-line rhythm. */
@media (min-width:641px) and (max-width:1024px) {
  body:not(.home-page) main :is(.ap-hero,.wk-hero,.ws-hero,.fb-hero,.about-hero,.journal-hero,
    .products-hero,.pg-hero,.pc-hero,.ws2-directory-hero) :is(h1,h2) br {
    display:none;
  }
}
@media (max-width:640px) {
  body:not(.home-page) main :is(.fb-hero,.about-hero,.journal-hero,.products-hero,
    .pg-hero,.pc-hero,.ws2-directory-hero) :is(h1,h2) br {display:none}
}
