/*
 * Formatierter Text (entspricht "cms-html-content" und den Grundregeln des Originals) und Block "Text-Text".
 * Original: h1–h6 fett, Zeilenhöhe 1.25, 1rem Abstand; h1–h3 mit Linie (6rem × .2rem);
 * Größen h2 1.5rem/2.25rem, h3 1.25rem/1.875rem, h4 1.25rem/1.5rem, h5/h6 1.25rem (Wechsel bei 768 px);
 * Absatz 1rem Abstand; Listen mit grünem Punkt; Tabellen mit Linie oben je Zeile.
 */

.gcn-text h1, .gcn-text h2, .gcn-text h3, .gcn-text h4, .gcn-text h5, .gcn-text h6 {
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.25;
}
.gcn-text h1 { font-size: 2.25rem; }
.gcn-text h2 { font-size: 1.5rem; }
.gcn-text h3, .gcn-text h4, .gcn-text h5, .gcn-text h6 { font-size: 1.25rem; }
@media (min-width: 768px) {
    .gcn-text h1 { font-size: 3rem; }
    .gcn-text h2 { font-size: 2.25rem; }
    .gcn-text h3 { font-size: 1.875rem; }
    .gcn-text h4 { font-size: 1.5rem; }
}
.gcn-text h1::after, .gcn-text h2::after, .gcn-text h3::after {
    content: "";
    display: block;
    width: 6rem;
    height: .2rem;
    margin: 1rem 0 1.5rem;
    background: currentColor;
}
.gcn-text .text-center { text-align: center; }
.gcn-text .text-center::after, .gcn-text.text-center h2::after { margin-inline: auto; }
.gcn-text .text-green { color: var(--gcn-gruen); }

.gcn-text p { margin: 0 0 1rem; }
.gcn-text a { color: inherit; text-decoration: none; }
.gcn-text a:hover, .gcn-text a:focus-visible { color: var(--gcn-gruen); text-decoration: underline; }

.gcn-text ul { margin: 0 0 1rem; padding-left: 1rem; list-style: none; }
.gcn-text ul > li::before {
    content: "•";
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    color: var(--gcn-gruen);
}
.gcn-text ol { margin: 0 0 1rem; padding-left: 1rem; list-style: decimal inside; }

.gcn-text table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.gcn-text td, .gcn-text th { padding: .5rem; border-top: 1px solid #ddd; vertical-align: top; text-align: left; }
.gcn-text img { max-width: 100%; height: auto; }

/* Block "Text-Text": Überschrift 1/3, Text 2/3 ab 768 px; 3rem seitlicher Abstand ab 1280 px */
.gcn-textblock { background: #fff; }
.gcn-textblock__titel, .gcn-textblock__text { padding: 2.5rem; overflow-wrap: break-word; }
@media (min-width: 768px) {
    .gcn-textblock__zeile { display: flex; }
    .gcn-textblock__titel { width: calc(100% / 3); }
    .gcn-textblock__text { width: calc(100% * 2 / 3); }
}
@media (min-width: 1280px) {
    .gcn-textblock { padding-inline: 3rem; }
}
