/*
 * Text of the website's articles and pages, rendered from Markdown (D-117, stage 2): used by the public
 * article page and the admin's preview, so both look the same. Plain CSS (the Markdown's elements carry
 * no classes); colours follow the site's theme.
 */
.sff-prose {
    color: #1e293b;
    line-height: 1.7;
    font-size: 1rem;
    overflow-wrap: break-word;
}
.sff-prose > * + * { margin-top: 1em; }
.sff-prose h1, .sff-prose h2, .sff-prose h3, .sff-prose h4 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.6em;
}
.sff-prose h1 { font-size: 1.6rem; }
.sff-prose h2 { font-size: 1.35rem; }
.sff-prose h3 { font-size: 1.15rem; }
.sff-prose h4 { font-size: 1rem; }
.sff-prose > :first-child { margin-top: 0; }
.sff-prose a { color: #c84b1b; text-decoration: underline; text-underline-offset: 2px; }
.sff-prose a:hover { color: #a83b12; }
.sff-prose strong { font-weight: 700; color: #0f172a; }
.sff-prose ul, .sff-prose ol { padding-left: 1.5em; }
.sff-prose ul { list-style: disc; }
.sff-prose ol { list-style: decimal; }
.sff-prose li + li { margin-top: 0.3em; }
.sff-prose li > p { margin: 0; }
.sff-prose blockquote {
    border-left: 4px solid #e2e8f0;
    padding-left: 1em;
    color: #475569;
    font-style: italic;
}
.sff-prose img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}
.sff-prose hr { border: 0; border-top: 1px solid #e2e8f0; margin: 2em 0; }
.sff-prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 0.1em 0.35em;
    border-radius: 0.25rem;
}
.sff-prose pre { background: #f1f5f9; padding: 0.8em 1em; border-radius: 0.5rem; overflow-x: auto; }
.sff-prose pre code { background: none; padding: 0; }
.sff-prose table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.95em;
}
.sff-prose th, .sff-prose td { border: 1px solid #e2e8f0; padding: 0.4em 0.7em; text-align: left; vertical-align: top; }
.sff-prose th { background: #f8fafc; font-weight: 600; }
