/* ==========================================================================
   DAC Blog detail (single.php): dark hero with breadcrumb, reading column
   (max ~760px) + sticky TOC/CTA sidebar from 1024px. Namespace .dac-bd-*.
   ========================================================================== */

.dac-bd { background: var(--dac-white); display: flex; flex-direction: column; }
.dac-bd [hidden] { display: none !important; }

/* ── HERO ── */
/* The page already sits below the fixed header (.dac-body-offset), so no header-height padding here. */
.dac-bd__hero { position: relative; overflow: hidden; background: var(--dac-zwart); padding: 2.25rem 0 2.5rem; }
@media (min-width: 1024px) { .dac-bd__hero { padding: 3rem 0 3.5rem; } }
.dac-bd__hero-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--dac-geel); }
.dac-bd__hero-inner { position: relative; z-index: 10; }
.dac-bd__breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 1.5rem; min-width: 0; }
.dac-bd__breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.dac-bd__breadcrumb a:hover { color: #fff; }
.dac-bd__breadcrumb svg { width: 12px; height: 12px; }
.dac-bd__breadcrumb-current { color: rgba(255,255,255,.9); min-width: 0; overflow-wrap: anywhere; }
.dac-bd__hero-content { max-width: 52rem; }
.dac-bd__hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.dac-bd__hero-cat { background: var(--dac-geel); color: var(--dac-zwart); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .625rem; }
.dac-bd__hero-meta-item { display: flex; align-items: center; gap: .375rem; color: rgba(255,255,255,.7); font-size: 12px; white-space: nowrap; }
.dac-bd__hero-meta-item svg { width: 14px; height: 14px; }
.dac-bd__h1 { font-size: 1.75rem; font-weight: 900; line-height: 1.2; color: #fff; margin: 0; overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 768px) { .dac-bd__h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .dac-bd__h1 { font-size: 2.75rem; line-height: 1.12; } }
.dac-bd__subtitle { color: rgba(255,255,255,.7); font-size: 1.125rem; line-height: 1.65; margin: 0 0 2rem; }
.dac-bd__hero-author { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.dac-bd__hero-author-left { display: flex; align-items: center; gap: .75rem; }
.dac-bd__avatar { width: 2.25rem; height: 2.25rem; background: var(--dac-geel); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--dac-zwart); font-size: .875rem; }
.dac-bd__author-name { color: #fff; font-size: .875rem; font-weight: 700; margin: 0; }
.dac-bd__author-cert { color: rgba(255,255,255,.55); font-size: 12px; margin: 0; }
.dac-bd__share { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,.1); padding: .5rem .75rem; background: none; cursor: pointer; transition: color .2s, border-color .2s; font-family: inherit; }
.dac-bd__share:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.dac-bd__share svg { width: 14px; height: 14px; }
.dac-bd__hero-image { margin-top: 2rem; position: relative; height: 18rem; overflow: hidden; }
@media (min-width: 768px) { .dac-bd__hero-image { height: 24rem; } }
.dac-bd__hero-image img { width: 100%; height: 100%; object-fit: cover; }
.dac-bd__hero-image-fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--dac-white), transparent 50%); }

/* ── ARTIKEL (licht) ── */
.dac-bd__main { flex: 1; padding: 2.5rem 0 4rem; background: var(--dac-white); }
@media (min-width: 1024px) { .dac-bd__main { padding: 3.5rem 0 5rem; } }
/* One centred reading column; from 1024px column + 18rem sidebar, centred as a pair (no empty right half). */
.dac-bd__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1024px) { .dac-bd__layout { grid-template-columns: minmax(0, 760px) 18rem; justify-content: center; gap: 4rem; } }
.dac-bd__article { min-width: 0; width: 100%; max-width: 760px; margin-inline: auto; }
@media (min-width: 1024px) { .dac-bd__article { margin-inline: 0; } }
.dac-bd__article .dac-prose__body { font-size: 1.0625rem; line-height: 1.75; }
.dac-bd__article .dac-prose__body a { overflow-wrap: anywhere; }
/* Featured image: fixed 16:9 crop, never taller than 480px (portrait uploads pushed the text 1000px down). */
.dac-bd__thumb { margin: 0 0 2rem; aspect-ratio: 16 / 9; max-height: 480px; width: 100%; overflow: hidden; background: var(--dac-grey); }
.dac-bd__thumb img { display: block; width: 100%; height: 100%; max-width: none !important; object-fit: cover; }

.dac-bd__blocks > * + * { margin-top: 1.5rem; }
.dac-bd__intro { color: var(--dac-ink); font-size: 1.125rem; line-height: 1.65; border-left: 2px solid var(--dac-geel); padding-left: 1.25rem; margin: 0; }
.dac-bd__heading { font-size: 1.5rem; font-weight: 900; color: var(--dac-zwart); padding-top: 1rem; scroll-margin-top: 7rem; margin: 0; }
.dac-bd__paragraph { color: var(--dac-ink); line-height: 1.75; margin: 0; }
.dac-bd__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.dac-bd__list-item { display: flex; align-items: flex-start; gap: .75rem; color: var(--dac-ink); }
.dac-bd__list-item svg { width: 1rem; height: 1rem; color: var(--dac-gold); flex-shrink: 0; margin-top: .3rem; }
.dac-bd__callout { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid; }
.dac-bd__callout-icon { flex-shrink: 0; margin-top: .125rem; }
.dac-bd__callout-icon svg { width: 1.25rem; height: 1.25rem; }
.dac-bd__callout-text { color: var(--dac-ink); font-size: .875rem; line-height: 1.65; margin: 0; }
.dac-bd__callout--tip { border-color: rgba(242,217,24,.5); background: rgba(242,217,24,.12); }
.dac-bd__callout--tip .dac-bd__callout-icon { color: var(--dac-gold); }
.dac-bd__callout--warning { border-color: rgba(234,88,12,.4); background: rgba(251,146,60,.12); }
.dac-bd__callout--warning .dac-bd__callout-icon { color: #c2410c; }
.dac-bd__callout--info { border-color: rgba(37,99,235,.35); background: rgba(96,165,250,.12); }
.dac-bd__callout--info .dac-bd__callout-icon { color: #1d4ed8; }
.dac-bd__example { background: var(--dac-grey); border: 1px solid var(--dac-line); padding: 1.25rem; }
.dac-bd__example-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: var(--dac-tekst-mut); margin: 0 0 .5rem; }
.dac-bd__example-text { color: var(--dac-ink); font-size: .875rem; line-height: 1.65; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; }
.dac-bd__table-wrap { overflow-x: auto; }
.dac-bd__table { width: 100%; font-size: .875rem; border-collapse: collapse; }
.dac-bd__table thead tr { background: var(--dac-geel); }
.dac-bd__table th { color: var(--dac-zwart); font-weight: 900; text-align: left; padding: .75rem 1rem; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.dac-bd__table tr.is-even { background: var(--dac-grey); }
.dac-bd__table tr.is-odd { background: var(--dac-white); }
.dac-bd__table td { padding: .75rem 1rem; border-bottom: 1px solid var(--dac-line); color: var(--dac-ink); }
.dac-bd__table td.is-first { color: var(--dac-zwart); font-weight: 700; }

.dac-bd__tags { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--dac-line); }
.dac-bd__tags-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: var(--dac-tekst-mut); margin: 0 0 .75rem; }
.dac-bd__tags-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.dac-bd__tag { display: flex; align-items: center; gap: .375rem; color: var(--dac-tekst-mut); font-size: 12px; border: 1px solid var(--dac-line); padding: .375rem .75rem; transition: border-color .2s, color .2s; }
.dac-bd__tag svg { width: 12px; height: 12px; }
.dac-bd__tag:hover { border-color: rgba(242,217,24,.5); color: var(--dac-zwart); }

.dac-bd__authorbox { margin-top: 2.5rem; background: var(--dac-grey); border: 1px solid var(--dac-line); padding: 1.5rem; display: flex; align-items: flex-start; gap: 1.25rem; }
.dac-bd__authorbox-avatar { width: 3.5rem; height: 3.5rem; background: var(--dac-geel); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--dac-zwart); font-size: 1.125rem; flex-shrink: 0; }
.dac-bd__authorbox-name { color: var(--dac-zwart); font-weight: 900; font-size: 1rem; margin: 0 0 .25rem; }
.dac-bd__authorbox-cert { color: var(--dac-gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 .75rem; }
.dac-bd__authorbox-text { color: var(--dac-ink); font-size: .875rem; line-height: 1.65; margin: 0; }

.dac-bd__nav { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--dac-line); display: flex; align-items: center; gap: 1rem; }
.dac-bd .dac-bd__nav-back { display: flex; align-items: center; gap: .5rem; color: var(--dac-ink); font-size: .875rem; font-weight: 700; text-decoration: none; transition: color .2s; }
.dac-bd__nav-back svg { width: 1rem; height: 1rem; }
.dac-bd__nav-back:hover { color: var(--dac-zwart); }

/* ── SIDEBAR ── */
.dac-bd__sidebar { display: none; min-width: 0; }
@media (min-width: 1024px) { .dac-bd__sidebar { display: block; } }
.dac-bd__sidebar-inner { position: sticky; top: calc(var(--dac-hh) + 2rem); display: flex; flex-direction: column; gap: 1.5rem; }
.dac-bd__toc-nav { max-height: 45vh; overflow-y: auto; }
.dac-bd__toc { background: var(--dac-grey); border: 1px solid var(--dac-line); padding: 1.25rem; }
.dac-bd__toc-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: var(--dac-gold); margin: 0 0 1rem; }
.dac-bd__toc-nav { display: flex; flex-direction: column; gap: .25rem; }
.dac-bd__toc-link { display: block; font-size: .8125rem; line-height: 1.4; padding: .375rem 0 .375rem .75rem; border-left: 2px solid var(--dac-line); color: var(--dac-tekst-mut); text-decoration: none; transition: all .2s; }
.dac-bd__toc-link:hover { color: var(--dac-zwart); border-color: rgba(30,33,36,.2); }
.dac-bd__toc-link.is-active { border-color: var(--dac-geel); color: var(--dac-zwart); font-weight: 700; }

.dac-bd__cta-box { background: var(--dac-geel); padding: 1.25rem; }
.dac-bd__cta-box-title { color: var(--dac-zwart); font-weight: 900; font-size: 1rem; line-height: 1.2; margin: 0 0 .5rem; }
.dac-bd__cta-box-text { color: rgba(46,50,54,.8); font-size: 12px; line-height: 1.5; margin: 0 0 1rem; }
.dac-bd .dac-bd__cta-box-primary, .dac-bd .dac-bd__cta-box-tel { text-decoration: none; }
.dac-bd__cta-box-primary { display: block; width: 100%; background: var(--dac-zwart); color: var(--dac-geel); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: .75rem; text-align: center; text-decoration: none; margin-bottom: .5rem; transition: background .2s; }
.dac-bd__cta-box-primary:hover { background: #25292C; }
.dac-bd__cta-box-tel { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; border: 2px solid var(--dac-zwart); color: var(--dac-zwart); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: .625rem; text-decoration: none; transition: background .2s, color .2s; }
.dac-bd__cta-box-tel svg { width: 14px; height: 14px; }
.dac-bd__cta-box-tel:hover { background: var(--dac-zwart); color: var(--dac-geel); }

.dac-bd__trust { background: var(--dac-grey); border: 1px solid var(--dac-line); padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.dac-bd__trust-item { display: flex; align-items: center; gap: .75rem; }
.dac-bd__trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dac-gold); flex-shrink: 0; }
.dac-bd__trust-label { color: var(--dac-zwart); font-size: 12px; font-weight: 700; margin: 0; }
.dac-bd__trust-sub { color: var(--dac-tekst-mut); font-size: 10px; margin: 0; }

/* ── GERELATEERDE ARTIKELEN ── */
.dac-bd__related { background: var(--dac-grey); padding: 4rem 0; border-top: 1px solid var(--dac-line); }
.dac-bd__related-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 2.5rem; }
.dac-bd__related-line { width: 2rem; height: 2px; background: var(--dac-geel); }
.dac-bd__related-eyebrow { color: var(--dac-zwart); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; margin: 0; }
.dac-bd__related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .dac-bd__related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dac-bd__related-card { display: block; background: var(--dac-white); border: 1px solid var(--dac-line); overflow: hidden; text-decoration: none; transition: border-color .3s, box-shadow .3s; box-shadow: 0 1px 2px rgba(30,33,36,.04); }
.dac-bd__related-card:hover { border-color: rgba(242,217,24,.5); box-shadow: 0 8px 24px rgba(30,33,36,.08); }
.dac-bd__related-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dac-grey); }
.dac-bd__related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dac-bd__related-card:hover .dac-bd__related-media img { transform: scale(1.05); }
.dac-bd__related-media-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,33,36,.6), transparent); }
.dac-bd__related-body { padding: 1.25rem; }
.dac-bd__related-cat { color: var(--dac-gold); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.dac-bd__related-title { color: var(--dac-zwart); font-weight: 900; font-size: .875rem; line-height: 1.35; margin: .5rem 0 .75rem; transition: color .2s; }
.dac-bd__related-card:hover .dac-bd__related-title { color: var(--dac-gold); }
.dac-bd__related-meta { display: flex; align-items: center; gap: .375rem; color: var(--dac-tekst-mut); font-size: 12px; }
.dac-bd__related-meta svg { width: 12px; height: 12px; }

/* ── CTA-BANNER ── */
.dac-bd__cta { background: var(--dac-geel); padding: 3.5rem 0; }
.dac-bd__cta-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .dac-bd__cta-inner { flex-direction: row; } }
.dac-bd__cta-eyebrow { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; color: rgba(46,50,54,.5); margin: 0 0 .25rem; }
.dac-bd__cta-title { font-size: 1.5rem; font-weight: 900; color: var(--dac-zwart); line-height: 1.15; margin: 0; }
@media (min-width: 768px) { .dac-bd__cta-title { font-size: 1.875rem; } }
.dac-bd__cta-sub { color: rgba(46,50,54,.8); font-size: .875rem; margin: .25rem 0 0; }
.dac-bd__cta-btns { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }
.dac-bd__cta-primary { background: var(--dac-zwart); color: var(--dac-geel); font-weight: 900; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; padding: .75rem 1.5rem; text-decoration: none; transition: background .2s; }
.dac-bd__cta-primary:hover { background: #25292C; }
.dac-bd__cta-secondary { border: 2px solid var(--dac-zwart); color: var(--dac-zwart); font-weight: 900; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; padding: .75rem 1.5rem; text-decoration: none; transition: background .2s, color .2s; }
.dac-bd__cta-secondary:hover { background: var(--dac-zwart); color: var(--dac-geel); }

/* ==========================================================================
   Generic content pages (page.php: privacy, cookies, vacatures, bedankt-pagina's).
   Same hero as the blog detail; one centred reading column of ~75 characters.
   ========================================================================== */
.dac-bd__article--page { max-width: 42rem; margin-inline: auto; } /* ~75 characters per line at 16px */
.dac-bd--page .dac-bd__hero-inner > * { max-width: 42rem; margin-inline: auto; }
.dac-bd--page .dac-bd__main { padding: 2.5rem 0 4rem; }
@media (min-width: 1024px) { .dac-bd--page .dac-bd__main { padding: 3.5rem 0 5rem; } }
.dac-bd--page .dac-prose__body { font-size: 1rem; line-height: 1.7; }
/* Long URLs and e-mail addresses in legal texts break instead of overflowing. */
.dac-bd--page .dac-prose__body a,
.dac-bd--page .dac-prose__body td { overflow-wrap: anywhere; }
/* Headings: tight line-height on mobile (was a very loose H2 at 390px). */
.dac-bd .dac-prose__body h2 { font-size: 1.375rem; line-height: 1.25; margin-top: 2.25rem; }
.dac-bd .dac-prose__body h3 { font-size: 1.125rem; line-height: 1.3; margin-top: 1.75rem; }
@media (min-width: 768px) {
	.dac-bd .dac-prose__body h2 { font-size: 1.6rem; }
	.dac-bd .dac-prose__body h3 { font-size: 1.25rem; }
}
/* Buttons placed inside page content keep their button look (no link underline). */
.dac-bd .dac-prose__body a.dac-btn, .dac-bd .dac-prose__body a[class*="dac-btn"] { text-decoration: none; display: inline-flex; }

/* Align the post hero with the centred article + sidebar pair (760 + 64 + 288 px). */
@media (min-width: 1024px) {
	.dac-bd:not(.dac-bd--page) .dac-bd__hero-inner > * { max-width: calc(760px + 4rem + 18rem); margin-inline: auto; }
}
