.fd-richtext-content,
.prose,
.content-block-text,
.content-block-html {
    line-height: 1.72;
}

.fd-richtext-content > :first-child,
.prose > :first-child,
.content-block-text > :first-child,
.content-block-html > :first-child {
    margin-top: 0;
}

.fd-richtext-content > :last-child,
.prose > :last-child,
.content-block-text > :last-child,
.content-block-html > :last-child {
    margin-bottom: 0;
}

.fd-richtext-content strong,
.fd-richtext-content b,
.prose strong,
.prose b,
.content-block-text strong,
.content-block-text b,
.content-block-html strong,
.content-block-html b {
    font-weight: 800;
}

.fd-richtext-content em,
.fd-richtext-content i,
.prose em,
.prose i,
.content-block-text em,
.content-block-text i,
.content-block-html em,
.content-block-html i {
    font-style: italic;
}

.fd-richtext-content img,
.prose img,
.content-block-text img,
.content-block-html img {
    max-width: 100%;
    height: auto;
}

.prose .fd-align-left,
.content-block .fd-align-left,
.fd-richtext-content .fd-align-left { text-align: left; }
.prose .fd-align-center,
.content-block .fd-align-center,
.fd-richtext-content .fd-align-center { text-align: center; }
.prose .fd-align-right,
.content-block .fd-align-right,
.fd-richtext-content .fd-align-right { text-align: right; }
.prose .fd-align-justify,
.content-block .fd-align-justify,
.fd-richtext-content .fd-align-justify { text-align: justify; }

.prose .fd-indent-1,
.content-block .fd-indent-1,
.fd-richtext-content .fd-indent-1 { margin-left: 2rem; }
.prose .fd-indent-2,
.content-block .fd-indent-2,
.fd-richtext-content .fd-indent-2 { margin-left: 4rem; }
.prose .fd-indent-3,
.content-block .fd-indent-3,
.fd-richtext-content .fd-indent-3 { margin-left: 6rem; }
.prose .fd-indent-4,
.content-block .fd-indent-4,
.fd-richtext-content .fd-indent-4 { margin-left: 8rem; }

.prose .fd-text-small,
.content-block .fd-text-small,
.fd-richtext-content .fd-text-small { font-size: .875em; }
.prose .fd-text-large,
.content-block .fd-text-large,
.fd-richtext-content .fd-text-large { font-size: 1.15em; }
.prose .fd-text-xlarge,
.content-block .fd-text-xlarge,
.fd-richtext-content .fd-text-xlarge { font-size: 1.4em; }

.prose .fd-color-red,
.content-block .fd-color-red,
.fd-richtext-content .fd-color-red { color: #dc2626; }
.prose .fd-color-orange,
.content-block .fd-color-orange,
.fd-richtext-content .fd-color-orange { color: #ea580c; }
.prose .fd-color-green,
.content-block .fd-color-green,
.fd-richtext-content .fd-color-green { color: #15803d; }
.prose .fd-color-blue,
.content-block .fd-color-blue,
.fd-richtext-content .fd-color-blue { color: #2563eb; }
.prose .fd-color-purple,
.content-block .fd-color-purple,
.fd-richtext-content .fd-color-purple { color: #7c3aed; }
.prose .fd-color-gray,
.content-block .fd-color-gray,
.fd-richtext-content .fd-color-gray { color: #64748b; }

.prose .fd-bg-yellow,
.content-block .fd-bg-yellow,
.fd-richtext-content .fd-bg-yellow { background: #fef3c7; }
.prose .fd-bg-green,
.content-block .fd-bg-green,
.fd-richtext-content .fd-bg-green { background: #dcfce7; }
.prose .fd-bg-blue,
.content-block .fd-bg-blue,
.fd-richtext-content .fd-bg-blue { background: #dbeafe; }
.prose .fd-bg-pink,
.content-block .fd-bg-pink,
.fd-richtext-content .fd-bg-pink { background: #fce7f3; }
.prose .fd-bg-gray,
.content-block .fd-bg-gray,
.fd-richtext-content .fd-bg-gray { background: #e5e7eb; }

.prose code,
.content-block code,
.fd-richtext-content code {
    padding: .12em .36em;
    border-radius: 6px;
    background: rgba(100, 116, 139, .12);
    font: .92em/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.prose pre,
.content-block pre,
.fd-richtext-content pre {
    margin: 1em 0;
    padding: 16px 18px;
    overflow: auto;
    border-radius: 12px;
    background: #101827;
    color: #e6edf7;
    font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    white-space: pre-wrap;
}

.prose hr,
.content-block hr,
.fd-richtext-content hr {
    margin: 1.5em 0;
    border: 0;
    border-top: 1px solid rgba(100, 116, 139, .28);
}

.prose table,
.content-block table,
.fd-richtext-content table {
    width: 100%;
    margin: 1.15em 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.prose caption,
.content-block caption,
.fd-richtext-content caption {
    padding: 0 0 .65em;
    color: #64748b;
    font-size: .92em;
    font-weight: 650;
    text-align: left;
}

.prose th,
.prose td,
.content-block th,
.content-block td,
.fd-richtext-content th,
.fd-richtext-content td {
    padding: 10px 12px;
    border: 1px solid rgba(100, 116, 139, .28);
    vertical-align: top;
}

.prose th,
.content-block th,
.fd-richtext-content th {
    background: rgba(100, 116, 139, .08);
    font-weight: 760;
}

@media (max-width: 760px) {
    .prose .fd-indent-3,
    .prose .fd-indent-4,
    .content-block .fd-indent-3,
    .content-block .fd-indent-4,
    .fd-richtext-content .fd-indent-3,
    .fd-richtext-content .fd-indent-4 {
        margin-left: 2rem;
    }

    .prose table,
    .content-block table,
    .fd-richtext-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }
}

/* Bildunterschriften aus dem WYSIWYG-Editor */
.prose p > img + br + em,
.prose p > a + br + em,
.content-block p > img + br + em,
.content-block p > a + br + em,
.fd-richtext-content p > img + br + em,
.fd-richtext-content p > a + br + em {
    display: inline-block;
    margin-top: .4rem;
    color: #64748b;
    font-size: .9em;
}

/* 2026.36.15.00 · semantische Editor-Formatvorlagen */
.prose .fd-style-lead,
.content-block .fd-style-lead,
.fd-richtext-content .fd-style-lead {
    font-size: 1.18em;
    line-height: 1.7;
    color: color-mix(in srgb, currentColor 82%, #64748b 18%);
}
.prose .fd-callout-info,
.prose .fd-callout-success,
.prose .fd-callout-warning,
.prose .fd-callout-danger,
.content-block .fd-callout-info,
.content-block .fd-callout-success,
.content-block .fd-callout-warning,
.content-block .fd-callout-danger,
.fd-richtext-content .fd-callout-info,
.fd-richtext-content .fd-callout-success,
.fd-richtext-content .fd-callout-warning,
.fd-richtext-content .fd-callout-danger {
    margin: 1.1em 0;
    padding: 14px 16px;
    border-left: 4px solid #6f8ca1;
    border-radius: 10px;
    background: rgba(100, 116, 139, .08);
}
.prose .fd-callout-success,
.content-block .fd-callout-success,
.fd-richtext-content .fd-callout-success { border-left-color: #4e8b66; background: rgba(34, 197, 94, .08); }
.prose .fd-callout-warning,
.content-block .fd-callout-warning,
.fd-richtext-content .fd-callout-warning { border-left-color: #b4862c; background: rgba(245, 158, 11, .09); }
.prose .fd-callout-danger,
.content-block .fd-callout-danger,
.fd-richtext-content .fd-callout-danger { border-left-color: #b65656; background: rgba(239, 68, 68, .08); }
.prose a.fd-button-link,
.prose a.fd-button-secondary,
.content-block a.fd-button-link,
.content-block a.fd-button-secondary,
.fd-richtext-content a.fd-button-link,
.fd-richtext-content a.fd-button-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 10px;
    font-weight: 760;
    text-decoration: none;
}
.prose a.fd-button-link,
.content-block a.fd-button-link,
.fd-richtext-content a.fd-button-link { background: #315870; color: #fff; }
.prose a.fd-button-secondary,
.content-block a.fd-button-secondary,
.fd-richtext-content a.fd-button-secondary { border: 1px solid rgba(100,116,139,.3); background: transparent; color: inherit; }
.prose nav.fd-toc,
.content-block nav.fd-toc,
.fd-richtext-content nav.fd-toc {
    margin: 1.35em 0;
    padding: 15px 17px;
    border: 1px solid rgba(100,116,139,.24);
    border-radius: 12px;
    background: rgba(100,116,139,.055);
}
.prose nav.fd-toc p,
.content-block nav.fd-toc p,
.fd-richtext-content nav.fd-toc p { margin: 0 0 .55em; }
.prose nav.fd-toc ul,
.content-block nav.fd-toc ul,
.fd-richtext-content nav.fd-toc ul { margin: 0; }
.prose table.fd-table-striped tbody tr:nth-child(even),
.content-block table.fd-table-striped tbody tr:nth-child(even),
.fd-richtext-content table.fd-table-striped tbody tr:nth-child(even) { background: rgba(100,116,139,.055); }
.prose table.fd-table-compact th,
.prose table.fd-table-compact td,
.content-block table.fd-table-compact th,
.content-block table.fd-table-compact td,
.fd-richtext-content table.fd-table-compact th,
.fd-richtext-content table.fd-table-compact td { padding: 6px 8px; }
.prose figure,
.content-block figure,
.fd-richtext-content figure { margin: 1.2em 0; }
.prose figcaption,
.content-block figcaption,
.fd-richtext-content figcaption { margin-top: .45em; color: #64748b; font-size: .9em; }
