/**
 * Globale Text-/Layout-Regeln: Inhalte sollen auf schmalen Viewports
 * umbrechen statt horizontal abgeschnitten zu werden.
 */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

main,
section,
article,
header,
footer {
  min-width: 0;
}

p,
li,
td,
th,
figcaption,
blockquote,
dd,
dt,
label,
small,
address {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

a {
  overflow-wrap: anywhere;
}

summary {
  min-width: 0;
}

.material-symbols-outlined {
  overflow-wrap: normal;
  word-break: normal;
}

main .flex > *:not(.shrink-0):not([class*="shrink-0"]),
main .inline-flex > *:not(.shrink-0):not([class*="shrink-0"]) {
  min-width: 0;
}

main .grid > *:not(.shrink-0):not([class*="shrink-0"]) {
  min-width: 0;
}

/* Platz für große Kapitelnummern in Rechtstext-Karten */
.legal-card > h2,
.widerruf-card > h2 {
  padding-right: 4.5rem;
}
