/*
 * kkbc-home-principles-2.css - the heading "First principles thinking" (and its translations) in the home page block above the blue circle.
 * Loaded after every other stylesheet by inc/kkbc-home-fit.php. A later change of this file gets a new name (kkbc-home-principles-3.css):
 * the CDN keeps a file under its old name.
 *
 * Fault 1 (2026-10-16, -1.css): style-2.css:890 gives .unique_left h2 a size of 85px. On a phone the column is 350 px wide, and one word such as "principles",
 * "principes", "Pensamiento" or "Prinzipien" is wider than the column, so the browser broke it inside the word. No rule between 0 and 550 px
 * (responsive-2.css:728 starts at its own breakpoint, custom-2.css:514 at 551 px) sets a smaller size.
 * Fix: up to 550 px the size follows the width (10vw: 39 px at 390 px, 36 px at 360 px, never above 50 px, the size of the next step
 * in responsive-2.css:728).
 *
 * Fault 2 (2026-10-17, this file): from 551 px the size is fixed (50 px at 768, 85 px at 1440), and -1.css forbade any break in a word. A long
 * compound word is wider than the column: "Grundprinzipien" (de, 644 px in a 635 px column at 1440), "grundprincipper" (da, 381 px in 339 px
 * at 768), "grundprinciper" (sv, 350 px in 339 px at 768). The word left its box.
 * Fix: overflow-wrap:break-word. It breaks only a word that is wider than the whole line, so a text that fits (en and most languages)
 * does not change. js/kkbc-home-fit-4.js adds the class kkbc-long-word when a word is wider than the box; the class turns on hyphens:auto,
 * so the browser breaks the word at a syllable with a hyphen, by the lang attribute of the page (de-DE, da-DK, sv-SE). A browser
 * with no hyphenation rules for the language breaks the word at the box edge (overflow-wrap) - the text stays inside its box.
 */
.unique_area .unique_left h2 {
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.unique_area .unique_left h2.kkbc-long-word {
  -webkit-hyphens: auto;
  hyphens: auto;
}
@media screen and (max-width: 550px) {
  .unique_area .unique_left h2 {
    font-size: clamp(30px, 10vw, 50px);
    line-height: 1.15;
  }
}
