/*
 * WaardeLab Core — onderdelen.
 * Kleuren en lettertypes komen uit het WaardeLab-thema (--wl-*). Zonder dat thema gelden de standaardwaarden hieronder.
 */
:where(:root) {
	--wl-paper: #F2EEE1;
	--wl-sand: #E1D9C1;
	--wl-ink: #1E3B2A;
	--wl-green: #2E5A42;
	--wl-sage: #86B79A;
	--wl-sign: #EEE400;
	--wl-sign-ink: #151515;
	--wl-muted: #5B6B5F;
	--wl-line: rgba(30, 59, 42, .18);
	--wl-f-display: "Merriweather", Georgia, "Times New Roman", serif;
	--wl-f-body: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
}

.wl-route, .wl-agenda, .wl-timeline, .wl-partners, .wl-bag { font-family: var(--wl-f-body); box-sizing: border-box; }
.wl-route, .wl-timeline, .wl-partners, .wl-bag { color: var(--wl-ink); }
.wl-agenda { color: inherit; }
.wl-route *, .wl-agenda *, .wl-timeline *, .wl-partners *, .wl-bag * { box-sizing: border-box; }
.wl-empty { padding: 16px; border: 1px dashed var(--wl-line); }

/* ---------- Logo ---------- */
.wl-logo { display: inline-flex; align-items: flex-end; gap: 8px; color: inherit; line-height: .9; }
.wl-logo__word { display: flex; flex-direction: column; align-items: flex-end; }
.wl-logo__wl { font-family: var(--wl-f-body); font-style: italic; font-size: 1.55rem; letter-spacing: -.01em; }
.wl-logo__wl b { font-weight: 700; }
.wl-logo__wl span { font-weight: 400; }
.wl-logo__rv { font-family: var(--wl-f-body); font-style: italic; font-weight: 500; font-size: .72rem; color: var(--wl-sage); margin-top: 2px; }
.wl-logo__mark { width: 34px; height: 34px; flex: none; }
.wl-logo--board, .wl-logo--board .wl-logo__rv { color: var(--wl-sign-ink); }

/* ---------- Routebord ---------- */
.wl-route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wl-board { background: var(--wl-sign); color: var(--wl-sign-ink); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px) clamp(20px, 3vw, 40px); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 18px 40px -24px rgba(0,0,0,.45); }
.wl-board__logo { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.wl-stops { list-style: none; margin: 0; padding: 0; position: relative; }
.wl-stops::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 14px; width: 2.5px; background: var(--wl-sign-ink); }
.wl-stop { position: relative; padding-left: 36px; margin: 0; }
.wl-stop__btn { all: unset; cursor: pointer; display: block; width: 100%; padding: 9px 0; border-radius: 6px; color: var(--wl-sign-ink); }
.wl-stop__btn:focus-visible { outline: 3px solid var(--wl-sign-ink); outline-offset: 2px; }
.wl-stop__dot { position: absolute; left: 0; top: 13px; width: 19px; height: 19px; border-radius: 50%; background: var(--wl-sign); border: 2.5px solid var(--wl-sign-ink); transition: transform .2s; }
.wl-stop__name { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.2; transition: font-size .2s; }
.wl-stop__sub { display: block; font-size: .9rem; }
.wl-stop__desc { display: block; font-family: var(--wl-f-display); font-style: italic; font-size: .94rem; line-height: 1.6; margin-top: 8px; max-width: 46ch; }
.wl-stop--end { padding-top: 8px; padding-bottom: 4px; }
.wl-stop--end .wl-stop__dot { top: 8px; }
.wl-route.is-ready .wl-stop:not(.is-active) .wl-stop__desc { display: none; }
.wl-stop.is-active .wl-stop__dot { background: var(--wl-sign-ink); transform: scale(1.15); }
.wl-route.is-ready .wl-stop.is-active .wl-stop__name { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.wl-board__foot { border-top: 2px solid var(--wl-sign-ink); margin: 22px 0 0; padding-top: 14px; font-size: .85rem; font-weight: 500; }

.wl-views { display: grid; gap: 40px; }
.wl-route.is-ready .wl-views { position: sticky; top: 100px; gap: 0; }
.wl-route.is-ready .wl-view:not(.is-active) { display: none; }
.wl-view { margin: 0; }
.wl-view.is-active { animation: wl-fade .35s ease; }
@keyframes wl-fade { from { opacity: .4; } to { opacity: 1; } }
.wl-view__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.wl-view__cap { display: grid; gap: 6px; margin-top: 16px; }
.wl-view__tag { font-size: .85rem; color: var(--wl-muted); }
.wl-view__title { font-family: var(--wl-f-display); font-style: italic; font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--wl-ink); }
.wl-view__text { max-width: 56ch; line-height: 1.6; }
.wl-view__link { font-weight: 500; color: var(--wl-green); justify-self: start; margin-top: 4px; }
@media (max-width: 860px) {
	.wl-route { grid-template-columns: 1fr; }
	.wl-route.is-ready .wl-views { position: static; }
}
@media (prefers-reduced-motion: reduce) {
	.wl-view.is-active { animation: none; }
	.wl-stop__dot, .wl-stop__name { transition: none; }
}

/* ---------- Agenda ---------- */
.wl-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wl-date { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; border-top: 1px solid var(--wl-line); padding-top: 14px; margin: 0; }
.wl-date__d time { display: block; font-family: var(--wl-f-display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--wl-agenda-accent, var(--wl-green)); font-variant-numeric: tabular-nums; }
.wl-date__d small { display: block; font-family: var(--wl-f-body); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: inherit; opacity: .8; margin-top: 6px; }
.wl-date__title { font-family: var(--wl-f-body); font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin: 0; color: inherit; }
.wl-date__title a { color: inherit; text-decoration: none; }
.wl-date__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wl-date__meta { font-size: .9rem; font-weight: 500; margin: 4px 0 0; opacity: .85; }
.wl-date__text { font-size: .95rem; margin: 6px 0 0; }
.wl-date__more { margin: 6px 0 0; font-size: .92rem; }
.wl-date__more a { color: inherit; }
.wl-agenda-empty { font-style: italic; opacity: .85; }
.wl-agenda-wrap--donker { color: var(--wl-paper); }
.wl-agenda-wrap--donker .wl-agenda { --wl-agenda-accent: var(--wl-sign); }
.wl-agenda-wrap--donker .wl-date { border-top-color: rgba(242, 238, 225, .25); }
.wl-agenda-wrap--donker .wl-date__d small { color: var(--wl-paper); }

/* ---------- Tijdlijn ---------- */
.wl-timeline { display: grid; grid-template-columns: repeat(var(--wl-cols, 5), minmax(0, 1fr)); border-top: 2.5px solid var(--wl-ink); list-style: none; margin: 0; padding: 0; }
.wl-timeline__item { position: relative; padding: 26px 18px 0 0; margin: 0; }
.wl-timeline__item::before { content: ""; position: absolute; left: 0; top: -11px; width: 19px; height: 19px; border-radius: 50%; background: var(--wl-paper); border: 2.5px solid var(--wl-ink); }
.wl-timeline__item:last-child::before { background: var(--wl-ink); }
.wl-timeline__y { display: block; font-family: var(--wl-f-display); font-weight: 900; font-size: 1.6rem; line-height: 1; color: var(--wl-green); font-variant-numeric: tabular-nums; }
.wl-timeline__title { font-family: var(--wl-f-body); font-size: 1rem; font-weight: 700; margin: 10px 0 0; color: var(--wl-ink); }
.wl-timeline__text { font-size: .93rem; margin: 6px 0 0; line-height: 1.55; }
@media (max-width: 900px) {
	.wl-timeline { grid-template-columns: 1fr; border-top: none; border-left: 2.5px solid var(--wl-ink); margin-left: 9px; }
	.wl-timeline__item { padding: 0 0 26px 28px; }
	.wl-timeline__item::before { left: -11px; top: 2px; }
}

/* ---------- Partners ---------- */
.wl-partners { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 64px); }
.wl-partners[style*="--wl-cols:1"], .wl-partners--single { grid-template-columns: 1fr; }
.wl-partners__title { font-family: var(--wl-f-body); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wl-muted); margin: 0 0 12px; }
.wl-partners__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.wl-partners__list li { font-size: .98rem; margin: 0; }
.wl-partners__list:not(.has-logos) li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--wl-sage); font-weight: 700; }
.wl-partners__list a { color: inherit; text-decoration: none; }
.wl-partners__list a:hover { text-decoration: underline; }
.wl-partners__list.has-logos { gap: 20px 28px; align-items: center; }
.wl-partners__list.has-logos img { max-height: 48px; width: auto; }
@media (max-width: 760px) { .wl-partners { grid-template-columns: 1fr; } }

/* ---------- Bagage-citaat ---------- */
.wl-bag { --wl-bagc: var(--wl-sand); --wl-bag-ink: var(--wl-ink); position: relative; margin: 0; padding-top: clamp(34px, 3.4vw, 46px); }
.wl-bag--groen { --wl-bagc: var(--wl-sage); --wl-bag-ink: #16301F; }
.wl-bag--geel { --wl-bagc: var(--wl-sign); --wl-bag-ink: var(--wl-sign-ink); }
.wl-bag::before { content: ""; position: absolute; left: 37%; top: 0; width: 26%; height: clamp(58px, 5.6vw, 76px); box-sizing: border-box; border: clamp(12px, 1.3vw, 16px) solid var(--wl-bagc); border-bottom: none; border-radius: 60px 60px 0 0; }
.wl-bag__q { margin: 0; background: var(--wl-bagc); clip-path: polygon(0 16%, 12% 2%, 100% 0, 100% 90%, 62% 90%, 55% 100%, 45% 90%, 0 90%); border-radius: 8px; padding: clamp(52px, 5vw, 70px) clamp(24px, 3vw, 38px) clamp(54px, 5vw, 70px); border: 0; }
.wl-bag__q p { margin: 0; font-family: var(--wl-f-body); font-style: italic; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--wl-bag-ink); }
.wl-bag__q p::before { content: "“"; }
.wl-bag__q p::after { content: "”"; }
.wl-bag__src { margin-top: 8px; font-size: .88rem; color: var(--wl-muted); text-align: center; }
