/* US.MEDiA KI – Typografie- und Abschlusskorrekturen V31 */

/* Große Headlines nicht mehr negativ sperren. */
.ai-hero h1,
.pj-head h2,
.wa-head h2,
.ap-head h2,
.ar-head h2,
.ah-head h2,
.ah-left h3,
.ah-answer h3,
.au-head h2,
.au-view h3,
.af-main h2,
.af-action h3 {
  letter-spacing: 0 !important;
}

/* Kleinere Zwischenüberschriften minimal öffnen. */
.pj-simple,
.pj-stop,
.wa-response-title,
.wa-message h3,
.ar-question,
.ar-result h3 {
  letter-spacing: .003em !important;
}

/* Schlussbereich: gewünschte Zeilenführung auf Desktop. */
@media (min-width: 901px) {
  .af-wrap {
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, .65fr) !important;
    gap: 4.5vw !important;
  }

  .af-main h2 {
    max-width: none !important;
  }

  .af-main h2 .af-first {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    font-size: .43em !important;
    line-height: 1.12 !important;
    margin-bottom: .18em !important;
    color: #fff !important;
  }

  .af-main h2 > span:not(.af-first) {
    display: block !important;
    font-size: .76em !important;
    line-height: .98 !important;
  }

  .af-action h3 {
    white-space: nowrap !important;
    font-size: clamp(1.25rem, 1.55vw, 1.72rem) !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 900px) {
  .af-main h2 .af-first {
    font-size: .58em !important;
  }
}
