/* =============================================
   PollenAlert.nl — Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --green:   #2d6a4f;
  --green-lt:#52b788;
  --yellow:  #f4a623;
  --orange:  #e07b39;
  --red:     #c0392b;
  --gray-50: #f7f8f8;
  --gray-100:#eef0f1;
  --gray-300:#d1d5d8;
  --gray-600:#666e76;
  --gray-800:#2c3135;
  --text:    #181c1f;
  --white:   #ffffff;
  --radius:  2px;
  --shadow:  0 1px 6px rgba(0,0,0,.07);
  --font: 'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--gray-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a  { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header / Nav ── */
header {
  background: var(--white);
  border-bottom: 2px solid var(--green);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem 1.5rem;
  max-width: 1100px; margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: .55rem; }
.logo-icon { font-size: 1.3rem; line-height: 1; color: var(--green); width: 1.3rem; height: 1.3rem; fill: currentColor; flex-shrink: 0; vertical-align: middle; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--green);
}
.logo-text em { font-style: normal; color: #c8305a; }

nav { display: flex; gap: 1.75rem; }
/* Pages without a lang-switcher: nav gap from logo, buttons pushed right */
.nav-inner:not(:has(.lang-switcher)) nav { margin-left: clamp(1.5rem, 8vw, 6rem); margin-right: auto; }
nav a {
  font-size: .88rem; font-weight: 500;
  color: var(--gray-800);
  letter-spacing: .01em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
nav a:hover, nav a.active {
  color: var(--green);
  border-color: var(--green);
  text-decoration: none;
}

/* ── Language switcher ── */
.lang-switcher {
  display: flex;
  gap: .1rem;
  align-items: center;
  margin-left: .6rem;
  flex-shrink: 0;
}
.lang-switcher a {
  font-size: .72rem;
  font-weight: 600;
  padding: .15rem .26rem;
  border-radius: 3px;
  color: var(--gray-600);
  border: 1px solid transparent;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.lang-switcher a:hover  { color: var(--green); border-color: var(--green); }
.lang-switcher a.active { color: var(--green); border-color: var(--green); }
[data-theme="dark"] .lang-switcher a { color: var(--gray-600); }
[data-theme="dark"] .lang-switcher a.active,
[data-theme="dark"] .lang-switcher a:hover { color: #fff; border-color: var(--green); }

/* ── Theme toggle button ── */
.theme-btn {
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  padding: .32rem .65rem;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center;
  transition: color .15s, border-color .15s;
  margin-left: 1rem;
  flex-shrink: 0;
}
.theme-btn:hover { color: var(--green); border-color: var(--green); }

/* ── Hero ── */
.hero {
  background: #2d6a4f;
  color: var(--white);
  padding: 1.6rem 0;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.hero-text {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  flex: 1;
  min-width: 0;
}
.hero-meta {
  display: flex; flex-direction: column; gap: .45rem;
  flex-shrink: 0;
}

.hero-inner h1 {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.hero-inner h1 em { font-style: normal; color: #95d5b2; }

.hero-inner > p {
  font-size: .95rem;
  font-weight: 300;
  opacity: .85;
  margin: 0;
  line-height: 1.65;
  max-width: 600px;
}

.hero-meta { /* column layout defined above in .hero-inner block */ }

.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: .3rem .85rem;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: .4rem;
  white-space: nowrap;
}

/* ── Today's visual summary ── */
.today-section { padding: 1.8rem 0 0; }

.today-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.today-panel {
  background: linear-gradient(160deg, #e07b39 0%, #c0392b 100%);
  color: #fff;
  padding: 1.6rem 1.2rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: .25rem;
}
.today-panel-icon { font-size: 2rem; opacity: .9; line-height: 1; }
.today-panel-level { font-size: clamp(1rem, 3vw, 1.45rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.today-panel-sub   { font-size: .72rem; opacity: .8; font-weight: 400; margin-top: .1rem; }
.today-panel-date  { font-size: .72rem; opacity: .65; margin-top: .6rem;
                     display: flex; align-items: center; gap: .3rem; }

.today-meters {
  padding: 1.1rem 1.6rem;
  display: flex; flex-direction: column;
  gap: .55rem; justify-content: center;
}

.pm-row {
  display: grid;
  grid-template-columns: 1.2rem 10rem 1fr 4rem;
  align-items: center;
  gap: .6rem;
}
.pm-icon  { color: var(--green); font-size: .82rem; text-align: center; }
.pm-name  { font-size: .85rem; font-weight: 500; white-space: nowrap; }

.pm-track {
  height: 7px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}
.pm-fill  { height: 100%; border-radius: 2px; }

/* widths map level to visual fill */
.pm-none   { width: 0%;   background: var(--gray-300); }
.pm-low    { width: 25%;  background: #a8d97f; }
.pm-medium { width: 50%;  background: #f4a623; }
.pm-high   { width: 75%;  background: #c0392b; }
.pm-vhigh  { width: 100%; background: #8b1a1a; }

.pm-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  text-align: right; white-space: normal;
}
.pm-label.cl-none   { color: #2d6a4f; }
.pm-label.cl-low    { color: #7a6200; }
.pm-label.cl-medium { color: #8a4800; }
.pm-label.cl-high   { color: #a81c1c; }
.pm-label.cl-vhigh  { color: #6b0f0f; }

/* ── Section titles ── */
.section { padding: 3rem 0; }

.section-title {
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: .45rem;
}
.section-sub {
  font-size: .95rem; color: var(--gray-600);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* ── Pollen types grid ── */
.pollen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-300);
  border: 1px solid var(--gray-300);
}

.pollen-card {
  background: var(--white);
  padding: 1.3rem 1.1rem;
  text-align: center;
  border-radius: 4px;
  transition: background .15s;
}
.pollen-card:hover { background: var(--gray-50); }

.pollen-card .pollen-icon {
  font-size: 1.6rem; margin-bottom: .6rem;
  color: var(--green);
  display: block;
}
.pollen-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; letter-spacing: -.01em; }
.pollen-card p  { font-size: .8rem; color: var(--gray-600); margin-bottom: .7rem; line-height: 1.5; }

.level-pill {
  display: inline-block;
  padding: .18rem .6rem;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  border: 1px solid transparent;
}
.level-none   { background: #e6f4eb; color: #2d6a4f; border-color: #b7dfc9; }
.level-low    { background: #fef9e2; color: #7a6200; border-color: #f0dd80; }
.level-medium { background: #fff0e0; color: #8a4800; border-color: #f5c48a; }
.level-high   { background: #fde8e8; color: #a81c1c; border-color: #f0a0a0; }
.level-very-high { background: #a81c1c; color: #fff; border-color: #a81c1c; }

/* ── Map section ── */
.map-section { background: var(--white); padding: 3rem 0; }

.map-wrapper {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .map-wrapper { grid-template-columns: 1fr; }
}

/* NL map panel — map + legend stacked */
.nl-map-panel { display: flex; flex-direction: column; }

.nl-map-container {
  position: relative;
  width: 100%;
  background: rgba(39,174,96,.18);
  border: none;
  overflow: hidden;
}

/* Gradient legend below NL map */
.nl-legend-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
}
.nl-legend-gradient {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #27ae60, #f1c40f, #f39c12, #e67e22, #c0392b);
}
.nl-legend-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text, #111);
  white-space: nowrap;
}

/* ── 24h forecast animation player ───────────────────────────────────── */
.forecast-player {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .6rem;
  margin-top: .5rem;
  background: rgba(0,0,0,.06);
  border-radius: 8px;
  font-size: .78rem;
  color: var(--text-secondary, #666);
}
.forecast-play-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary, #666);
  padding: 0 .15rem;
  font-size: .85rem;
  line-height: 1;
  flex-shrink: 0;
}
.forecast-play-btn:hover { color: var(--green, #27ae60); }
.forecast-scrubber {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(0,0,0,.16);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.forecast-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green, #27ae60);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.forecast-scrubber::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green, #27ae60);
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
/* Time + day/night badge */
.map-time-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: .3rem .6rem;
  font-size: .82rem;
  font-weight: 700;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  pointer-events: none;
}
.map-time-badge .fa-sun  { color: #e67e22; }
.map-time-badge .fa-moon { color: #6c5ce7; }
[data-theme="dark"] .map-time-badge {
  background: rgba(20,30,40,.82);
  color: #eee;
}
.forecast-time-label {
  min-width: 2.8rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: .75rem;
}
[data-theme="dark"] .forecast-player { background: rgba(255,255,255,.07); }

/* Europa preview panel */
.eu-map-panel { display: flex; flex-direction: column; }
.eu-map-wrap {
  position: relative;
  flex: 1;
  min-height: 300px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #c8d8e8;
  cursor: pointer;
}
#eu-preview-map {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: #c8dff0;
}
.eu-preview-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,16,28,.88) 0%, transparent 100%);
  padding: 2rem 1.2rem 1.2rem;
  pointer-events: none;
}
.eu-preview-overlay .eu-preview-btn { pointer-events: auto; }
.eu-preview-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 600;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.85);
}
.eu-preview-badge i { color: var(--green); font-size: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.eu-preview-desc {
  font-size: .78rem;
  color: rgba(210,230,255,.85);
  line-height: 1.45;
  margin-bottom: .8rem;
}
.eu-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--green);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.eu-preview-btn:hover { background: #1e7e34; transform: translateY(-1px); }
[data-theme="dark"] .eu-map-wrap { border-color: #3a4a5a; }

/* Pollen concentration blobs */
.eu-pollen-spots {
  position: absolute;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.eu-spot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.eu-spot-red    { background: radial-gradient(circle, rgba(192,57,43,.55) 0%, transparent 70%); }
.eu-spot-orange { background: radial-gradient(circle, rgba(230,126,34,.50) 0%, transparent 70%); }
.eu-spot-yellow { background: radial-gradient(circle, rgba(241,196,15,.42) 0%, transparent 70%); }

/* Top "check levels" label */
.eu-map-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 600;
  background: rgba(8,16,28,.72);
  color: #e8f4ff;
  font-size: .74rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 4px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.eu-map-label i { color: var(--green); }

/* Full-surface click overlay */
.eu-map-link {
  position: absolute;
  inset: 0;
  z-index: 400;
  display: block;
}

/* PNG is the base map — accurate Netherlands outline with province lines */
.nl-map-png {
  width: 100%; height: auto;
  display: block;
  position: relative;
  z-index: 10;
}

/* Heat overlay — background is set dynamically by JS from pollen-data.json */
.heat-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .68;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.map-legend {
  min-width: 165px;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  padding: 1.2rem;
}

.map-legend h4 {
  font-size: .8rem; font-weight: 700;
  margin-bottom: .9rem;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--gray-600);
}

.legend-item {
  display: flex; align-items: center; gap: .65rem;
  font-size: .86rem;
  margin-bottom: .5rem;
}
.legend-swatch {
  width: 16px; height: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.08);
}

/* province base fills */
.prov-base { fill: #d4e8c8; stroke: #fff; stroke-width: 1; }

/* tooltip */
.map-tooltip {
  position: absolute;
  background: var(--gray-800);
  color: var(--white);
  font-size: .8rem; font-weight: 500;
  padding: .38rem .7rem;
  pointer-events: none;
  display: none;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ── Tips / info boxes ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tip-card {
  background: var(--white);
  padding: 1.4rem 1.3rem;
  border-top: 3px solid var(--green-lt);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.tip-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.tip-card .tip-icon {
  font-size: 1.6rem; margin-bottom: .7rem;
  color: var(--green);
  display: block;
}
.tip-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: -.01em; }
.tip-card p  { font-size: .86rem; color: var(--gray-600); line-height: 1.65; }

/* ── Breadcrumb ── */
.breadcrumb-nav { display: block; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: .6rem 0; }
.breadcrumb-nav .container { /* inherits standard 1100px centering — no overrides */ }
.breadcrumb-nav ol { list-style: none; margin: 0; padding: 0; }
.breadcrumb-nav li { display: inline; font-size: .82rem; color: var(--muted); }
.breadcrumb-nav a { color: var(--green); text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }

/* ── Ambrozie 2026 promo banner ── */
.ambrozie-promo {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 60%, #fde68a 100%);
  border-top: 1px solid #fbbf2440;
  border-bottom: 1px solid #fbbf2440;
  padding: 2.2rem 0;
}
.ambrozie-promo-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.ambrozie-promo-icon {
  font-size: 3.6rem;
  color: #d97706;
  flex-shrink: 0;
  line-height: 1;
}
.ambrozie-promo-content { flex: 1; }
.ambrozie-promo-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  background: #fbbf24;
  color: #78350f;
  padding: .18rem .6rem;
  border-radius: 20px;
  margin-bottom: .55rem;
}
.ambrozie-promo h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 .45rem;
  color: #78350f;
  letter-spacing: -.02em;
}
.ambrozie-promo p {
  font-size: .9rem;
  color: #92400e;
  margin: 0 0 1rem;
  line-height: 1.65;
}
.ambrozie-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #d97706;
  color: #fff;
  text-decoration: none;
  padding: .6rem 1.35rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .88rem;
  transition: background .2s, transform .15s;
}
.ambrozie-promo-btn:hover { background: #b45309; transform: translateY(-1px); }
@media (max-width: 600px) {
  .ambrozie-promo-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .ambrozie-promo-btn { align-self: center; }
}

/* ── FAQ / Article ── */
.article-section { background: var(--white); padding: 3rem 0; }

.article-body { max-width: none; }
.article-body .tips-grid,
.article-body .charts-grid,
.article-body .video-grid { max-width: none; width: 100%; }
.article-body h2 {
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -.02em;
  margin: 2rem 0 .55rem;
  color: var(--green);
}
.article-body p  { font-size: .96rem; margin-bottom: 1rem; line-height: 1.78; }
.article-body ul { margin: .4rem 0 1rem 1.3rem; }
.article-body li { font-size: .94rem; margin-bottom: .35rem; }

/* ── Article featured image ── */
.article-img-wrap {
  float: right;
  margin: 0 0 1.2rem 1.8rem;
  max-width: 340px;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.16);
}
.article-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.article-img-wrap figcaption {
  background: #c8305a;
  color: #fff;
  padding: .42rem .7rem;
  font-size: .72rem;
  line-height: 1.35;
  font-style: italic;
}
@media (max-width: 640px) {
  .article-img-wrap {
    float: none;
    max-width: 100%;
    margin: 0 0 1.2rem 0;
  }
}

/* ── Video lazy / click-to-play ── */
.video-grid-lazy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.video-lazy {
  cursor: pointer;
  border-radius: 3px;
  display: block;
  margin: 0;
}
.vl-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 3px 3px 0 0;
  background: #111;
}
.vl-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s, transform .3s;
}
.video-lazy:hover .vl-media img { opacity: .82; transform: scale(1.02); }
.vl-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(0,0,0,.62);
  border-radius: 50%;
  pointer-events: none;
  transition: background .2s, transform .2s;
}
.vl-play::after {
  content: '';
  position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}
.video-lazy:hover .vl-play {
  background: #2d6a4f;
  transform: translate(-50%, -50%) scale(1.1);
}
.vl-title {
  background: #2d6a4f;
  color: #fff;
  padding: .5rem .75rem;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 0 0 3px 3px;
}
.vl-media iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── FAQ accordion ── */
.faq-list { max-width: none; }
.faq-category {
  font-size: 1rem; font-weight: 700; color: var(--green);
  letter-spacing: .04em; text-transform: uppercase;
  margin: 2.2rem 0 .5rem;
}

details {
  border-bottom: 1px solid var(--gray-300);
  padding: .85rem 0;
}
summary {
  font-weight: 600; font-size: .95rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1.25rem;
  letter-spacing: -.01em;
}
summary::after { content: '+'; font-size: 1.2rem; color: var(--green); font-weight: 300; flex-shrink: 0; margin-top: .05em; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { font-size: .9rem; color: var(--gray-600); margin-top: .65rem; line-height: 1.75; }

/* ── Footer ── */
footer {
  background: var(--gray-800);
  color: #9aa0a6;
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
  font-size: .86rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto auto;
    column-gap: 3rem;
    row-gap: 1rem;
    align-items: start;
  }
  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-cols  { grid-column: 2; grid-row: 1; }
  .footer-copy  { grid-column: 1 / -1; grid-row: 2; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.07); }
}
footer a { color: #9aa0a6; }
footer a:hover { color: var(--white); }
.footer-copy { opacity: .55; font-size: .78rem; margin-top: .5rem; }

/* ── Video cards ── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.video-card { background: var(--white); border: 1px solid var(--gray-300, #e2e8f0); border-radius: 4px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s; }
.tip-card.video-card { border-top: 3px solid var(--green-lt); }
.video-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #000; cursor: pointer; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.video-thumb:hover img { opacity: .85; }
.video-thumb iframe { width: 100%; height: 100%; border: none; display: block; }
.play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.play-btn::after { content: ''; width: 56px; height: 56px; background: rgba(0,0,0,.72); border-radius: 50%; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 28px; transition: background-color .2s, transform .2s; }
.video-thumb:hover .play-btn::after { background-color: var(--green); transform: scale(1.1); }
.video-info { padding: 1rem 1.1rem 1.2rem; }
.video-info h3 { font-size: .95rem; margin: 0 0 .4rem; line-height: 1.35; }
.video-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; flex-wrap: wrap; }
.video-lang { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 4px; background: var(--gray-100, #f1f5f9); color: #475569; }
.video-lang.nl { background: #dbeafe; color: #1e40af; }
.video-source { font-size: .78rem; color: #64748b; }
.video-info p { font-size: .83rem; color: #475569; margin: 0; line-height: 1.5; }
[data-theme="dark"] .video-card { background: #1e2428; border-color: #2d3338; }
[data-theme="dark"] .video-info h3 { color: #e2e8f0; }
[data-theme="dark"] .video-info p { color: #94a3b8; }
[data-theme="dark"] .video-lang { background: #2d3338; color: #94a3b8; }
[data-theme="dark"] .video-lang.nl { background: #1e3a5f; color: #93c5fd; }

/* Footer brand block */
.footer-brand { display: flex; flex-direction: column; gap: .25rem; }
.footer-logo { font-size: 1.05rem; color: #fff; display: flex; align-items: center; gap: .4rem; }
.footer-logo i, .footer-logo svg.logo-icon { color: var(--green-lt, #52b788); }
.footer-tagline { font-size: .8rem; opacity: .6; margin: 0; }

/* Footer columns grid */
.footer-cols {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
}
.footer-col {
  display: flex; flex-direction: column; gap: .4rem; min-width: 130px;
}
.footer-col-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #6e7b74; margin-bottom: .2rem;
}
.footer-col a { color: #9aa0a6; text-decoration: none; font-size: .84rem; line-height: 1.4; }
.footer-col a:hover { color: #fff; }

/* Footer nav (legacy single-row, kept for compatibility) */
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.footer-nav a { color: #9aa0a6; text-decoration: none; font-size: .84rem; }
.footer-nav a:hover { color: #fff; }

/* ── Hamburger button (hidden on desktop) ── */
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  padding: .32rem .65rem;
  cursor: pointer;
  font-size: 1rem;
  align-items: center;
  margin-left: .5rem;
  flex-shrink: 0;
}
.menu-btn:hover { color: var(--green); border-color: var(--green); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  padding: .5rem 1.5rem 1rem;
}
.mobile-nav a {
  font-size: .85rem; font-weight: 500;
  color: var(--gray-800);
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-100);
  letter-spacing: .01em;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--green); text-decoration: none; }
.mobile-nav.open { display: flex; }

[data-theme="dark"] .mobile-nav {
  background: #22272b;
  border-color: var(--gray-300);
}
[data-theme="dark"] .mobile-nav a { border-color: var(--gray-300); }
[data-theme="dark"] .menu-btn { border-color: var(--gray-300); color: var(--gray-600); }

/* ── Responsive ── */
@media (max-width: 780px) {
  .pollen-grid, .tips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  nav { display: none; }
  .theme-btn { display: none; }
  .menu-btn { display: flex; }
  .nav-inner { padding: .3rem 1rem; }
  .logo-text { font-size: 1.2rem; }
  .logo-icon { font-size: 1.2rem; width: 1.2rem; height: 1.2rem; }
  .hero { padding: .75rem 0; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: .4rem; padding: 0 1rem; }
  .hero-inner h1 { white-space: normal; font-size: 1.45rem; }
  .hero-text p { font-size: .82rem; }
  .hero-meta { display: none; }
  .logo { margin-right: auto; }
  .install-nav-btn { padding: 0 .55rem; margin-left: .3rem; }
  .install-label { display: none; }
  .badge { padding: .2rem .6rem; font-size: .75rem; }
  .today-card { grid-template-columns: 1fr; }
  .today-panel { flex-direction: row; padding: 1rem 1.2rem; gap: 1rem; justify-content: flex-start; text-align: left; }
  .today-panel-date { margin-top: 0; }
  .pm-row { grid-template-columns: 1.2rem 1fr 1fr 3.5rem; }
}

/* ── Mobile nav extras ── */
.mobile-divider { border: none; border-top: 1px solid var(--gray-100); margin: .3rem 0; }
.mobile-lang-row {
  display: flex; gap: .25rem; flex-wrap: wrap;
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-lang-row a {
  font-size: .75rem; font-weight: 600;
  padding: .18rem .38rem;
  border-radius: 3px;
  color: var(--gray-600);
  border: 1px solid transparent;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.mobile-lang-row a:hover  { color: var(--green); border-color: var(--green); }
.mobile-lang-row a.active { color: var(--green); border-color: var(--green); }
.mobile-theme-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 0;
  font-size: .92rem; font-weight: 500;
  color: var(--gray-800);
}
.mobile-theme-row button {
  background: none; border: 1px solid var(--gray-300);
  color: var(--gray-600); padding: .3rem .65rem;
  cursor: pointer; font-size: .95rem; border-radius: 3px;
  transition: color .15s, border-color .15s;
}
.mobile-theme-row button:hover { color: var(--green); border-color: var(--green); }
[data-theme="dark"] .mobile-divider { border-color: var(--gray-300); }
[data-theme="dark"] .mobile-lang-row { border-color: var(--gray-300); }
[data-theme="dark"] .mobile-lang-row a { color: var(--gray-600); }
[data-theme="dark"] .mobile-lang-row a.active { color: #fff; border-color: var(--green); }
[data-theme="dark"] .mobile-theme-row { color: var(--gray-600); }
[data-theme="dark"] .mobile-theme-row button { border-color: var(--gray-300); color: var(--gray-600); }
@media (max-width: 480px) {
  .pollen-grid, .tips-grid { grid-template-columns: 1fr; }
}

/* ── Pollen trend charts ── */
/* ── Daily bulletin ── */
.bulletin-section { background: #fff8e7; padding: 1rem 0 1.6rem; margin-top: 2.2rem; border-bottom: 1px solid #f0e0b0; }
.bulletin-card { max-width: none; }
.bulletin-header {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .7rem;
  color: #7a5c00;
}
.bulletin-header i { font-size: 1.1rem; }
.bulletin-header h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.bulletin-date { font-size: .75rem; color: #9a7a20; margin-left: auto; }
.bulletin-alert {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(192,57,43,.1); border-left: 3px solid #c0392b;
  padding: .45rem .8rem; border-radius: 0 4px 4px 0;
  font-size: .83rem; font-weight: 600; color: #c0392b;
  margin-bottom: .7rem;
}
.bulletin-summary {
  font-size: .9rem; line-height: 1.65; color: var(--text, #111);
  margin: 0 0 .8rem;
}
.bulletin-tips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .35rem;
}
.bulletin-tips li {
  font-size: .83rem; color: var(--text, #111);
  display: flex; align-items: flex-start; gap: .5rem;
}
.bulletin-tips li::before {
  content: '✓';
  color: #27ae60; font-weight: 700; flex-shrink: 0; margin-top: .05rem;
}
[data-theme="dark"] .bulletin-section { background: #1e1a0e; border-color: #3a3010; }
[data-theme="dark"] .bulletin-header,
[data-theme="dark"] .bulletin-date { color: #d4a800; }
[data-theme="dark"] .bulletin-alert { background: rgba(220,80,60,.18); border-color: #e05040; color: #f4a090; }
.bulletin-meta { font-size: .75rem; color: #9a7a20; margin: .6rem 0 0; }
[data-theme="dark"] .bulletin-meta { color: #7a6030; }

.charts-section { background: var(--gray-50); padding: 3rem 0; }

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.chart-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  padding: 1.2rem 1.2rem .9rem;
  box-shadow: var(--shadow);
}

.chart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .9rem;
  flex-wrap: wrap; gap: .3rem;
}

.chart-header h3 {
  font-size: .95rem; font-weight: 600;
  letter-spacing: -.01em; margin: 0;
}

.chart-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: .25rem 0 .6rem;
  gap: .5rem;
}

.chart-season {
  font-size: .71rem;
  color: var(--gray-500);
  white-space: nowrap;
}


.chart-card canvas {
  max-height: 130px;
}

@media (max-width: 780px) {
  .charts-grid { grid-template-columns: 1fr; }
}

/* ── Dark mode ── */
[data-theme="dark"] {
  --green:   #52b788;
  --green-lt:#40916c;
  --gray-50: #181c1f;
  --gray-100:#22272b;
  --gray-300:#3a4045;
  --gray-600:#9aa0a6;
  --gray-800:#d8dcdf;
  --text:    #e8eaed;
  --white:   #242a2f;
  --shadow:  0 1px 6px rgba(0,0,0,.35);
}
[data-theme="dark"] body { background: var(--gray-50); }
[data-theme="dark"] header { background: #22272b; border-color: var(--green); }
[data-theme="dark"] .hero {
  background: #163d29;
  color: #fff;
}
[data-theme="dark"] .map-section,
[data-theme="dark"] .article-section { background: #22272b; }
[data-theme="dark"] .ambrozie-promo {
  background: linear-gradient(135deg, #2a1f07 0%, #3d2a0a 60%, #4a3010 100%);
  border-color: #7c5c1a40;
}
[data-theme="dark"] .ambrozie-promo h2 { color: #fde68a; }
[data-theme="dark"] .ambrozie-promo p { color: #fcd34d; }
[data-theme="dark"] .ambrozie-promo-icon { color: #fbbf24; }
[data-theme="dark"] section#tips { background: #1d2226 !important; }
[data-theme="dark"] .level-banner { background: #22272b; border-color: var(--yellow); }
[data-theme="dark"] .pollen-card,
[data-theme="dark"] .tip-card,
[data-theme="dark"] .chart-card,
[data-theme="dark"] .today-card { background: #22272b; }
[data-theme="dark"] .pm-track { background: #3a4045; }
[data-theme="dark"] .pollen-card:hover { background: #2c3135; }
[data-theme="dark"] .nl-map-container { border-color: #3a4a5a; background: rgba(39,174,96,.12); }
[data-theme="dark"] details { border-color: var(--gray-300); }
[data-theme="dark"] footer { background: #111518; }
[data-theme="dark"] .pollen-grid { background: var(--gray-300); border-color: var(--gray-300); }
[data-theme="dark"] nav a { color: var(--gray-800); }
[data-theme="dark"] .theme-btn { border-color: var(--gray-300); color: var(--gray-600); }
[data-theme="dark"] .article-body h2 { color: var(--green); }

/* ── PWA install nav button ── */
.install-nav-btn {
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 3px;
  height: 36px;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  cursor: pointer; font-size: .82rem; font-weight: 600; font-family: inherit;
  padding: 0 .75rem;
  margin-left: .5rem; flex-shrink: 0;
  transition: background .2s, color .2s;
}
.install-nav-btn:hover { background: var(--green); color: #fff; }
[data-theme="dark"] .install-nav-btn { border-color: var(--green); color: var(--green); }
[data-theme="dark"] .install-nav-btn:hover { background: var(--green); color: #fff; }
.install-label { font-size: .82rem; }


/* iOS install tooltip */
.ios-install-tip {
  position: fixed; bottom: 72px; right: 12px; z-index: 300;
  background: #ffffff; border: 1px solid var(--gray-300);
  border-radius: 10px; padding: 1.2rem 1.4rem 1.2rem 1.2rem;
  max-width: 300px; width: calc(100vw - 24px);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  animation: tip-in .18s ease;
}
@keyframes tip-in { from{opacity:0;transform:scale(.92) translateY(8px)} to{opacity:1;transform:none} }
.ios-install-tip::after {
  content: ''; position: absolute; bottom: -7px; right: 22px;
  width: 13px; height: 13px; background: #ffffff;
  border-right: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300);
  transform: rotate(45deg);
}
.ios-tip-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; font-size: .85rem;
  cursor: pointer; color: var(--gray-600); line-height: 1;
}
.ios-install-tip strong { font-size: .88rem; color: var(--green); display: block; margin-bottom: .4rem; }
.ios-install-tip ol { padding-left: 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.ios-install-tip li { font-size: .8rem; color: var(--gray-700); }
.ios-install-tip .ib-icon-inline { display: inline-block; font-size: .85rem; background: var(--gray-100); padding: 0 4px; border-radius: 3px; }

/* Notification badge button */
.badge-btn {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: inherit;
  box-sizing: border-box;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.badge-btn:hover { background: rgba(255,255,255,.25); }
.badge-btn.notif-on { background: rgba(255,255,255,.25); border-color: #fff; }

/* ── Europa promo banner ───────────────────────────── */
.europa-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #f0faf0 100%);
  border: 1.5px solid var(--green);
  border-radius: 4px;
  padding: 1rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .15s;
}
.europa-banner:hover {
  box-shadow: 0 4px 20px rgba(34,139,34,.18);
  transform: translateY(-1px);
}
[data-theme="dark"] .europa-banner {
  background: linear-gradient(135deg, #1a2e1a 0%, #1e3420 100%);
  border-color: var(--green);
}
.europa-banner-icon {
  font-size: 2rem;
  color: var(--green);
  flex-shrink: 0;
  line-height: 1;
}
.europa-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.europa-banner-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.europa-banner-text span {
  font-size: .85rem;
  color: var(--muted, #666);
}
.europa-banner-cta {
  font-size: .85rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .europa-banner { flex-wrap: wrap; gap: .6rem; }
  .europa-banner-cta { width: 100%; text-align: right; }
}

/* ── Judete SVG choropleth map ─────────────────────────────────────────── */
.judete-wrap { max-width: 760px; margin: 0 auto; }
.judete-map-box { position: relative; }
#judete-svg { width: 100%; height: auto; display: block; }
#judete-svg path { transition: opacity .12s; cursor: default; }
#judete-svg path:hover { opacity: .72; stroke: #444 !important; stroke-width: 1.2 !important; }
.judete-tip {
  position: fixed; pointer-events: none; display: none;
  background: rgba(28,33,38,.94); color: #fff; font-size: .78rem; line-height: 1.5;
  padding: .32rem .7rem; border-radius: 5px; white-space: nowrap; z-index: 200;
}
.judete-legend {
  display: flex; flex-wrap: wrap; gap: .35rem .9rem;
  justify-content: center; margin-top: .75rem; font-size: .79rem;
}
.jleg-item { display: flex; align-items: center; gap: .3rem; }
.jleg-dot { width: 13px; height: 13px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
.jleg-geen  { background: #d4e6c3; border: 1px solid #adc9a0; }
.jleg-laag  { background: #a8d060; }
.jleg-matig { background: #f0a830; }
.jleg-hoog  { background: #e05820; }
.jleg-vhoog { background: #a01020; }
[data-theme="dark"] .jleg-geen { background: #2d4a32; border-color: #3a6040; }
[data-theme="dark"] #judete-svg path { stroke: #1a2020 !important; }

