/* Publieke site stads.info. Geen build-stap: dit bestand wordt direct geserveerd.
   Kleuren per tenant via --accent en --water (zie site/layout.blade.php). */

:root {
    --accent: #C4302B;
    --water: #E6EFEE;
    --teal: #2F6F6D;
    --teal-ink: #1F4F4D;
    --ink: #151918;
    --muted: #4A5553;
    --soft: #5C6866;
    --line: #E2E9E8;
    --line-2: #C9D9D7;
    --hero: #24464A;
    --wrap: 1240px;
    --f-display: 'Funnel Display', system-ui, sans-serif;
    --f-script: 'Funnel Display', system-ui, sans-serif;
    --f-slab: 'Funnel Display', system-ui, sans-serif;
    --f-sans: 'Funnel Display', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 var(--f-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:not([class]):hover { color: var(--teal); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.script { margin: 0; font-family: var(--f-script); font-size: 28px; color: var(--accent); font-weight: 600; }
.display { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: .98; letter-spacing: -.02em; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 16px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 52px; height: 52px; background: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 2px; }
.logo-mark svg { width: 34px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.01em; }
.logo-sub { font-family: var(--f-script); font-size: 17px; color: var(--accent); margin-top: 2px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.main-nav a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; padding: 6px 0; }
.main-nav b { font-size: 15px; }
.main-nav span { font-size: 12px; color: var(--soft); }
.main-nav a[aria-current] b { color: var(--accent); }
.header-tools { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 2px; cursor: pointer; }
.icon-btn .ico { width: 18px; height: 18px; }
.round-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; cursor: pointer; }
.round-btn .ico { width: 20px; height: 20px; }
.round-accent { background: var(--accent); color: #fff; }
.round-accent:hover { filter: brightness(.92); }
.menu-btn { display: none; }
.menu-head, .menu-search { display: none !important; }
.js .menu-btn { display: none; }

/* Hero */
.hero { position: relative; min-height: 580px; background: var(--hero); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.16); stroke-width: 2; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero.has-img { min-height: 680px; }
/* Lucht blijft helder, onderkant donker genoeg voor witte tekst */
.hero.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,30,.82) 0%, rgba(14,28,30,.55) 38%, rgba(14,28,30,0) 72%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 160px; padding-bottom: 56px; }
.hero .script { color: #fff; font-size: 36px; display: table; }
.hero h1 { display: table; font-size: clamp(88px, 13vw, 168px); line-height: .92; white-space: nowrap; }
.hero-search { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-search input { flex: 1 1 320px; max-width: 460px; height: 52px; padding: 0 18px; border: 0; border-radius: 2px; font-size: 16px; color: var(--ink); }
.btn { height: 50px; display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; border: 0; border-radius: 2px; font-weight: 700; font-size: 15px; cursor: pointer; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.92); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-ink); color: #fff; }
.btn-line { border: 1.5px solid var(--teal); color: var(--teal-ink); background: transparent; }
.btn-line:hover { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 8px; }
.chip { height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1.5px solid rgba(255,255,255,.7); color: #fff; font-weight: 700; font-size: 14px; border-radius: 22px; }
.chip:hover { background: #fff; color: var(--ink); }

/* Intro */
.intro { background: var(--water); position: relative; overflow: hidden; }
.intro .route { position: absolute; right: -40px; bottom: -30px; width: 420px; height: 200px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 3 6; stroke-linecap: round; opacity: .55; }
.intro .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; padding-block: 64px; }
.intro p { flex: 1 1 480px; max-width: 640px; margin: 0; font-family: var(--f-slab); font-size: 22px; line-height: 1.6; color: #1D2524; }
.tip { flex: 0 1 380px; }
.tip-label { margin: 0 0 10px; font-weight: 700; font-size: 14px; }
.tip-card { display: flex; min-height: 110px; background: var(--teal); color: #fff; border-radius: 2px; overflow: hidden; }
.tip-card:hover { background: var(--teal-ink); color: #fff; }
.tip-img { flex: 0 0 120px; background: #6F8C83; object-fit: cover; }
.tip-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.tip-body b { font-family: var(--f-slab); font-size: 20px; font-weight: 600; }
.tip-body span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }

/* Agenda */
.agenda-head .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; padding-top: 80px; padding-bottom: 40px; }
.agenda-head h2 { font-size: clamp(56px, 7vw, 84px); }
.agenda-head .lead { flex: 0 1 460px; margin: 0; font-family: var(--f-slab); font-size: 19px; line-height: 1.55; color: #2A3332; }
.agenda { background: var(--water); }
.agenda > .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 48px; padding-bottom: 88px; }

.filters { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 28px; }
.panel { background: #fff; border-radius: 2px; }
.cal { padding: 18px 16px 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-size: 14px; }
.cal-nav { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; font-size: 13px; }
.cal-grid abbr { font-weight: 700; padding: 4px 0; text-decoration: none; }
.cal-grid a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 auto; border-radius: 50%; color: var(--teal-ink); }
.cal-grid a:hover { background: var(--water); }
.cal-grid a.out { color: #9AA6A4; }
.cal-grid a.has { font-weight: 700; }
.cal-grid a.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-grid a.sel { background: var(--accent); color: #fff; font-weight: 700; }
.quick { display: flex; flex-direction: column; padding: 6px 16px; }
.quick a { padding: 10px 0; font-weight: 700; font-size: 15px; border-bottom: 2px solid transparent; }
.quick a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
.filters fieldset { border: 0; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.filters legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 15px; color: var(--teal-ink); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.check .count { margin-left: auto; padding-left: 8px; font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.filters .apply { align-self: flex-start; }
.js .filters .apply { display: none; }

/* Filterbalk en filterpaneel op mobiel (tot 900px); op desktop verborgen */
.filter-bar, .sheet-head, .sheet-backdrop { display: none; }
.sheet-foot { display: flex; gap: 10px; }
.sheet-foot .btn-line { display: none; }
.js .filters .sheet-foot { display: none; }
.tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
    .agenda > .wrap { gap: 20px; padding-top: 0; }
    .filter-bar { display: flex; flex: 0 0 calc(100% + 48px); gap: 8px; align-items: center; position: sticky; top: 0; z-index: 30; margin-inline: -24px; padding: 12px 24px; background: var(--water); overflow-x: auto; scrollbar-width: none; }
    .filter-bar::-webkit-scrollbar { display: none; }
    html:not(.js) .filter-toggle { display: none; }
    .filter-toggle { flex: 0 0 auto; height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 0; border-radius: 22px; background: var(--teal); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
    .filter-toggle .badge { min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: #fff; color: var(--teal-ink); font-size: 13px; }
    .day-chips { display: flex; gap: 8px; }
    .day-chips a { flex: 0 0 auto; height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 22px; background: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
    .day-chips a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }

    .js .filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-width: none; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; gap: 24px; padding: 0 20px; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -12px 40px rgba(10,20,22,.25); transform: translateY(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
    .js .filters.open { transform: none; visibility: visible; transition: transform .28s ease; }
    .js .sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 -20px; padding: 14px 12px 14px 20px; background: #fff; border-bottom: 1px solid var(--line); }
    .sheet-head b { font-size: 20px; }
    .sheet-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
    .sheet-close .ico { width: 24px; height: 24px; }
    .js .filters .sheet-foot { display: flex; position: sticky; bottom: 0; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
    .js .filters .sheet-foot .btn-line { display: inline-flex; }
    .js .filters .apply { display: inline-flex; flex: 1; justify-content: center; }
    .sheet-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(10,20,22,.45); }
    html.sheet-open { overflow: hidden; }

    .js .filters .quick { display: none; }
    .js .filters .panel { border: 1px solid var(--line); }
    .filters .cal-grid a { width: 40px; height: 40px; }
    .filters fieldset { flex-direction: row; flex-wrap: wrap; gap: 8px; padding-top: 0; border-top: 0; }
    .check { position: relative; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 21px; background: #fff; font-size: 15px; gap: 0; }
    .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
    .check:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; }
    .check .count { margin-left: 6px; padding-left: 0; }
    .check:has(input:checked) .count { color: rgba(255,255,255,.8); }
    .check:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

    .tiles li { flex-basis: 68vw; max-width: 280px; }
    .tile-img { height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .js .filters { transition: none !important; } }

.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.results-meta { margin: 0; font-size: 15px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 2px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,40,40,.12); }
.card-img { position: relative; height: 190px; background: var(--tone, #6F8C83); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.flag { position: absolute; top: 14px; left: 0; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 18px 5px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%); }
.card-body { flex-grow: 1; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.card-cat { font-family: var(--f-script); font-size: 19px; color: var(--accent); }
.card-title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.card-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.card-meta { margin: 0 18px; padding: 12px 0 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta .ico { width: 14px; height: 14px; color: var(--accent); }
.card-meta .go { margin-left: auto; color: var(--teal); }
.empty { background: #fff; padding: 40px 32px; border-radius: 2px; }
.empty h3 { margin: 0 0 8px; font-family: var(--f-slab); font-size: 24px; }
.empty p { margin: 0 0 20px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* In {stad} */
.tiles-section .wrap { padding-top: 88px; padding-bottom: 96px; }
.tiles-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.tiles-head h2 { font-size: clamp(48px, 6vw, 64px); }
.tiles { display: flex; gap: 24px; margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.tiles li { flex: 0 0 220px; scroll-snap-align: start; }
.tile { display: flex; flex-direction: column; gap: 10px; }
.tile-img { height: 220px; overflow: hidden; border-radius: 2px; }
.tile-img span { display: block; height: 100%; background: var(--tone, #6F8C83); transition: transform .35s ease; }
.tile:hover .tile-img span { transform: scale(1.03); }
.tile-cat { font-family: var(--f-script); font-size: 19px; color: var(--accent); }
.tile-title { font-family: var(--f-slab); font-size: 19px; line-height: 1.35; }

/* Nieuwsbrief + footer */
.newsletter, .site-footer { background: var(--teal); color: #fff; }
.newsletter .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: 56px; border-bottom: 1px dashed rgba(255,255,255,.35); }
.newsletter h2 { flex: 1 1 420px; max-width: 620px; margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1.05; letter-spacing: -.01em; }
.newsletter form { flex: 0 1 460px; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 240px; height: 50px; padding: 0 16px; border: 0; border-radius: 2px; font-size: 16px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px 72px; padding-top: 48px; padding-bottom: 32px; }
.site-footer .brand { flex: 1 1 240px; display: flex; flex-direction: column; gap: 14px; }
.site-footer .brand b { font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1.05; }
.site-footer .brand b span { font-family: var(--f-script); font-weight: 400; text-transform: none; font-size: 24px; }
.site-footer .brand p { margin: 0; max-width: 280px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.85); }
.site-footer nav { flex: 0 1 180px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer nav b { font-size: 15px; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px dashed rgba(255,255,255,.35); font-size: 13px; color: rgba(255,255,255,.85); }

@media (max-width: 720px) {
    /* Header: logo links, ronde knoppen zoeken en menu rechts. Zonder JS blijft het menu een scrollbare regel. */
    .site-header .wrap { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding-top: 12px; padding-bottom: 12px; }
    .logo-mark { width: 44px; height: 44px; }
    .logo-mark svg { width: 30px; height: 18px; }
    .header-tools { grid-column: 2; grid-row: 1; align-items: center; gap: 10px; }
    .header-tools .icon-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
    html:not(.js) .site-header .wrap { padding-bottom: 0; }
    html:not(.js) .main-nav { grid-column: 1 / -1; flex-wrap: nowrap; gap: 0 22px; margin-inline: -24px; padding-inline: 24px; overflow-x: auto; scrollbar-width: none; }
    html:not(.js) .main-nav a { flex: 0 0 auto; padding: 10px 0 12px; }

    .js .main-nav { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 12px 24px calc(32px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
    .menu-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
    html.menu-open { overflow: hidden; }
    .js .menu-head { display: flex !important; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 0; border: 0; }
    .js .main-nav .menu-search { display: flex !important; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; margin-top: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--teal-ink); }
    .js .main-nav .menu-search .ico { width: 20px; height: 20px; color: var(--accent); }
    .js .main-nav .menu-search b { font-size: 17px; }
    .js .menu-head .logo-name { font-size: 24px; color: var(--ink); }
    .js .menu-head .logo-sub { font-size: 17px; color: var(--accent); }
    .js .main-nav a { min-height: 0; padding: 16px 0; gap: 4px; border-bottom: 1px solid var(--line); }
    .js .main-nav b { font-size: 19px; }
    .js .main-nav a > span { display: block; font-size: 15px; color: var(--soft); }
    .js .main-nav a[aria-current] b { color: var(--accent); }
    .js .menu-btn { display: flex; }
    .menu-open .site-header { z-index: 100; }

    /* Hero: toren in beeld, zoekveld en knop op één regel */
    .hero-img { object-position: 62% 45%; }
    .hero-search { gap: 8px; }
    .hero-search input { flex: 1 1 0; min-width: 0; height: 50px; }
    .hero-search .chips { flex: 0 0 100%; margin: 4px 0 0; }
    .hero-search .btn { flex: 0 0 auto; padding: 0 16px; }
    .hero { min-height: 480px; }
    .hero .wrap { padding-top: 100px; }
    .chips { margin-left: 0; }
    .filters { max-width: none; }

    /* Koppen kleiner op mobiel */
    .logo-name { font-size: 24px; }
    .hero .script { font-size: 22px; }
    .hero h1 { font-size: 46px; white-space: normal; }
    .agenda-head h2 { font-size: 40px; }
    .tiles-head h2, .related-head h2 { font-size: 34px; }
    .newsletter h2 { font-size: 28px; }
    .site-footer .brand b { font-size: 28px; }
    .intro p { font-size: 18px; }
    .agenda-head .lead { font-size: 17px; }
    .event-hero .script { font-size: 22px; }
    .event-hero h1 { font-size: 36px; }
    .event-lead { font-size: 19px; }
    .highlights h2 { font-size: 24px; }
    .script { font-size: 22px; }
}

/* Detailpagina activiteit */
.photo-credit { position: absolute; right: 16px; bottom: 10px; z-index: 3; margin: 0; font-size: 12px; color: rgba(255,255,255,.85); }
.photo-credit a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.event-hero { position: relative; background: var(--hero); color: #fff; overflow: hidden; }
.event-hero::before { content: ''; position: absolute; inset: 0; background: var(--tone); opacity: .35; }
.event-hero.has-img::before { background: rgba(15,30,32,.5); opacity: 1; z-index: 1; }
.event-hero .wrap { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 72px; font-size: 14px; color: rgba(255,255,255,.85); }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.event-hero .script { color: #fff; font-size: 30px; }
.event-hero h1 { max-width: 980px; font-size: clamp(48px, 7vw, 96px); line-height: 1; }
.event-when { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; font-size: 17px; font-weight: 700; }
.event-when span { display: inline-flex; align-items: center; gap: 8px; }
.event-when .ico { width: 18px; height: 18px; }

.event .wrap { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; padding-top: 64px; padding-bottom: 88px; }
.event-body { flex: 999 1 520px; min-width: 0; max-width: 720px; }
.event-lead { margin: 0 0 24px; font-family: var(--f-slab); font-size: 24px; line-height: 1.5; color: #1D2524; }
.prose { font-size: 18px; line-height: 1.7; color: #2A3332; }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--ink); }
.highlights { margin-top: 40px; padding-top: 28px; border-top: 1px dashed var(--line-2); }
.highlights h2 { margin: 0 0 14px; font-family: var(--f-script); font-weight: 400; font-size: 28px; color: var(--accent); }
.highlights ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.highlights li { padding: 8px 14px; background: var(--water); border-radius: 18px; font-weight: 700; font-size: 15px; color: var(--teal-ink); }
.event-facts { flex: 1 1 280px; max-width: 360px; padding: 24px; background: var(--water); position: sticky; top: 24px; }
.event-facts dl { margin: 0 0 24px; display: flex; flex-direction: column; gap: 16px; }
.event-facts dt { font-size: 14px; font-weight: 700; color: var(--soft); }
.event-facts dd { margin: 2px 0 0; font-family: var(--f-slab); font-size: 19px; line-height: 1.4; }

.related > .wrap { display: block; }
.related-head { margin-bottom: 32px; }
.related-head h2 { font-size: clamp(48px, 6vw, 64px); }

@media (max-width: 720px) {
    .crumbs { margin-bottom: 40px; }
    .event-facts { position: static; max-width: none; }
}

/* Mobiel voor de hero's van detailpagina en Overnachten (staat na de basisregels zodat het voorgaat) */
@media (max-width: 720px) {
    .event-hero .script { font-size: 22px; }
    .event-hero h1 { font-size: 38px; line-height: 1.02; }
    .event-hero .wrap { padding-top: 24px; padding-bottom: 36px; }
    .stays-hero.has-img { min-height: 560px; }
    .stays-hero .crumbs, .stays-hero.has-img .crumbs { margin-bottom: auto; }
    .stays-hero.has-img .wrap { min-height: 560px; display: flex; flex-direction: column; }
    .stays-hero.has-img .crumbs + .script { margin-top: auto; }
    .stays-lead { font-size: 16px; margin-top: 14px; }
    .event .wrap { gap: 32px; padding-top: 36px; padding-bottom: 56px; }
    .event-lead { font-size: 19px; margin-bottom: 18px; }
    .prose { font-size: 17px; line-height: 1.65; }
    .event-when { font-size: 15px; gap: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .card, .tile-img span { transition: none; }
}

/* Overnachten */
.stays-hero.has-img { min-height: 600px; display: flex; align-items: flex-end; }
.stays-hero.has-img .wrap { width: 100%; }
.stays-hero .hero-img { object-position: 50% 40%; }
/* Lucht en toren blijven helder, onderkant donker voor de tekst */
.stays-hero.has-img::before { background: linear-gradient(to top, rgba(14,28,30,.85) 0%, rgba(14,28,30,.55) 40%, rgba(14,28,30,.05) 75%); }
.stays-hero .crumbs { margin-bottom: 56px; }
.stays-hero.has-img .crumbs { margin-bottom: 120px; }
.stays-lead { max-width: 620px; margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.9); }
.stays > .wrap { display: block; }
.stay-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.stay-types a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 22px; font-weight: 700; font-size: 14px; color: var(--teal-ink); }
.stay-types a span { font-weight: 400; color: var(--soft); }
.stay-types a:hover { border-color: var(--teal); }
.stay-types a[aria-current] { background: var(--teal); border-color: var(--teal); color: #fff; }
.stay-types a[aria-current] span { color: rgba(255,255,255,.8); }
.stay-img { display: flex; align-items: center; justify-content: center; height: 170px; }
.stay-mark { width: 64px; height: 64px; fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.stay-cta { font-weight: 700; color: var(--teal-ink); }
.img-credit { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; background: rgba(15,30,32,.6); color: #fff; font-size: 10px; line-height: 1.4; border-radius: 2px; }
.stays-more { margin-top: 40px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.stays-more b { font-family: var(--f-slab); font-size: 22px; }
.stays-more p { margin: 6px 0 0; max-width: 560px; color: var(--muted); }
.stays-note { margin: 24px 0 0; font-size: 13px; color: var(--soft); }

@media (max-width: 720px) {
    .stays-hero .crumbs, .stays-hero.has-img .crumbs { margin-bottom: 32px; }
    .stays-hero.has-img { min-height: 500px; }
    .stays-hero .hero-img { object-position: 62% 40%; }
    .stays > .wrap { padding-top: 24px; padding-bottom: 56px; }
    .stay-types { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px 24px; padding: 0 24px; }
    .stay-types::-webkit-scrollbar { display: none; }
    .stay-types a { flex: 0 0 auto; white-space: nowrap; }
    .stay-cards { grid-template-columns: 1fr; gap: 12px; }
    /* Kaart als compacte rij: beeld links, naam rechts, Booking-regel eronder */
    .stay-card { display: grid; grid-template-columns: 104px 1fr; }
    .stay-img { grid-row: 1; height: auto; min-height: 104px; }
    .stay-img .flag { top: 8px; font-size: 11px; padding: 4px 14px 4px 8px; }
    .stay-mark { width: 40px; height: 40px; }
    .stay-card .card-body { grid-row: 1; justify-content: center; gap: 4px; padding: 14px 16px; }
    .stay-card .card-cat { font-size: 16px; }
    .stay-card .card-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .stay-card .card-meta { grid-column: 1 / -1; margin: 0 16px; padding: 10px 0 12px; }
    .stay-card:hover { transform: none; }
    .stays-more .btn { width: 100%; justify-content: center; }
    .stays-lead { font-size: 17px; }
    .stays-more { padding: 24px 20px; }
}

/* Wat te doen */
.spot-img { display: flex; align-items: center; justify-content: center; }
.spot-group + .spot-group { margin-top: 48px; }
.spot-group-title { margin: 0 0 18px; font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.01em; }
.spot-featured { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.spot-featured .card-img { height: 220px; }
.home-spots { background: #fff; }
.home-spots .tiles-head .btn { height: 44px; }
.spot-related .cards { margin: 0; }
.fact-link { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.fact-link:hover { color: var(--teal); }
.spot-teaser { display: flex; margin-top: 36px; background: var(--water); border-radius: 2px; overflow: hidden; color: var(--ink); }
.spot-teaser:hover { background: #DCE8E6; }
.spot-teaser-img { flex: 0 0 160px; background: var(--tone); }
.spot-teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.spot-teaser-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.spot-teaser-body b { font-size: 20px; }
.spot-teaser-body > span:not(.card-cat):not(.spot-teaser-go) { color: var(--muted); font-size: 15px; line-height: 1.5; }
.spot-teaser-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--teal-ink); }

@media (max-width: 720px) {
    .spot-group + .spot-group { margin-top: 32px; }
    .spot-group-title { font-size: 22px; margin-bottom: 12px; }
    .spot-cards { grid-template-columns: 1fr; gap: 12px; }
    .spot-card { display: grid; grid-template-columns: 104px 1fr; }
    .spot-card .card-img { grid-row: 1; height: auto; min-height: 104px; }
    .spot-card .stay-mark { width: 36px; height: 36px; }
    .spot-card .card-body { grid-row: 1; justify-content: center; gap: 4px; padding: 14px 16px; }
    .spot-card .card-cat { font-size: 16px; }
    .spot-card .card-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .spot-card .card-meta { grid-column: 1 / -1; margin: 0 16px; padding: 10px 0 12px; }
    .spot-card:hover { transform: none; }
    .spot-featured .spot-card.has-img { display: flex; }
    .spot-featured .spot-card:not(.has-img) .card-img { height: auto; }
    .spot-featured .has-img .card-img { height: 180px; }
    .home-spots .tiles-head { align-items: flex-start; }
    .spot-teaser { flex-direction: column; }
    .spot-teaser-img { flex-basis: 140px; }
}

/* Uitgaan */
.tag-terras { padding: 2px 8px; border-radius: 10px; background: var(--water); color: var(--teal-ink); font-weight: 700; font-size: 12px; }
.stays-note a { color: inherit; text-decoration: underline; }
@media (max-width: 1100px) and (min-width: 721px) {
    .main-nav { gap: 6px 18px; }
    .main-nav span { display: none; }
}

/* Plekken zonder foto: compacte kaart met icoon links, ook op desktop */
.spot-card:not(.has-img) { display: grid; grid-template-columns: 96px 1fr; height: auto; }
.spot-card:not(.has-img) .card-img { grid-row: 1; height: auto; min-height: 112px; }
.spot-card:not(.has-img) .stay-mark { width: 34px; height: 34px; }
.spot-card:not(.has-img) .card-body { grid-row: 1; justify-content: center; gap: 4px; padding: 14px 16px; }
.spot-card:not(.has-img) .card-cat { font-size: 16px; }
.spot-card:not(.has-img) .card-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-card:not(.has-img) .card-meta { grid-column: 1 / -1; margin: 0 16px; padding: 10px 0 12px; }

/* Hero's compacter op mobiel (staat onderaan zodat het voorgaat op de basisregels) */
@media (max-width: 720px) {
    .hero, .hero.has-img { min-height: 0; }
    .hero .wrap { padding-top: 132px; padding-bottom: 24px; }
    .hero .script { font-size: 20px; }
    .hero h1 { font-size: 42px; }
    .hero-search { margin-top: 18px; }
    .hero-search .chips { display: none; }   /* zelfde keuze staat direct eronder in de agenda */

    .stays-hero.has-img, .stays-hero.has-img .wrap { min-height: 0; }
    .stays-hero.has-img .wrap { display: block; }
    .stays-hero .crumbs, .stays-hero.has-img .crumbs { margin-bottom: 20px; }
    .stays-hero.has-img .crumbs { margin-bottom: 104px; }
    .stays-hero .wrap, .stays-hero.has-img .wrap { padding-top: 16px; padding-bottom: 24px; }
    .stays-hero h1 { font-size: 32px; }
    .stays-lead { margin-top: 10px; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    .event-hero .wrap { padding-top: 16px; padding-bottom: 28px; }
    .event-hero .crumbs { margin-bottom: 28px; }
    .event-hero.has-img .crumbs { margin-bottom: 72px; }
    .event-when { margin-top: 14px; }
    .intro .wrap { padding-block: 28px; gap: 24px; }
}
