/* SlimBelast gedeelde stylesheet — REFACTOR_PLAN.md Fase 2.1 (3 juli 2026).
   Basis: het blog-template van blog-belasting-bonus-vakantiegeld-13e-maand (nieuwste
   cohort); daarna de multi-page componenten uit het oudere cohort (cat-badge-palet,
   profile-card, callout-warn, td.right/td.amount). Cascade: site.css → eventueel
   klein per-pagina <style>-blok met singleton-componenten → theme.css (overrides).
   Alle 24 blogs laden dit; statische pagina's hebben nog eigen inline CSS. */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --ro-blauw: #2EA86A;
  --ro-blauw-mid: #228856;
  --ro-lichtblauw: #1A2B4A;
  --ro-lichtblauw-bg: #E8F5EE;
  --ro-geel: #F4B731;
  --bg: #F8FAFB;
  --text-primary: #1A2B4A;
  --text-secondary: #475569;
  --text-muted: #54606E;
  --border: #E2E8F0;
  --green: #2EA86A;
  --green-bg: #E8F5EE;
  --red: #B22D2D;
  --amber: #8A5200;
  --amber-bg: #FEF6E7;

  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 16px;
  --fs-lg: 20px;
  --fs-xl: 28px;
  --fs-display: 40px;
  --fs-num: 14px;
  --fs-num-lg: 18px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --ff-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-num: 'IBM Plex Mono', monospace;
  --ff-display: 'Inter', system-ui, sans-serif;
}

body { font-family: var(--ff-sans); background: var(--bg); color: var(--text-primary); font-size: var(--fs-base); line-height: 1.7; }

.header { background: #1A2B4A; border-bottom: 4px solid var(--ro-geel); padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; background: transparent; border-radius: 6px; display: flex; align-items: center; justify-content: center;  overflow: hidden; }
.logo-icon svg { width: 100%; height: 100%; display: block; }
.logo-text { font-family: var(--ff-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: 0.06em; text-transform: uppercase; color: white; line-height: 1.1; }
.logo-text .accent { color: var(--ro-blauw); }
.logo-sub { font-size: var(--fs-xs); color: rgba(255,255,255,0.65); letter-spacing: 0.16em; font-weight: var(--fw-medium); text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: rgba(255,255,255,0.85); text-decoration: none; font-size: var(--fs-sm); font-weight: var(--fw-medium); padding: 8px 16px; border-radius: 5px; transition: all 0.15s; letter-spacing: 0.02em; white-space: nowrap; }
.nav-link:hover { background: rgba(255,255,255,0.1); color: white; }
.nav-link.active { background: rgba(255,255,255,0.12); color: white; font-weight: var(--fw-semi); }

.container { max-width: 760px; margin: 0 auto; padding: 36px 32px 60px; }
.breadcrumb { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--ro-blauw); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: var(--fs-sm); color: var(--text-muted); }
.cat-badge { display: inline-block; padding: 3px 10px; color: white; font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; margin-right: 8px; }
.cat-badge.cat-box1 { background: #1F7A3E; }

h1.post-title { font-family: var(--ff-display); font-size: var(--fs-display); font-weight: var(--fw-bold); line-height: 1.15; letter-spacing: 0.01em; color: var(--ro-blauw); margin-bottom: 16px; }
.post-intro { font-size: 17px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--border); }

article p { margin-bottom: 18px; color: var(--text-primary); }
article h2 { font-family: var(--ff-display); font-size: 26px; font-weight: var(--fw-semi); letter-spacing: 0.01em; color: var(--ro-blauw); margin: 36px 0 14px; line-height: 1.25; }
article h3 { font-size: var(--fs-md); font-weight: var(--fw-semi); color: var(--ro-blauw); margin: 24px 0 10px; }
article ul, article ol { margin: 0 0 18px 0; padding-left: 24px; }
article ul li, article ol li { margin-bottom: 8px; color: var(--text-primary); }
article strong { color: var(--ro-blauw); font-weight: var(--fw-semi); }
article a { color: var(--ro-blauw); text-decoration: underline; }
article a:hover { color: var(--ro-blauw-mid); }

.callout { background: var(--ro-lichtblauw-bg); border-left: 4px solid var(--ro-lichtblauw); padding: 16px 20px; border-radius: 6px; margin: 22px 0; font-size: var(--fs-base); }
.callout strong { color: var(--ro-blauw); }
.callout.amber { background: var(--amber-bg); border-left-color: var(--amber); }
.callout.amber strong { color: #8A5707; }
.callout.green { background: var(--green-bg); border-left-color: var(--green); }
.callout.green strong { color: var(--green); }

.example-box { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; margin: 22px 0; font-size: var(--fs-base); }
.example-box .ex-title { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ro-blauw); margin-bottom: 10px; }

.formula-box { background: #F4F6F8; color: var(--text-primary); border: 1px solid var(--border); border-left: 3px solid var(--ro-blauw); padding: 14px 18px; border-radius: 12px; font-family: var(--ff-sans); font-size: var(--fs-base); margin: 18px 0; line-height: 1.7; }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: var(--fs-sm); }
th, td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
th { background: var(--ro-lichtblauw-bg); color: var(--ro-blauw); font-weight: var(--fw-semi); }
td.num, th.num { text-align: right; font-family: var(--ff-num); }

.cta-box { background: linear-gradient(135deg, var(--ro-blauw) 0%, var(--ro-blauw-mid) 100%); color: white; border-radius: 12px; padding: 26px 30px; margin: 36px 0 24px; text-align: center; }
.cta-box h3 { font-family: var(--ff-display); font-size: var(--fs-lg); margin-bottom: 8px; color: white; }
.cta-box p { font-size: var(--fs-base); color: rgba(255,255,255,0.92); margin-bottom: 16px; }
.cta-box .cta-btn { background: var(--ro-geel); color: var(--ro-blauw); padding: 11px 22px; text-decoration: none; border-radius: 6px; font-size: var(--fs-sm); font-weight: var(--fw-bold); display: inline-block; }
.cta-box .cta-btn:hover { background: #FFC940; }

.related-posts { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-posts h3 { font-family: var(--ff-display); font-size: var(--fs-md); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ro-blauw); margin-bottom: 14px; }
.related-posts ul { list-style: none; padding: 0; }
.related-posts li { margin-bottom: 8px; }
.related-posts a { color: var(--ro-blauw); text-decoration: none; font-size: var(--fs-base); }
.related-posts a:hover { text-decoration: underline; }

.faq-block { margin-top: 36px; }
.faq-block h2 { font-family: var(--ff-display); font-size: 26px; font-weight: var(--fw-semi); color: var(--ro-blauw); margin-bottom: 14px; }
.faq-item { border-top: 1px solid var(--border); padding: 14px 0; }
.faq-item:first-of-type { border-top: 0; }
.faq-q { font-weight: var(--fw-semi); color: var(--text-primary); margin-bottom: 4px; }
.faq-a { font-size: var(--fs-sm); color: var(--text-secondary); }

.sources { margin-top: 28px; padding: 14px 18px; background: white; border: 1px solid var(--border); border-radius: 6px; font-size: var(--fs-sm); color: var(--text-muted); }
.sources strong { color: var(--text-secondary); }
.sources a { color: var(--ro-blauw); }

@media (max-width: 640px) {
  .header { padding: 12px 16px; }
  .logo-text { font-size: var(--fs-md); }
  .logo-sub { display: none; }
  .container { padding: 24px 16px 40px; }
  h1.post-title { font-size: var(--fs-xl); }
  .post-intro { font-size: var(--fs-base); }
  article h2 { font-size: var(--fs-lg); }
}
.lang-toggle { display: inline-flex; gap: 2px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 2px; margin-left: 12px; }
.lang-toggle button { background: transparent; color: rgba(255,255,255,0.65); border: none; padding: 4px 10px; font-size: var(--fs-xs); font-weight: var(--fw-semi); cursor: pointer; border-radius: 4px; font-family: inherit; }
.lang-toggle button:hover { color: white; background: rgba(255,255,255,0.05); }
.lang-toggle button.active { background: var(--ro-geel); color: var(--ro-blauw); }

  .sf-mobile-nav-toggle { display: none; }
  .sf-hamburger { display: none; cursor: pointer; padding: 10px; margin-left: auto; flex-direction: column; gap: 5px; -webkit-tap-highlight-color: transparent; }
  .sf-hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
  @media (max-width: 900px) {
    .header { padding: 12px 16px !important; flex-wrap: nowrap !important; }
    .logo-sub { font-size: var(--fs-xs); }
    .logo-text { font-size: var(--fs-md); }
    .sf-hamburger { display: flex; }
    .sf-mobile-nav-toggle:checked ~ .sf-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .sf-mobile-nav-toggle:checked ~ .sf-hamburger span:nth-child(2) { opacity: 0; }
    .sf-mobile-nav-toggle:checked ~ .sf-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(280px, 80vw); background: var(--ro-blauw); flex-direction: column !important; align-items: stretch !important; gap: 4px !important; padding: 70px 18px 24px !important; transform: translateX(100%); transition: transform 0.25s ease; box-shadow: -4px 0 16px rgba(0,0,0,0.2); overflow-y: auto; z-index: 199; display: flex !important; }
    .sf-mobile-nav-toggle:checked ~ .main-nav { transform: translateX(0); }
    .main-nav .nav-link { padding: 12px 14px !important; border-radius: 6px; font-size: var(--fs-base); }
    .main-nav .nav-link.active { background: rgba(255,255,255,0.15); }
    .main-nav .lang-toggle { margin-top: 8px; align-self: flex-start; }
    .container { padding-left: 14px !important; padding-right: 14px !important; }
    table { display: block; overflow-x: auto; max-width: 100%; }
  }
  @media (max-width: 480px) { .logo-sub { display: none; } }

/* ── Calculators-dropdown (hoofdnavigatie) ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { background: transparent; border: none; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { font-size: 9px; line-height: 1; transition: transform 0.15s; }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 215px; background: #1A2B4A; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 6px; box-shadow: 0 10px 28px rgba(0,0,0,0.28); z-index: 200; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu .nav-link { display: block; white-space: nowrap; }
@media (max-width: 900px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 14px !important; font-size: var(--fs-base); }
  .nav-dropdown-menu { position: static; min-width: 0; background: rgba(0,0,0,0.18); border: none; box-shadow: none; padding: 2px 0 4px 10px; margin: 2px 0 4px; }
  .nav-dropdown-menu .nav-link { padding: 10px 14px !important; }
}

/* ── Multi-page componenten uit het oudere blog-cohort ── */
.cat-badge.cat-box2 { background: #1A2B4A; }
.cat-badge.cat-box3 { background: #8A5200; }
.cat-badge.cat-partnerschap { background: #5B2B82; }
.cat-badge.cat-pensioen { background: #00697A; }
.cat-badge.cat-tips { background: #B22D2D; }
.cat-badge.cat-btw { background: #8A5200; }
.cat-badge.cat-praktisch { background: #3730A3; }
.cat-badge.cat-beleid { background: #5C7A92; }
.callout-warn {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber);
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 4px;
  font-size: var(--fs-base);
}
.callout-warn strong { color: var(--amber); }
td.right { text-align: right; }
td.amount { font-family: var(--ff-num); font-size: var(--fs-sm); }
.profile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 18px 0;
}
.profile-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-card h3 .badge {
  display: inline-block;
  padding: 3px 9px;
  background: var(--ro-geel);
  color: var(--ro-blauw);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  border-radius: 3px;
  text-transform: uppercase;
}
.profile-card .verdict {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
}
.profile-card .verdict.positive { background: var(--green-bg); color: var(--green); }
.profile-card .verdict.negative { background: #FCE9E9; color: var(--red); }
.profile-card .verdict.neutral { background: var(--amber-bg); color: var(--amber); }
