/* DitWeetNiemand.nl — "De nieuwsgierige wereld". Geen externe bronnen. */
:root {
  --paper: #FBF6EE; --paper-2: #F3EBDD; --ink: #1E2A44; --ink-soft: #4A5570;
  --coral: #E8574A; --coral-dark: #C8402F; --sun: #FFC94A; --mint: #6CC5A8;
  --calm: #EEEAF4; --calm-ink: #4B4466; --card: #FFFFFF; --line: #E4DACA;
  --ok: #2F7D5B; --warn: #9A6A00; --err: #B3261E;
  --radius: 18px; --shadow: 0 2px 0 rgba(30,42,68,.06), 0 10px 24px -12px rgba(30,42,68,.18);
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161B26; --paper-2: #1E2432; --ink: #F1ECE3; --ink-soft: #B9B3A8;
    --coral: #FF7466; --coral-dark: #FF8F83; --card: #1F2633; --line: #2E3647;
    --calm: #25223A; --calm-ink: #CFC8EA; --ok: #6FD3A4; --warn: #F0C25A; --err: #FF8A80;
    --shadow: 0 10px 24px -12px rgba(0,0,0,.6); color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--font); }
a { color: var(--coral-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .4em 0 .3em; }
h2 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wide { max-width: 1280px; }
.narrow { max-width: 720px; margin: 0 auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }
.small { font-size: .88rem; color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--ink-soft); margin: 0; }
.accent { color: var(--coral); }

/* Header & footer */
.site-header { padding: 14px 0; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.logo strong { color: var(--coral); }
.site-footer { margin-top: 64px; padding: 32px 0 48px; background: var(--paper-2); }
.footer-inner { flex-direction: column; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer nav a { color: var(--ink); }
.slogan { font-family: var(--font-display); font-size: 1.3rem; margin: 0; }

/* Buttons */
.btn { display: inline-block; background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--coral-dark); transition: transform .08s; }
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--coral-dark); }
.btn-small { padding: 7px 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--paper-2); }
.btn-danger { background: var(--err); box-shadow: 0 3px 0 #7d1a15; }
.linkbutton { background: none; border: 0; padding: 0; font: inherit; color: var(--coral-dark); text-decoration: underline; cursor: pointer; }

/* Home */
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); }
.question { background: var(--sun); color: #1E2A44; border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; transform: rotate(-.6deg); box-shadow: var(--shadow); }
.question .eyebrow { color: #5b4500; }
.question-text { font-family: var(--font-display); font-size: 1.5rem; margin: .2em 0 .4em; }
.question a { color: #1E2A44; font-weight: 700; }
.empty { text-align: center; padding: 40px 16px; border: 2px dashed var(--line); border-radius: var(--radius); margin: 32px 0; }
.section-title { margin-top: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.card:nth-child(3n+2) { transform: rotate(.4deg); } .card:nth-child(3n) { transform: rotate(-.35deg); }
.card-big { grid-column: span 2; } @media (max-width: 620px) { .card-big { grid-column: auto; } }
.card-big .card-text { font-size: 1.15rem; }
.card-calm { background: var(--calm); color: var(--calm-ink); transform: none !important; }
.card-meta { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--ink-soft); margin: 0; flex-wrap: wrap; }
.card-text { margin: 0; white-space: normal; overflow-wrap: anywhere; }
.card-link { margin-top: auto; font-weight: 700; }
.tag { background: var(--paper-2); border-radius: 999px; padding: 2px 10px; font-size: .8rem; color: var(--ink); }
.warning { font-weight: 700; margin: .3em 0; }
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }

/* Secret page */
.secret { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); max-width: 760px; margin: 24px auto; }
.secret-body { font-size: 1.15rem; line-height: 1.75; overflow-wrap: anywhere; margin: 12px 0; }
.secret-footer { font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 0; }
.cw summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--calm); color: var(--calm-ink); padding: 14px; border-radius: 12px; }
.cw summary::-webkit-details-marker { display: none; }
.cw[open] summary .btn { display: none; }
.after-secret { text-align: center; margin: 24px auto; max-width: 760px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.form-inline { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.label { font-weight: 700; margin-top: 8px; }
.hint { margin: -4px 0 2px; font-size: .9rem; color: var(--ink-soft); }
input[type=text], input:not([type]), input[type=password], textarea, select { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; }
textarea { resize: vertical; min-height: 8em; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: .35em; width: 1.1em; height: 1.1em; flex: none; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.explain { background: var(--paper-2); border-radius: 12px; padding: 12px 16px; }
.explain summary { font-weight: 700; cursor: pointer; }
.explain ul { padding-left: 1.2em; }
.danger-zone { border: 2px solid var(--line); border-radius: 12px; padding: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.row input { width: 4em; } .row select { width: auto; }
.compact { gap: 4px; }

/* Notices & status */
.notice { border-radius: 12px; padding: 12px 16px; margin: 16px 0; border-left: 6px solid; background: var(--card); }
.notice p { margin: .3em 0; }
.notice-ok { border-color: var(--ok); } .notice-warn { border-color: var(--warn); } .notice-error { border-color: var(--err); }
.status { background: var(--card); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); margin: 16px 0; }
.status-text { font-family: var(--font-display); font-size: 1.35rem; margin: .1em 0 .4em; }
.status-published .status-text { color: var(--ok); }
.status-needs_edit .status-text, .status-review .status-text { color: var(--warn); }
.status-rejected .status-text { color: var(--err); }
.keybox { background: var(--sun); color: #1E2A44; border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.keybox .small { color: #3b3320; } .keybox a { color: #1E2A44; }
.linkfield { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: #fff !important; color: #1E2A44 !important; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 1.6rem; letter-spacing: .08em; margin: .2em 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 24px 0; }
.tile { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.tile h2 { font-size: 1.15rem; margin: 0 0 .4em; color: var(--coral-dark); }
.tile p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.help-list { display: grid; gap: 12px; margin: 20px 0; }
.help-item { background: var(--card); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.help-item h2 { margin: 0 0 .2em; font-size: 1.2rem; }
.help-item p { margin: 0; }
.help-urgent { border-left: 6px solid var(--err); }
.prose p, .prose li { max-width: 68ch; }
code { font-size: .9em; background: var(--paper-2); padding: 1px 5px; border-radius: 6px; overflow-wrap: anywhere; }

/* Admin */
.admin-header { background: var(--paper-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.stats > div { background: var(--card); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stats .num { font-size: 1.5rem; font-weight: 700; }
.stats span:last-child { font-size: .85rem; color: var(--ink-soft); }
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prio-critical td { background: rgba(179,38,30,.12); font-weight: 700; }
.prio-high td:first-child { color: var(--warn); font-weight: 700; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.admin-text { background: var(--card); padding: 16px; border-radius: 12px; white-space: normal; }
blockquote { margin: 8px 0; padding: 10px 14px; background: var(--paper-2); border-radius: 10px; }
@media (max-width: 700px) { .table { display: block; overflow-x: auto; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .card, .question { transform: none !important; } }

/* Fase 3: ontdekken */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header-nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.header-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.header-nav a:not(.btn):hover { text-decoration: underline; }
.searchbar { display: flex; gap: 8px; margin: 20px 0; flex-wrap: wrap; }
.searchbar input { flex: 1 1 220px; width: auto; }
.searchbar select { flex: 0 1 220px; width: auto; }
.chips { list-style: none; padding: 0; margin: 12px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: .92rem; }
.chips a:hover, .chips a[aria-current] { background: var(--ink); color: var(--paper); }
a.tag { text-decoration: none; }
.reactions { margin-left: auto; color: var(--coral-dark); font-weight: 700; }
.emotions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.emotions form { margin: 0; }
.emotions p { flex-basis: 100%; margin: 0; }
.emotion { font: inherit; font-size: .95rem; background: var(--paper-2); color: var(--ink); border: 2px solid transparent; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.emotion:hover { border-color: var(--coral); }
.emotion .count { font-weight: 700; margin-left: 4px; color: var(--ink-soft); }
.answer-to { font-size: .92rem; background: var(--paper-2); border-radius: 10px; padding: 8px 12px; }
.question-small { transform: none; padding: 12px 16px; margin: 0 0 8px; }
.question-small .question-text { font-size: 1.15rem; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 24px 0; }
.qlist { padding-left: 1.2em; } .qlist li { margin: 10px 0; } .qlist .small { display: block; }
.more { text-align: center; margin: 24px 0; }
.bar { display: inline-block; height: 10px; background: var(--coral); border-radius: 4px; vertical-align: middle; }

/* Fase 4: reacties */
.comments { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 8px; }
.comment { background: var(--paper); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.comment-reply { margin: 10px 0 0 22px; background: var(--card); border-left: 3px solid var(--line); }
.comment-author { border-left: 4px solid var(--coral); }
.comment-author > .comment-meta strong { color: var(--coral-dark); }
.comment-meta { margin: 0 0 4px; font-size: .88rem; color: var(--ink-soft); }
.comment-actions { margin: 6px 0 0; }
.comment-form { background: var(--paper-2); border-radius: 12px; padding: 12px; }
.my-comments ul { list-style: none; padding: 0; }
@media (max-width: 520px) { .comment-reply { margin-left: 10px; } }

/* Fase 5: vertaling */
.wide-narrow { max-width: 980px; margin: 0 auto; }
.side-by-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .side-by-side { grid-template-columns: 1fr; } }
.translated { font-style: italic; margin: 4px 0; }

/* Fase 7: naslagwerk */
.naslag-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; margin-top: 16px; }
@media (max-width: 860px) { .naslag-layout { grid-template-columns: 1fr; } .naslag-toc { order: 2; } }
.naslag-toc { position: sticky; top: 16px; background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); font-size: .92rem; }
.naslag-toc ol { padding-left: 1.2em; margin: 8px 0 0; } .naslag-toc li { margin: 6px 0; }
.naslag-toc a { color: var(--ink); }
.naslag h2 { margin-top: 1.4em; }
.naslag blockquote { font-style: italic; }
.naslag .kader { background: var(--paper-2); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.naslag .bronnen { font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 8px; }
.naslag .bronnen li { margin: 6px 0; overflow-wrap: anywhere; }
.toc { padding-left: 1.3em; } .toc li { margin: 10px 0; } .toc li .small { display: block; }

.emotion.is-pressed { background: var(--coral); color: #fff; border-color: var(--coral-dark); }
.emotion.is-pressed .count { color: #fff; }

/* Volle breedte (verzoek eigenaar 23-11-2026): alle inhoud zo breed als het browservenster */
.wrap, .wide, .narrow, .wide-narrow, .secret, .after-secret { max-width: none; }
.wrap { padding-left: clamp(16px, 3vw, 48px); padding-right: clamp(16px, 3vw, 48px); }
.secret, .after-secret { margin-left: 0; margin-right: 0; }
.prose p, .prose li { max-width: none; }
.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Logo en donkere footer (23-11-2026) */
:root { --footer-bg: #1E2A44; --footer-ink: #F3ECE1; --footer-soft: #B8C0D3; --footer-link: #FFB0A7; }
@media (prefers-color-scheme: dark) { :root { --footer-bg: #0C1018; --footer-ink: #F1ECE3; --footer-soft: #9AA3B8; --footer-link: #FF9A8F; } }
.logo-img { height: 44px; width: auto; display: block; }
@media (max-width: 520px) { .logo-img { height: 34px; } }
.site-footer { background: var(--footer-bg); color: var(--footer-ink); border-top: 6px solid var(--coral); }
.site-footer .slogan { color: var(--footer-ink); }
.site-footer nav a { color: var(--footer-ink); text-decoration: none; }
.site-footer nav a:hover { color: var(--footer-link); text-decoration: underline; }
.site-footer .small { color: var(--footer-soft); }
.site-footer .small a, .site-footer a:not(.footer-logo) { color: var(--footer-link); }
.footer-logo img { height: 48px; width: auto; display: block; }
.site-footer :focus-visible { outline-color: var(--sun); }

/* Donkere header gelijk aan footer + oker-witte achtergrond (24-11-2026, verzoek eigenaar) */
:root { --paper: #F7F0DF; --paper-2: #EEE3C8; --line: #E2D3B1; --card: #FFFDF7; }
@media (prefers-color-scheme: dark) { :root { --paper: #1A1915; --paper-2: #24221C; --card: #26241E; --line: #3A362C; } }
.site-header { background: var(--footer-bg); color: var(--footer-ink); border-bottom: 6px solid var(--coral); }
.site-header .header-nav a:not(.btn) { color: var(--footer-ink); }
.site-header .header-nav a:not(.btn):hover { color: var(--footer-link); }
.site-header :focus-visible { outline-color: var(--sun); }
/* Beheer blijft een lichte header: direct zichtbaar dat je in het beheerdersdeel zit */
.site-header.admin-header { background: var(--paper-2); color: var(--ink); border-bottom: 3px solid var(--line); }
.site-header.admin-header .header-nav a:not(.btn) { color: var(--ink); }
