body { margin: 0; font-family: var(--w-font, sans-serif); background: var(--w-bg, #fff); color: var(--w-text, #1e293b); display: flex; flex-direction: column; min-height: 100vh; }
.ws-noscript-msg { padding: 2rem; }
.ws-pd-img-zoom { cursor: zoom-in; }
.site-main { flex-grow: 1; }

/* -- Header -- */
.site-header { border-bottom: 1px solid var(--w-border, #e2e8f0); background: var(--w-header-bg, #fff); }
.site-header-inner { max-width: 1100px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; text-decoration: none; color: var(--w-header-text, var(--w-text, #1e293b)); }
.site-logo { height: 40px; width: auto; object-fit: contain; }

/* -- Navigation with dropdowns -- */
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav > a,
.site-nav > .nav-item > a {
  text-decoration: none; padding: 6px 10px; border-radius: 6px;
  color: var(--w-secondary, var(--w-muted, #64748b));
  transition: background .15s, color .15s;
}
.site-nav > a:hover, .site-nav > a.active,
.site-nav > .nav-item > a:hover, .site-nav > .nav-item > a.active {
  color: var(--w-nav-hover, var(--w-text, #1e293b));
  background: rgba(0,0,0,.04);
}
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; }
.nav-item > a .nav-caret { font-size: 0.65em; opacity: .5; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; z-index: 100;
  min-width: 200px; padding: 6px 0; margin-top: 4px;
  background: var(--w-header-bg, #fff); border: 1px solid var(--w-border, #e2e8f0);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 7px 14px; text-decoration: none; font-size: 0.95rem;
  color: var(--w-text, #1e293b);
}
.nav-dropdown a:hover, .nav-dropdown a.active {
  background: rgba(0,0,0,.04);
  color: var(--w-nav-hover, var(--w-primary, #2563eb));
}
.nav-dropdown a.sub-depth-1 { padding-left: 28px; font-size: 0.92rem; }
.nav-dropdown a.sub-depth-2 { padding-left: 40px; font-size: 0.9rem; }
.nav-dropdown a.sub-depth-3,
.nav-dropdown a.sub-depth-4,
.nav-dropdown a.sub-depth-5 { padding-left: 52px; font-size: 0.88rem; }

/* -- Mobile hamburger -- */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--w-header-text, var(--w-text, #1e293b)); margin-left: auto; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; flex-direction: column; width: 100%; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav > a, .site-nav > .nav-item > a { padding: 10px 0; }
  .nav-dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; margin: 0; }
  .nav-item:hover > .nav-dropdown,
  .nav-item:focus-within > .nav-dropdown { display: block; }
}

/* -- Main -- */
.site-main { max-width: 1100px; margin: 0 auto; padding: 32px 20px; }

/* -- Footer -- */
.site-footer { border-top: 1px solid var(--w-border, #e2e8f0); text-align: center; padding: 24px 20px; color: var(--w-footer-text, var(--w-muted, #64748b)); font-size: 0.9rem; background: var(--w-footer-bg, transparent); }
.footer-nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-nav a { color: var(--w-footer-text, var(--w-muted, #64748b)); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; color: var(--w-text, #1e293b); }

/* -- Content elements -- */
.breadcrumb { display: flex; gap: 8px; font-size: 0.9rem; color: var(--w-muted, #64748b); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--w-muted, #64748b); text-decoration: none; }
.breadcrumb a:hover { color: var(--w-text, #1e293b); }
.flash-wrap { margin-bottom: 16px; }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 8px; border: 1px solid var(--w-border, #e2e8f0); }
.flash.success { background: rgba(52,199,89,.1); border-color: rgba(52,199,89,.3); }
.flash.error { background: rgba(255,77,79,.08); border-color: rgba(255,77,79,.3); color: #dc2626; }

/* -- Child pages -- */
.child-list { list-style: none; padding: 0; }
.child-list li { margin-bottom: 8px; }
.child-list a { text-decoration: none; color: var(--w-text, #1e293b); }
.child-list a:hover { text-decoration: underline; }
.child-list .sub-children { list-style: none; padding-left: 20px; margin-top: 6px; }

.meta { font-size: 0.9rem; color: var(--w-muted, #64748b); margin-bottom: 16px; }
.tag { display: inline-block; background: var(--w-surface, #f8fafc); border: 1px solid var(--w-border, #e2e8f0); border-radius: 999px; padding: 2px 10px; font-size: 0.85rem; margin-right: 4px; }

/* -- Table of Contents -- */
.toc{background:rgba(128,128,128,.06);border:1px solid rgba(128,128,128,.12);border-radius:8px;padding:1.2rem 1.5rem;margin:1.5rem 0}
.toc h2{font-size:1rem;margin:0 0 .75rem}
.toc ol{margin:0;padding-left:1.2rem}
.toc li{margin:.3rem 0;font-size:.9rem}
.toc .toc-3{padding-left:1rem;font-size:.85rem}
.toc a{text-decoration:none;color:inherit;opacity:.8}
.toc a:hover{opacity:1;text-decoration:underline}

/* -- Page hero image -- */
.page-hero-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 24px; }

/* -- Image CLS prevention -- */
img { max-width: 100%; height: auto; }
.gh-card-image, .card-thumb, .post-thumb { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.gh-article-image { aspect-ratio: 2/1; object-fit: cover; width: 100%; }

/* -- Contact form -- */
.error { color: #dc2626; margin-top: 6px; }
.cooldown { color: var(--w-muted, #64748b); margin: 8px 0 0; }
form label { display: block; margin-top: 12px; font-weight: 600; }
form input, form textarea { width: 100%; max-width: 500px; }
.contact-submit { margin-top: 14px; }
.mt-md { margin-top: 16px; }

/* -- Social share buttons -- */
.social-share{display:flex;align-items:center;gap:10px;margin:2rem 0;padding:1rem 0;border-top:1px solid rgba(128,128,128,.2)}
.social-share a{padding:6px 12px;border:1px solid rgba(128,128,128,.2);border-radius:4px;text-decoration:none;font-size:.85rem;color:var(--w-text,#1e293b);transition:background .2s}
.social-share a:hover{background:rgba(128,128,128,.1)}
.reading-time{font-size:.85rem;opacity:.6}

/* -- Cookie consent banner -- */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#1d1d1f;color:#f5f5f7;padding:1rem;z-index:9999;text-align:center;font-size:.9rem}
.cookie-banner[hidden]{display:none}
.cookie-banner__inner{max-width:800px;margin:0 auto;display:flex;align-items:center;gap:1rem;justify-content:center;flex-wrap:wrap}
.cookie-banner__inner p{margin:0}

/* -- Related posts -- */
.related-posts{margin:3rem 0;padding:2rem 0;border-top:1px solid rgba(128,128,128,.15)}
.related-posts h2{margin:0 0 1rem;font-size:1.3rem}
.related-posts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.2rem}
.related-post-card{padding:1rem;border:1px solid var(--w-border,#e2e8f0);border-radius:8px;text-decoration:none;color:var(--w-text,#1e293b);transition:box-shadow .2s,border-color .2s}
.related-post-card:hover{border-color:var(--w-primary,#2563eb);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.related-post-card h3{margin:0 0 .4rem;font-size:1rem}
.related-post-card p{margin:0;font-size:.85rem;opacity:.7}
.related-post-card .related-tag{display:inline-block;font-size:.75rem;background:var(--w-surface,#f8fafc);border:1px solid var(--w-border,#e2e8f0);border-radius:999px;padding:2px 8px;margin-bottom:.4rem}

/* -- Floating donate button + modal -- */
.donate-fab{position:fixed;bottom:24px;right:24px;z-index:900;height:44px;padding:0 18px;border-radius:22px;border:none;background:var(--w-accent,#2563eb);color:#fff;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;gap:8px;font-size:.9rem;font-weight:600;font-family:inherit;transition:transform .2s,box-shadow .2s}
.donate-fab:hover{transform:scale(1.05);box-shadow:0 6px 20px rgba(0,0,0,.3)}
.donate-overlay{position:fixed;inset:0;z-index:9998;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:20px}
.donate-overlay[hidden]{display:none}
.donate-dialog{background:var(--w-bg,#fff);color:var(--w-text,#1e293b);border-radius:12px;padding:28px 24px;max-width:400px;width:100%;position:relative;box-shadow:0 12px 40px rgba(0,0,0,.2)}
.donate-dialog h3{margin:0 0 8px;font-size:1.2rem}
.donate-dialog p{margin:0 0 16px;font-size:.9rem;color:var(--w-muted,#64748b)}
.donate-dialog label{display:block;font-weight:600;font-size:.85rem;margin:12px 0 4px}
.donate-opt{font-weight:400;color:var(--w-muted,#64748b)}
.donate-amount-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.donate-preset{padding:6px 14px;border:1px solid var(--w-border,#e2e8f0);border-radius:6px;background:var(--w-bg,#fff);color:var(--w-text,#1e293b);cursor:pointer;font-size:.9rem;transition:background .15s,border-color .15s}
.donate-preset:hover,.donate-preset.active{background:var(--w-accent,#2563eb);color:#fff;border-color:var(--w-accent,#2563eb)}
.donate-amount-row input{flex:1;min-width:100px;padding:6px 10px;border:1px solid var(--w-border,#e2e8f0);border-radius:6px;font-size:.9rem;background:var(--w-bg,#fff);color:var(--w-text,#1e293b)}
.donate-dialog input[type="text"],.donate-dialog textarea{width:100%;padding:6px 10px;border:1px solid var(--w-border,#e2e8f0);border-radius:6px;font-size:.9rem;font-family:inherit;background:var(--w-bg,#fff);color:var(--w-text,#1e293b);box-sizing:border-box}
.donate-submit{width:100%;margin-top:16px;padding:10px;font-size:1rem}
.donate-error{color:#dc2626;font-size:.85rem;margin-top:8px}
.donate-close{position:absolute;top:10px;right:14px;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--w-muted,#64748b);line-height:1}
.donate-close:hover{color:var(--w-text,#1e293b)}
@media print{.donate-fab,.donate-overlay{display:none!important}}
.donate-thanks{max-width:480px;margin:5rem auto;text-align:center;padding:0 20px}
.donate-thanks h1{font-size:1.6rem;margin:0 0 12px}
.donate-thanks-sub{color:var(--w-muted,#64748b);font-size:1rem;line-height:1.6;margin:0 0 2rem}
.donate-thanks-icon{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}
.donate-thanks-icon--success{background:rgba(52,199,89,.1);color:#34c759}
.donate-thanks-icon--cancelled{background:rgba(255,77,79,.08);color:#dc2626}
.donate-thanks-btn{display:inline-block;padding:10px 28px;font-size:1rem}

/* -- Focus indicators -- */
:focus-visible {
  outline: 2px solid var(--w-accent, #2563eb);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--w-accent, #2563eb);
  outline-offset: 2px;
}
.ws-card:focus-within {
  outline: 2px solid var(--w-accent, #2563eb);
  outline-offset: 2px;
}

/* ── Universal layout primitives ───────────────────────────────────
 * Zero-specificity fallbacks via :where() so any theme that defines its own
 * .container / .section / .content-narrow still wins. Themes override the
 * custom properties below to tune the scale without rewriting the selectors.
 */
:root {
  --w-container-width: 1200px;
  --w-container-gutter: 1.25rem;
  --w-section-padding-y: clamp(40px, 5vw, 72px);
  --w-content-narrow: 860px;
}
:where(.container) {
  width: min(var(--w-container-width), calc(100% - 2 * var(--w-container-gutter)));
  margin-inline: auto;
}
:where(.section) {
  padding-block: var(--w-section-padding-y);
}
:where(.content-narrow) {
  max-width: var(--w-content-narrow);
  margin-inline: auto;
}
:where(.card) {
  background: var(--w-surface, #fff);
  border: 1px solid var(--w-border, rgba(148, 163, 184, 0.25));
  border-radius: 12px;
}
:where(.pad-lg) {
  padding: clamp(18px, 3vw, 32px);
}

/* Honeypot field (hidden from humans, attracts bot form-fillers). */
.i-am-human {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Post body: image alignment via <figure class="img--*"> ── */
.page-body figure, .post-body figure, .gh-article-body figure {
  margin: 1rem 0;
}
.page-body figure img, .post-body figure img, .gh-article-body figure img {
  max-width: 100%;
  height: auto;
}
.page-body figcaption, .post-body figcaption, .gh-article-body figcaption {
  font-size: 0.88rem;
  color: #64748b;
  padding-top: 0.35rem;
}
.page-body figure.img--center, .post-body figure.img--center, .gh-article-body figure.img--center {
  text-align: center;
}
.page-body figure.img--center img, .post-body figure.img--center img, .gh-article-body figure.img--center img {
  display: inline-block;
}
.page-body figure.img--left, .post-body figure.img--left, .gh-article-body figure.img--left {
  float: left;
  max-width: 50%;
  margin: 0.5rem 1.25rem 0.5rem 0;
}
.page-body figure.img--right, .post-body figure.img--right, .gh-article-body figure.img--right {
  float: right;
  max-width: 50%;
  margin: 0.5rem 0 0.5rem 1.25rem;
}
@media (max-width: 600px) {
  .page-body figure.img--left, .page-body figure.img--right,
  .post-body figure.img--left, .post-body figure.img--right,
  .gh-article-body figure.img--left, .gh-article-body figure.img--right {
    float: none; max-width: 100%; margin: 1rem 0;
  }
}

/* ── Post body: component blocks (CTA, FAQ, testimonial, cols, callout, pricing) ── */
.block { display: block; }
.block--cta {
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin: 1.5rem 0;
}
.block--cta h2 { margin-top: 0; }
.block--cta p:last-child { margin-bottom: 0; }
.block--cta .form-stack { max-width: 420px; margin: 0 auto; }

/* Donation widget amount pills */
.donation-amounts { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: .5rem 0; }
.donation-amount {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 4rem; padding: .5rem .9rem;
  border: 1px solid rgba(37, 99, 235, 0.45);
  border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: .95rem;
  color: rgba(37, 99, 235, 0.85);
  background: transparent;
  transition: background .15s, color .15s, transform .15s, border-color .15s;
}
.donation-amount input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.donation-amount:hover { transform: translateY(-1px); border-color: #2563eb; }
.donation-amount:has(input:checked) {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.form-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.form-stack input, .form-stack textarea, .form-stack select { width: 100%; }

.block--faq { margin: 1.5rem 0; }
.block--faq h2 { margin-bottom: 0.75rem; }
.block--faq details {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}
.block--faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.block--faq summary::after {
  content: "▸";
  position: absolute;
  right: 0.25rem;
  transition: transform 0.2s;
}
.block--faq details[open] summary::after { transform: rotate(90deg); }
.block--faq details p { margin: 0.5rem 0 0; }

.block--testimonial {
  border-left: 4px solid var(--primary, #2563eb);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(37, 99, 235, 0.04);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.block--testimonial footer { font-style: normal; font-size: 0.9rem; color: #64748b; margin-top: 0.5rem; }
.block--testimonial footer cite { font-style: normal; }

.block--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.block--cols .block__col h3 { margin-top: 0; }
@media (max-width: 640px) { .block--cols { grid-template-columns: 1fr; } }

.block--callout {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid;
}
.block--callout strong { margin-right: 0.25rem; }
.block--callout-info { background: rgba(37, 99, 235, 0.08); border-left-color: #2563eb; }
.block--callout-warn { background: rgba(234, 88, 12, 0.08); border-left-color: #ea580c; }
.block--callout-success { background: rgba(22, 163, 74, 0.08); border-left-color: #16a34a; }

.block--pricing { margin: 1.5rem 0; }
.block--pricing .block__price-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.02);
}
.block--pricing .block__price-card h3 { margin-top: 0; }
.block--pricing .block__price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}
.block--pricing .block__price small {
  font-size: 0.95rem;
  font-weight: 400;
  color: #64748b;
}
.block--pricing ul { padding-left: 1.25rem; margin: 0.75rem 0; }

/* ── Embedded media (YouTube, Vimeo, Google Maps) — responsive 16:9 ── */
.embed { margin: 1.5rem 0; }
.embed--video, .embed--map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;  /* 16:9 */
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.embed--map { padding-top: 50%; }
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Post body table cell alignment classes (set via the editor popover) */
.page-body td.td--left, .post-body td.td--left, .gh-article-body td.td--left { text-align: left; }
.page-body td.td--center, .post-body td.td--center, .gh-article-body td.td--center { text-align: center; }
.page-body td.td--right, .post-body td.td--right, .gh-article-body td.td--right { text-align: right; }

/* ── Module cards (rendered by SnippetService from {{form|booking|product:slug}}) ── */
.module-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.04);
  position: relative;
}
.module-card__icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.module-card__body { flex: 1; min-width: 0; }
.module-card__title { margin: 0 0 0.35rem 0; font-size: 1.1rem; }
.module-card__desc { margin: 0 0 0.75rem 0; color: #64748b; font-size: 0.92rem; line-height: 1.5; }
.module-card__meta { font-weight: 600; color: #2563eb; }
.module-card__cta { font-size: 0.92rem; }
.module-card--form    { background: rgba(37, 99, 235, 0.05);  border-color: rgba(37, 99, 235, 0.25); }
.module-card--booking { background: rgba(16, 185, 129, 0.05); border-color: rgba(16, 185, 129, 0.25); }
.module-card--product { background: rgba(245, 158, 11, 0.05); border-color: rgba(245, 158, 11, 0.25); }
.module-card--missing { background: rgba(220, 38, 38, 0.05);  border-color: rgba(220, 38, 38, 0.25); }
.module-card__badge {
  position: absolute; top: 6px; right: 10px;
  font-size: 0.7rem; padding: 0.1rem 0.4rem; border-radius: 4px;
  background: rgba(148, 163, 184, 0.2); color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Photo album snippet (CSS-only lightbox via :target) ────────────
 * Used by {{snippet:<slug>}} markers with snippet_type="album".
 * Output structure:
 *   <section class="snippet-album">
 *     <header class="album-header"><h3/><p/></header>
 *     <div class="snippet-album-grid">
 *       <figure class="album-tile"><a href="#album-x-0"><img/></a>
 *         <figcaption class="album-tile__overlay">…</figcaption></figure>
 *       …
 *     </div>
 *     <div class="album-lightbox" id="album-x-0">…</div>
 *     …
 *   </section>
 * Zero JS: clicking a tile jumps to the :target lightbox. Prev/next/close
 * are just fragment links. Sluiten via backdrop, Esc werkt niet (CSS-only)
 * maar de close-knop + achtergrond-klik is genoeg.
 */

.snippet-album { margin: 2rem 0; }
.album-header { margin-bottom: 1rem; }
.album-header h3 { margin: 0 0 0.25rem 0; font-size: 1.4rem; }
.album-header p { margin: 0; color: #64748b; font-size: 0.95rem; }

.snippet-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.album-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background: rgba(148, 163, 184, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.album-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.album-tile__link { display: block; width: 100%; height: 100%; }
.album-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.album-tile:hover img { transform: scale(1.04); }

.album-tile__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.album-tile:hover .album-tile__overlay { opacity: 1; transform: translateY(0); }
.album-tile__caption { font-weight: 600; }
.album-tile__loc { font-size: 0.75rem; opacity: 0.85; }

/* ── Lightbox (CSS :target) ───────────────────────────────────────── */
.album-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(8, 12, 20, 0.93);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.album-lightbox:target { display: flex; animation: album-fade 0.18s ease-out; }
@keyframes album-fade { from { opacity: 0; } to { opacity: 1; } }
.album-lightbox__backdrop {
  position: absolute; inset: 0;
  background: transparent;
  z-index: 1;
}
.album-lightbox__inner {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.album-lightbox__inner img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.album-lightbox__inner figcaption {
  color: #e2e8f0;
  font-size: 0.92rem;
  text-align: center;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.album-lightbox__caption { font-weight: 600; font-size: 1rem; }
.album-lightbox__loc     { opacity: 0.85; font-size: 0.82rem; }
.album-lightbox__credit  { opacity: 0.65; font-size: 0.75rem; font-style: italic; }

.album-lightbox__close,
.album-lightbox__nav {
  position: absolute;
  z-index: 3;
  color: #fff;
  text-decoration: none;
  user-select: none;
  opacity: 0.82;
  transition: opacity 0.15s, background 0.15s;
}
.album-lightbox__close {
  top: 20px; right: 24px;
  font-size: 2rem;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.35);
}
.album-lightbox__nav {
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
  padding: 4px 18px 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
}
.album-lightbox__nav--prev { left: 16px; }
.album-lightbox__nav--next { right: 16px; }
.album-lightbox__close:hover,
.album-lightbox__nav:hover { opacity: 1; background: rgba(0, 0, 0, 0.55); }
.album-lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 10px;
  border-radius: 12px;
}

@media (max-width: 700px) {
  .album-lightbox__nav { font-size: 2rem; padding: 2px 14px 8px; }
  .album-lightbox__close { font-size: 1.5rem; }
  .snippet-album-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
}

/* ── Gallery module: index card grid ───────────────────────────── */
.gallery-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}
.gallery-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  border-color: rgba(37, 99, 235, 0.45);
}
.gallery-card__cover {
  aspect-ratio: 4 / 3;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}
.gallery-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.gallery-card:hover .gallery-card__cover img { transform: scale(1.05); }
.gallery-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: rgba(148, 163, 184, 0.6);
}
.gallery-card__body { padding: 14px 16px 18px; }
.gallery-card__body h3 { margin: 0 0 0.35rem 0; font-size: 1.1rem; }
.gallery-card__body p { margin: 0 0 0.5rem 0; font-size: 0.9rem; color: #64748b; line-height: 1.45; }
.gallery-card__meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

/* Prev/next below a single album */
.gallery-view__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

/* ── Timeline snippet (snippet_type="timeline") ─────────────────── */
.snippet-timeline { margin: 2rem 0; }
.snippet-timeline__head { margin-bottom: 1.25rem; }
.snippet-timeline__head h3 { margin: 0 0 0.25rem 0; }
.snippet-timeline__head p { margin: 0; color: #64748b; font-size: 0.95rem; }
.snippet-timeline__list {
  list-style: none;
  padding: 0 0 0 1.5rem;
  margin: 0;
  border-left: 2px solid rgba(148, 163, 184, 0.3);
  position: relative;
}
.snippet-timeline__item {
  position: relative;
  padding: 0.35rem 0 1.1rem 1.25rem;
}
.snippet-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.6rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--w-primary, #2563eb);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.snippet-timeline__year {
  display: inline-block;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--w-primary, #2563eb);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 0.5rem;
}
.snippet-timeline__body b { display: block; margin: 0.25rem 0; }
.snippet-timeline__body p { margin: 0; color: #64748b; font-size: 0.92rem; line-height: 1.55; }

/* ── Social share buttons ───────────────────────────────────────── */
.share-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 2rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.share-bar__label {
  font-size: 0.82rem;
  color: #64748b;
  margin-right: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.share-bar a, .share-bar button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.share-bar a:hover, .share-bar button:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--w-primary, #2563eb);
  transform: translateY(-1px);
}
.share-bar--wa:hover    { background: rgba(37, 211, 102, 0.12); border-color: #25d366; }
.share-bar--ln:hover    { background: rgba(10, 102, 194, 0.12); border-color: #0a66c2; }
.share-bar--x:hover     { background: rgba(15, 23, 42, 0.12); border-color: #0f172a; }
.share-bar--mail:hover  { background: rgba(220, 38, 38, 0.10); border-color: #dc2626; }

/* ── Print styles for route/walk pages ──────────────────────────── */
@media print {
  .site-header, .site-footer, .ml-head, .ml-foot,
  .ml-langs, .share-bar, .nav, .burger, .skip,
  #appearancePanel, .btn-edit-toggle, .btn-appearance-toggle,
  .album-lightbox, .gallery-view__nav {
    display: none !important;
  }
  body, .page-body, .post-body, .gh-article-body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }
  a { color: #000; text-decoration: underline; }
  /* Show full URL next to external links so the paper version is usable. */
  .page-body a[href^="http"]::after,
  .post-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  h1, h2, h3 { page-break-after: avoid; }
  p, li, blockquote { orphans: 3; widows: 3; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  .block--cta, .block--cols, .module-card { page-break-inside: avoid; }
}

/* ── Full-width embedded map on /kaart ─────────────────────────── */
.kaart-embed {
  position: relative;
  margin: 1.5rem calc(50% - 50vw);
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  height: min(70vh, 720px);
  min-height: 420px;
  background: rgba(148, 163, 184, 0.08);
}
.kaart-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.kaart-embed__wrap {
  max-width: var(--w-container-width, 1200px);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--w-container-gutter, 1.25rem);
  box-sizing: border-box;
}
.kaart-embed__wrap iframe {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
}
@media (max-width: 700px) {
  .kaart-embed { height: 60vh; min-height: 320px; margin: 1rem 0; width: 100%; }
  .kaart-embed__wrap { padding: 0; }
  .kaart-embed__wrap iframe { border-radius: 8px; }
}
