/* ============================================================
   DIBBS BLOG, shared stylesheet
   Used by /blog.html and all /blog-*.html post pages
   ============================================================ */

:root {
  --accent: #474BF5;
  --accent-tint: rgba(71, 75, 245, 0.08);
  --accent-glow: rgba(71, 75, 245, 0.18);
  --logo-blue: #474BF5;
  --logo-dot:  #FF462F;
  --bg:        #FFFFFF;
  --bg-alt:    #F8F7F4;
  --ink:       #0D1B2A;
  --body:      #4B5563;
  --muted:     #9CA3AF;
  --border:    #E5E7EB;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* defensief vangnet tegen horizontale overflow op smal scherm */
}

/* Globale safeguards voor lange inhoud op smalle viewports */
img, svg, video, iframe { max-width: 100%; height: auto; }
pre, code { white-space: pre-wrap; word-wrap: break-word; }
table { max-width: 100%; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
/* Nav uses a wider container so the many links don't get squeezed */
.nav .wrap { max-width: 1320px; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
}
.logo svg, .logo img { height: 36px; width: auto; display: block; }
.logo .logo-letter { fill: var(--logo-blue); }
.logo .logo-dot    { fill: var(--logo-dot); }
.foot-brand .logo, .foot-brand .logo svg, .foot-brand .logo img { height: 40px; }

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity .2s ease, color .2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13,27,42,0.18); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-lg { height: 56px; padding: 0 34px; font-size: 16px; }

/* ---------- ICON SYSTEM (replaces emojis) ---------- */
.ico-svg {
  display: inline-block;
  width: 60%;
  height: 60%;
  flex-shrink: 0;
  vertical-align: middle;
}
.feature-icon .ico-svg,
.eb-ico .ico-svg,
.contact-card-ico .ico-svg { width: 55%; height: 55%; }
.float-card .ico .ico-svg { width: 60%; height: 60%; }
.socials a .ico-svg { width: 18px; height: 18px; flex-shrink: 0; display: block; color: inherit; vertical-align: middle; }
.socials a:hover .ico-svg { color: #fff; }
.socials a svg { width: 18px; height: 18px; display: block; } /* defensieve fallback */
.pill .ico-svg { width: 1.05em; height: 1.05em; }
.ps-cat-ico .ico-svg,
.ps-icon .ico-svg,
.ps-filter .ico-svg { width: 65%; height: 65%; }
.ps-card-tag .ico-svg { width: 0.9em; height: 0.9em; }
.ps-item-heart .ico-svg { width: 14px; height: 14px; color: #FF462F; }
.city-pill .check .ico-svg { width: 60%; height: 60%; }
.stat-card .ico-svg, .step-num .ico-svg { width: 55%; height: 55%; }
.eb-bullets li .ico-svg,
.bullets li .ico-svg,
.feature-card ul li .ico-svg { width: 14px; height: 14px; color: var(--accent); position: absolute; left: 0; top: 4px; }
button .ico-svg, .btn .ico-svg { width: 1.1em; height: 1.1em; vertical-align: -0.15em; }

/* ---------- AUDIENCE TOGGLE (cross-page) ---------- */
.audience-toggle {
  display: inline-flex;
  background: var(--bg-alt);
  border-radius: 100px;
  padding: 4px;
  border: 1px solid var(--border);
}
.audience-toggle button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--body);
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.audience-toggle button.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Audience-specific items (default: hidden, shown based on body.mode-X) */
.audience-student, .audience-business { display: none; }
body.mode-student .audience-student { display: block; }
body.mode-business .audience-business { display: block; }

/* Inline variant for nav links and inline text */
.audience-student.inline, .audience-business.inline { display: none; }
body.mode-student .audience-student.inline { display: inline-block; }
body.mode-business .audience-business.inline { display: inline-block; }

/* Compact nav layout when toggle is present */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- LANGUAGE SWITCHER ---------- */
/* ============== LOCALE DROPDOWN (mini-pill) ============== */
.locale-toggle {
  position: relative;
  display: inline-block;
}
.locale-trigger {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.locale-trigger:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.locale-trigger .locale-chevron {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  transition: transform .2s ease;
  opacity: 0.7;
}
.locale-toggle.open .locale-trigger {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(13,27,42,0.08);
}
.locale-toggle.open .locale-chevron { transform: rotate(180deg); opacity: 1; }

.locale-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  box-shadow: 0 10px 28px rgba(13,27,42,0.10);
}
.locale-toggle.open .locale-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.locale-menu li { margin: 0; padding: 0; line-height: 1; }
.locale-menu button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.locale-menu button:hover {
  background: var(--bg-alt);
  color: var(--accent);
}
.locale-menu button[aria-selected="true"] { display: none; }
.nav-right .btn {
  height: 44px;
  padding: 0 20px;
  font-size: 14.5px;
}

/* Intermediate breakpoint, tighten spacing on smaller laptops before mobile collapse */
@media (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
  .nav-inner { gap: 14px; }
  .audience-toggle button { padding: 7px 12px; font-size: 12.5px; }
  .nav-right .btn { padding: 0 16px; font-size: 13.5px; height: 42px; }
}

/* ---------- BLOG INDEX HERO ---------- */
.blog-hero {
  padding: 80px 0 56px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 8px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.blog-hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--ink);
}
.blog-hero h1 .hl { color: var(--accent); }
.blog-hero .lede {
  font-size: 19px;
  color: var(--body);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.blog-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.blog-cats button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}
.blog-cats button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.blog-cats button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---------- BLOG GRID ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(13,27,42,0.10);
  border-color: var(--accent);
}
.blog-card .cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.blog-card[data-cat="kot"]      .cat { color: #FF462F; background: rgba(255,70,47,0.08); }
.blog-card[data-cat="werk"]     .cat { color: #0F6E56; background: rgba(15,110,86,0.08); }
.blog-card[data-cat="mentaal"]  .cat { color: #534AB7; background: rgba(83,74,183,0.08); }
.blog-card[data-cat="lifestyle"].cat { color: #c2410c; background: rgba(194,65,12,0.08); }
.blog-card h2 {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--ink);
}
.blog-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 22px;
  flex: 1;
}
.blog-card .meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.blog-card .meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.blog-card .read-more {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s ease;
}
.blog-card:hover .read-more { gap: 10px; }

/* ---------- BLOG POST PAGE ---------- */
.post {
  padding: 56px 0 80px;
}
.post-header {
  margin-bottom: 40px;
  text-align: left;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  margin-bottom: 28px;
  transition: color .2s ease;
}
.post-back:hover { color: var(--accent); }
.post-category {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.post h1 {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--ink);
}
.post-lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 28px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.post-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.post-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
.post-meta .author-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}
.post-meta .author-role {
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}

.post-body { padding-top: 40px; }
.post-body h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 48px 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 36px 0 12px;
  color: var(--ink);
}
.post-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 18px;
}
.post-body p strong { color: var(--ink); font-weight: 700; }
.post-body ul, .post-body ol {
  margin: 0 0 22px 24px;
  padding: 0;
}
.post-body li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 8px;
}
.post-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.post-body a:hover { text-decoration-thickness: 2px; }
.post-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 8px 0 8px 22px;
  margin: 32px 0;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
}

/* ---------- POST CTA + RELATED ---------- */
.post-cta {
  margin-top: 56px;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 44px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, var(--accent-glow), transparent 55%);
  pointer-events: none;
}
.post-cta h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 10px;
  position: relative;
  letter-spacing: -0.01em;
}
.post-cta p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
  position: relative;
}
.post-cta .btn { position: relative; }

.related {
  padding: 80px 0 56px;
  background: var(--bg-alt);
}
.related h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.related .blog-grid { padding-bottom: 0; }

/* ---------- FOOTER ---------- */
/* Footer — gesynchroniseerd met homepage zodat alle 29 pagina's identiek ogen */
footer {
  background: var(--bg-alt);
  padding: 72px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.foot-brand .logo { margin-bottom: 14px; height: 40px; }
.foot-brand .logo svg, .foot-brand .logo img { height: 40px; width: auto; display: block; }
.foot-brand p {
  font-size: 14.5px;
  max-width: 280px;
  margin-bottom: 18px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  transition: all .2s ease;
}
.socials a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.foot-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: var(--ink);
}
.foot-col a {
  display: block;
  font-size: 15px;
  color: var(--body);
  padding: 5px 0;
  transition: color .2s ease;
}
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--accent); }

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ---------- LEGAL PAGES (terms / privacy / cookie) ---------- */
.legal-page {
  padding: 56px 0 80px;
}
.legal-page .legal-meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 8px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.legal-page h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--ink);
}
.legal-page .legal-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-page .legal-body { padding-top: 8px; }
.legal-page .legal-body h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  color: var(--ink);
}
.legal-page .legal-body h2:first-child { margin-top: 0; }
.legal-page .legal-body h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 28px 0 10px;
  color: var(--ink);
}
.legal-page .legal-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 16px;
}
.legal-page .legal-body ul, .legal-page .legal-body ol {
  margin: 0 0 18px 22px;
  padding: 0;
}
.legal-page .legal-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 6px;
}
.legal-page .legal-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page .legal-body strong { color: var(--ink); font-weight: 700; }
.legal-page .legal-body em { color: var(--ink); }
.legal-page .legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14.5px;
}
.legal-page .legal-body th,
.legal-page .legal-body td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-page .legal-body th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--ink);
  width: 30%;
}
.legal-page .legal-body code {
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  color: var(--ink);
}
.legal-page .legal-body .contact-block {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .legal-page h1 { font-size: 32px; }
  .legal-page .legal-body h2 { font-size: 20px; }
}

/* ---------- FEATURE PAGES (hoe-het-werkt / beurzen / employer-branding / faq / contact) ---------- */
.page-hero {
  padding: 96px 0 64px;
  text-align: center;
}
.page-hero h1 {
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--ink);
}
.page-hero h1 .hl { color: var(--accent); }
.page-hero .lede {
  font-size: 20px;
  color: var(--body);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.page-hero .hero-ctas {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-block {
  padding: 80px 0;
}
.section-block.alt { background: var(--bg-alt); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: 38px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: 18px;
  color: var(--body);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(13,27,42,0.08);
  border-color: var(--accent);
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 22px;
}
.step-card h3 { font-size: 21px; margin-bottom: 10px; }
.step-card p { font-size: 15.5px; line-height: 1.6; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  /* Implicit row tracks; cards line up via subgrid */
  grid-auto-rows: auto;
}
.feature-grid > .feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
}
/* Cards that ALSO include a feature-link below the bullets: span 5 rows so the link is also tracked by subgrid */
.feature-grid.has-links > .feature-card {
  grid-row: span 5;
}
/* Fallback for browsers without subgrid */
@supports not (grid-template-rows: subgrid) {
  .feature-grid > .feature-card {
    display: flex;
    flex-direction: column;
  }
  .feature-grid > .feature-card h3 { min-height: 32px; }
  .feature-grid > .feature-card p { min-height: 102px; }
  .feature-grid.has-links > .feature-card .feature-link { margin-top: auto; }
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(13,27,42,0.08);
  border-color: var(--accent);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  align-self: start;
}
.feature-card h3 { font-size: 22px; margin-bottom: 10px; align-self: start; }
.feature-card p { font-size: 16px; line-height: 1.6; margin-bottom: 16px; align-self: start; }
.feature-card ul { list-style: none; padding: 0; margin: 0; align-self: start; }
.feature-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.5;
}
.feature-card ul li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}

.big-cta-section {
  padding: 96px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, var(--accent-glow), transparent 55%);
  pointer-events: none;
}
.big-cta-section h2 {
  font-size: 44px;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
}
.big-cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}
.big-cta-section .ctas {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.big-cta-section .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.big-cta-section .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .blog-hero h1 { font-size: 42px; }
  .post h1 { font-size: 34px; }
  .page-hero h1 { font-size: 44px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 30px; }
  .big-cta-section h2 { font-size: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .blog-hero { padding: 48px 0 32px; }
  .blog-hero h1 { font-size: 32px; }
  .blog-hero .lede { font-size: 17px; }
  .post h1 { font-size: 28px; }
  .post-lede { font-size: 17px; }
  .post-body h2 { font-size: 23px; }
  .post-body h3 { font-size: 19px; }
  .post-cta { padding: 32px 24px; }
  .post-cta h3 { font-size: 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-inner { height: 64px; }
}

/* ============================================================
   MOBILE NAV (hamburger button + overlay)
   ============================================================ */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  transition: border-color .2s ease;
}
.nav-burger:hover { border-color: var(--accent); }
.nav-burger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
}
.nav-burger.is-open .nav-burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-burger.is-open .nav-burger-bar:nth-child(2) { opacity: 0; }
.nav-burger.is-open .nav-burger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Overlay container */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 27, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

/* Panel slides in from the right */
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: #fff;
  padding: 18px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(13,27,42,0.18);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.mobile-nav-close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: background .2s ease;
}
.mobile-nav-close svg { width: 22px; height: 22px; }
.mobile-nav-close:hover { background: var(--bg-alt); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  background: var(--bg-alt);
  color: var(--accent);
  outline: none;
}

.mobile-nav-audience {
  margin: 10px 0 18px;
  padding: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: flex;
}
.mobile-nav-audience .mobile-nav-toggle {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 100px;
  gap: 4px; /* witruimte tussen student- en bedrijf-button */
}
.mobile-nav-audience .mobile-nav-toggle button {
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--body);
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s ease;
}
.mobile-nav-audience .mobile-nav-toggle button.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.mobile-nav-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav-cta-btn {
  width: 100%;
  height: 52px;
}

/* Lock body scroll while overlay open */
body.mobile-nav-lock {
  overflow: hidden;
  touch-action: none;
}

/* Activate at the existing nav-collapse breakpoint */
@media (max-width: 980px) {
  .nav-burger { display: inline-flex; }
  /* Audience-toggle + CTA verhuizen naar het hamburger-menu op mobiel.
     Verberg de originele in de top-nav zodat de nav-bar past op 375-393px iPhone.
     Ondersteunt beide class-naam conventies (.toggle op homepage, .audience-toggle elders). */
  .nav .toggle,
  .nav .audience-toggle,
  .nav .nav-cta-desktop,
  .nav #nav-cta {
    display: none;
  }
}

/* ============================================================
   MOBILE TOUCH-TARGETS  (≥ 44px voor accuraat tappen)
   ============================================================ */
@media (max-width: 760px) {
  /* Locale-pill iets ruimer voor vingers */
  .locale-trigger {
    padding: 10px 16px;
    font-size: 13.5px;
  }
  .locale-menu button { padding: 11px 16px; }

  /* Audience-toggle knoppen */
  .toggle button {
    min-height: 44px;
    padding: 10px 14px;
  }

  /* Algemene buttons in nav-right */
  .nav-right .btn { min-height: 44px; }

  /* Form inputs (contact + algemene forms) */
  .form-row input,
  .form-row textarea,
  .form-row select {
    min-height: 48px;
    font-size: 16px; /* voorkomt iOS auto-zoom op focus */
  }

  /* Footer tekst-links iets ruimer aantikbaar
     (NIET .foot-grid a, dat vangt ook social-iconen wat ze breekt) */
  .foot-list a,
  .foot-col a {
    display: block;
    padding: 6px 0;
    min-height: 32px;
  }
}



/* ---------- BLOG ARTIKEL: BRONNEN ---------- */
.post-sources-title {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-sources {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.post-sources li {
  font-size: 14.5px;
  line-height: 1.6;
  padding: 5px 0;
  color: var(--body);
}
.post-sources li a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.post-sources li a:hover { border-bottom-color: var(--accent); }
