/*
 * V371 – Kacheltypografie und Überlaufschutz
 *
 * Automatische Silbentrennung gehört zum Fließtextsystem, nicht in die
 * kompakten Informationsflächen. Diese Regel hebt die geerbte Trennung nur
 * innerhalb der Kachel- und Panelkomponenten auf. Technische Langtokens
 * werden anschließend separat und ohne Trennstrich gegen Überlauf gesichert.
 */

main#inhalt :is(
  .ui-card,
  .ui-panel,
  .ui-process-list > li,
  .principles-open-item,
  .principles-framework-item,
  .principles-role-feature,
  .principles-method-key,
  .principles-role-foundation,
  .knx-principle-copy
) :is(p, li, dd, .ui-card__text, .ui-panel__text, .ui-card__list-item, .ui-panel__list-item) {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  overflow-wrap: normal;
  word-break: normal;
}

main#inhalt :is(
  .ui-card__text,
  .ui-panel__text,
  .ui-card__list-item,
  .ui-panel__list-item,
  .ui-process-list > li,
  .principles-open-item,
  .principles-framework-item,
  .principles-role-feature__body,
  .principles-method-key,
  .principles-role-foundation,
  .knx-principle-copy
) {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  overflow-wrap: normal;
  word-break: normal;
}

/*
 * Eigener Fallback für lange URLs, Normbezeichnungen und technische
 * Identifikatoren. Der Browser darf nur bei tatsächlichem Platzmangel an
 * beliebiger Stelle umbrechen; eine automatische Silbentrennung bleibt aus.
 * .technical-identifier und .u-overflow-safe stehen als semantische
 * Hilfsklassen für künftige Inhalte bereit.
 */
main#inhalt :is(
  .ui-card,
  .ui-panel,
  .ui-process-list > li,
  .principles-open-item,
  .principles-framework-item,
  .principles-role-feature,
  .knx-principle-copy
) :is(a, code, kbd, samp, .rule-ref, .technical-identifier, .norm-reference, .u-overflow-safe) {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  overflow-wrap: anywhere;
  word-break: normal;
}
