/* Long-form text: legal pages, blog articles, plain pages. Use .prose on the wrapper of the_content(). */
.prose {
	max-width: 68ch;
	font-size: var(--fs-body);
	line-height: 1.65;
}
.prose > * + * { margin-top: 1.15em; }
.prose > :first-child { margin-top: 0; }

.prose h2,
.prose h3,
.prose h4 {
	font-family: var(--serif);
	font-weight: 300;
	letter-spacing: -0.02em;
	text-wrap: balance;
	scroll-margin-top: 32px;
}
.prose h2 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.08; }
.prose h3 { font-size: var(--fs-h3); line-height: 1.12; }
.prose h4 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-body); letter-spacing: 0; }
.prose * + h2 { margin-top: 2.2em; }
.prose * + h3 { margin-top: 1.8em; }
.prose * + h4 { margin-top: 1.6em; }
.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: 0.7em; }

.prose strong, .prose b { font-weight: 600; }

.prose a {
	color: var(--green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, var(--green) 45%, transparent);
	transition: text-decoration-color .2s;
}
.prose a:hover { text-decoration-color: var(--green); }

.prose ul,
.prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: 0.4em; }
.prose li > ul,
.prose li > ol { margin-top: 0.4em; }
.prose li::marker { color: var(--ink-soft); }

.prose blockquote {
	margin-inline: 0;
	padding: 0.2em 0 0.2em 1.2em;
	border-left: 2px solid var(--green);
	font-family: var(--serif);
	font-size: clamp(22px, 1.9vw, 27px);
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.prose blockquote p + p { margin-top: 0.6em; }
.prose blockquote cite { display: block; margin-top: 0.8em; font: 300 var(--fs-small)/1.4 var(--sans); font-style: normal; color: var(--ink-soft); }

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

.prose figure { margin-inline: 0; margin-bottom: 0; }
.prose .wp-block-quote { border-left: 2px solid var(--green); }
.prose .wp-block-separator { border-bottom: 0; }
.prose img { border-radius: var(--radius-s); }
.prose figcaption { margin-top: 0.6em; font-size: var(--fs-micro); color: var(--ink-soft); }

/* Tables (the subverwerkers list): ruled rows, no boxes. Scrolls sideways on a phone. */
.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-small);
	line-height: 1.45;
}
.prose .wp-block-table { overflow-x: auto; }
@media (max-width: 600px) {
	.prose table { display: block; overflow-x: auto; }
}
.prose th,
.prose td {
	padding: 12px 18px 12px 0;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--line);
}
.prose thead { border-bottom: 0; }
.prose th { font-weight: 400; color: var(--ink-soft); border-bottom-color: var(--green); }
.prose td:last-child, .prose th:last-child { padding-right: 0; }

.prose code {
	font-size: 0.9em;
	background: var(--beige);
	padding: 0.1em 0.35em;
	border-radius: 4px;
}
