/* ==========================================================================
   DLC – inhoud & blokken (gebruikt op de website én in de blokeditor)
   ========================================================================== */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

.entry-content, .editor-styles-wrapper {
	--dlc-yellow: #ffbc00; --dlc-yellow-soft: #fff5d6; --dlc-ink: #1c1c1c; --dlc-text: #2f2f2f; --dlc-muted: #5b5d55;
	--dlc-sage: #b1b4a0; --dlc-line: #e2e2da; --dlc-bg-alt: #f5f5f1; --dlc-dark: #1e1e1c; --dlc-radius: 4px;
	--dlc-content: 760px; --dlc-wide: 1200px; --dlc-gutter: clamp(1.25rem, 4vw, 2.5rem);
}
.editor-styles-wrapper { font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif; font-size: 1.125rem; line-height: 1.65; color: #2f2f2f; }

/* --- Breedte van inhoud ------------------------------------------------- */
.entry-content > * { max-width: var(--dlc-content); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--dlc-wide); }
.entry-content > .alignfull { max-width: none; width: 100%; }
.page-body .entry-content > * { margin-left: 0; }
.page-body .entry-content > .alignwide { max-width: var(--dlc-wide); }
.page-body--with-nav .entry-content > *, .page-body--with-nav .entry-content > .alignwide { max-width: var(--dlc-content); }

/* --- Typografie ---------------------------------------------------------- */
.entry-content h2, .entry-content h3, .entry-content h4,
.editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4 { color: var(--dlc-ink); font-weight: 700; line-height: 1.22; }
.entry-content h1, .editor-styles-wrapper h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.12; color: var(--dlc-ink); margin: 0 0 1rem; }
.entry-content h2, .editor-styles-wrapper h2 { font-size: clamp(1.55rem, 2.8vw, 1.95rem); margin-top: 2.75rem; margin-bottom: .9rem; }
.entry-content h3, .editor-styles-wrapper h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: .5rem; }
.entry-content h4, .editor-styles-wrapper h4 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .4rem; }
.wp-block-column > :first-child, .wp-block-group > :first-child { margin-top: 0; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin-top: 0; margin-bottom: 1.15em; }
.entry-content li { margin-bottom: .4em; }
.entry-content strong { color: var(--dlc-ink); }
.entry-content a { color: var(--dlc-ink); text-decoration: underline; text-decoration-color: var(--dlc-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--dlc-ink); }

.dlc-lead { font-size: 1.3rem; line-height: 1.55; color: var(--dlc-ink); }
.dlc-kicker { font-size: .82rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--dlc-muted); margin-bottom: .6rem !important; display: flex; align-items: center; gap: .6rem; }
.dlc-kicker::before { content: ""; width: 28px; height: 4px; background: var(--dlc-yellow); flex: none; }
.dlc-small { font-size: .95rem; color: var(--dlc-muted); }

/* --- Knoppen ------------------------------------------------------------- */
.entry-content .wp-block-buttons { gap: .75rem; margin: 1.75rem 0 0; }
.wp-block-button .wp-block-button__link {
	display: inline-block; font-weight: 700; font-size: 1rem; line-height: 1.2; padding: .85rem 1.45rem;
	border: 2px solid var(--dlc-ink); border-radius: var(--dlc-radius); background: var(--dlc-ink); color: #fff; text-decoration: none;
}
.wp-block-button .wp-block-button__link:hover { background: #000; color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--dlc-ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--dlc-ink); color: #fff; }
.dlc-button-yellow .wp-block-button__link { background: var(--dlc-yellow); border-color: var(--dlc-yellow); color: var(--dlc-ink); }
.dlc-button-yellow .wp-block-button__link:hover { background: #ffcd3a; border-color: #ffcd3a; color: var(--dlc-ink); }

/* --- Banden (volle breedte secties op de voorpagina) --------------------- */
.dlc-band { padding: clamp(3rem, 7vw, 5.5rem) var(--dlc-gutter); margin: 0 !important; }
.dlc-band > * { max-width: var(--dlc-wide); }
.dlc-band--alt { background: var(--dlc-bg-alt); }
.dlc-band--yellow { background: var(--dlc-yellow); color: var(--dlc-ink); }
.dlc-band--dark { background: var(--dlc-dark); color: #ececE6; }
.dlc-band--dark h2, .dlc-band--dark h3, .dlc-band--dark strong { color: #fff; }
.dlc-band--dark .dlc-kicker { color: #cfcfc6; }
.dlc-band--dark a:not(.wp-block-button__link) { color: #fff; }
.dlc-band h2 { margin-top: 0; }
.dlc-band__intro { max-width: 720px; margin-bottom: 2.25rem !important; }

/* Hero */
.dlc-hero { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); border-bottom: 1px solid var(--dlc-line); }
.dlc-hero h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); line-height: 1.12; margin: 0 0 1.25rem; max-width: 18ch; }
.dlc-hero .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin: 0; }

.dlc-panel { background: var(--dlc-yellow); color: var(--dlc-ink); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--dlc-radius); }
.dlc-panel h2, .dlc-panel h3 { margin-top: 0; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
.dlc-panel ul { list-style: none; padding: 0; margin: 0; }
.dlc-panel li { padding: .8rem 0; border-top: 1px solid rgba(0,0,0,.18); margin: 0; line-height: 1.45; }
.dlc-panel li:first-child { border-top: 0; padding-top: 0; }
.dlc-panel li strong { display: block; font-size: 1.35rem; line-height: 1.2; }

/* --- Kaarten ------------------------------------------------------------- */
.entry-content .wp-block-columns.dlc-cards { gap: 1.5rem; margin-bottom: 1.5rem; }
.dlc-card { position: relative; background: #fff; border: 1px solid var(--dlc-line); border-top: 4px solid var(--dlc-yellow); padding: 1.6rem 1.6rem 1.4rem; height: 100%; transition: box-shadow .15s, transform .15s; }
.dlc-card > :last-child { margin-bottom: 0; }
.dlc-card h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.dlc-card p { font-size: 1.02rem; }
.dlc-card h3 a { text-decoration: none; }
.dlc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.dlc-card:has(h3 a):hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.dlc-card:has(h3 a):hover h3 a { text-decoration: underline; text-decoration-color: var(--dlc-yellow); }
.dlc-card .dlc-card__more { font-weight: 700; font-size: .95rem; margin: 0; }
.dlc-card .dlc-card__more::after { content: " →"; }
.dlc-card__num { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--dlc-yellow); font-weight: 700; color: var(--dlc-ink); margin-bottom: .9rem !important; font-size: 1rem !important; }
.dlc-band--alt .dlc-card { background: #fff; }
.wp-block-column > .dlc-card { height: 100%; }

/* --- Citaat / kernboodschap --------------------------------------------- */
.dlc-statement { font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.3; font-weight: 600; color: var(--dlc-ink); margin-top: 0 !important; margin-bottom: 0 !important; max-width: var(--dlc-wide) !important; }

/* --- Callout -------------------------------------------------------------- */
.dlc-callout { background: var(--dlc-yellow-soft); border-left: 6px solid var(--dlc-yellow); padding: 1.4rem 1.6rem; margin-top: 2rem; margin-bottom: 2rem; }
.dlc-callout > :last-child { margin-bottom: 0; }
.dlc-callout h2, .dlc-callout h3 { margin-top: 0; }

/* --- Lijsten ------------------------------------------------------------- */
.dlc-checklist { list-style: none; padding-left: 0 !important; }
.dlc-checklist li { position: relative; padding-left: 2rem; }
.dlc-checklist li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .55rem; height: 1rem; border-right: 3px solid var(--dlc-ink); border-bottom: 3px solid var(--dlc-ink); transform: rotate(40deg); }
.dlc-checklist li::after { content: ""; position: absolute; left: -.05rem; top: .3em; width: 1.25rem; height: 1.25rem; background: var(--dlc-yellow); border-radius: 50%; z-index: -1; }
.dlc-checklist { position: relative; z-index: 0; }

.dlc-steps { list-style: none; padding-left: 0 !important; counter-reset: dlc-step; }
.dlc-steps > li { counter-increment: dlc-step; position: relative; padding: 0 0 1.1rem 3.25rem; margin: 0; min-height: 2.4rem; }
.dlc-steps > li::before { content: counter(dlc-step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--dlc-yellow); color: var(--dlc-ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dlc-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 1.05rem; top: 2.4rem; bottom: .2rem; width: 2px; background: var(--dlc-line); }

.dlc-tags { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.dlc-tags li { margin: 0; padding: .35rem .85rem; border: 1px solid var(--dlc-line); border-radius: 999px; font-size: .95rem; background: #fff; }

.dlc-partners { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.dlc-partners li { margin: 0; padding: .9rem 1rem; border: 1px solid var(--dlc-line); border-left: 4px solid var(--dlc-yellow); background: #fff; font-weight: 600; color: var(--dlc-ink); line-height: 1.3; }

/* --- Tabel --------------------------------------------------------------- */
.entry-content .wp-block-table { margin-top: 1.5rem; margin-bottom: 2rem; overflow-x: auto; }
.entry-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { text-align: left; vertical-align: top; padding: .85rem 1rem; border: 0; border-bottom: 1px solid var(--dlc-line); }
.entry-content .wp-block-table thead th { background: var(--dlc-ink); color: #fff; font-weight: 700; border-bottom: 0; }
.entry-content .wp-block-table tbody tr:nth-child(even) { background: var(--dlc-bg-alt); }
.entry-content .wp-block-table td:first-child { font-weight: 700; color: var(--dlc-ink); white-space: nowrap; }
.entry-content .wp-block-table thead, .entry-content .wp-block-table tfoot { border: 0; }

/* --- Nieuwsblok op de voorpagina (Laatste berichten) --------------------- */
.wp-block-latest-posts.dlc-latest { padding: 0 !important; margin: 0 0 2rem; }
.wp-block-latest-posts.dlc-latest.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.wp-block-latest-posts.dlc-latest.is-grid li { margin: 0 !important; width: auto !important; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dlc-line); border-top: 4px solid var(--dlc-yellow); padding: 1.5rem; }
.wp-block-latest-posts.dlc-latest .wp-block-latest-posts__post-date { order: -1; font-size: .9rem; color: var(--dlc-muted); margin-bottom: .35rem; }
.wp-block-latest-posts.dlc-latest .wp-block-latest-posts__post-title { font-size: 1.2rem; line-height: 1.3; font-weight: 700; text-decoration: none; color: var(--dlc-ink); }
.wp-block-latest-posts.dlc-latest .wp-block-latest-posts__post-title::after { content: ""; position: absolute; inset: 0; }
.wp-block-latest-posts.dlc-latest li:hover .wp-block-latest-posts__post-title { text-decoration: underline; text-decoration-color: var(--dlc-yellow); }
.wp-block-latest-posts.dlc-latest .wp-block-latest-posts__post-excerpt { font-size: 1rem; margin: .6rem 0 0; color: var(--dlc-text); }
.wp-block-latest-posts.dlc-latest .wp-block-latest-posts__post-excerpt a { display: none; }
@media (max-width: 900px) { .wp-block-latest-posts.dlc-latest.is-grid { grid-template-columns: 1fr; } }

/* --- Contact ------------------------------------------------------------- */
.dlc-contact-card { border: 1px solid var(--dlc-line); border-top: 4px solid var(--dlc-yellow); padding: 1.4rem 1.6rem; margin-bottom: 1.25rem; }
.dlc-contact-card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.dlc-contact-card p { margin-bottom: .3rem; }

.dlc-form { display: grid; gap: 1.1rem; margin: 1.5rem 0 0; max-width: 640px; }
.dlc-form label { display: block; font-weight: 700; color: var(--dlc-ink); margin-bottom: .3rem; }
.dlc-form .optional { font-weight: 400; color: var(--dlc-muted); }
.dlc-form input[type="text"], .dlc-form input[type="email"], .dlc-form select, .dlc-form textarea {
	width: 100%; font: inherit; font-size: 1.05rem; padding: .7rem .85rem; border: 1px solid #8a8c83; border-radius: 4px; background: #fff; color: var(--dlc-ink);
}
.dlc-form textarea { min-height: 170px; resize: vertical; }
.dlc-form .dlc-hp { position: absolute; left: -9999px; }
.dlc-form__consent { font-size: .95rem; color: var(--dlc-muted); }
.dlc-notice { padding: 1rem 1.25rem; border-left: 6px solid; margin: 1rem 0; }
.dlc-notice--ok { background: #eef7ee; border-color: #2e7d32; }
.dlc-notice--error { background: #fdeeee; border-color: #b3261e; }

/* --- Kolommen ------------------------------------------------------------ */
.entry-content .wp-block-columns { gap: 2rem; }
@media (max-width: 781px) { .entry-content .wp-block-columns.dlc-cards { gap: 1rem; } }

/* --- Afbeeldingen -------------------------------------------------------- */
.entry-content .wp-block-image img { border-radius: var(--dlc-radius); }
.entry-content figcaption { font-size: .9rem; color: var(--dlc-muted); }

/* Tabellen: smalle eerste kolom */
.entry-content .wp-block-table th:first-child, .entry-content .wp-block-table td:first-child { width: 30%; white-space: normal; }
