/* Centrale typografie voor de website en MaxiCMS-editorinhoud. */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.65em;
    color: var(--heading);
    font-family: "Praktijk Serif", Georgia, serif;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: pretty;
}

h1 {
    font-size: clamp(2.7rem, 5.35vw, 5.3rem);
}

h2 {
    font-size: clamp(2rem, 4.75vw, 4.7rem);
}

h3 {
    font-size: clamp(1.6rem, 3.35vw, 3.25rem);
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.25em;
}

h6 {
    font-size: 1.1em;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    padding-left: 1.25em;
    margin: 0 0 1em;
}

strong {
    font-weight: 700;
}

.rich-text > :last-child {
    margin-bottom: 0;
}

.rich-text h2:not(:first-child),
.rich-text h3:not(:first-child) {
    margin-top: 1em;
}

.rich-text a:not(.button):hover {
    text-decoration-thickness: 2px;
}

.rich-text img {
    max-width: 100%;
    height: auto;
}

.rich-text table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin-block: 1.5em;
}

.rich-text td,
.rich-text th {
    padding: 0.7em;
    border: 1px solid var(--line);
    text-align: left;
}

.rich-text th {
    background: var(--tint);
}

blockquote {
    margin: 1.5em 0;
    padding: 0.5em 1em;
    border-left: 3px solid var(--accent);
    color: var(--heading);
    font-family: "Praktijk Serif", Georgia, serif;
    font-size: 1.2em;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin-block: 2em;
}
