/* Reading rhythm: natural paragraphs, balanced short copy, intact names and quantities. */
main :where(h1, h2, h3) {
  text-wrap: balance;
  word-break: normal;
  hyphens: manual;
}
main :where(p, blockquote, figcaption, .predstavnik-fax, .pr-blok-tema-text) {
  text-wrap: pretty;
  hyphens: manual;
}
.type-phrase {
  white-space: nowrap;
}
.type-line {
  display: inline;
}

/* Centered introductions should read as short, composed statements. */
.route-home .o-nama-right p {
  margin-inline: auto;
  text-wrap: balance;
}
.route-home .o-nama-right p:first-child {
  max-width: 670px;
}
.route-home .o-nama-right p + p {
  max-width: 660px;
}
.route-home .announcement-summary > span + span {
  max-width: 48ch;
  text-wrap: pretty;
}
.route-about .story-lead,
.route-about .story-closing,
.route-about .about-title-group > p,
.route-about .about-future-layout .future-copy p:first-of-type,
.collab-intro p:first-child,
.registration-status p,
.stage-bottomline p,
.historical-intro p,
.route-next .next-copy h2,
.route-next .next-copy p,
.error-copy > p {
  text-wrap: balance;
}
.route-about .story-closing {
  max-width: 680px;
}
.registration-status p > span {
  display: block;
  text-wrap: balance;
}
.historical-hero-layout > p > span {
  display: inline-block;
  white-space: nowrap;
}
.contact-desk-intro > p {
  max-width: 33ch;
  text-wrap: pretty;
}
.contact-desk-intro > p > span {
  display: block;
}
.contact-desk-intro > p > span + span {
  margin-top: .4em;
}
.speaker-preview p,
.pr-blok-tema-text {
  text-wrap: balance;
}
.pr-blok-tag,
.predstavnik-fax,
.quote-school {
  text-wrap: pretty;
}
.collab-panel h3 {
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .route-home .o-nama-right .type-line {
    display: block;
  }
}
@media (max-width: 768px) {
  .route-home .o-nama-right p:first-child {
    max-width: 33ch;
  }
  .route-home .o-nama-right p + p {
    max-width: 44ch;
  }
  .route-about .story-closing {
    max-width: 30ch;
  }
  .speaker-preview p {
    text-wrap: pretty;
  }
}
@media (max-width: 360px) {
  .route-edition-2025 .historical-hero-layout > p {
    grid-column: 1;
    grid-row: 5;
  }
}
