/* Per-location content pages. Loaded AFTER style.css (reuses fonts + components:
   .topbar, .p-badge, .rating/.stars, .btn, .chips). Overrides the map's body layout
   so the page scrolls like a normal document. */

/* style.css clips <html> to stop iOS keyboard-scroll on the map page. This file
   is loaded ONLY by content pages, so un-clip <html> here or they can't scroll. */
html { overflow: visible; }
body.page { display: block; height: auto; min-height: 100dvh; overflow: visible; background: var(--sand-3); color: var(--text); }

.page .topbar { position: sticky; top: 0; z-index: 10; }
.page .topbar .back { margin-left: auto; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; font-weight: 500; color: var(--brand-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.page .topbar .back:hover { color: var(--brand); }
/* sub-page quick-links ribbon sticks just under the sticky topbar (desktop); on mobile it's a fixed hamburger dropdown from style.css */
@media (min-width: 641px) { .page .quicklinks { position: sticky; top: 55px; z-index: 9; } }
/* INFO popover: sub-pages scroll like a normal document, so pin it to the viewport (map uses position:absolute) */
.page .info-pop { position: fixed; }
/* "Velden in de buurt" — nearest-venues list on each venue page */
.loc-nearby .nb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.loc-nearby .nb-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border: 1px solid var(--hair-soft); border-radius: 3px; background: #fff; text-decoration: none; color: var(--text); }
.loc-nearby .nb-list a:hover { border-color: var(--brand); }
.loc-nearby .nb-n { font-family: "Oswald", "Bebas Neue", "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500; }
.loc-nearby .nb-m { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); white-space: nowrap; flex: 0 0 auto; }

.wrap { max-width: 880px; margin: 0 auto; padding: 24px 20px 64px; }
.crumb { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.crumb a { color: var(--brand-deep); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: var(--muted-light); }

.loc-hero { position: relative; border: 1px solid var(--hair); border-radius: 3px; overflow: hidden; background: var(--sand-2); margin-bottom: 22px; }
.loc-hero img { display: block; width: 100%; height: 300px; object-fit: contain; background: var(--sand-2); }
.loc-hero.fit-cover img { object-fit: cover; }
.loc-hero .p-badge { position: absolute; left: 14px; bottom: 12px; }
.loc-banner-credit { position: absolute; right: 12px; top: 12px; font-size: 0.62rem; color: #fff; background: rgba(0, 0, 0, 0.5); padding: 2px 7px; border-radius: 2px; letter-spacing: 0.02em; }

h1.loc-title { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; font-size: 36px; line-height: 1.05; margin: 6px 0 8px; }
.loc-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 13.5px; margin-bottom: 4px; }
.loc-sub svg { width: 15px; height: 15px; }
.loc-ratingline { margin: 12px 0 4px; }

.loc-section { margin: 26px 0; }
.loc-section h2 { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--brand-deep); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.loc-section h2::before { content: ""; width: 14px; height: 2px; background: var(--brand); display: inline-block; }
.loc-intel { font-size: 16.5px; line-height: 1.65; color: var(--text-2); max-width: 68ch; }

.loc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }

/* Veldweer: per-venue 7-day weather strip (Open-Meteo / KNMI, Meteocons icons).
   Icon-forward on desktop; reflows to full-width rows on mobile so nothing clips. */
.wx-strip { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--hair); border-radius: 4px; background: var(--sand); overflow: hidden; }
.wx-cell { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 12px 6px 13px; border-right: 1px solid var(--hair-soft); }
.wx-cell:last-child { border-right: 0; }
.wx-cell.is-today { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.wx-day { font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 13px; color: var(--text-2); }
.wx-i { display: block; width: 44px; height: 44px; filter: drop-shadow(0 1px 2px rgba(20, 24, 28, 0.34)); }
.wx-temp { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.1; }
.wx-min { color: var(--muted); font-weight: 400; font-size: 14px; }
.wx-foot { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; align-items: center; }
.wx-wind, .wx-rain { display: inline-flex; align-items: center; gap: 4px; font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wx-wind { color: var(--text-2); }
.wx-wg { color: var(--muted); }
.wx-rain { color: var(--type-range); }
.wx-dp { fill: var(--type-range); }
@media (max-width: 640px) {
  .wx-strip { grid-template-columns: 1fr; }
  .wx-cell { flex-direction: row; align-items: center; text-align: left; gap: 11px; border-right: 0; border-top: 1px solid var(--hair-soft); padding: 10px 13px; min-width: 0; }
  .wx-cell:first-child { border-top: 0; }
  .wx-i { order: -1; width: 38px; height: 38px; flex: 0 0 auto; }
  .wx-day { width: 34px; flex: 0 0 auto; }
  .wx-temp { font-size: 19px; flex: 0 0 auto; }
  .wx-foot { margin-top: 0; margin-left: auto; align-items: flex-end; }
}

.page-footer { border-top: 1px solid var(--hair); margin-top: 40px; padding: 22px 20px; text-align: center; font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; line-height: 1.7; color: var(--muted); }
.page-footer a { color: var(--link); font-weight: 600; text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }

/* /locatie/ hub index */
.hub-intro { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 70ch; margin: 0 0 26px; }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hub-list a { display: block; padding: 14px 16px; background: var(--sand); border: 1px solid var(--hair); border-radius: 3px; text-decoration: none; color: var(--text); }
.hub-list a:hover { border-color: var(--brand); }
.hub-list .n { display: block; font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; }
.hub-list .m { display: block; font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); margin-top: 3px; }
.hub-list .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; margin-right: 5px; }
.hub-list .dot.outdoor { background: var(--type-outdoor); }
.hub-list .dot.cqc { background: var(--type-cqc); }
.hub-list .dot.range { background: var(--type-range); }
.hub-list .dot.belgium { background: linear-gradient(90deg, #2b2b2b 0 34%, var(--gold-be) 34% 66%, var(--be-red) 66%); }
.hub-be .hub-h2 { display: flex; align-items: center; gap: 8px; }
.hub-be-note { margin: 2px 0 12px; font-size: 0.85rem; color: var(--muted); }
.hub-group { margin: 0; }
.hub-h2 { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: 15px; color: var(--brand-deep); margin: 34px 0 14px; display: flex; align-items: baseline; gap: 8px; }
.hub-group:first-of-type .hub-h2 { margin-top: 4px; }
.hub-count { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: var(--muted); }

/* Grote events (/events/) cards */
.fe-intro { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 70ch; margin: 0 0 26px; }
.fe-intro a { color: var(--brand-deep); }
.fe-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .fe-grid { grid-template-columns: 1fr 1fr; } }
.fe-card { display: flex; flex-direction: column; background: var(--sand); border: 1px solid var(--hair); border-radius: 4px; overflow: hidden; }
.fe-card:hover { border-color: var(--brand); }
.fe-imglink { display: block; }
.fe-img { display: block; position: relative; aspect-ratio: 1200 / 523; background: var(--sand-2); }
.fe-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fe-img.is-empty { background: linear-gradient(135deg, #e7e3da, #d8d3c7); }
.fe-tag { position: absolute; left: 12px; top: 12px; font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 2px; background: var(--gold); color: #2a1d00; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.fe-body { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px 16px; flex: 1 1 auto; }
.fe-title { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; font-size: 20px; line-height: 1.1; margin: 0; }
.fe-title a { color: var(--text); text-decoration: none; }
.fe-title a:hover { color: var(--brand-deep); }
.fe-meta { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }
.fe-blurb { font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 0; flex: 1 1 auto; }
.fe-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.fe-empty { font-size: 16px; color: var(--muted); }

/* Upcoming events (slightly roomier than in the panel) */
.loc-events .ev-row { padding: 9px 0; }
.loc-events .ev-d { font-size: 12.5px; min-width: 104px; }
.loc-events .ev-t { font-size: 15px; }
.loc-events .ev-tag { font-size: 10px; }

/* FAQ page */
.faq h3 { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.01em; margin: 22px 0 6px; }
.faq p { font-size: 15.5px; line-height: 1.65; color: var(--text-2); max-width: 70ch; margin: 0 0 4px; }
.faq a { color: var(--link); font-weight: 600; }

/* Field map */
.loc-fieldmap { display: block; border: 1px solid var(--hair); border-radius: 3px; overflow: hidden; background: var(--sand-2); }
.loc-fieldmap img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; background: var(--sand-2); }
.loc-fieldmap:hover { border-color: var(--brand); }
.loc-mapcredit { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--muted); margin: 8px 0 0; }
.loc-mapcredit a { color: var(--brand-deep); text-decoration: none; }
.loc-mapcredit a:hover { text-decoration: underline; }

/* Starten met airsoft (/starten/) */
.st-sub { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 13.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 8px; }
.st-steps { display: flex; flex-direction: column; }
.st-step { display: grid; grid-template-columns: 50px 1fr; gap: 0 16px; padding: 15px 0; border-top: 1px solid var(--hair-soft); }
.st-step:last-child { border-bottom: 1px solid var(--hair-soft); }
.st-no { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 23px; line-height: 1.2; color: var(--brand); }
.st-step h3 { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; font-size: 16.5px; margin: 0 0 4px; }
.st-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 64ch; }
.st-step a { color: var(--brand-deep); }
.st-note { font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 64ch; margin: 0 0 14px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.st-card { background: #fff; border: 1px solid var(--hair); border-radius: 3px; padding: 13px 14px 11px; display: flex; flex-direction: column; gap: 6px; }
.st-name { font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; color: var(--text); text-decoration: none; }
.st-name:hover { color: var(--brand-deep); }
.st-grid .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.st-grid .dot.outdoor { background: var(--type-outdoor); }
.st-grid .dot.cqc { background: var(--type-cqc); }
.st-grid .dot.range { background: var(--type-range); }
.st-city { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: -3px; }
.st-ev { display: flex; align-items: baseline; gap: 8px; border-top: 1px solid var(--hair-soft); padding-top: 8px; margin-top: 2px; font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--text); text-decoration: none; }
.st-ev:hover .st-ev-t { text-decoration: underline; }
.st-ev-d { color: var(--brand-deep); white-space: nowrap; }
.st-ev-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ev .ev-tag { margin-left: auto; }
.st-auto { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.st-auto a { color: var(--brand-deep); }
@media (max-width: 560px) { .st-step { grid-template-columns: 38px 1fr; } }

/* Veldregels (/veldregels/) */
.vr-tablewrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: 3px; background: #fff; margin: 4px 0 10px; }
.vr-table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 560px; }
.vr-table th, .vr-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eceae2; }
.vr-table thead th { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--sand); }
.vr-table tbody tr:last-child td { border-bottom: 0; }
.vr-j { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 17px; color: var(--text); white-space: nowrap; }
.vr-j small { display: block; font-family: "Share Tech Mono", monospace; font-size: 10.5px; font-weight: 400; color: var(--muted-2); letter-spacing: 0.03em; }
.vr-med { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--brand-deep); white-space: nowrap; }
.vr-note { font-family: "Share Tech Mono", monospace; font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.vr-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.vr-list li { position: relative; padding-left: 17px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.vr-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.vr-list strong { color: var(--text); }
.vr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.vr-card { background: #fff; border: 1px solid var(--hair); border-radius: 3px; padding: 14px 15px; }
.vr-card h3 { font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 13.5px; margin: 0 0 8px; color: var(--brand-deep); }
.vr-card p { margin: 0; font-size: 13.5px; color: var(--text-3); line-height: 1.55; }
.vr-disclaimer { background: #fff; border: 1px solid var(--hair); border-left: 3px solid var(--brand); padding: 13px 16px; font-size: 14px; color: var(--text-3); margin: 8px 0 0; }
.vr-disclaimer strong { color: var(--text); }
.vr-src { font-family: "Share Tech Mono", monospace; font-size: 11.5px; color: var(--muted); margin: 12px 0 0; }
.vr-src a { color: var(--brand-deep); }
.vr-card .vr-cardlink { display: inline-block; margin-top: 10px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; font-weight: 600; color: var(--brand-deep); text-decoration: none; }
.vr-card .vr-cardlink:hover { text-decoration: underline; }

/* favorite + share tools on the venue hero + copy toast */
.loc-hero-empty { height: 120px; background: linear-gradient(135deg, #2b333f, #1b212a); }
.loc-tools { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 8px; z-index: 2; }
.loc-tool { width: 36px; height: 36px; padding: 0; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; background: rgba(255, 255, 255, 0.95); color: #3a3f45; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22); }
.loc-tool:hover { background: #fff; }
.loc-tool svg { width: 18px; height: 18px; }
.loc-tool .hicon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.loc-tool.fav-btn.on { color: var(--fav); }
.loc-tool.fav-btn.on .hicon { fill: var(--fav); stroke: var(--fav); }
.page-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(10px); background: var(--text); color: #fff; font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.04em; padding: 11px 16px; border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.25s, transform 0.25s; z-index: 3000; }
.page-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
