/* Webseiten Studio Typography Core 1.0.0
 * Shared language-aware typography layer. Presentation only.
 */
.wsb-typography-scope,
.wsb-reproone-native-preview{hyphenate-character:"-"}

/* Normal prose: use the browser's German dictionary when the document language
 * supports it. URLs, controls, code and functional widgets remain untouched. */
.wsb-reproone-native-preview :where(p,li,blockquote,figcaption):not(.wsb-r1-kicker):not([class*="code"]){
  -webkit-hyphens:auto;
  hyphens:auto;
  overflow-wrap:normal;
  word-break:normal;
}
.wsb-reproone-native-preview :where(a,code,pre,input,select,textarea,button,label){
  -webkit-hyphens:manual;
  hyphens:manual;
}

/* Display typography: only authored/curated soft hyphens may split long words.
 * Do not force a long word into tiny type merely to preserve one physical line. */
.wsb-reproone-native-preview :where(.wsb-typo-display,.wsb-r1-type-line,.wsb-r1-subpage-proofline h2 span,.wsb-r1-section-title){
  -webkit-hyphens:manual!important;
  hyphens:manual!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.wsb-reproone-native-preview .wsb-r1-type-stack .wsb-r1-type-line,
.wsb-reproone-native-preview .wsb-r1-subpage-proofline h2 span{
  width:auto!important;
  max-width:100%!important;
  white-space:normal!important;
}

/* Retire the old scale-by-character-count system. These classes remain accepted
 * for backwards compatibility but no longer shrink typography. */
.wsb-reproone-native-preview .wsb-r1-type-line:is(.is-wide,.is-tight,.is-compact,.is-ultra-compact,.is-mobile-tight,.is-mobile-compact,.is-mobile-ultra,.is-mobile-squeeze){
  font-size:1em!important;
  letter-spacing:inherit!important;
}

/* A final moderate fallback is allowed only if a line still physically overflows
 * after curated soft-hyphen opportunities have been applied. */
.wsb-reproone-native-preview .wsb-r1-type-line.is-typo-last-resort,
.wsb-reproone-native-preview .wsb-r1-subpage-proofline h2 span.is-typo-last-resort{
  font-size:.90em!important;
  letter-spacing:-.025em!important;
}

@media(max-width:760px){
  .wsb-reproone-native-preview :where(.wsb-r1-type-line,.wsb-r1-subpage-proofline h2 span,.wsb-r1-section-title){
    line-height:.9!important;
  }
}
