/* Gedeelde stijl gehacktcheck.nl: lichte pagina, witte kaarten, donkere tekst, blauw accent. Artikelen in één leeskolom met inhoudsopgave, kort antwoord bovenaan en vaste oproep naar de check. */
:root {
  --s-bg: #f4f6fb; --s-card: #ffffff; --s-soft: #eef2f8; --s-line: #d5ddea; --s-tint: #e4edff;
  --s-blue: #2563eb; --s-blue-d: #1d4fd7; --s-text: #0d1b2e; --s-muted: #55647a;
  --s-red: #d63324; --s-green: #157f43;
  --s-font: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.s-page { margin: 0; background: var(--s-bg); color: var(--s-text); font-family: var(--s-font); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.s-wrap { max-width: 1100px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.s-skip { position: absolute; left: -9999px; } .s-skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }

/* kop en voet */
.s-head { background: #fff; border-bottom: 1px solid var(--s-line); position: sticky; top: 0; z-index: 20; font-family: var(--s-font); }
.s-head .s-wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.s-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.15rem; color: var(--s-text); text-decoration: none; letter-spacing: -0.01em; }
.s-brand svg { width: 26px; height: 26px; flex: none; }
.s-nav { display: flex; gap: 20px; margin-left: auto; }
.s-nav a { color: var(--s-text); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.s-nav a:hover, .s-nav a[aria-current="page"] { border-bottom-color: var(--s-blue); color: var(--s-blue-d); }
.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--s-blue); color: #fff; font: 700 1rem var(--s-font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.s-btn:hover { background: var(--s-blue-d); }
.s-btn.big { min-height: 58px; padding: 0 30px; font-size: 1.1rem; box-shadow: 0 8px 22px rgba(37,99,235,.25); }
.s-btn.white, .s-btn.white:hover { background: #fff; color: var(--s-blue-d); }
.s-foot { background: #fff; border-top: 1px solid var(--s-line); margin-top: 64px; padding-block: 44px 28px; font-family: var(--s-font); font-size: 16px; line-height: 1.55; color: var(--s-text); }
.s-fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 32px; margin-top: 30px; }
.s-foot h2 a { color: inherit; }
.s-fbrand p { max-width: 52ch; }
.s-fgrid > * { min-width: 0; }
.s-foot h2 { font-size: 1rem; margin: 0 0 12px; font-weight: 700; }
.s-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s-foot a { color: var(--s-text); text-decoration: none; }
.s-foot a:hover { color: var(--s-blue-d); text-decoration: underline; }
.s-foot p { color: var(--s-muted); margin: 10px 0 0; max-width: 34ch; }
.s-legal { border-top: 1px solid var(--s-line); margin-top: 32px; padding-top: 18px; color: var(--s-muted); font-size: .9rem; display: flex; gap: 10px 24px; flex-wrap: wrap; }
.s-legal a { color: var(--s-muted); text-decoration: underline; text-underline-offset: 3px; }
.s-legal span:last-child { margin-left: auto; }

/* artikel */
.s-crumb { font-size: .92rem; color: var(--s-muted); padding-block: 18px 0; }
.s-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.s-crumb li + li::before { content: "\203A"; margin-right: 6px; color: var(--s-muted); }
.s-crumb a { color: var(--s-muted); }
.s-hero { padding-block: 22px 8px; max-width: 780px; }
.s-hero h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 700; text-wrap: balance; }
.s-hero .s-lede { font-size: 1.2rem; color: var(--s-muted); margin: 16px 0 0; }
.s-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--s-muted); font-size: .92rem; margin-top: 16px; }
.s-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; margin-top: 26px; }
.s-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.s-toc, .s-sidecta { background: #fff; border: 1px solid var(--s-line); border-radius: 16px; padding: 20px; }
.s-toc b, .s-sidecta b { display: block; font-size: 1rem; margin-bottom: 10px; }
.s-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: .95rem; line-height: 1.4; }
.s-toc a { color: var(--s-text); text-decoration: none; } .s-toc a:hover { color: var(--s-blue-d); text-decoration: underline; }
.s-sidecta { background: var(--s-tint); border-color: #c3d6ff; }
.s-sidecta p { margin: 0 0 14px; font-size: .98rem; line-height: 1.45; }
.s-sidecta .s-btn { width: 100%; }
.s-body { min-width: 0; max-width: 740px; }
.s-body > h2:first-child { margin-top: 8px; }
.s-body h2 { font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.015em; margin: 48px 0 12px; scroll-margin-top: 84px; text-wrap: balance; }
.s-body h3 { font-size: 1.22rem; line-height: 1.3; margin: 30px 0 8px; scroll-margin-top: 84px; }
.s-body p { margin: 0 0 16px; }
.s-body ul, .s-body ol { margin: 0 0 18px; padding-left: 24px; display: grid; gap: 8px; }
.s-body a { color: var(--s-blue-d); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.s-body a:hover { color: var(--s-blue); }
.s-body a.s-btn, .s-body a.s-btn:hover { color: #fff; text-decoration: none; }
.s-body a.s-btn.white, .s-body a.s-btn.white:hover { color: var(--s-blue-d); }
.s-kort { background: #fff; border: 1px solid var(--s-line); border-left: 5px solid var(--s-blue); border-radius: 14px; padding: 20px 22px; margin: 24px 0 0; max-width: 740px; }
.s-kort b { display: block; color: var(--s-blue-d); font-size: .98rem; margin-bottom: 4px; }
.s-kort p { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.s-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, #1d4fd7, #2563eb); color: #fff; border-radius: 18px; padding: 24px 26px; margin: 32px 0; }
.s-cta > div { min-width: 0; flex: 1 1 280px; }
.s-cta b { display: block; font-size: 1.25rem; line-height: 1.25; }
.s-cta span { display: block; color: #dbe6ff; margin-top: 4px; font-size: 1rem; line-height: 1.45; }
.s-note { background: var(--s-soft); border-radius: 14px; padding: 16px 20px; margin: 0 0 18px; }
.s-note p:last-child { margin-bottom: 0; }
.s-warn { background: #fff1ee; border-left: 5px solid var(--s-red); border-radius: 14px; padding: 16px 20px; margin: 0 0 18px; }
.s-warn p:last-child { margin-bottom: 0; }
.s-steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 12px; margin: 0 0 20px; }
.s-steps > li { counter-increment: st; background: #fff; border: 1px solid var(--s-line); border-radius: 14px; padding: 16px 18px 16px 62px; position: relative; }
.s-steps > li::before { content: counter(st); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--s-blue); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.s-steps b { display: block; }
.s-tablewrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--s-line); border-radius: 14px; background: #fff; }
.s-body table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .98rem; line-height: 1.45; }
.s-body th, .s-body td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--s-line); }
.s-body th { background: var(--s-soft); font-weight: 700; }
.s-body tr:last-child td { border-bottom: 0; }
.s-faq { display: grid; gap: 10px; margin: 0 0 20px; }
.s-faq details { background: #fff; border: 1px solid var(--s-line); border-radius: 14px; padding: 0 20px; }
.s-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; color: var(--s-blue); font-weight: 700; flex: none; }
.s-faq details[open] summary::after { content: "\2212"; }
.s-faq details p { margin: 0 0 16px; }
.s-src { font-size: .95rem; color: var(--s-muted); }
.s-src ol { gap: 6px; }
.s-more { margin-top: 56px; }
.s-more h2 { font-size: 1.5rem; margin: 0 0 16px; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.s-card { display: block; background: #fff; border: 1px solid var(--s-line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--s-text); min-width: 0; }
.s-card:hover { border-color: var(--s-blue); box-shadow: 0 8px 22px rgba(13,27,46,.07); }
.s-card b { display: block; font-size: 1.1rem; line-height: 1.3; }
.s-card span { display: block; color: var(--s-muted); font-size: .96rem; line-height: 1.45; margin-top: 6px; }
.s-card i { display: block; font-style: normal; color: var(--s-blue-d); font-weight: 700; font-size: .95rem; margin-top: 12px; }
.s-hub h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.s-soon { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.s-soon li { background: #fff; border: 1px dashed var(--s-line); border-radius: 999px; padding: 8px 16px; color: var(--s-muted); font-size: .95rem; }
:focus-visible { outline: 3px solid var(--s-blue); outline-offset: 2px; }
@media (max-width: 960px) {
  .s-layout { grid-template-columns: 1fr; gap: 0; }
  .s-side { position: static; order: -1; margin-bottom: 22px; }
  .s-sidecta { display: none; }
  .s-cards { grid-template-columns: 1fr; }
  .s-fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .s-nav { display: none; }
  .s-head .s-btn { margin-left: auto; }
}
@media (max-width: 720px) {
  body.s-page { font-size: 17px; }
  .s-head .s-btn { margin-left: auto; }
  .s-fgrid { grid-template-columns: 1fr; }
  .s-cta { padding: 20px; }
  .s-cta .s-btn { width: 100%; }
}

/* thema-links, vorige en volgende, sitemap */
.s-theme { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s-theme a { display: block; background: #fff; border: 1px solid var(--s-line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--s-text); }
.s-theme a:hover { border-color: var(--s-blue); }
.s-theme a[aria-current] { border-color: var(--s-blue); background: #eff4ff; }
.s-theme b { display: block; font-weight: 700; font-size: 1.02rem; }
.s-theme span { display: block; color: var(--s-muted); font-size: .92rem; margin-top: 3px; line-height: 1.45; }
.s-all { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; font-weight: 600; }
.s-all a { color: var(--s-blue-d); }
.s-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.s-pn a { background: #fff; border: 1px solid var(--s-line); border-radius: 12px; padding: 14px 18px; text-decoration: none; color: var(--s-text); min-width: 0; }
.s-pn a:hover { border-color: var(--s-blue); }
.s-pn a[rel="next"] { text-align: right; }
.s-pn span { display: block; color: var(--s-muted); font-size: .88rem; }
.s-pn b { display: block; font-weight: 700; margin-top: 2px; }
.s-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.s-jump a { background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--s-text); font-weight: 600; font-size: .95rem; }
.s-jump a:hover { border-color: var(--s-blue); color: var(--s-blue-d); }
.s-hub h2 { scroll-margin-top: 90px; }
.s-sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin-top: 12px; }
.s-sitemap h2 { font-size: 1.3rem; margin: 26px 0 10px; scroll-margin-top: 90px; }
.s-sitemap h2 a { color: var(--s-text); text-decoration: none; }
.s-sitemap h2 a:hover { color: var(--s-blue-d); text-decoration: underline; }
.s-sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.s-sitemap li a { color: var(--s-blue-d); font-weight: 600; }
.s-sitemap li span { display: block; color: var(--s-muted); font-size: .93rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 720px) { .s-theme, .s-sitemap { grid-template-columns: 1fr; } .s-pn { grid-template-columns: 1fr; } .s-pn a[rel="next"] { text-align: left; } .s-legal span:last-child { margin-left: 0; } }

/* juridische pagina's en footerknop */
.s-legal button { background: none; border: 0; padding: 0; font: inherit; color: var(--s-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.s-legal button:hover, .s-legal a:hover { color: var(--s-blue-d); }
.s-fill { background: #fff3b0; color: #5c4700; padding: 1px 6px; border-radius: 4px; }
