/* =====================================================================
 * dbp-waaier.css — waaierstamboom (zie dbp-waaier.js).
 * Gebruikt de huisstijl-tokens --dbp-fg, --dbp-bg, --dbp-accent, --dbp-sans,
 * --dbp-serif, met terugvalwaarden voor gebruik buiten de site.
 * ===================================================================== */
.waaier {
	--dbp-ink: var(--dbp-fg, #f0ebe0);
	--w-line: rgba(240, 235, 224, .78);
	--w-dim: rgba(240, 235, 224, .22);
	--w-muted: rgba(240, 235, 224, .55);
	color: var(--dbp-ink);
}
.waaier .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- gereedschap ---------- */
.waaier-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; }
.waaier-crumbs:empty { display: none; }
.waaier-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; min-height: 34px; }
.waaier-crumbs i { font-style: normal; color: var(--w-dim); }
.wcr { font: inherit; background: none; border: 1px solid rgba(240,235,224,.18); color: var(--w-muted); border-radius: 99px; padding: 6px 12px; cursor: pointer; }
.wcr:hover, .wcr:focus-visible { color: var(--dbp-ink); border-color: var(--dbp-accent); outline: none; }
.wcr.is-here { border-color: transparent; color: var(--dbp-ink); font-weight: 500; cursor: default; }
.waaier-search { margin-left: auto; }
.waaier-search input { font: inherit; font-size: 14px; color: var(--dbp-ink); background: rgba(240,235,224,.05); border: 1px solid rgba(240,235,224,.18); border-radius: 99px; padding: 9px 16px; width: 240px; }
.waaier-search input:focus { outline: none; border-color: var(--dbp-accent); }

/* ---------- podium ---------- */
.waaier-stage { position: relative; }
.waaier-svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.w-edge { fill: none; stroke: var(--w-line); stroke-linecap: round; transition: opacity .25s; }
.w-tip { fill: var(--dbp-ink); transition: opacity .25s; }
.w-stem { fill: none; stroke: rgba(240,235,224,.4); stroke-width: 1.3; transition: opacity .25s; }
.is-dim .w-edge, .is-dim .w-tip { opacity: .28; }
.is-dim .w-stem { opacity: .35; }
.w-edge-on { fill: none; stroke: var(--dbp-accent); stroke-linecap: round; pointer-events: none; }
.w-tip-on { fill: var(--dbp-accent); pointer-events: none; }
.w-clab { font-family: var(--dbp-sans); font-size: 15px; letter-spacing: .14em; fill: var(--dbp-accent); paint-order: stroke; stroke: var(--dbp-bg); stroke-width: 5px; pointer-events: none; }
.w-ring.is-empty { fill: rgba(240,235,224,.06); }
.w-ring { fill: none; stroke: rgba(240,235,224,.55); stroke-width: 2; }
.w-fruit { cursor: pointer; outline: none; }
.w-fruit image { transition: filter .3s; }
.w-fruit:hover .w-ring, .w-fruit:focus-visible .w-ring { stroke: var(--dbp-accent); stroke-width: 3.5; }
.w-flab { font-family: var(--dbp-sans); font-size: 21px; font-weight: 500; fill: var(--dbp-ink); paint-order: stroke; stroke: var(--dbp-bg); stroke-width: 6px; }
.w-fsub { font-family: var(--dbp-sans); font-size: 16px; fill: var(--w-muted); paint-order: stroke; stroke: var(--dbp-bg); stroke-width: 6px; }
.w-fsub.it { font-style: italic; }

/* teller linksonder, kaart rechtsonder, zoals in de film */
.waaier-count { position: absolute; left: 0; bottom: 0; pointer-events: none; }
.wcount-n { font-family: var(--dbp-serif); font-weight: 600; font-size: clamp(40px, 6.2vw, 92px); line-height: .9; }
.wcount-sub { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--w-muted); margin-top: 8px; }

.waaier-card { position: absolute; right: 0; bottom: 0; width: min(420px, 30%); display: flex; gap: 18px; align-items: flex-start; min-height: 120px; }
.wc-empty { color: var(--w-muted); font-size: 14px; line-height: 1.5; margin-left: auto; text-align: right; max-width: 260px; }
.wc-photo { flex: 0 0 104px; height: 104px; border-radius: 50%; overflow: hidden; border: 2px solid var(--dbp-accent); background: #151515; }
.wc-photo:empty { display: none; }
.wc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wc-body { min-width: 0; }
.wc-nl { font-family: var(--dbp-serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.wc-la { font-style: italic; color: var(--w-muted); font-size: 15px; margin-top: 2px; }
.wc-la.up { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.wc-fam { font-size: 13px; margin-top: 10px; color: var(--dbp-ink); }
.wc-fam b { font-weight: 500; font-style: italic; }
.wc-lin { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-muted); margin-top: 8px; line-height: 1.7; }
.wc-lin span { color: var(--dbp-accent); }
.wc-go { display: none; color: var(--dbp-accent); font-size: 14px; font-weight: 500; text-decoration: none; margin-top: 10px; }
.wc-cat { font-size: 12px; color: var(--w-dim); margin-top: 8px; }
.wc-cat a { color: var(--w-muted); text-decoration: underline; text-underline-offset: 3px; }
.wc-cat a:hover { color: var(--dbp-accent); }
.wc-hint { font-size: 12.5px; color: var(--dbp-accent); margin-top: 8px; line-height: 1.5; }

.waaier-note { font-size: 12.5px; line-height: 1.6; color: var(--w-dim); max-width: 760px; margin: 18px auto 0; text-align: center; }
.waaier-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px auto 0; max-width: 1100px; }
.wchip { font-size: 13px; color: var(--w-muted); text-decoration: none; border: 1px solid rgba(240,235,224,.14); border-radius: 99px; padding: 6px 13px; transition: color .2s, border-color .2s; }
.wchip:hover, .wchip:focus-visible { color: var(--dbp-ink); border-color: var(--dbp-accent); outline: none; }

@keyframes wFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wPop { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: scale(1); } }

/* ---------- telefoon / smal ---------- */
@media (hover: none) { .wc-go { display: inline-block; } }
@media (max-width: 760px) {
	.waaier-search, .waaier-search input { width: 100%; }
	.waaier-stage { display: flex; flex-direction: column; }
	.waaier-svg { order: -1; }
	.waaier-count, .waaier-card { position: static; width: auto; }
	.waaier-count { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; }
	.wcount-sub { margin: 0; }
	.waaier-card { margin-top: 16px; min-height: 0; }
	.wc-empty { margin: 0; text-align: left; }
	.wc-photo { flex-basis: 84px; height: 84px; }
	.w-flab, .w-fsub { display: none; }
}
