/* Block 337: long article headings wrap before reaching the clipped hero edge.
   Language comes from html[lang]; Safari gets its prefixed hyphenation property.
   Preserve type scale, heading text, anchors and existing layout. */
body.lexicon-detail-page .lexicon-hero .lexicon-shell {
  min-width: 0;
}
body.lexicon-detail-page .lexicon-title,
body.lexicon-detail-page .lexicon-article h2,
body.lexicon-detail-page .lexicon-article h3,
body.lexicon-detail-page .lexicon-article h4 {
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Block 338: calmer mobile titles; prefer whole words to automatic hyphenation. */
@media (max-width: 600px) {
 body.lexicon-detail-page .lexicon-title {
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: wrap;
  -webkit-hyphens: manual;
  hyphens: manual;
 }
}
