/*
Theme Name:  Babypret
Theme URI:   https://babypret.net
Description: Babypret.net - Je baby van A tot Z
Author:      Babypret.net
Version:     1.0.0
Text Domain: babypret
*/

/* ══════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════ */
:root {
  --teal:        #009999;
  --teal-dark:   #007575;
  --teal-darker: #004E4E;
  --teal-light:  #00BBBB;
  --teal-pale:   #E6F5F5;
  --teal-pale2:  #F0FAFA;
  --orange:      #FF8542;
  --orange-light:#FFF0E8;
  --text:        #1C2B2B;
  --text-mid:    #4A6060;
  --text-light:  #7A9090;
  --border:      #D4EAEA;
  --white:       #FFFFFF;
  --off-white:   #F7FBFB;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --shadow-sm:   0 2px 8px rgba(0,100,100,0.08);
  --shadow-md:   0 8px 24px rgba(0,100,100,0.13);
  --shadow-lg:   0 16px 48px rgba(0,100,100,0.18);
  --t:           all 0.2s ease;
  --max-w:       1200px;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
h1,h2,h3,h4,h5 { font-family: 'Nunito', sans-serif; line-height: 1.2; color: var(--text); }
a               { color: var(--teal); text-decoration: none; }
a:hover         { color: var(--teal-dark); }
img             { max-width: 100%; height: auto; display: block; }
ul, ol          { list-style: none; }

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 0; }
.section--alt { background: var(--off-white); }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 100px;
  background: var(--teal-pale); color: var(--teal-dark);
}
.badge--orange { background: var(--orange-light); color: var(--orange); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  cursor: pointer; border: none; transition: var(--t); text-decoration: none;
  line-height: 1;
}
.btn-primary         { background: var(--teal); color: white; }
.btn-primary:hover   { background: var(--teal-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline         { background: white; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover   { background: var(--teal-pale); color: var(--teal-dark); }
.btn-ghost           { background: transparent; color: var(--teal); padding: 0; font-size: 14px; }
.btn-ghost::after    { content: ' →'; }
.btn-ghost:hover     { color: var(--teal-dark); }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 21px;
  color: var(--teal-darker); text-decoration: none;
}
.site-logo__mark {
  width: 38px; height: 38px; background: var(--teal); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.site-logo em { font-style: normal; color: var(--text-mid); font-weight: 500; font-size: 18px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-family: 'Nunito', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--text-mid); padding: 7px 11px; border-radius: var(--radius-sm);
  transition: var(--t); white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.current-menu-item { color: var(--teal); background: var(--teal-pale); }

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

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--t);
}

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 68px 0 0 0;
  background: white; z-index: 199; padding: 24px;
  flex-direction: column; gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 18px;
  color: var(--text); padding: 14px 16px; border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border); transition: var(--t);
}
.mobile-nav a:hover { color: var(--teal); background: var(--teal-pale); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: linear-gradient(140deg, var(--teal-darker) 0%, var(--teal-dark) 45%, var(--teal) 100%);
  padding: 88px 0 104px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 560px; height: 560px;
  background: rgba(255,255,255,.05); border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -25%; left: 8%;
  width: 360px; height: 360px;
  background: rgba(255,255,255,.04); border-radius: 50%; pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 48px; align-items: center; position: relative; z-index: 1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.95);
  padding: 6px 16px; border-radius: 100px;
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(36px, 5.5vw, 60px); font-weight: 900;
  color: white; margin-bottom: 18px; line-height: 1.08;
}
.hero__title span { color: #7FE0E0; }
.hero__sub {
  font-size: 18px; color: rgba(255,255,255,.82);
  margin-bottom: 36px; max-width: 500px; line-height: 1.6;
}
.hero__search {
  display: flex; background: white; border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow-lg); max-width: 500px; margin-bottom: 44px;
}
.hero__search input {
  flex: 1; border: none; padding: 15px 18px; font-size: 15px;
  font-family: 'Open Sans', sans-serif; outline: none; color: var(--text);
}
.hero__search input::placeholder { color: var(--text-light); }
.hero__search button {
  background: var(--orange); color: white; border: none;
  padding: 15px 24px; font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: var(--t);
}
.hero__search button:hover { background: #e07030; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: 'Nunito', sans-serif; font-size: 26px; font-weight: 900; color: white; }
.hero__stat span   { font-size: 13px; color: rgba(255,255,255,.7); }

.hero__card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg); padding: 32px 24px;
}
.hero__card-icon   { font-size: 52px; text-align: center; margin-bottom: 14px; }
.hero__card h3     { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; color: white; margin-bottom: 14px; text-align: center; }
.hero__card-weeks  { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.hero__card-week   {
  background: rgba(255,255,255,.15); border-radius: 7px; padding: 8px 4px;
  text-align: center; font-family: 'Nunito', sans-serif; font-size: 11px;
  font-weight: 700; color: rgba(255,255,255,.85);
}
.hero__card-week.active { background: white; color: var(--teal-dark); }

/* ══════════════════════════════════════════
   CATEGORIE GRID
══════════════════════════════════════════ */
.cat-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.cat-card {
  background: white; border-radius: var(--radius-md); padding: 28px 22px;
  border: 1.5px solid var(--border); transition: var(--t);
  display: block; text-decoration: none; color: inherit;
}
.cat-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit; }
.cat-card__ico   { width: 52px; height: 52px; background: var(--teal-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; }
.cat-card__title { font-family: 'Nunito', sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.cat-card__desc  { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin-bottom: 16px; }
.cat-card__cta   { font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 700; color: var(--teal); }
.cat-card:hover .cat-card__cta { color: var(--teal-dark); }

/* ══════════════════════════════════════════
   TOOLS BAND
══════════════════════════════════════════ */
.tools-band     { background: var(--teal-dark); padding: 72px 0; }
.tools-band__hd { text-align: center; margin-bottom: 44px; }
.tools-band__eyebrow {
  display: inline-block; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 10px;
}
.tools-band__title { font-size: clamp(22px,3vw,32px); font-weight: 800; color: white; }
.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tool-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md); padding: 32px 28px; transition: var(--t);
}
.tool-card:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.tool-card__ico   { font-size: 40px; margin-bottom: 16px; }
.tool-card__title { font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 800; color: white; margin-bottom: 8px; }
.tool-card__desc  { font-size: 14px; color: rgba(255,255,255,.72); margin-bottom: 20px; line-height: 1.55; }
.tool-row         { display: flex; gap: 8px; }
.tool-row input   { flex: 1; padding: 11px 14px; border-radius: var(--radius-sm); border: none; font-size: 14px; font-family: 'Open Sans', sans-serif; background: rgba(255,255,255,.92); color: var(--text); outline: none; }
.tool-row button, .tool-btn  { padding: 11px 18px; background: var(--orange); color: white; border: none; border-radius: var(--radius-sm); font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; transition: var(--t); white-space: nowrap; }
.tool-row button:hover, .tool-btn:hover { background: #e07030; }
.tool-tags  { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tool-tag   { padding: 4px 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.9); font-family: 'Nunito', sans-serif; cursor: pointer; transition: var(--t); }
.tool-tag:hover { background: rgba(255,255,255,.2); }

/* ══════════════════════════════════════════
   ARTIKEL KAARTEN
══════════════════════════════════════════ */
.arts-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.arts-hd h2 { font-size: clamp(22px,3vw,32px); font-weight: 800; }
.arts-hd p  { color: var(--text-mid); margin-top: 4px; }
.arts-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.art-card {
  background: white; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); overflow: hidden;
  transition: var(--t); display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.art-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal); color: inherit; }
.art-card__img  { height: 180px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; font-size: 52px; overflow: hidden; }
.art-card__img img { width: 100%; height: 100%; object-fit: cover; }
.art-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.art-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.art-card__date { font-size: 12px; color: var(--text-light); }
.art-card__title { font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; line-height: 1.3; flex: 1; }
.art-card:hover .art-card__title { color: var(--teal); }
.art-card__excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.art-card__ft { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto; }
.art-card__rt { font-size: 12px; color: var(--text-light); }

/* ══════════════════════════════════════════
   SINGLE ARTIKEL
══════════════════════════════════════════ */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 12px 0; }
.bc-list    { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bc-list a  { font-size: 13px; color: var(--text-mid); transition: var(--t); }
.bc-list a:hover { color: var(--teal); }
.bc-sep     { color: var(--text-light); font-size: 13px; }
.bc-list li:last-child a { color: var(--text); font-weight: 600; pointer-events: none; }

.art-hero        { background: var(--off-white); padding: 52px 0 0; border-bottom: 1px solid var(--border); }
.art-hero__inner { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.art-hero__title { font-size: clamp(26px,4.5vw,46px); font-weight: 900; margin: 16px 0; line-height: 1.1; }
.art-hero__intro { font-size: 18px; color: var(--text-mid); line-height: 1.65; margin-bottom: 28px; max-width: 700px; }
.art-meta        { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--border); }
.art-meta__item  { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-mid); }
.art-meta__item strong { color: var(--text); font-weight: 600; }

/* ── ADVERTENTIEBLOKKEN ──────────────────────────────────────────
   Een vaste minimumhoogte reserveert de ruimte voordat de advertentie
   geladen is. Zonder dat verspringt de tekst zodra hij binnenkomt, en dat
   telt mee in de Core Web Vitals (layout shift). */
.ad-blok { margin: 32px 0; min-height: 120px; }
.ad-blok--in-article { margin: 40px 0; }
.ad-blok--display { margin: 0; min-height: 280px; }

/* In het kaartenraster neemt het blok de plaats van één kaart in, zodat
   het raster niet openbreekt. */
.ad-blok--in-feed { margin: 0; min-height: 300px; }

/* Heeft Google geen passende advertentie, dan zet hij data-ad-status op
   "unfilled". Het hele omhulsel moet dan weg: alleen de <ins> verbergen
   laat de gereserveerde minimumhoogte staan, en dus een gat in de pagina.

   De reservering zelf vervalt ook zodra er wél een advertentie is: die
   bepaalt vanaf dat moment de hoogte. min-height voorkomt alleen het
   verspringen tijdens het laden. */
.ad-blok:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-blok:has(ins[data-ad-status="filled"])   { min-height: 0; }

/* Uitgelichte afbeelding bovenaan het artikel. Vaste verhouding, zodat de
   tekst niet verspringt terwijl het beeld laadt (voorkomt layout shift). */
.art-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 780 / 360;
  object-fit: cover;
  margin: 4px 0 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 52px 24px; align-items: start; }

.art-body h2 { font-size: 26px; font-weight: 800; margin: 40px 0 14px; padding-top: 40px; border-top: 1px solid var(--border); }
.art-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.art-body h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: var(--teal-dark); }
.art-body p  { margin-bottom: 18px; }
.art-body ul, .art-body ol { margin: 0 0 18px 24px; list-style: initial; }
.art-body ol { list-style: decimal; }
.art-body li { margin-bottom: 8px; line-height: 1.7; }
.art-body a  { color: var(--teal); text-decoration: underline; }

.callout       { background: var(--teal-pale); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 24px; margin: 28px 0; }
.callout__title { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; color: var(--teal-dark); margin-bottom: 8px; }

.faq           { margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--border); }
.faq__title    { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.faq__sub      { color: var(--text-mid); margin-bottom: 28px; }
.faq-item      { border: 1.5px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-q         { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; transition: var(--t); font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 700; background: white; user-select: none; }
.faq-q:hover   { background: var(--teal-pale2); }
.faq-q.open    { background: var(--teal-pale); color: var(--teal-dark); }
.faq-icon      { font-size: 20px; transition: transform .2s ease; flex-shrink: 0; margin-left: 12px; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a         { display: none; padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: var(--text-mid); }
.faq-a.open    { display: block; }

.sidebar       { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card  { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.sidebar-card__hd   { background: var(--teal-pale); padding: 14px 18px; font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); }
.sidebar-card__body { padding: 18px; }

.toc-list      { list-style: none; }
.toc-list a    { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; color: var(--text-mid); border-bottom: 1px solid var(--border); transition: var(--t); font-weight: 500; }
.toc-list a:hover { color: var(--teal); text-decoration: none; }
.toc-list li:last-child a { border-bottom: none; }
.toc-num       { font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700; color: var(--teal); width: 20px; flex-shrink: 0; }

.side-art      { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: var(--t); }
.side-art:last-child { border-bottom: none; padding-bottom: 0; }
.side-art:hover { color: var(--teal); }
.side-art__thumb { width: 56px; height: 56px; border-radius: 8px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; overflow: hidden; }
.side-art__thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-art__title { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.35; margin-bottom: 4px; }
.side-art__rt    { font-size: 12px; color: var(--text-light); }

/* ══════════════════════════════════════════
   NIEUWSBRIEF
══════════════════════════════════════════ */
.newsletter     { background: var(--text); padding: 72px 0; }
.nl-inner       { text-align: center; max-width: 540px; margin: 0 auto; }
.nl-inner h2    { font-size: clamp(22px,3vw,32px); font-weight: 800; color: white; margin-bottom: 10px; }
.nl-inner p     { color: rgba(255,255,255,.65); font-size: 16px; margin-bottom: 28px; }
.nl-form        { display: flex; background: white; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-lg); }
.nl-form input  { flex: 1; border: none; padding: 15px 18px; font-size: 15px; font-family: 'Open Sans', sans-serif; outline: none; }
.nl-form button { background: var(--teal); color: white; border: none; padding: 15px 26px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; transition: var(--t); white-space: nowrap; }
.nl-form button:hover { background: var(--teal-dark); }
.nl-note        { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 14px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer    { background: var(--teal-darker); padding: 64px 0 32px; }
.ft-grid        { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ft-logo        { display: flex; align-items: center; gap: 10px; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 19px; color: white; margin-bottom: 14px; }
.ft-logo-mark   { width: 34px; height: 34px; background: rgba(255,255,255,.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ft-tagline     { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; max-width: 240px; }
.ft-col-title   { font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.ft-links       { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-links a     { font-size: 14px; color: rgba(255,255,255,.7); transition: var(--t); }
.ft-links a:hover { color: white; }
.ft-bottom      { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft-copy        { font-size: 13px; color: rgba(255,255,255,.4); }
.ft-bl          { display: flex; gap: 24px; flex-wrap: wrap; }
.ft-bl a        { font-size: 13px; color: rgba(255,255,255,.4); transition: var(--t); }
.ft-bl a:hover  { color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cat-grid    { grid-template-columns: repeat(2,1fr); }
  .hero__card  { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .ft-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .art-layout  { grid-template-columns: 1fr; }
  .sidebar     { position: static; }
}
@media (max-width: 768px) {
  .main-nav    { display: none; }
  .hamburger   { display: flex; }
  .section     { padding: 56px 0; }
  .hero        { padding: 56px 0 72px; }
  .tools-grid  { grid-template-columns: 1fr; }
  .arts-grid   { grid-template-columns: 1fr; }
  .nl-form     { flex-direction: column; }
  .ft-grid     { grid-template-columns: 1fr; gap: 24px; }
  .ft-bottom   { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .cat-grid    { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   HAMBURGER ANIMATIE
══════════════════════════════════════════ */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   ARCHIEF / CATEGORIE HERO
══════════════════════════════════════════ */
.archive-hero    { background: var(--teal-dark); padding: 52px 0; }
.archive-hero h1 { font-size: clamp(28px,4vw,44px); font-weight: 900; color: white; margin-bottom: 8px; }
.archive-hero p  { font-size: 17px; color: rgba(255,255,255,.8); max-width: 560px; }

/* ══════════════════════════════════════════
   PAGINA HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(140deg, var(--teal-darker), var(--teal-dark) 50%, var(--teal));
  padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -5%;
  width: 400px; height: 400px; background: rgba(255,255,255,.05); border-radius: 50%; pointer-events: none;
}
.page-hero h1 { font-size: clamp(30px,5vw,52px); font-weight: 900; color: white; margin-bottom: 12px; position: relative; }
.page-hero p  { font-size: 18px; color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 32px; position: relative; }

/* ══════════════════════════════════════════
   ZOEKBOX (babynamen pagina)
══════════════════════════════════════════ */
.search-box {
  background: white; border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-md);
  max-width: 780px; margin: 0 auto; position: relative;
}
.search-row   { display: flex; gap: 10px; margin-bottom: 14px; }
.search-input {
  flex: 1; padding: 14px 18px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 16px;
  font-family: 'Open Sans', sans-serif; outline: none; transition: var(--t);
}
.search-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,153,153,.1); }
.search-btn {
  padding: 14px 28px; background: var(--teal); color: white;
  border: none; border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: var(--t); white-space: nowrap;
}
.search-btn:hover { background: var(--teal-dark); }

.filters      { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px; border: 2px solid var(--border);
  background: white; font-family: 'Nunito', sans-serif; font-weight: 700;
  font-size: 13px; cursor: pointer; transition: var(--t); color: var(--text-mid);
}
.filter-btn:hover  { border-color: var(--teal); color: var(--teal); }
.filter-btn.active { background: var(--teal); color: white; border-color: var(--teal); }

/* ══════════════════════════════════════════
   LETTER BAR
══════════════════════════════════════════ */
.letter-section { padding: 32px 0 8px; }
.letter-bar     { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.letter-btn {
  width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--border);
  background: white; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--text-mid); cursor: pointer; transition: var(--t);
  display: flex; align-items: center; justify-content: center;
}
.letter-btn:hover  { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.letter-btn.active { background: var(--teal); color: white; border-color: var(--teal); }

/* ══════════════════════════════════════════
   NAMEN RESULTATEN
══════════════════════════════════════════ */
.results-section { padding: 32px 0 64px; }
.results-header  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.results-count   { font-family: 'Nunito', sans-serif; font-size: 15px; color: var(--text-mid); }
.results-count strong { color: var(--text); }

.attrib-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--teal-pale); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 24px;
  font-size: 14px; color: var(--text-mid);
}
.attrib-banner strong { color: var(--text); }
.attrib-banner a      { font-weight: 700; color: var(--teal); }

.name-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.name-card {
  background: white; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 8px;
  transition: var(--t); text-decoration: none; color: inherit;
}
.name-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.name-card__gender {
  font-family: 'Nunito', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 100px; display: inline-block; align-self: flex-start;
}
.name-card__gender--jongen  { background: #EEF6FF; color: #2563EB; }
.name-card__gender--meisje  { background: #FFF0F6; color: #C026D3; }
.name-card__gender--neutraal { background: var(--teal-pale); color: var(--teal-dark); }
.name-card__name     { font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 800; color: var(--text); line-height: 1; }
.name-card:hover .name-card__name { color: var(--teal); }
.name-card__excerpt  { font-size: 13px; color: var(--text-mid); line-height: 1.5; flex: 1; }
.name-card__herkomst { font-size: 11px; color: var(--text-light); font-style: italic; }
.name-card__cta      { font-size: 12px; color: var(--teal); font-weight: 600; font-family: 'Nunito', sans-serif; }

/* ══════════════════════════════════════════
   LOADING / ERROR / LEEG
══════════════════════════════════════════ */
.state-box { text-align: center; padding: 64px 24px; font-family: 'Nunito', sans-serif; color: var(--text-mid); }
.state-box__icon { font-size: 48px; margin-bottom: 16px; }
.state-box h3    { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.state-box p     { font-size: 15px; max-width: 380px; margin: 0 auto; }

.spinner {
  width: 40px; height: 40px; border: 3px solid var(--teal-pale);
  border-top-color: var(--teal); border-radius: 50%;
  animation: spin .7s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════
   PAGINERING
══════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: white;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--text-mid); cursor: pointer; transition: var(--t);
  padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
}
.page-btn:hover  { border-color: var(--teal); color: var(--teal); }
.page-btn.active { background: var(--teal); color: white; border-color: var(--teal); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* WordPress paginering */
.wp-pagination { margin-top: 48px; text-align: center; }
.wp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: white;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--text-mid); padding: 0 12px; text-decoration: none; transition: var(--t); margin: 0 3px;
}
.wp-pagination .page-numbers:hover   { border-color: var(--teal); color: var(--teal); }
.wp-pagination .page-numbers.current { background: var(--teal); color: white; border-color: var(--teal); }
.wp-pagination .page-numbers.dots    { border: none; background: none; cursor: default; }

/* ══════════════════════════════════════════
   POPULAIRE NAMEN
══════════════════════════════════════════ */
.popular-section  { background: var(--off-white); padding: 56px 0; border-top: 1px solid var(--border); }
.pop-grid         { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pop-list__title  { font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.pop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: var(--t);
}
.pop-item:last-child { border-bottom: none; }
.pop-item:hover      { color: var(--teal); }
.pop-item__num   { font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 700; color: var(--text-light); width: 22px; flex-shrink: 0; }
.pop-item__name  { font-family: 'Nunito', sans-serif; font-size: 17px; font-weight: 800; flex: 1; }
.pop-item__arrow { font-size: 14px; color: var(--text-light); transition: var(--t); }
.pop-item:hover .pop-item__arrow { color: var(--teal); transform: translateX(3px); }

/* ══════════════════════════════════════════
   RESPONSIVE — aanvullingen
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .search-row  { flex-direction: column; }
  .pop-grid    { grid-template-columns: 1fr; }
  .name-grid   { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .art-layout  { padding: 32px 16px 48px; }
}
@media (max-width: 480px) {
  .name-grid   { grid-template-columns: 1fr 1fr; }
}

/* ── BRONVERMELDINGEN ─────────────────────────────────────────── */
.article-sources {
  margin-top: 48px;
  padding: 20px 24px;
  background: #f8f9fa;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}
.article-sources h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-mid);
  margin: 0 0 10px;
}
.article-sources ul {
  margin: 0;
  padding-left: 18px;
}
.article-sources li {
  margin-bottom: 4px;
}
.article-sources a {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* ── ART-META REVIEW REGEL ────────────────────────────────────── */
.art-meta__item--review {
  font-size: 12px;
  color: var(--text-mid);
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 8px;
  margin-top: 4px;
  width: 100%;
}

/* ── AUTEUR BOX ───────────────────────────────────────────────── */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 48px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8ecef;
}
.author-box__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-box__name {
  font-weight: 800;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.author-box__title {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.author-box__bio {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 600px) {
  .author-box { flex-direction: column; }
}
