/* Ritme tussen blokken binnen secties, kaarten en kolommen */
.dz-block-content > *,
.dz-block-content .dz-prose > *,
.dz-section .wp-block-column > * {
	margin-top: 0;
	margin-bottom: 0;
}
.dz-block-content > * + *,
.dz-block-content .dz-prose > * + *,
.dz-section .wp-block-column > * + * {
	margin-top: 1.5rem;
}
.dz-block-content h3:not(:first-child) {
	margin-top: 2.5rem;
}

/* Kolommen binnen een sectie */
.dz-section .wp-block-columns {
	gap: 2.5rem;
	margin-bottom: 0;
}
@media (min-width: 1024px) {
	.dz-section .wp-block-columns {
		gap: 5rem;
	}
}

/* Knoppen: classes komen uit dz_style_block_content(), dit zet core-stijlen neutraal */
.dz-section .wp-block-button__link,
.dz-hero .wp-block-button__link {
	text-decoration: none;
	border-radius: 9999px;
}
.dz-section .text-center .wp-block-buttons {
	justify-content: center;
}

/* Kaart: donkere tekst, ook binnen een donkere sectie */
.dz-card {
	color: #44403c;
}
/* Knoptekst: niet laten overschrijven door de linkkleur van dz-prose */
.dz-section .wp-block-button__link,
.dz-section .wp-block-button__link:hover,
.dz-section .wp-block-button__link:visited,
.dz-hero .wp-block-button__link,
.dz-hero .wp-block-button__link:hover,
.dz-hero .wp-block-button__link:visited {
	color: #fff !important;
	text-decoration: none !important;
}

/* Op een rode of groene achtergrond: witte knop met rode tekst */
.dz-section.bg-red-500 .wp-block-button__link,
.dz-section.bg-red-500 .wp-block-button__link:hover,
.dz-section.bg-red-500 .wp-block-button__link:visited,
.dz-section.bg-forest-700 .wp-block-button__link,
.dz-section.bg-forest-700 .wp-block-button__link:hover,
.dz-section.bg-forest-700 .wp-block-button__link:visited {
	color: #b10a30 !important;
}

/* Kleine hover-reactie */
.dz-section .wp-block-button__link:hover,
.dz-hero .wp-block-button__link:hover {
	opacity: 0.9;
}
/* ===== Programma: zelfde layout en marges als de oude template ===== */

/* Ruimte tussen kop en kolommen (was mt-10) */
.dz-section .dz-block-content > h2 + .wp-block-columns {
	margin-top: 2.5rem;
}

/* Kolommen met 4 items: twee bij twee, met dezelfde tussenruimte (was gap-10 lg:gap-16) */
.dz-section .wp-block-columns:has(> .wp-block-column:nth-child(4)) {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 640px) {
	.dz-section .wp-block-columns:has(> .wp-block-column:nth-child(4)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.dz-section .wp-block-columns:has(> .wp-block-column:nth-child(4)) {
		gap: 4rem;
	}
}

/* Tijd en act dicht bij elkaar (was mt-2) */
.dz-section .wp-block-column > h3 + p {
	margin-top: 0.5rem;
}

/* Scheidingslijn en ruimte boven de opmerkingen (was mt-12 pt-6 border-t) */
.dz-section.text-white .wp-block-columns + p {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}