:root {
  --accent: #7F1D1D;
  --accent-dark: #5E1414;
  --accent-soft: #F3E4E1;
  --bg: #F2EBE1;
  --card: #FFFFFF;
  --text: #1E1A17;
  --muted: #6B625A;
  --line: #E3D9CE;
  --ok: #3F6B45;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kop */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar .inner { max-width: 1100px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--accent); text-decoration: none; letter-spacing: .01em; }
.brand small { font-weight: 500; color: var(--muted); font-size: .7rem; margin-left: 6px; text-transform: uppercase; letter-spacing: .06em; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; }
.nav a:hover { background: var(--bg); }
.nav a.active { background: var(--accent-soft); color: var(--accent-dark); }
.topbar .right { display: flex; align-items: center; gap: 10px; }
.lang a { text-decoration: none; font-size: .85rem; color: var(--muted); padding: 2px 4px; }
.lang a.on { color: var(--text); font-weight: 600; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }

/* Opbouw */
.page { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
.narrow { max-width: 720px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.status { background: #EAF2EA; border: 1px solid #C7DCC8; color: #24452A; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.errors { background: var(--accent-soft); border: 1px solid #E4C3BD; color: var(--accent-dark); padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.errors ul { margin: 0; padding-left: 18px; }

/* Formulieren */
label { display: block; font-weight: 600; margin: 14px 0 4px; }
.hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
input[type=text], input[type=email], input[type=url], input[type=date], input[type=time], input[type=number], input[type=search], select, textarea { width: 100%; font: inherit; padding: 9px 11px; border: 1px solid #CDBFB1; border-radius: 8px; background: #fff; color: var(--text); }
textarea { min-height: 110px; resize: vertical; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn.small { padding: 6px 12px; font-size: .9rem; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.inline { display: inline; }

/* Tabs en filters */
.tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.tabs a { padding: 8px 16px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 500; }
.tabs a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.filters label { margin-top: 12px; font-size: .9rem; }
.filters select { font-size: .95rem; }

/* Berichten */
.post .meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.post .meta a { color: var(--text); font-weight: 600; text-decoration: none; }
.post h2 { font-size: 1.15rem; margin-bottom: 6px; }
.post h2 a { color: var(--text); text-decoration: none; }
.post h2 a:hover { color: var(--accent); }
.post .lead { white-space: pre-line; }
.fold { border-top: 1px dashed #C9B9A8; margin-top: 8px; padding-top: 8px; }
.fold summary { cursor: pointer; color: var(--accent); font-weight: 600; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold[open] summary { margin-bottom: 8px; }
.fold .body { white-space: pre-line; }
.post .foot { display: flex; gap: 16px; margin-top: 12px; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.post .foot a { color: var(--muted); }
.comment { border-top: 1px solid var(--line); padding: 12px 0; }
.comment .who { font-weight: 600; }
.comment .text { white-space: pre-line; }
.foldline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
.foldline::before, .foldline::after { content: ""; flex: 1; border-top: 1px dashed #C9B9A8; }

/* Mensen */
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; object-fit: cover; }
.avatar.big { width: 96px; height: 96px; font-size: 1.8rem; }
.person { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; }
.person .info { flex: 1; min-width: 0; }
.person .info a { font-weight: 600; color: var(--text); text-decoration: none; }
.chip { display: inline-block; font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.profilehead { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Uitnodigingen */
.code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.05rem; letter-spacing: .08em; font-weight: 600; }
table.list { width: 100%; border-collapse: collapse; }
table.list td, table.list th { text-align: left; padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: middle; }
table.list th { border-top: 0; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Gastpagina's */
.guest { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.guest .box { width: 100%; max-width: 440px; }
.guest .brand { display: block; text-align: center; font-size: 1.6rem; margin-bottom: 6px; }
.guest .tag { text-align: center; color: var(--muted); margin-bottom: 20px; }
.story { font-size: 1.05rem; }
.story p { margin-bottom: 1em; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }

/* Lees verder / minder */
.fold .less { display: none; }
.fold[open] .more { display: none; }
.fold[open] .less { display: inline; }
details.filterbox > summary { list-style: none; cursor: pointer; }
details.filterbox > summary::-webkit-details-marker { display: none; }
details.filterbox > summary h3 { margin: 0; display: inline; }
details.filterbox[open] > summary { margin-bottom: 4px; }

/* Mobiel */
@media (max-width: 820px) {
  .topbar .inner { gap: 0 12px; padding-top: 8px; }
  .topbar .right { margin-left: auto; }
  .nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; margin: 4px -8px 0; padding-bottom: 6px; }
  .nav a { white-space: nowrap; }
  .page { padding-top: 16px; }
  .card { padding: 16px; }
  details.filterbox > summary h3::after { content: " ▾"; color: var(--muted); font-weight: 400; }
}

/* Loopbaan, opleiding, import */
.item { border-top: 1px solid var(--line); padding: 10px 0; }
.item .fold { margin-top: 4px; padding-top: 4px; border-top: 0; }
.subform { border-top: 1px dashed #C9B9A8; margin-top: 18px; padding-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label.check { display: flex; gap: 8px; align-items: center; margin-top: 18px; }
.preview { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; white-space: pre-line; font-size: .95rem; }
.preview .chip { margin: 2px 0; }
.tr-note { margin-left: 4px; }
.comment .tr-btn { margin-right: 10px; }

/* Netwerkweergave */
.netmap { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .netmap { grid-template-columns: 1fr; } }
.netcanvas { padding: 16px; }
.nethead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.nethead h1 { margin: 0; font-size: 1.3rem; }
#netsvg { width: 100%; height: auto; display: block; background: radial-gradient(circle at 50% 50%, #FBF6F0 0, #FFFFFF 70%); border-radius: 8px; margin-top: 8px; }
#netsvg .node { cursor: pointer; transition: opacity .2s; }
#netsvg .node:focus { outline: none; }
#netsvg .node:focus-visible circle:first-child { stroke: #1E1A17; stroke-width: 4; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: var(--card); padding: 6px 12px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--text); }
.seg button.on { background: var(--accent); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.pavatar { width: 64px; height: 64px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; overflow: hidden; }
.pavatar img { width: 100%; height: 100%; object-fit: cover; }

/* Filterbalk onder de ruimtes */
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.filterbar select { width: auto; flex: 1 1 160px; max-width: 240px; font-size: .92rem; padding: 7px 10px; }
.filterbar select.set { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
@media (max-width: 560px) { .filterbar select { max-width: none; flex-basis: 100%; } }

/* Profielkop */
.profilecard { padding: 0; overflow: hidden; }
.profilecard > *:not(.banner):not(.phead) { margin-left: 20px; margin-right: 20px; }
.profilecard > :last-child { margin-bottom: 20px; }
.banner { height: 170px; background: linear-gradient(120deg, #7F1D1D 0%, #A3473F 55%, #D6AE45 140%); background-size: cover; background-position: center; }
.phead { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 0 20px; }
.pphoto { grid-column: 1 / -1; margin-top: -78px; }
.avatar.huge { width: 152px; height: 152px; font-size: 2.6rem; border: 5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pmain h1 { margin: 6px 0 2px; font-size: 1.6rem; }
.pheadline { margin: 0; font-size: 1.05rem; }
.pside { align-self: start; padding-top: 8px; min-width: 0; max-width: 260px; }
.porg { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.orgicon { width: 34px; height: 34px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; flex-shrink: 0; }
.contactlink { color: var(--accent); text-decoration: none; font-weight: 600; font-size: inherit; }
.contactbox { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-top: 14px; }
.contactbox h3 { margin-top: 0; }
.contactbox p { margin: 4px 0; }
a.plain { color: var(--accent); font-weight: 600; text-decoration: none; }
.note { font-style: italic; color: var(--text); background: var(--bg); border-left: 3px solid var(--accent); padding: 4px 8px; margin: 4px 0; }
.connectform details > summary { list-style: none; display: inline-block; }
.connectform details > summary::-webkit-details-marker { display: none; }
.connectform details[open] { width: 100%; }
@media (max-width: 640px) { .phead { grid-template-columns: 1fr; } .pside { max-width: none; } .banner { height: 110px; } .pphoto { margin-top: -60px; } .avatar.huge { width: 116px; height: 116px; } }
.avatar.tiny { width: 26px; height: 26px; font-size: .62rem; border: 2px solid #fff; }
.mutual { display: flex; align-items: center; gap: 8px; }
.stack { display: inline-flex; }
.stack .avatar + .avatar { margin-left: -9px; }

/* Waardering en delen */
.reactbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.react { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 11px; font: inherit; font-size: .85rem; color: var(--muted); cursor: pointer; }
.react:hover { border-color: var(--accent); color: var(--accent-dark); }
.react.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); font-weight: 600; }
.shared { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 10px 12px; margin-top: 10px; text-decoration: none; color: var(--text); background: var(--bg); }
.shared:hover { border-color: var(--accent); }
.orgicon img { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.item.withlogo { display: flex; gap: 12px; align-items: flex-start; }
.item.withlogo .grow { flex: 1; min-width: 0; }
.logoform label { cursor: pointer; text-decoration: underline; color: var(--muted); }
.editbox { margin-top: 4px; }
.editbox > summary { list-style: none; cursor: pointer; display: inline; }
.editbox > summary::-webkit-details-marker { display: none; }
.editbox[open] { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px 12px; margin-top: 8px; }
.editbox label { font-weight: 600; font-size: .9rem; }
.editbox label input, .editbox label textarea { margin-top: 3px; font-weight: 400; }
.hiddencomment > summary { list-style: none; cursor: pointer; }
.hiddencomment > summary::-webkit-details-marker { display: none; }
.hiddencomment[open] > summary { margin-bottom: 6px; }
.sitefoot { text-align: center; color: var(--muted); font-size: .85rem; padding: 0 16px 28px; }
.sitefoot a { color: var(--muted); }
.hintbox { background: #FBF3E3; border: 1px solid #E8D6AE; border-radius: 8px; padding: 8px 12px; margin: 0 0 8px; }
ol.rules li { margin-bottom: 8px; }

/* Organisaties */
.orghead { display: flex; gap: 18px; align-items: flex-start; padding: 0 20px; }
.orglogo { width: 112px; height: 112px; border-radius: 14px; background: #fff; border: 4px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); margin-top: -48px; display: inline-flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 700; color: var(--accent-dark); overflow: hidden; flex-shrink: 0; }
.orglogo img { width: 100%; height: 100%; object-fit: contain; }
.orghead h1 { margin: 6px 0 2px; font-size: 1.5rem; }
.verified { font-size: .78rem; font-weight: 600; color: var(--ok); background: #EAF2EA; border: 1px solid #C7DCC8; border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.orgicon.big { width: 44px; height: 44px; font-size: 1.1rem; }
.staff { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.staffer { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; }
@media (max-width: 640px) { .orghead { flex-direction: column; align-items: flex-start; } .orglogo { width: 88px; height: 88px; margin-top: -44px; } }
/* Waardering: één knop die uitklapt bij aanwijzen (desktop) of aantikken (mobiel) */
.reactwrap { position: relative; display: inline-block; margin-top: 12px; }
.reactmenu { display: none; position: absolute; left: 0; bottom: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; box-shadow: 0 4px 14px rgba(30,26,23,.12); white-space: nowrap; z-index: 5; }
.reactwrap:hover .reactmenu, .reactwrap:focus-within .reactmenu { display: flex; }
.reactwrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 8px; }

/* Vacatures */
.vcard { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--text); }
.vcard:hover { border-color: var(--accent); }
.vcard .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vtitle { font-size: 1.05rem; }
.vwhen { text-align: right; white-space: nowrap; }
.applybox { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 18px; }

/* Groepen */
.groupicon { background: linear-gradient(135deg, #F2EBE1, #E4D6C3); color: var(--accent-dark); }
.choice { display: grid; gap: 6px; margin-bottom: 6px; }
.radio { display: flex; gap: 8px; align-items: baseline; font-weight: 400; margin: 0; flex-wrap: wrap; }
.radio input { width: auto; }
.memberadmin { display: inline-block; position: relative; }
.memberadmin summary { list-style: none; cursor: pointer; padding: 0 4px; }
.memberadmin summary::-webkit-details-marker { display: none; }
.memberadmin[open] > form { display: block; }
.memberadmin > form { position: relative; z-index: 3; background: #fff; }

/* Media: artikelen en podcasts */
.post .cover { display: block; width: calc(100% + 40px); margin: -4px -20px 12px; max-height: 340px; object-fit: cover; }
.kindlabel { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.lead.intro { font-size: 1.12rem; color: var(--muted); }
.article { margin-top: 14px; font-size: 1.05rem; line-height: 1.7; }
.article h2 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.article h3 { font-size: 1.08rem; margin: 1.2em 0 .3em; }
.article blockquote { margin: 1em 0; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); }
.article img { max-width: 100%; }
.coverthumb { display: block; max-width: 240px; border-radius: 8px; margin-bottom: 6px; }
.episode { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.episode:last-of-type { border-bottom: 0; }
.epmain { flex: 1; min-width: 0; }
.epmain audio { width: 100%; margin-top: 8px; height: 36px; }
.podimg { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #E4D6C3; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; color: var(--accent-dark); text-decoration: none; }
.podimg img { width: 100%; height: 100%; object-fit: cover; }
.podimg.big { width: 120px; height: 120px; font-size: 2.4rem; }
.podhead { display: flex; gap: 18px; align-items: flex-start; }
.podgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.podtile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; }
.podtile .podimg { width: 100%; height: auto; aspect-ratio: 1; }

/* Accountmenu onder de eigen foto */
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; display: flex; border-radius: 50%; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.avatar.small { width: 34px; height: 34px; font-size: .78rem; }
.usermenu .menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.12); padding: 8px 0; display: flex; flex-direction: column; }
.usermenu .menu > b { padding: 6px 16px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.usermenu .menu a, .usermenu .menu button { padding: 8px 16px; text-decoration: none; color: var(--text); text-align: left; font: inherit; }
.usermenu .menu a:hover, .usermenu .menu button:hover { background: var(--bg); }
.usermenu .menu form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.usermenu .menu button { width: 100%; }
.tabs { flex-wrap: wrap; }

/* Klein menu, juridische pagina's, instellingen */
.sitefoot { line-height: 1.9; }
.legal h2 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.legal li { margin-bottom: 4px; }
.conceptnote { display: inline-block; font-size: .78rem; font-weight: 600; color: #8A5A00; background: #FBF1DC; border: 1px solid #EBD6A8; border-radius: 999px; padding: 2px 10px; margin: 0 0 8px; }
.ptable { width: 100%; table-layout: fixed; overflow-wrap: anywhere; hyphens: auto; border-collapse: collapse; font-size: .92rem; margin: 8px 0 12px; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.ptable th { font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) { .ptable { font-size: .84rem; } .ptable th, .ptable td { padding: 6px 4px; } }
.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 2px; }
.card.danger { border-color: #E8C4BE; }
.btn.danger { background: #A32D22; border-color: #A32D22; }
details > summary.btn { list-style: none; display: inline-block; cursor: pointer; }
details > summary.btn::-webkit-details-marker { display: none; }

/* Evenementen */
.ecard { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: var(--text); }
.ecard:hover { border-color: var(--accent); }
.ecard.cancelled { opacity: .65; }
.emain { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.datebox { width: 58px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px; text-align: center; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.datebox .m { background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 2px 0; }
.datebox .d { font-size: 1.45rem; font-weight: 700; line-height: 1.2; padding-top: 2px; }
.datebox .w { font-size: .72rem; color: var(--muted); padding-bottom: 4px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.tag.ok { color: var(--ok); background: #EAF2EA; border: 1px solid #C7DCC8; }
.tag.warn { color: #8A2A1E; background: #FBE9E5; border: 1px solid #EDC6BE; }
.edetails p { margin: 6px 0; }
.emain .tag { align-self: flex-start; }

/* Tijdlijn: foto klikbaar, functie en tijd iets kleiner (0.13.4) */
.post .meta .avatarlink { display: inline-flex; border-radius: 50%; }
.post .meta .avatarlink:hover .avatar, .post .meta .avatarlink:hover .orgicon { box-shadow: 0 0 0 2px var(--accent); }
.post .meta .muted.small { font-size: .8rem; }
.post .foot { font-size: .82rem; }

/* Groepen: meerdere landen kiezen (0.13.8) */
.countrypick summary { cursor: pointer; padding: 9px 11px; border: 1px solid #CDBFB1; border-radius: 8px; background: #fff; }
.countrygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 10px; max-height: 260px; overflow-y: auto; padding: 4px 2px; }
.countrygrid label.check { margin: 0; font-weight: 400; font-size: .9rem; }
.countrygrid input { width: auto; }

.card.featured { border-color: var(--accent); }

.welcomecard { border-color: var(--accent); }

/* Profiel: recente berichten als korte regels */
.recentposts { list-style: none; padding: 0; margin: 6px 0 0; }
.recentposts li { padding: 5px 0; border-bottom: 1px solid var(--line, #E4D9CC); }
.recentposts li:last-child { border-bottom: 0; }
.recentposts .rp-title { font-weight: 600; }
.recentposts .rp-lead { margin-top: 2px; }
.morerecent summary { margin-top: 6px; }

/* Onderwerp van een bericht (klik = filter op dat onderwerp) */
a.topic { color: var(--muted, #6B625A); text-decoration: none; border-bottom: 1px dotted currentColor; }
a.topic:hover { color: var(--accent, #7F1D1D); }

/* Beheer: cijfers */
.statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.stat { background: var(--accent-soft); border-radius: 10px; padding: 12px; }
.stat b { display: block; font-size: 1.6rem; color: var(--accent); }
.stat span { font-size: .85rem; color: var(--muted); }

/* ===== Reading view for articles ===== */
.readingview .article-title, .readingview .lead.intro { font-family: Georgia, "Times New Roman", serif; }
.readingview .byline { margin: 2px 0 14px; }
.readingview .article-title { font-size: 1.9rem; line-height: 1.25; margin: 0 0 12px; }
.readingview .lead.intro { font-size: 1.15rem; line-height: 1.6; margin-bottom: 14px; }
.readingview .cover-large {
  display: block; width: 100%; max-height: 420px; object-fit: cover;
  border-radius: var(--radius); margin: 0 0 18px;
}
.readingview .article {
  max-width: 38em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  line-height: 1.7;
}
.readingview .article p { margin: 0 0 1.1em; }
.readingview .article h2 { font-family: inherit; }
.readingview .article h3 { font-family: inherit; }

@media (max-width: 600px) {
  .readingview .article-title { font-size: 1.5rem; }
  .readingview .article { font-size: 1.08rem; }
  .readingview .cover-large { max-height: 260px; }
}

/* ===== Print version of the reading view ===== */
@media print {
  body { background: #fff; }
  nav, footer, .topbar, .sitefoot, .backlink, .actions, .reactwrap, #reacties,
  .linkbtn, .tr-btn, .post .foot, form, button { display: none !important; }
  .readingview {
    border: none; box-shadow: none; padding: 0; max-width: none;
  }
  .readingview .article { max-width: none; }
  .readingview .cover-large { max-height: none; page-break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* Privéberichten */
.topbar .envelope { position: relative; font-size: 1.25rem; text-decoration: none; color: var(--text); padding: 4px 8px; border-radius: 8px; line-height: 1; }
.topbar .envelope.active, .topbar .envelope:hover { background: var(--accent-soft); color: var(--accent); }
.topbar .envelope .dot { position: absolute; top: 2px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.convrow { display: flex; gap: 12px; align-items: center; padding: 10px 20px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
.convrow:last-child { border-bottom: 0; }
.convrow:hover { background: var(--bg); }
.convrow .grow { flex: 1; min-width: 0; }
.convrow .snippet { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convrow.unread b::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.convhead { display: flex; gap: 12px; align-items: center; }
.messages { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.msg { max-width: 80%; }
.msg .bubble { background: var(--bg); border-radius: 12px; padding: 8px 12px; white-space: pre-line; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; text-align: right; }
.msg.me .bubble { background: var(--accent-soft); text-align: left; }

/* Tijdlijnfilters: meerdere keuzes, uitklapbaar */
.filterpick { position: relative; }
.filterpick > summary { list-style: none; cursor: pointer; padding: 9px 12px; border: 1px solid #CDBFB1; border-radius: 8px; background: #fff; white-space: nowrap; }
.filterpick > summary::-webkit-details-marker { display: none; }
.filterpick > summary::after { content: " ▾"; color: var(--muted); }
.filterpick[data-set] > summary { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.filterpick .panel { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; width: 330px; max-width: 86vw; max-height: 60vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.12); padding: 8px 12px; }
.filterpick .pickrow { border-bottom: 1px solid var(--line); padding: 2px 0; }
.filterpick .pickrow:last-of-type { border-bottom: 0; }
.filterpick label.check { margin: 4px 0; font-weight: 400; }
.filterpick .subpick { margin: 0 0 4px 26px; }
.filterpick .subpick summary { cursor: pointer; font-size: .82rem; color: var(--muted); }
.filterpick .subpick label.check { font-size: .9rem; margin: 2px 0; }
.filterpick .panelfoot { position: sticky; bottom: -8px; background: #fff; padding: 8px 0; display: flex; gap: 8px; align-items: center; }
.pinline { display: flex; gap: 14px; align-items: center; margin: -6px 0 6px; min-height: 1em; }
@media (max-width: 600px) {
  .filterbar { position: relative; }
  .filterpick { position: static; }
  .filterpick .panel { left: 0; right: 0; width: auto; max-width: none; }
}

/* Melden: onopvallend */
a.reportlink { color: var(--muted); }
a.reportlink:hover { color: var(--accent); }

/* Samengevouwen berichten van dezelfde afzender */
.morefrom { margin: -6px 0 16px; }
.morefrom > summary { cursor: pointer; font-size: .9rem; color: var(--muted, #6B625A); padding: 4px 2px; }
.morefrom[open] > summary { margin-bottom: 10px; }
