/* =========================================================================
   Fliesstext aus dem Editor (.prose): Texte, Beiträge, ABC-Einträge
   ========================================================================= */

.prose {
	font-size: 17px;
	line-height: 1.68;
	color: var(--tinte);
}

.prose > * + * {
	margin-top: 1em;
}

.prose h2 {
	font-size: 26px;
	margin-top: 1.7em;
}

.prose h3 {
	font-size: 21px;
	margin-top: 1.5em;
}

.prose h4 {
	font-size: 18px;
	margin-top: 1.4em;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
	margin-top: 0.5em;
}

.prose > :first-child {
	margin-top: 0;
}

.prose ul,
.prose ol {
	padding-left: 1.35em;
}

.prose ul {
	list-style: none;
	padding-left: 1.5em;
}

.prose ul > li {
	position: relative;
}

/* Aufzählungspunkte in den drei Farben, wie die Punkte der Terminliste */
.prose ul > li::before {
	content: '';
	position: absolute;
	left: -1.25em;
	top: 0.62em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--blau);
}

.prose ul > li:nth-child(3n + 2)::before { background: var(--gruen); }
.prose ul > li:nth-child(3n + 3)::before { background: var(--gelb); }

.prose li + li {
	margin-top: 0.35em;
}

.prose strong {
	font-weight: 800;
}

.prose a:not(.knopf):not(.textlink) {
	color: var(--blau-text);
	text-decoration-color: rgba(47, 124, 192, 0.45);
}

.prose a:not(.knopf):not(.textlink):hover {
	color: var(--tinte);
	text-decoration-color: var(--gelb);
}

.prose blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--gelb);
	font-family: var(--schrift-titel);
	font-size: 21px;
	line-height: 1.45;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.prose th,
.prose td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--rahmen);
}

.prose th {
	font-weight: 800;
}

.prose img {
	border-radius: var(--radius-karte);
}

.prose figure {
	margin-left: 0;
	margin-right: 0;
}

.prose .wp-block-image img,
.prose .wp-block-gallery img {
	border-radius: var(--radius-karte);
}

.prose .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

/* Das Block-CSS von WordPress lädt nach dem Theme und setzt Spaltenbreiten in %. */
.prose .wp-block-gallery > figure {
	width: 100% !important;
	margin: 0 !important;
}

.prose .wp-block-gallery img {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.prose hr {
	border: 0;
	height: 1px;
	background: var(--rahmen);
	margin: 2em 0;
}

.prose .wp-block-file {
	display: flex;
	align-items: center;
	gap: 16px;
}
