/* Gemeente Zweverbeke: shared stylesheet for index.html and every subpage.
   Generated by tools/theme/build.py from the mockup D theme; edit there. */
:root { --wine: #7A1F3D; --wine-d: #5C152D; --sand: #F3EDE4; --sand-2: #E8DFD2; --ink: #1F1A17; --muted: #6B625B; --line: #DDD3C5; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: #FFFDF9; }
h1, h2, h3 { font-family: 'Merriweather', Georgia, serif; font-weight: 700; letter-spacing: -.01em; }
a { color: var(--wine); }
.w { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.alert { background: var(--wine); color: #fff; font-size: 15px; }
.alert .w { display: flex; gap: 10px; align-items: center; min-height: 42px; }
.alert a { color: #fff; font-weight: 600; }
.alert .ic { flex-shrink: 0; }
header.h { border-bottom: 1px solid var(--line); background: #FFFDF9; position: sticky; top: 0; z-index: 10; }
header.h .w { display: flex; align-items: center; gap: 36px; height: 84px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 42px; }
.brand b { font: 700 22px/1 'Merriweather', serif; }
nav.m ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
nav.m a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; padding: 30px 0; border-bottom: 3px solid transparent; }
nav.m a:hover { border-color: var(--wine); color: var(--wine); }
nav.m .mo { display: none; }
.hr { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hs { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 6px 0 14px; height: 44px; background: #fff; width: 230px; }
.hs input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 15px; background: transparent; }
.hs input:focus { outline: none; }
.hs button { border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; width: 32px; height: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--wine); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--wine-d); color: #fff; }
.hs-m { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; }
.services .hs { display: flex; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; background: #234 url(../img/hero-schelde.jpg) center / cover no-repeat; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,12,10,.75), rgba(20,12,10,.1) 60%), linear-gradient(90deg, rgba(20,12,10,.45), rgba(20,12,10,0) 60%); }
.hero .w { position: relative; width: 100%; padding-bottom: 56px; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: #fff; background: var(--wine); padding: 4px 10px; margin: 0 0 14px; }
.hero h1 { font-size: 52px; line-height: 1.12; margin: 0 0 14px; max-width: 760px; }
.hero p.lead { font-size: 20px; max-width: 640px; margin: 0 0 24px; color: #F4ECE6; }
.hero .btn { background: #fff; color: var(--wine); }
.hero .credit { position: absolute; right: 32px; bottom: 18px; font-size: 12px; color: rgba(255,255,255,.7); }
.services { background: var(--sand); }
.services .w { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.services h2 { font-size: 30px; margin: 0 0 10px; }
.services p { color: var(--muted); margin: 0; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc a { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; min-height: 130px; background: var(--sand); transition: background .15s; }
.svc a:hover { background: #fff; color: var(--wine); }
.svc .ic { color: var(--wine); }
section.s { padding: 72px 0; }
.sh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 20px; margin-bottom: 28px; }
.sh h2 { font-size: 34px; margin: 0; }
.sh a { font-weight: 600; white-space: nowrap; }
.nw { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.lead-story a { text-decoration: none; color: var(--ink); }
.lead-story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.lead-story h3 { font-size: 28px; line-height: 1.3; margin: 18px 0 10px; }
.lead-story a:hover h3 { color: var(--wine); }
.lead-story .meta, .side-stories .meta { font-size: 14px; color: var(--muted); display: flex; gap: 12px; margin-top: 16px; }
.lead-story .meta b, .side-stories .meta b { color: var(--wine); text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.side-stories { list-style: none; margin: 0; padding: 0; }
.side-stories li { border-bottom: 1px solid var(--line); }
.side-stories li:first-child { border-top: 1px solid var(--line); }
.side-stories a { display: grid; grid-template-columns: 1fr 132px; gap: 18px; padding: 18px 0; text-decoration: none; color: var(--ink); }
.side-stories img { width: 132px; height: 92px; object-fit: cover; }
.side-stories h3 { font-size: 17px; line-height: 1.4; margin: 6px 0 0; }
.side-stories .meta { margin: 0; font-size: 13px; }
.side-stories a:hover h3 { color: var(--wine); }
.lead-story p { margin: 0; color: var(--muted); }
.practical { background: var(--sand); }
.pr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }

.pr .card h2 { font-size: 22px; margin: 0 0 14px; }
.status { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #999; flex-shrink: 0; }
.status.is-open::before { background: #2E8B57; } .status.is-closed::before { background: #C0392B; }
.hours { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--sand-2); }
.hours li span:last-child { text-align: right; color: var(--muted); }
.hours li.is-today span { font-weight: 700; color: var(--ink); }
.pr .fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.afval { list-style: none; margin: 0; padding: 0; }
.afval li { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid var(--sand-2); }
.afval .afval-naam { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.afval .afval-naam::before { content: ''; width: 12px; height: 12px; border-radius: 3px; background: currentColor; flex-shrink: 0; }
.afval .afval-datum { font-size: 14px; color: var(--muted); grid-column: 1; padding-left: 20px; }
.afval .afval-rel { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 14px; color: var(--muted); }
.afval-rest .afval-naam::before { background: #444; } .afval-pmd .afval-naam::before { background: #2F6DB0; } .afval-gft .afval-naam::before { background: #3C8B3C; } .afval-papier .afval-naam::before { background: #C9A227; } .afval-r .afval-naam::before { background: var(--wine); }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--sand-2); }
.agenda .dt { font-family: 'Merriweather', serif; text-align: center; line-height: 1.05; }
.agenda .dt b { display: block; font-size: 24px; color: var(--wine); }
.agenda .dt small { font-family: 'Source Sans 3', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.agenda a { font-weight: 600; text-decoration: none; color: var(--ink); line-height: 1.35; display: block; }
.agenda a:hover { color: var(--wine); }
.uit { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-left: 8px; text-transform: uppercase; }
.pr .more { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; margin-top: 16px; text-decoration: none; }
.notices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.notices li { border-left: 3px solid var(--wine); padding-left: 18px; }
.notices .k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); }
.notices a { display: block; font-family: 'Merriweather', serif; font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--ink); text-decoration: none; margin: 4px 0; }
.notices a:hover { color: var(--wine); }
.notices span.d { color: var(--muted); font-size: 15px; }
footer.f { background: var(--ink); color: #CFC6BD; font-size: 15px; }
footer.f .w { padding-top: 60px; }
footer.f a { color: #fff; text-decoration: none; }
footer.f a:hover { text-decoration: underline; }
.fg { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.fg h3 { color: #fff; font-family: 'Source Sans 3', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.fg ul { list-style: none; margin: 0; padding: 0; }
.fg li { margin-bottom: 8px; }
.fg .brand { color: #fff; margin-bottom: 18px; }
.fg p { margin: 0 0 6px; }
.fb { margin-top: 48px; border-top: 1px solid #3A322D; padding: 22px 0 32px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
.fb a { color: #CFC6BD; }
.fb .disc { width: 100%; color: #8E847B; font-size: 13px; margin: 6px 0 0; }
.cookie { position: fixed; right: 24px; bottom: 24px; z-index: 60; max-width: 420px; }
.cookie-in { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(30, 15, 10, .25); padding: 24px; font-size: 15px; }
.cookie-in::before { content: 'Uw privacy'; display: block; font: 700 19px 'Merriweather', serif; margin-bottom: 8px; }
.cookie-in p { margin: 0 0 12px; }
.cookie-panel { color: var(--muted); font-size: 14px; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-btns button { height: 44px; font: 600 15px 'Source Sans 3', sans-serif; border-radius: 999px; border: 1px solid var(--wine); background: #fff; color: var(--wine); cursor: pointer; }
.cookie-btns button:first-child { background: var(--wine); color: #fff; }
.cookie-btns button:last-child { grid-column: 1 / -1; border: 0; text-decoration: underline; height: 32px; }
@media (max-width: 1180px) {
  header .hs { display: none; }
  .hs-m { display: grid; }
  nav.m ul { gap: 18px; }
}
@media (max-width: 980px) {
  .w { padding: 0 20px; }
  header.h .w { height: 68px; gap: 12px; }
  .brand b { font-size: 19px; } .brand img { width: 34px; }
  .burger { display: grid; place-items: center; }
  .hr .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  nav.m { position: absolute; left: 0; right: 0; top: 68px; background: #FFFDF9; border-bottom: 1px solid var(--line); }
  nav.m ul { display: none; flex-direction: column; gap: 0; padding: 6px 0 12px; }
  nav.m ul.is-open { display: flex; }
  nav.m a { display: block; padding: 13px 20px; border: 0; font-size: 18px; }
  nav.m .mo { display: block; }
  .hero { min-height: 480px; }
  .hero::before { background: linear-gradient(0deg, rgba(20,12,10,.8), rgba(20,12,10,.35)); }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 17px; }
  .hero .credit { right: 20px; }
  .services .w { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc a { min-height: 104px; padding: 16px; font-size: 15px; }
  .nw, .pr, .notices { grid-template-columns: 1fr; }
  .fg { grid-template-columns: 1fr 1fr; }
  section.s { padding: 48px 0; }
  .sh h2 { font-size: 27px; }
  .lead-story h3 { font-size: 23px; }
}
@media (max-width: 480px) {
  .alert { font-size: 14px; }
  .hr .btn span { display: none; }
  .hr .btn, .hs-m { width: 40px; height: 40px; }
  .hr .btn { width: 40px; padding: 0; justify-content: center; }
  .side-stories a { grid-template-columns: 1fr 96px; gap: 14px; }
  .side-stories img { width: 96px; height: 72px; }
  .fg { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
/* ------------------------------------------------------------ shared tokens
   The joke pages were written against these variable names; here they map to
   the sand-and-burgundy palette. */
:root {
  --ground: #F3EDE4; --panel: #FFFFFF; --soft: #3A322D; --accent: #7A1F3D; --accent-hi: #5C152D;
  --good: #2E7D4F; --bad: #B3261E;
  --display: 'Merriweather', Georgia, serif; --body: 'Source Sans 3', system-ui, sans-serif;
  --sign: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
nav.m a[aria-current] { border-color: var(--wine); color: var(--wine); }

/* ------------------------------------------------------------ subpage frame */
.page-top { background: var(--sand); border-bottom: 1px solid var(--line); }
.page-top .w { padding-top: 26px; padding-bottom: 44px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '\203A'; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--wine); }
.page-top h1 { font-size: 44px; line-height: 1.15; margin: 0 0 14px; max-width: 860px; }
.page-top .intro { font-size: 20px; line-height: 1.5; color: var(--soft); max-width: 740px; margin: 0; }
.page-body .w { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.page-body.full .w { grid-template-columns: minmax(0, 1fr); }
.side { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 28px; }
.side h2 { font: 700 13px/1.2 'Source Sans 3', sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; }
.side ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.side li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.side li a:hover { color: var(--wine); }
.side li a[aria-current] { color: var(--wine); box-shadow: inset 3px 0 0 var(--wine); padding-left: 14px; }
.side-contact { background: var(--sand); padding: 20px 22px; font-size: 15px; display: flex; flex-direction: column; gap: 8px; }
.side-contact p { margin: 0; }
.side-contact h2 { margin: 0 0 2px; }
.content { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.content p { margin: 0; }
.content h2, .content h3 { margin: 0; text-wrap: balance; }
.content h2 { font-size: 26px; line-height: 1.25; }
.content h3 { font-size: 20px; line-height: 1.3; }
.useful { margin-top: 1rem; background: var(--sand); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.useful p { margin: 0; font-weight: 600; }
.useful-btns { display: flex; gap: 8px; }
.useful-btns button { height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--wine); background: #fff; color: var(--wine); font: 600 15px 'Source Sans 3', sans-serif; cursor: pointer; }
.useful-btns button:hover { background: var(--wine); color: #fff; }
.useful .useful-thanks { font-weight: 400; flex-basis: 100%; }
.updated { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.updated a { color: var(--muted); }

/* ------------------------------------------------------------ components used by the joke pages */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--wine); padding: clamp(1.25rem, 4vw, 2rem); display: flex; flex-direction: column; gap: 1.25rem; }
.pr .card { display: block; border-width: 4px 0 0; padding: 28px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.primary, .ghost { min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.primary { border: 0; background: var(--wine); color: #fff; }
.primary:hover { background: var(--wine-d); color: #fff; }
.ghost { border: 1.5px solid var(--wine); background: #fff; color: var(--wine); }
.ghost:hover { background: var(--sand); color: var(--wine-d); }
.card > .primary, .card > .ghost { align-self: flex-start; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.note-ok { font-size: 15px; color: var(--good); }
label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
label.field small { font-weight: 400; color: var(--muted); font-size: 14px; }
.input, select.input { min-height: 48px; padding: 10px 14px; background: #fff; border: 1.5px solid #C9BDAE; border-radius: 6px; width: 100%; font-weight: 400; }
.input:focus { border-color: var(--wine); outline: none; box-shadow: 0 0 0 3px rgba(122, 31, 61, .15); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--wine); }
input[type=range] { width: 100%; accent-color: var(--wine); }

@media (max-width: 980px) {
  .page-top .w { padding-top: 18px; padding-bottom: 32px; }
  .page-top h1 { font-size: 32px; }
  .page-top .intro { font-size: 18px; }
  .page-body .w { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 48px; }
  .side { position: static; order: 2; }
  .content { order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
