/* ════════════════════════════════════════════════════════════════════
   UitStad — Caldera Design System · City Event Platform
   ════════════════════════════════════════════════════════════════════ */

/* ─── BASE TOKENS (stadskleur via PHP in <head> geïnjecteerd) ──── */
:root {
  /* Vaste Caldera tokens */
  --color-concrete-canvas: #e2e2df;
  --color-cream-card:      #f7f6f2;
  --color-ink:             #070607;
  --color-paper-white:     #ffffff;
  --color-hazard-yellow:   #f5f28e;

  /* Typografie */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'DM Sans', 'Inter', sans-serif;

  /* Spacing */
  --sp-4:  4px;   --sp-8:  8px;   --sp-12: 12px;  --sp-16: 16px;
  --sp-20: 20px;  --sp-24: 24px;  --sp-32: 32px;  --sp-40: 40px;
  --sp-48: 48px;  --sp-56: 56px;  --sp-64: 64px;  --sp-80: 80px;

  /* Radii */
  --r-tag:    20px;
  --r-card:   40px;
  --r-pill:   800px;
  --r-input:  100px;
  --r-button: 40px;

  /* Layout */
  --page-max:    1280px;
  --section-gap: 80px;

  /* Phosphor duotone accent kleur = city primary */
  --ph-duotone-color: var(--city-primary);
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-concrete-canvas);
  background-image:
    linear-gradient(to bottom, #e2e2df 0%, #e2e2df 40%, rgba(226,226,223,0) 75%),
    radial-gradient(circle, rgba(7,6,7,.058) 1.5px, transparent 1.5px);
  background-size: 100% 140vh, 22px 22px;
  background-repeat: no-repeat, repeat;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── SKIP LINK ──────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--sp-16);
  background: var(--city-primary);
  color: var(--city-primary-text);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  z-index: 9999;
}
.skip-link:focus { left: var(--sp-16); }


/* ════════════════════════════════════════════════════════════════════
   PHOSPHOR ICON SIZING
   ════════════════════════════════════════════════════════════════════ */

i[class*="ph-"] {
  /* Standaard 24px inline */
  font-size: 24px;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Aanpasbare groottes */
.icon-sm  { font-size: 18px; }
.icon-md  { font-size: 24px; }
.icon-lg  { font-size: 32px; }
.icon-xl  { font-size: 48px; }

/* Categorie-iconen in pills */
.category-pill i[class*="ph-"] { font-size: 20px; }

/* Stat-card iconen */
.stat-card__icon i[class*="ph-"] { font-size: 32px; }

/* EOTD grote icoon */
.eotd-image__icon { font-size: 64px; opacity: 0.5; }

/* Community visual iconen */
.community-visual__card i[class*="ph-"] { font-size: 32px; }
.community-visual__add  i[class*="ph-"] { font-size: 28px; }

/* Kaart placeholder */
.detail-map__icon { font-size: 48px; }

/* No-events state */
.no-events-state__icon { font-size: 64px; }

/* Agenda item arrow */
.agenda-item__arrow i { font-size: 20px; }

/* Breadcrumbs */
.breadcrumbs i { font-size: 14px; margin: 0 4px; }


/* ════════════════════════════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════════════════════════════ */

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

.display-font {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.96;
}

.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-hazard-yellow);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-tag);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

/* Halftone patroon — over een gradient */
.halftone-surface,
.halftone-thumb {
  background:
    radial-gradient(circle, rgba(255,255,255,0.18) 38%, transparent 38%),
    linear-gradient(145deg, var(--city-primary) 0%, var(--city-decorative) 100%);
  background-size: 9px 9px, 100% 100%;
}

.halftone-thumb {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  background-size: 6px 6px, 100% 100%;
}

.halftone-thumb--tall { min-height: 360px; }


/* ─── KNOPPEN ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: var(--city-primary);
  color: var(--city-primary-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--r-button);
  border: none;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--city-primary-dark); outline: 2px solid var(--city-primary); outline-offset: 2px; }

.btn-primary--sm  { font-size: 14px; padding: 9px 18px; }
.btn-primary--lg  { font-size: 18px; padding: 16px 32px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--r-button);
  border: 1px solid var(--color-ink);
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover,
.btn-ghost:focus-visible { background: rgba(7,6,7,0.06); outline: 2px solid var(--color-ink); outline-offset: 2px; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--city-primary);
  color: var(--city-primary-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: none;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nav:hover { background: var(--city-primary-dark); }


/* ─── SECTIE PATROON ─────────────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-24);
  margin-bottom: var(--sp-40);
}

.section-title { font-size: clamp(48px, 5vw, 64px); }

.section-title__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-bottom: var(--sp-8);
  line-height: 1.4;
}


/* ════════════════════════════════════════════════════════════════════
   NAVIGATIE
   ════════════════════════════════════════════════════════════════════ */

.nav-wrapper {
  position: sticky;
  top: 16px;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 var(--sp-24);
  margin-bottom: -64px;
  pointer-events: none;
}

.site-nav {
  background: var(--color-cream-card);
  border: 1px solid rgba(7,6,7,0.12);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  width: 100%;
  max-width: 980px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
  pointer-events: all;
}

.site-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.16);
}

/* Logo links, nav-menu neemt resterende ruimte en centreert links */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 190px;
}

.nav-logo__mark {
  width: 34px;
  height: 34px;
  background: var(--city-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--city-primary-text);
}

.nav-logo__mark i { font-size: 18px; --ph-duotone-color: rgba(255,255,255,0.4); }

.nav-logo__text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

.nav-logo__uit { color: var(--city-primary); }

/* Nav-menu wrapper — centreert links, knop blijft rechts door space-between */
.nav-menu { flex: 1; display: flex; justify-content: center; min-width: 0; }

/* Nav links (WordPress menu) */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  flex: 1;
  justify-content: center;
  list-style: none;
}

.nav-links li a,
.nav-links > a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.nav-links li a:hover,
.nav-links li.current-menu-item > a { opacity: 1; }

/* Social iconen */
.nav-social {
  display: flex;
  gap: var(--sp-8);
}

.nav-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-ink);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.nav-social__link:hover { opacity: 1; }
.nav-social__link i { font-size: 20px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--color-ink);
  border-radius: var(--sp-8);
}
.nav-hamburger i { font-size: 24px; }


/* ════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════ */

.hero {
  padding-top: 96px;
  padding-bottom: var(--sp-80);
}

.hero__inner {
  display: grid;
  grid-template-columns: 48% 1fr;
  gap: var(--sp-32);
  align-items: start;
  min-height: 580px;
}

/* Links */
.hero__left {
  padding-top: var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow-dot {
  width: 10px;
  height: 10px;
  background: var(--city-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__eyebrow-text {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.hero__headline {
  font-size: clamp(60px, 6.5vw, 96px);
}

.hero__headline-city { color: var(--city-primary); }

.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  max-width: 440px;
  opacity: 0.75;
}

.hero__cta {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--sp-32);
  padding-top: var(--sp-20);
  border-top: 1px solid rgba(7,6,7,0.12);
}

.hero__stat { display: flex; flex-direction: column; gap: 2px; }

.hero__stat-value {
  font-size: 40px;
  color: var(--city-primary);
  line-height: 1;
}

.hero__stat-label { font-size: 13px; opacity: 0.55; }

/* Rechts: foto/halftone panel */
.hero__right { position: relative; }

.hero__panel {
  border-radius: var(--r-card);
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero__panel-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 45%,
    rgba(0,0,0,0.52) 100%
  );
  z-index: 1;
}

/* Den Bosch dot-kaart SVG overlay in hero panel */
.hero-dot-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}

/* Label altijd bovenop */
.hero__panel-label {
  position: absolute;
  bottom: var(--sp-24);
  left: var(--sp-24);
  right: var(--sp-24);
  color: white;
  z-index: 3;
}

.hero__panel-title {
  font-size: 48px;
  margin-bottom: 4px;
}

.hero__panel-sub {
  font-size: 14px;
  opacity: 0.75;
}

/* 3 zwevende event-thumbnail kaarten */
.hero__float-thumb {
  position: absolute;
  width: 128px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.18);
  text-decoration: none;
  color: inherit;
  background: var(--color-cream-card);
  border: 1px solid rgba(7,6,7,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  z-index: 10;
}
.hero__float-thumb img,
.hero__float-thumb__placeholder {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.hero__float-thumb__info {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__float-thumb__date {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--city-primary);
}
.hero__float-thumb__title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card 1 — linksboven, steekt links buiten panel */
.hero__float-thumb--1 {
  left: -28px;
  top: 64px;
}
.hero__float-thumb--1:hover { transform: translateY(-2px); }

/* Card 2 — rechts midden, steekt rechts buiten panel */
.hero__float-thumb--2 {
  right: -28px;
  top: 210px;
}
.hero__float-thumb--2:hover { transform: translateY(-2px); }

/* Card 3 — linksonder */
.hero__float-thumb--3 {
  left: -28px;
  bottom: 64px;
}
.hero__float-thumb--3:hover { transform: translateY(-2px); }


/* ════════════════════════════════════════════════════════════════════
   ZOEKBALK
   ════════════════════════════════════════════════════════════════════ */

.search-section { padding: var(--sp-40) 0; }

.search-bar {
  background: var(--color-cream-card);
  border: 1.5px solid var(--color-ink);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  max-width: 760px;
  margin: 0 auto;
  transition: box-shadow 0.15s;
}
.search-bar:focus-within { box-shadow: 0 0 0 3px rgba(7,6,7,0.12); }

.search-bar__icon { font-size: 22px; opacity: 0.4; flex-shrink: 0; }

.search-bar__input,
.search-bar__date {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
}

.search-bar__input {
  flex: 1;
  min-width: 0;
}
.search-bar__input::placeholder,
.search-bar__date::placeholder { opacity: 0.4; }

.search-bar__divider {
  width: 1px;
  height: 24px;
  background: rgba(7,6,7,0.2);
  flex-shrink: 0;
}

.search-bar__date-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.search-bar__date-wrap i { font-size: 18px; opacity: 0.4; }
.search-bar__date { width: 110px; font-size: 15px; }

.search-bar--archive { max-width: 100%; margin: 0 0 var(--sp-24); }


/* ════════════════════════════════════════════════════════════════════
   CATEGORIEËN
   ════════════════════════════════════════════════════════════════════ */

.categories-section { padding-bottom: var(--sp-40); }

.categories-section__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.45;
  margin-bottom: var(--sp-12);
}
.categories-section__label i { font-size: 18px; }

.category-pills {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-cream-card);
  border: 1px solid rgba(7,6,7,0.14);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.category-pill:hover,
.category-pill.active {
  background: var(--city-primary);
  border-color: var(--city-primary);
  color: var(--city-primary-text);
  --ph-duotone-color: rgba(255,255,255,0.5);
}

.category-pills--archive { margin-bottom: var(--sp-40); }


/* ════════════════════════════════════════════════════════════════════
   STATISTIEKEN
   ════════════════════════════════════════════════════════════════════ */

.stats-section { padding: var(--section-gap) 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-16);
}

.stat-card {
  background: var(--city-primary);
  border-radius: var(--r-card);
  padding: var(--sp-24);
  color: var(--city-primary-text);
  position: relative;
  overflow: hidden;
}

/* Halftone achtergrond overlay */
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 38%, transparent 38%);
  background-size: 7px 7px;
  pointer-events: none;
}

.stat-card__icon {
  position: relative;
  margin-bottom: var(--sp-12);
  --ph-duotone-color: rgba(255,255,255,0.4);
}

.stat-card__label {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.82;
  margin-bottom: 6px;
}

.stat-card__value {
  position: relative;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card__sub {
  position: relative;
  font-size: 13px;
  opacity: 0.65;
}


/* ════════════════════════════════════════════════════════════════════
   EVENEMENT VAN DE DAG
   ════════════════════════════════════════════════════════════════════ */

.eotd-section { padding: var(--section-gap) 0; }

.eotd-card {
  background: var(--color-cream-card);
  border-radius: var(--r-card);
  border: 1px solid rgba(7,6,7,0.07);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 44%;
  min-height: 440px;
}

.eotd-body {
  padding: var(--sp-48);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eotd-body__content { display: flex; flex-direction: column; gap: var(--sp-16); }

.eotd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-hazard-yellow);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--r-tag);
  align-self: flex-start;
}
.eotd-badge i { font-size: 16px; color: var(--city-primary); --ph-duotone-color: rgba(155,35,53,0.35); }

.eotd-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--city-primary);
}
.eotd-date i { font-size: 18px; }

.eotd-date__time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.8;
}

.eotd-title { font-size: clamp(40px, 4.5vw, 64px); }

.eotd-desc {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.72;
  max-width: 480px;
}

.eotd-meta {
  display: flex;
  gap: var(--sp-24);
  flex-wrap: wrap;
}

.eotd-meta__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eotd-meta__item dt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.45;
}
.eotd-meta__item dt i { font-size: 14px; }

.eotd-meta__item dd {
  font-size: 15px;
  font-weight: 500;
}

.eotd-body__cta {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
  margin-top: 51px;
}

.eotd-image { position: relative; overflow: hidden; }
.eotd-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ════════════════════════════════════════════════════════════════════
   EVENT CARDS
   ════════════════════════════════════════════════════════════════════ */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-20);
}

.events-grid--archive  { grid-template-columns: repeat(3, 1fr); }
.events-grid--related  { grid-template-columns: repeat(3, 1fr); }

.event-card {
  background: var(--color-cream-card);
  border-radius: var(--r-card);
  border: 1px solid rgba(7,6,7,0.07);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.2s;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
}

.event-card__thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.event-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.event-card:hover .event-card__thumb img { transform: scale(1.04); }

.event-card__thumb .halftone-thumb { height: 210px; }

.event-card__cat-badge {
  position: absolute;
  top: 23px;
  left: 23px;
}

.event-card__body {
  padding: 20px var(--sp-24) var(--sp-24);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.event-card__date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--city-primary);
}
.event-card__date i { font-size: 16px; }

.event-card__title {
  font-size: 26px;
  line-height: 1.08;
}

.event-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.68;
  flex: 1;
}

.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  margin-top: auto;
  padding-top: var(--sp-12);
  border-top: 1px solid rgba(7,6,7,0.07);
}

.event-card__venue {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  opacity: 0.55;
  min-width: 0;
}
.event-card__venue i { font-size: 16px; flex-shrink: 0; }
.event-card__venue span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.event-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--city-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.event-card__price--free { color: #2d8a4e; }

/* Featured card (2-kolom breed) */
.event-card--featured {
  grid-column: span 2;
  flex-direction: row;
}

.event-card--featured .event-card__thumb {
  width: 45%;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
}

.event-card--featured .event-card__thumb .halftone-thumb { height: 100%; min-height: 260px; }
.event-card--featured .event-card__title { font-size: 40px; }
.event-card--featured .event-card__body  { padding: var(--sp-32); }

/* Horizontale card */
.event-card--horizontal {
  flex-direction: row;
}
.event-card--horizontal .event-card__thumb {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}

/* No-events state */
.no-events {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-64);
  opacity: 0.5;
}

.no-events-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-80);
  text-align: center;
}
.no-events-state h2 { font-size: 32px; }
.no-events-state__icon { color: var(--city-primary); opacity: 0.4; }


/* ════════════════════════════════════════════════════════════════════
   AGENDA LIJST
   ════════════════════════════════════════════════════════════════════ */

.agenda-section { padding: var(--section-gap) 0; }

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(7,6,7,0.09);
  border-radius: var(--r-card);
  overflow: hidden;
}

.agenda-item {
  background: var(--color-cream-card);
  padding: 27px 33px;
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: var(--sp-20);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.agenda-item:hover { background: var(--color-paper-white); }

.agenda-item__date { text-align: center; }

.agenda-item__day {
  font-size: 28px;
  color: var(--city-primary);
  line-height: 1;
}

.agenda-item__month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.agenda-item__day-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.35;
  margin-top: 2px;
}

.agenda-item__title {
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.agenda-item__sub {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  font-size: 13px;
  opacity: 0.55;
  flex-wrap: wrap;
}
.agenda-item__sub span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.agenda-item__sub i { font-size: 15px; }

.agenda-item__cat { opacity: 1; }

.agenda-item__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--city-primary);
  white-space: nowrap;
}
.agenda-item__price--free { color: #2d8a4e; }

.agenda-item__arrow {
  color: var(--color-ink);
  opacity: 0.25;
  transition: opacity 0.15s, transform 0.15s;
}
.agenda-item:hover .agenda-item__arrow {
  opacity: 0.7;
  transform: translateX(3px);
}

.agenda-footer {
  margin-top: var(--sp-32);
  display: flex;
  justify-content: center;
}


/* ════════════════════════════════════════════════════════════════════
   COMMUNITY
   ════════════════════════════════════════════════════════════════════ */

.community-section { padding: var(--section-gap) 0; }

.community-card {
  background: var(--color-ink);
  border-radius: var(--r-card);
  padding: var(--sp-64);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.community-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 38%, transparent 38%);
  background-size: 9px 9px;
  pointer-events: none;
}

.community-content { position: relative; }

.community-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--city-primary);
  color: var(--city-primary-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--r-tag);
  margin-bottom: var(--sp-24);
}
.community-tag i { font-size: 16px; --ph-duotone-color: rgba(255,255,255,0.4); }

.community-title {
  font-size: clamp(40px, 4vw, 64px);
  color: var(--color-paper-white);
  margin-bottom: var(--sp-20);
}

.community-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: var(--sp-32);
}

.community-perks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin-bottom: var(--sp-32);
}

.community-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}
.community-perks li i { font-size: 20px; color: var(--city-primary); --ph-duotone-color: rgba(155,35,53,0.3); }

/* Visuele grid van categorie-icoontjes */
.community-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: var(--sp-12);
  height: 380px;
}

.community-visual__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.community-visual__card:hover { background: rgba(255,255,255,0.1); }

.community-visual__card--1 { --ph-duotone-color: var(--city-primary); color: white; background: rgba(255,255,255,0.09); }

.community-visual__add {
  background: var(--city-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--city-primary-text);
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}


/* ════════════════════════════════════════════════════════════════════
   ENKEL EVENEMENT
   ════════════════════════════════════════════════════════════════════ */

.single-event-page { padding: var(--sp-32) 0 var(--section-gap); }

.single-event__hero {
  border-radius: var(--r-card);
  overflow: hidden;
  height: 400px;
  position: relative;
  margin-bottom: var(--sp-48);
}

.single-event__hero-image {
  width: 100%;
  height: 100%;
}

.single-event__hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-event__hero-image--no-photo { height: 400px; }

.single-event__hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.65;
}

.single-event__hero-meta {
  position: absolute;
  bottom: var(--sp-40);
  left: var(--sp-48);
  right: var(--sp-48);
  color: white;
}

.single-event__title {
  font-size: clamp(40px, 5vw, 80px);
  margin: var(--sp-12) 0 var(--sp-16);
  color: white;
}

.single-event__quick-meta {
  display: flex;
  gap: var(--sp-24);
  flex-wrap: wrap;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.single-event__quick-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.single-event__quick-meta i { font-size: 18px; }
.single-event__price--free { color: #6be59a; }

.single-event__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-48);
  align-items: start;
}

.single-event__actions {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
  margin-top: var(--sp-40);
  padding-top: var(--sp-32);
  border-top: 1px solid rgba(7,6,7,0.1);
}

/* Prose (content) */
.prose {
  line-height: 1.75;
  font-size: 17px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: var(--sp-40) 0 var(--sp-16);
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: var(--sp-32) 0 var(--sp-12);
}
.prose p  { margin-bottom: var(--sp-16); }
.prose ul { padding-left: var(--sp-20); margin-bottom: var(--sp-16); }
.prose li { margin-bottom: 6px; list-style: disc; }
.prose strong { font-weight: 700; }
.prose a { color: var(--city-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { text-decoration: none; }

/* Detail card (sidebar) */
.detail-card {
  background: var(--color-cream-card);
  border-radius: var(--r-card);
  padding: var(--sp-32);
  border: 1px solid rgba(7,6,7,0.07);
}

.detail-card__title {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-24);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid rgba(7,6,7,0.1);
}
.detail-card__title i { color: var(--city-primary); font-size: 24px; }

.detail-list { display: flex; flex-direction: column; gap: var(--sp-20); }

.detail-list__item dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.45;
  margin-bottom: 5px;
}
.detail-list__item dt i { font-size: 16px; }

.detail-list__item dd {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.detail-price--free { color: #2d8a4e; font-weight: 700; }

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--city-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
.detail-link i { font-size: 14px; }

/* Kaart placeholder */
.detail-map { margin-top: var(--sp-16); }

.detail-map__link { display: block; text-decoration: none; border-radius: var(--r-card); overflow: hidden; }

.detail-map__placeholder {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  transition: opacity 0.15s;
}
.detail-map__link:hover .detail-map__placeholder { opacity: 0.85; }
.detail-map__icon { color: rgba(255,255,255,0.9); }

.detail-map__label {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-map__label small { font-weight: 400; opacity: 0.75; }


/* ════════════════════════════════════════════════════════════════════
   ARCHIEF PAGINA
   ════════════════════════════════════════════════════════════════════ */

.archive-page { padding: var(--sp-40) 0 var(--section-gap); }

.archive-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-24);
  margin-bottom: var(--sp-32);
}

.archive-title { font-size: clamp(48px, 5vw, 80px); }

.archive-count {
  display: block;
  font-size: 15px;
  opacity: 0.5;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.archive-header__periods {
  display: flex;
  gap: var(--sp-8);
  flex-shrink: 0;
}

.period-pill {
  display: inline-flex;
  align-items: center;
  background: var(--color-cream-card);
  border: 1px solid rgba(7,6,7,0.14);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.period-pill:hover,
.period-pill.active {
  background: var(--city-primary);
  border-color: var(--city-primary);
  color: var(--city-primary-text);
}

/* Paginering */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-8);
  margin-top: var(--sp-48);
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background: var(--color-cream-card);
  border: 1px solid rgba(7,6,7,0.12);
  border-radius: var(--r-button);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-ink);
  transition: all 0.15s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--city-primary);
  border-color: var(--city-primary);
  color: var(--city-primary-text);
}


/* ════════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ════════════════════════════════════════════════════════════════════ */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  opacity: 0.55;
  margin-bottom: var(--sp-32);
  flex-wrap: wrap;
}

.breadcrumbs a {
  text-decoration: none;
  font-weight: 500;
}
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }

.breadcrumbs span { font-weight: 500; opacity: 0.6; }


/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--color-concrete-canvas);
  border-top: 1px solid rgba(7,6,7,0.12);
  padding: var(--sp-64) 0 var(--sp-40);
  margin-top: var(--section-gap);
}

.footer-inner {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: var(--sp-48);
  margin-bottom: var(--sp-48);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  text-decoration: none;
  margin-bottom: var(--sp-16);
}

.footer-logo__mark {
  width: 32px;
  height: 32px;
  background: var(--city-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--city-primary-text);
  flex-shrink: 0;
}
.footer-logo__mark i { font-size: 16px; --ph-duotone-color: rgba(255,255,255,0.35); }

.footer-logo__text {
  font-size: 20px;
  color: var(--color-ink);
}
.footer-logo__text span { color: var(--city-primary); }

.footer-tagline {
  font-size: 14px;
  opacity: 0.6;
  line-height: 1.6;
  margin-bottom: var(--sp-20);
}

.footer-social {
  display: flex;
  gap: var(--sp-8);
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(7,6,7,0.07);
  border-radius: 50%;
  text-decoration: none;
  color: var(--color-ink);
  opacity: 0.65;
  transition: all 0.15s;
}
.footer-social__link:hover {
  background: var(--city-primary);
  color: var(--city-primary-text);
  opacity: 1;
  --ph-duotone-color: rgba(255,255,255,0.4);
}
.footer-social__link i { font-size: 18px; }

.footer-col__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  margin-bottom: var(--sp-16);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  list-style: none;
}

.footer-links a {
  font-size: 15px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.footer-links a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-16);
  padding-top: var(--sp-24);
  border-top: 1px solid rgba(7,6,7,0.1);
  font-size: 13px;
  opacity: 0.45;
  flex-wrap: wrap;
}

.footer-bottom__other-cities {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom__other-cities a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom__other-cities i { font-size: 16px; }


/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .hero__inner  { grid-template-columns: 1fr; min-height: auto; }
  .hero__right  { display: none; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .eotd-card    { grid-template-columns: 1fr; }
  .eotd-image   { min-height: 300px; }
  .single-event__layout { grid-template-columns: 1fr; }
  .community-card { grid-template-columns: 1fr; }
  .community-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-40); }
  .events-grid--archive  { grid-template-columns: repeat(2, 1fr); }
  .events-grid--related  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
  .event-card--featured {
    grid-column: span 2;
    flex-direction: column;
  }
  .event-card--featured .event-card__thumb {
    width: 100%;
    height: 220px;
  }
  .section-title { font-size: 40px; }
  .archive-header { flex-direction: column; align-items: flex-start; }
  .archive-header__periods { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--sp-16); }

  .site-nav { padding: 8px 12px; gap: var(--sp-12); }
  .nav-links, .nav-social { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding-top: 80px; }
  .hero__headline { font-size: 52px; }
  .hero__stats { gap: var(--sp-20); }
  .hero__stat-value { font-size: 32px; }

  .search-bar { flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-card); }
  .search-bar__divider, .search-bar__date-wrap { display: none; }

  .events-grid, .events-grid--archive, .events-grid--related { grid-template-columns: 1fr; }
  .event-card--featured { grid-column: span 1; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .eotd-body { padding: var(--sp-32) var(--sp-24); }
  .eotd-title { font-size: 36px; }

  .agenda-item { grid-template-columns: 60px 1fr auto; }
  .agenda-item__price { display: none; }
  .agenda-item__arrow { display: none; }

  .community-card { padding: var(--sp-32) var(--sp-24); }
  .community-title { font-size: 36px; }

  .single-event__hero { height: 280px; }
  .single-event__title { font-size: 36px; }
  .single-event__hero-meta { left: var(--sp-24); right: var(--sp-24); bottom: var(--sp-24); }
  .single-event__actions { flex-direction: column; }
  .single-event__actions .btn-primary,
  .single-event__actions .btn-ghost { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-32); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .section-header { flex-direction: column; align-items: flex-start; gap: var(--sp-12); }
}

/* ─── Mobiel menu (open state) ───────────────────────────────────── */
.nav-wrapper.menu-open .site-nav {
  border-radius: var(--r-card);
  flex-wrap: wrap;
  top: 16px;
}

.nav-wrapper.menu-open .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: var(--sp-8);
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 1px solid rgba(7,6,7,0.1);
  order: 10;
}

/* ─── Print ──────────────────────────────────────────────────────── */
@media print {
  .nav-wrapper, .hero__right, .stats-section,
  .community-section, .site-footer { display: none; }
  .hero { padding-top: var(--sp-32); }
  body { background: white; }
}
