/* Forest journey (homepage) + tak tree. Loaded after style.css. */

/* ---------- the journey container ---------- */
.journey { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--sky) 0, var(--paper) 520px, var(--paper) calc(100% - 900px), #DDE8D3 calc(100% - 520px), #E9EFDF 100%); }
.forest-layer { position: absolute; inset: 0; pointer-events: none; z-index: -1; will-change: transform; }
.forest-layer .tree { position: absolute; display: block; }
.forest-layer .tree svg { display: block; width: 100%; height: auto; overflow: visible; }
.forest-layer.far { color: var(--fern); opacity: .75; }
.forest-layer.near { color: var(--forest-700); }
.forest-layer.near .tree:nth-child(3n) { color: var(--forest-500); }
.forest-layer.near .tree:nth-child(5n) { color: var(--forest-800); }

.trail { position: absolute; left: 0; top: 0; width: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.trail .trail-bed { fill: none; stroke: #D9CDB4; stroke-width: 64; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.trail .trail-edge { fill: none; stroke: #C2B392; stroke-width: 70; stroke-linecap: round; opacity: .35; }
.trail .trail-walked { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; }

/* ---------- stops ---------- */
.stop { position: relative; padding-block: 72px; }
.stop > .wrap { position: relative; }
.signpost {
  display: inline-flex; align-items: center; gap: 10px; position: relative;
  background: var(--bark); color: #FBF4E6; font-family: var(--sign); font-size: 1.6rem; line-height: 1;
  padding: 10px 26px 10px 20px; border-radius: 6px 4px 4px 6px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
  transform: rotate(-2deg);
}
.signpost.right { transform: rotate(2deg); }
.stop-head { display: grid; gap: 14px; justify-items: start; margin-bottom: 30px; max-width: 760px; }
.stop-head.center { justify-items: center; text-align: center; margin-inline: auto; }

/* entrance / hero */
.stop-entrance { padding-block: 64px 40px; }
.entrance { display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .entrance { grid-template-columns: 1fr; } }
.entrance h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); letter-spacing: -.03em; color: var(--burgundy); }
.entrance h1 .l2 { display: block; color: var(--burgundy); }
.entrance .welcome { font-family: var(--sign); font-size: 1.9rem; color: var(--orange-ink); line-height: 1.1; }
.entrance .lede { color: var(--ink); opacity: .85; }
.quick-board { background: var(--card); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(18, 36, 26, .14); padding: 20px; display: grid; gap: 14px; position: relative; }
.quick-board::before { content: ""; position: absolute; top: -10px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 3px 0 var(--burgundy-900); }
.quick-board h2 { font-family: var(--body); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-links a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 800; border: 1.5px solid transparent; min-height: 64px; align-content: center; }
.quick-links a span { font-weight: 500; font-size: .85rem; color: var(--muted); }
.quick-links a:hover { border-color: var(--orange); color: var(--ink); }

/* trail map (desktop only) */
.trail-map { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 20; display: grid; gap: 4px; }
.trail-map a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: .8rem; padding: 4px 0; }
.trail-map a span { opacity: 0; transform: translateX(6px); transition: .2s; background: var(--card); padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.12); white-space: nowrap; }
.trail-map a i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--forest-700); background: var(--paper); transition: .2s; }
.trail-map a:hover span, .trail-map a:focus-visible span, .trail-map a.on span { opacity: 1; transform: none; }
.trail-map a.on i { background: var(--orange); border-color: var(--orange-ink); transform: scale(1.2); }
@media (max-width: 1260px) { .trail-map { display: none; } }

/* the next activity, pinned above the noticeboard */
#wat-komt-eraan .stop-head { max-width: none; justify-items: stretch; }
#wat-komt-eraan .signpost { justify-self: start; }
.next-up { width: 100%; margin-top: 4px; }
.next-up .event-card { box-shadow: 0 14px 30px rgba(18, 36, 26, .12); }

/* quick link spanning both columns */
.quick-links a.ql-wide { grid-column: 1 / -1; background: var(--orange); color: #1B130B; }
.quick-links a.ql-wide span { color: #3A2410; }
.quick-links a.ql-wide:hover { border-color: var(--orange-ink); background: #F0852F; }
.quick-links a.ql-burgundy { background: var(--burgundy); color: #fff; }
.quick-links a.ql-burgundy span { color: rgba(255,255,255,.85); }
.quick-links a.ql-burgundy:hover { background: #8E2840; border-color: var(--burgundy-900); color: #fff; }

/* het boekje */
.boekje-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 18px 40px rgba(18, 36, 26, .1); }
@media (max-width: 680px) { .boekje-card { grid-template-columns: 1fr; padding: 20px; gap: 20px; } .boekje-cover { max-width: 200px; } .boekje-card .boekje-body { display: contents; } .next-meetings { order: -1; } }
.boekje-cover {
  aspect-ratio: 3 / 4; max-width: 100%; border-radius: 6px 14px 14px 6px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(0,0,0,.18) 0 10px, transparent 10px), var(--burgundy); color: #FBF4E6;
  display: grid; align-content: space-between; padding: 22px 18px 22px 28px; transform: rotate(-3deg);
  box-shadow: 8px 10px 0 var(--orange), 0 18px 30px rgba(18,36,26,.2);
}
.bc-logo { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.bc-logo sup { font-size: .45em; }
.bc-title { font-family: var(--sign); font-size: 2.4rem; line-height: 1; color: var(--orange); }
.bc-period { font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.boekje-body { display: grid; gap: 12px; min-width: 0; }
.boekje-body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.boekje-body p:not(.eyebrow):not(.btn-row) { color: var(--muted); max-width: 56ch; }

/* noticeboard */
.noticeboard {
  background: #8C6A45;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 46px), linear-gradient(180deg, #9A7650, #7E5E3D);
  border: 12px solid #5A3E28; border-radius: 16px; padding: 26px; box-shadow: 0 30px 60px rgba(18, 36, 26, .22), inset 0 2px 0 rgba(255,255,255,.1);
  position: relative;
}
.noticeboard::before, .noticeboard::after { content: ""; position: absolute; bottom: -80px; width: 16px; height: 80px; background: #5A3E28; z-index: -1; }
.noticeboard::before { left: 14%; } .noticeboard::after { right: 14%; }
.board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 720px) { .board-grid { grid-template-columns: 1fr; } .noticeboard { padding: 16px; border-width: 8px; } }
.board-grid .event-card { box-shadow: 0 6px 0 rgba(0,0,0,.18); border: 0; }
.board-grid > *:nth-child(odd) { transform: rotate(-.6deg); }
.board-grid > *:nth-child(even) { transform: rotate(.5deg); }
.board-grid > a:hover { transform: rotate(0) translateY(-3px); }
.board-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 22px; color: #FBF4E6; }
.board-foot .btn-ghost { color: #FBF4E6; }
.board-foot .btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.board-empty { background: var(--card); border-radius: 12px; padding: 20px; }

/* fox easter egg */
.fox { position: absolute; width: 92px; bottom: -6px; right: 4%; cursor: pointer; background: none; border: 0; padding: 0; z-index: 2; transition: transform .3s; }
.fox:hover { transform: translateY(-6px); }
.fox-bubble { position: absolute; right: calc(4% + 70px); bottom: 70px; width: min(300px, 70vw); background: var(--card); border-radius: 14px; padding: 14px 16px; box-shadow: 0 14px 30px rgba(0,0,0,.18); font-size: .95rem; z-index: 3; }
.fox-bubble::after { content: ""; position: absolute; right: -8px; bottom: 18px; border: 8px solid transparent; border-left-color: var(--card); border-right: 0; }
@media (max-width: 760px) { .fox { width: 64px; } .fox-bubble { right: 16px; bottom: 76px; } .fox-bubble::after { display: none; } }

/* photo line */
.photo-line { position: relative; padding-top: 30px; }
.photo-line li { position: relative; }
.photo-line li::before { content: ""; position: absolute; top: -14px; left: 50%; width: 10px; height: 22px; margin-left: -5px; background: var(--orange); border-radius: 3px; z-index: 1; }
.photo-line a { display: block; background: var(--card); padding: 8px 8px 12px; border-radius: 4px; box-shadow: 0 12px 26px rgba(18,36,26,.18); text-decoration: none; color: var(--ink); transform: rotate(var(--r, -2deg)); transition: transform .25s; transform-origin: top center; }
.photo-line a:hover { transform: rotate(0) scale(1.03); color: var(--ink); }
.photo-line img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 2px; background: var(--paper-2); }
.photo-line .cap { font-family: var(--sign); font-size: 1.15rem; text-align: center; margin-top: 6px; line-height: 1.1; }
.photo-line .cap small { display: block; font-family: var(--body); font-size: .72rem; color: var(--muted); font-weight: 700; }

/* join routes */
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 680px) { .routes { grid-template-columns: 1fr; } }
/* title, text, button: the button row sits at the bottom so both buttons line up */
.route { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; display: grid; gap: 14px; align-content: start; border-top: 6px solid var(--c, var(--orange)); }
.route h3 { font-size: 1.25rem; }
.route p { color: var(--muted); font-size: .97rem; }
.fee-strip { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; background: var(--forest-800); color: var(--paper); border-radius: var(--radius); padding: 18px 22px; }
.fee-strip b { font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--orange); line-height: 1; }
.fee-strip .iban { font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .03em; }
.fee-strip .copy-btn { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.3); }

/* clearing */
.clearing { position: relative; padding-block: 100px 90px; }
.clearing::before { content: ""; position: absolute; left: 50%; top: 30px; width: min(900px, 120vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 196, .85) 0, rgba(255, 236, 196, 0) 62%); z-index: -1; pointer-events: none; }
.clearing-sign { display: flex; justify-content: center; margin-bottom: 28px; }
.signpost.signpost-lg { font-size: clamp(2rem, 4.4vw, 3rem); padding: 16px 48px 16px 34px; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%); box-shadow: inset 0 -6px 0 rgba(0,0,0,.18); }
.karakol-outline { display: block; width: 100%; max-width: 1040px; height: auto; margin: 0 auto 34px; }
.clearing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .clearing-grid { grid-template-columns: 1fr; } }
.karakol-photo { transform: rotate(-1deg); }
.karakol-photo figcaption { font-family: var(--sign); font-size: 1.2rem; text-align: center; padding-top: 8px; }
.two-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
@media (max-width: 620px) { .two-routes { grid-template-columns: 1fr; } }
.two-routes a { display: grid; gap: 6px; padding: 22px; border-radius: 18px; text-decoration: none; min-height: 140px; align-content: end; position: relative; overflow: hidden; transition: transform .2s; }
.two-routes a:hover { transform: translateY(-4px); }
.two-routes .r-scouts { background: var(--orange); color: #1B130B; }
.two-routes .r-rent { background: var(--burgundy); color: #fff; }
.two-routes .r-rent:hover { color: #fff; } .two-routes .r-scouts:hover { color: #1B130B; }
.two-routes strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; }
.two-routes span { font-size: .95rem; opacity: .9; }
.two-routes a::after { content: "→"; position: absolute; top: 16px; right: 20px; font-size: 1.6rem; font-weight: 800; }

/* reveal (only applied by JS to things below the fold) */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.will-reveal.revealed { opacity: 1; transform: none; }

/* ---------- tak tree ---------- */
.tak-tree { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
@media (max-width: 900px) {
  .tak-tree { grid-template-columns: 1fr; }
  /* phones: the tak-vinder comes after the tak info (kapoenen, welpen, ...) instead of before it */
  .tak-tree .tree-left { display: contents; }
  .tak-tree .tree-stage { order: 0; }
  .tak-tree .tak-panel { order: 1; }
  .tak-tree [data-tak-finder] { order: 2; }
}
.tree-left { display: grid; gap: 28px; align-content: start; min-width: 0; }
.tree-left .finder { width: 100%; max-width: 520px; margin-inline: auto; box-shadow: 0 18px 40px rgba(18,36,26,.08); border-top: 6px solid var(--burgundy); }
.finder-title { font-size: 1.35rem; margin-bottom: 6px; }
.tree-stage { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 520 / 640; }
.tree-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tree-ground { fill: color-mix(in srgb, var(--forest-700) 18%, transparent); }
/* layered pine: each layer is a tak; the selected layer takes the tak colour and slides out a little */
.crown { cursor: pointer; transform-box: fill-box; transform-origin: center bottom; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), filter .3s; }
.crown .tier { fill: var(--forest-700); transition: fill .3s; }
.crown:nth-of-type(odd) .tier { fill: var(--forest-500); }
.crown .tier-shade { fill: #000; opacity: .16; pointer-events: none; }
.crown:hover .tier { fill: color-mix(in srgb, var(--c) 35%, var(--forest-700)); }
.crown.on { transform: scale(1.06); filter: drop-shadow(0 10px 14px rgba(0,0,0,.28)); }
.crown.on .tier { fill: var(--c); }
.tree-trunk { fill: var(--bark); transition: fill .3s; }
.trunk .bark { fill: none; stroke: rgba(0,0,0,.22); stroke-width: 3; stroke-linecap: round; }
.trunk.on { transform: none; }
.trunk.on .tree-trunk { fill: var(--c); }
.sign-line { stroke: var(--bark); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; opacity: .55; transition: opacity .3s, stroke .3s; }
.sign-line.on { opacity: 1; stroke: var(--orange-ink); stroke-dasharray: none; stroke-width: 3; }

/* wooden signs, pointing left at their layer */
.tree-buttons { position: absolute; inset: 0; }
.tree-tab {
  position: absolute; transform: translate(-50%, -50%) rotate(-1.5deg); display: grid; justify-items: start; gap: 0;
  background: var(--bark); color: #FBF4E6; border: 0; border-radius: 4px 6px 6px 4px;
  padding: 6px 14px 6px 22px; min-width: 104px; min-height: 44px; cursor: pointer; white-space: nowrap; text-align: left;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.2); transition: transform .2s, background .2s;
}
.tree-tab:nth-child(even) { transform: translate(-50%, -50%) rotate(1.5deg); }
.tree-tab .tt-name { font-family: var(--sign); font-size: 1.3rem; line-height: 1; }
.tree-tab .tt-age { font-weight: 700; font-size: .72rem; opacity: .85; }
.tree-tab:hover { background: #7D5838; }
.tree-tab[aria-selected="true"] { background: var(--c); transform: translate(-50%, -50%) rotate(0) scale(1.06); }
.tree-tab.root { min-width: 0; }
@media (max-width: 480px) {
  .tree-tab { padding: 4px 8px 4px 16px; min-width: 82px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
  .tree-tab .tt-name { font-size: 1.05rem; }
  .tree-tab .tt-age { font-size: .64rem; }
}

.tak-panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; min-height: 420px; box-shadow: 0 18px 40px rgba(18,36,26,.08); }
.tak-panel:focus-visible { outline-offset: 4px; }
.tak-panel-inner { display: grid; gap: 16px; border-top: 6px solid var(--tak); margin: -26px -26px 0; padding: 22px 26px 0; border-radius: 20px 20px 0 0; }
.tak-panel.in .tak-panel-inner { animation: panelIn .35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tak-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: end; }
.tak-head h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--tak); }
.tak-head .eyebrow { color: var(--muted); }
.tak-head .btn { word-break: break-all; }
.tak-quote { font-size: 1.4rem; color: var(--orange-ink); line-height: 1.2; }
.tak-photo { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.leaders { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 14px; }
.leader { display: grid; justify-items: center; text-align: center; gap: 6px; min-width: 0; }
.leader img, .leader-ph { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--tak); background: var(--paper-2); display: block; }
.leader-ph { font-size: 1.8rem; }
@media (max-width: 480px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } .leader img, .leader-ph { width: 104px; height: 104px; } }
/* clickable photos: zoom on hover, a small + badge, open big in the lightbox */
.leader-photo, .tak-photo-btn { position: relative; border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 50%; }
.tak-photo-btn { border-radius: 12px; display: block; width: 100%; overflow: hidden; }
.leader-photo img, .tak-photo-btn img { transition: transform .25s ease, box-shadow .25s ease; }
.leader-photo:hover img, .leader-photo:focus-visible img { transform: scale(1.08); box-shadow: 0 10px 22px rgba(18,36,26,.25); }
.tak-photo-btn:hover img { transform: scale(1.03); }
.leader-photo .zoom { position: absolute; right: 4px; bottom: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--tak); color: #fff; font: 800 1.2rem/30px var(--body); text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); opacity: .9; transition: transform .2s; }
.leader-photo:hover .zoom { transform: scale(1.15); }
.leader-ph { display: grid; place-items: center; font-family: var(--display); color: var(--tak); }
.leader-name { font-weight: 800; font-size: .92rem; line-height: 1.2; }
.leader-totem { font-size: .76rem; color: var(--muted); line-height: 1.25; }

.leidingsploeg { margin: 18px 0 0; display: grid; gap: 6px; }
.leidingsploeg img { width: 100%; height: auto; border-radius: 14px; display: block; }
.leidingsploeg figcaption { font-size: .85rem; color: var(--muted); font-weight: 700; }

/* ---------- mobile: simpler forest ---------- */
@media (max-width: 760px) {
  .forest-layer.far { display: none; }
  .forest-layer.near .tree { opacity: .9; }
  .trail .trail-bed { stroke-width: 9; }
  .trail .trail-walked { stroke-width: 3; stroke-dasharray: none; }
  .trail .trail-edge { display: none; }
  .stop { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .forest-layer { transform: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}

/* the two route buttons sit in the side column, under the map, one above the other */
.two-routes.side-routes { grid-template-columns: 1fr; gap: 12px; margin-top: 4px; }
.two-routes.side-routes a { min-height: 112px; padding: 18px 20px; }

/* the map fills the empty right-hand column of the Karakol section */
.clearing-grid { align-items: stretch; }
.map.tall { aspect-ratio: auto; height: auto; min-height: 480px; }
@media (max-width: 900px) { .map.tall { min-height: 380px; } }

/* ligging on the accommodatie page: photo, then the map underneath */
.ligging-right { display: grid; gap: 20px; min-width: 0; }
.ligging-right .map { aspect-ratio: 4 / 3; }

/* next vergadering per tak, under the boekje */
.next-meetings { margin-top: 18px; display: grid; gap: 8px; }
.next-meetings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.next-meetings li { display: grid; gap: 1px; padding: 6px 10px; border-left: 6px solid var(--c); background: var(--paper); border-radius: 10px; }
.next-meetings li .mtg-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 4.6vw, 1.5rem); line-height: 1.05; overflow-wrap: anywhere; color: var(--ink); }
.next-meetings li .mtg-info { color: var(--muted); font-size: .85rem; font-weight: 700; }
.next-meetings li .mtg-tak { font-size: clamp(1.2rem, 4.4vw, 1.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--c); }
.next-meetings li .mtg-date { color: var(--muted); font-size: .75rem; font-weight: 700; }

/* big feature frame at the top of "Snel gevonden" (Kippenfestijn + form, chicken bottom right) */
.quick-board .ql-feature { display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-rows: auto auto auto auto; column-gap: 8px; row-gap: 6px; padding: 20px 22px; border-radius: 14px; background: var(--forest-800); color: var(--paper); text-decoration: none; border: 2px solid var(--orange); position: relative; overflow: hidden; }
.quick-board .ql-feature[hidden] { display: none; }
.ql-feature .qf-eyebrow { grid-area: 1 / 1 / 2 / -1; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.ql-feature .qf-title { grid-area: 2 / 1 / 3 / -1; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.05; color: #fff; }
.ql-feature .qf-info { grid-area: 3 / 1 / 4 / 2; white-space: pre-line; font-size: .98rem; line-height: 1.35; font-weight: 700; color: var(--paper); }
.ql-feature .qf-btn { grid-area: 4 / 1 / 5 / 2; justify-self: start; margin-top: 6px; padding: .55em 1em; border-radius: 999px; background: var(--orange); color: #1B130B; font-weight: 800; font-size: .92rem; white-space: nowrap; }
.ql-feature .qf-kip { grid-area: 3 / 2 / 5 / 3; align-self: end; justify-self: end; width: 112px; height: auto; margin: 0 -14px -16px 0; transition: transform .25s; }
.quick-board .ql-feature:hover { border-color: #fff; }
.quick-board .ql-feature:hover .qf-btn { background: #F0852F; }
.quick-board .ql-feature:hover .qf-kip { transform: rotate(-4deg) translateY(-3px); }
@media (max-width: 420px) { .quick-board .ql-feature { padding: 18px 16px; grid-template-columns: minmax(0, 1fr) 88px; } .ql-feature .qf-kip { width: 92px; } }

/* photo line: a horizontal scroller with every album, rope and pegs travel with the photos */
.photo-line { position: relative; padding-top: 0; }
.pl-scroll { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-left: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 10px 0 30px; margin: 0 -4px; cursor: grab; outline-offset: 4px; }
.pl-scroll::-webkit-scrollbar { display: none; }
.pl-scroll.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.photo-line ul { list-style: none; margin: 0; padding: 30px 4px 0; display: flex; gap: 18px; width: max-content; position: relative; }
.photo-line ul::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; border-top: 3px solid var(--bark); }
.photo-line li { flex: 0 0 clamp(190px, 19vw, 250px); scroll-snap-align: start; }
@media (max-width: 700px) { .photo-line li { flex-basis: min(64vw, 260px); } }
.pl-btn { position: absolute; z-index: 3; top: 46%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 2px solid var(--bark); background: var(--card); color: var(--ink); font-size: 1.7rem; line-height: 1; padding: 0 0 4px; cursor: pointer; box-shadow: 0 6px 16px rgba(18,36,26,.22); }
.pl-btn[hidden] { display: none; }
.pl-prev { left: -14px; } .pl-next { right: -14px; }
.pl-btn:hover { background: var(--orange); border-color: var(--orange); }
@media (hover: none) { .pl-btn { display: none; } }

/* Kippenfestijn frame: big date on its own line, place below, chicken bottom right */
.quick-board .ql-feature { grid-template-rows: auto auto auto auto auto; }
.ql-feature .qf-date { grid-area: 3 / 1 / 4 / -1; font-size: clamp(1.45rem, 3.6vw, 1.75rem); font-weight: 800; line-height: 1.15; color: var(--orange); }
.ql-feature .qf-info { grid-area: 4 / 1 / 5 / 2; font-size: .95rem; font-weight: 700; white-space: normal; }
.ql-feature .qf-btn { grid-area: 5 / 1 / 6 / 2; }
.ql-feature .qf-kip { grid-area: 4 / 2 / 6 / 3; width: 100px; }
.ql-feature .qf-info:empty { display: none; }
@media (max-width: 420px) { .ql-feature .qf-kip { width: 84px; } }
/* "Eindpunt: De Karakol": one line on phones too */
.signpost.signpost-lg { white-space: nowrap; }
@media (max-width: 560px) {
  .clearing-sign { justify-content: flex-start; }
  .signpost.signpost-lg { font-size: clamp(1.15rem, 6.4vw, 2rem); padding: 12px 38px 12px 18px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%); max-width: 100%; }
}
