/* style.css — MostWare Kennisplatform.
   Professioneel, strak & helder. Geen verlopen/glows.
   Rood #D7001C als spaarzaam accent | Poppins (koppen) + Albert Sans (tekst) */

:root {
  --bg: #f5f6f7;
  --bg-alt: #eef0f2;
  --card: #ffffff;
  --ink: #14161a;
  --ink-soft: #3a4049;
  --muted: #767d88;
  --line: #e4e6ea;
  --line-soft: #eef0f2;
  --brand: #d7001c;
  --brand-dark: #b00017;
  --brand-soft: #fff4f5;
  --footer-bg: #14161a;
  /* Domein-accenten (community-herziening) — zelfde verzadiging als de categorie-
     kleuren. Referentie/fallback; live komt de kleur data-driven via --accent uit
     de DB (zodat domeinen kunnen komen/gaan zonder codewijziging). */
  --domain-zelfreflectie: #7a4dd0;
  --domain-eigen-kennisbank: #0f6e6e;
  --domain-persoonlijke-assistent: #1f5fb0;
  --domain-praten-met-je-data: #8a5a00;
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 64px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.05), 0 1px 1px rgba(20, 22, 26, 0.04);
  --shadow-md: 0 8px 26px rgba(20, 22, 26, 0.09);
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

/* Paginabrede ('full-bleed') secties met inhoud netjes gecentreerd */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.bleed-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: #fdeff1 url("/img/achtergrond.png") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Sticky footer: footer blijft onderaan, ook bij een korte pagina */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main.container { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
.auth-body { flex-direction: row; } /* login behoudt zijn eigen indeling */

h1, h2, h3, h4, .logo-sub, .kicker, .btn, .chip, .badge, .filter-label {
  font-family: var(--font-head);
}
h1, h2, h3, h4 { letter-spacing: -0.015em; line-height: 1.2; }

a { color: var(--brand); }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.prose { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Header / navbar ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--nav-h);
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; justify-self: start; }
.nav-main { justify-self: center; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.logo img { display: block; }
.logo-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
}
.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-main a {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.12s;
}
.nav-main a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-main a.is-current { color: var(--brand); }
.nav-main a.is-current::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  height: 40px;
  width: 230px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.search .ic { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.search input {
  border: none;
  background: transparent;
  outline: none;
  margin: 0;
  padding: 0;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  width: 100%;
  color: var(--ink);
}
.search input:focus { box-shadow: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.nav-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hi { color: var(--muted); font-size: 0.9rem; }
.inline { display: inline; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 6px 11px; font-size: 0.82rem; }

/* ---------- Main / hero ---------- */
main.container { padding-top: 32px; padding-bottom: 72px; }

.hero {
  background: transparent;
  margin-top: -32px;
  margin-bottom: 28px;
  padding: 26px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-main { min-width: 260px; flex: 1; }
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.hero h1 { font-size: 1.75rem; margin: 0 0 8px; font-weight: 700; }
.hero p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; max-width: 56ch; }
.hero-stats { display: flex; gap: 28px; flex-shrink: 0; }
.stat .num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.stat .lbl { font-size: 0.84rem; color: var(--muted); }
.hero-clevel { border-left: 3px solid var(--brand); }

/* ---------- Section head ---------- */
.page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 16px;
}
.section-title {
  font-size: 1.3rem; margin: 0; font-weight: 600;
  position: relative; padding-left: 14px;
}
.section-title::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 4px; border-radius: 2px; background: var(--accent, var(--brand));
}
.section-title .count { color: var(--muted); font-weight: 500; font-size: 1rem; }
h1 { font-size: 1.7rem; margin: 0; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 78px;
}
.chip {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 14px;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.chip:hover { border-color: #bfc3c9; color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Categorie-balk (hoofdnavigatie om te bladeren) */
.browse {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* Compacte werkbalk: sectietitel + keuzemenu's */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 38px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.toolbar-filters { display: flex; gap: 8px; margin: 0; }
.toolbar-filters select {
  width: auto;
  margin: 0;
  padding: 8px 12px;
  font-size: 0.86rem;
  cursor: pointer;
}
.text-link {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* Avatar in de header */
.avatar-sm { width: 30px; height: 30px; font-size: 0.72rem; }
.user-chip { display: inline-flex; text-decoration: none; }
.user-chip .avatar { transition: box-shadow 0.12s; }
.user-chip:hover .avatar { box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
.card-link { text-decoration: none; color: inherit; padding: 20px 20px 14px; flex: 1; display: block; }
.card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.card-title { font-size: 1.12rem; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.card:hover .card-title { color: var(--brand); }
.card-excerpt { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
  background: #fcfcfd;
}
.card-foot .byline { line-height: 1.25; min-width: 0; }
.card-foot .byline .who { font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.card-foot .byline .meta { font-size: 0.78rem; color: var(--muted); }
.card-foot .replies { margin-left: auto; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }

/* Content-type pill + segment tag */
.ctype {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.ctype.is-video { color: var(--brand); }
.ctype .ic { color: var(--accent, var(--ink-soft)); opacity: 0.9; }
.ic { width: 15px; height: 15px; vertical-align: -2px; }
.seg-tag { font-size: 0.78rem; color: var(--muted); }
.seg-tag::before { content: "•"; margin-right: 8px; color: var(--line); }
.cat-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-alt);
  border-radius: 6px;
  padding: 3px 9px;
}

/* Menulink (Voorkeuren) */
.nav-link-soft {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-link-soft:hover { color: var(--brand); }

/* Uitnodigingsbanner voor voorkeuren */
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--brand-soft);
  border: 1px solid #f3cdd2;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 22px;
}
.banner-text { color: var(--ink-soft); font-size: 0.95rem; }

/* Voorkeuren: interesse-keuzes */
.saved-note {
  background: #ecfdf3;
  color: #067647;
  border: 1px solid #abefc6;
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.interest {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.12s, background 0.12s;
}
.interest:hover { border-color: #bfc3c9; }
.interest:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.interest input { width: auto; margin: 0; accent-color: var(--brand); }
.interest .interest-label { font-size: 0.92rem; }

/* Avatar met initialen */
.avatar {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
}
.avatar-lg { width: 44px; height: 44px; font-size: 0.95rem; }

/* ---------- Uitgelichte bijdrage ---------- */
.featured {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 30px;
  margin-bottom: 26px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.featured:hover { box-shadow: var(--shadow-md); border-color: #d8dbe0; }
.featured .card-head { margin-bottom: 14px; }
.featured .feat-flag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-left: auto;
}
.featured h2 { font-size: 1.6rem; margin: 0 0 10px; }
.featured:hover h2 { color: var(--brand); }
.featured .feat-excerpt { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 18px; max-width: 70ch; }
.featured .card-foot { padding: 0; border: none; background: none; }

/* ---------- Artikel / detail ---------- */
.back { margin: 0 0 18px; }
.back a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.back a:hover { color: var(--brand); }
.post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.post .card-head { margin-bottom: 14px; }
.post h1 { font-size: 2rem; margin: 0 0 18px; }
.author-block { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.author-block .who { font-weight: 600; color: var(--ink); }
.author-block .meta { font-size: 0.85rem; color: var(--muted); }
.post-body {
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}
/* HTML-bodies (uit de editor) sturen hun eigen opmaak aan — geen pre-wrap,
   anders worden bron-regelafbrekingen als grote witruimte gerenderd. */
.post-body.is-html { white-space: normal; }
.post-body.is-html > :first-child { margin-top: 0; }
.post-body.is-html h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 0.4em; }
.post-body.is-html h2 { font-size: 1.4rem; line-height: 1.3; margin: 1.4em 0 0.4em; }
.post-body.is-html h3 { font-size: 1.15rem; line-height: 1.3; margin: 1.2em 0 0.3em; }
.post-body.is-html p { margin: 0 0 1em; }
.post-body.is-html ul, .post-body.is-html ol { margin: 0 0 1em 1.4em; }
.post-body.is-html li { margin: 0 0 0.3em; }
.post-body.is-html blockquote { margin: 0 0 1em; padding-left: 14px; border-left: 3px solid var(--line); color: var(--ink-soft); }
.post-body.is-html a { color: var(--brand); }
.media-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.media-embed iframe,
.media-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Audio-embeds (Spotify/SoundCloud) hebben een vaste hoogte, geen 16:9 */
.media-embed.is-audio { aspect-ratio: auto; height: 152px; background: transparent; }
.media-embed.is-audio.is-tall { height: 352px; }
/* Ingebouwde audiospeler voor geüploade/gelinkte audiobestanden */
.media-audio { width: 100%; margin: 4px 0 24px; }

/* "Link plakken óf bestand uploaden"-blok in de formulieren */
.media-pick { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 4px; margin: 0 0 18px; }
.media-pick legend { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; padding: 0 6px; }
.media-pick .hint { color: var(--muted); font-size: 0.85rem; margin: 0 0 10px; }
.media-pick code { font-size: 0.82rem; background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; word-break: break-all; }

/* ---------- Reacties ---------- */
.replies { max-width: 720px; margin: 32px auto 0; }
.replies h2 { font-size: 1.2rem; margin: 0 0 4px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.replies h2 svg { color: var(--muted); }
.replies-intro { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }
.reply {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.reply .reply-main { min-width: 0; flex: 1; }
.reply .who { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.reply .meta { color: var(--muted); font-size: 0.8rem; margin-left: 8px; }
.reply .post-body { font-size: 0.98rem; margin-top: 4px; }
.reply-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 18px;
}
.reply-form h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 600; }
.reply-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 0.96rem; line-height: 1.6; background: var(--card); resize: none; overflow: hidden; max-height: 300px; margin-bottom: 12px; }
.reply-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.login-hint {
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.login-hint a { color: var(--brand); font-weight: 500; }

/* ---------- Formulieren ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  max-width: 440px;
  margin: 0 auto;
}
.form-card-wide { max-width: 600px; }
.form-card h1 { margin-bottom: 22px; }
label { display: block; font-weight: 500; font-size: 0.88rem; margin-bottom: 16px; color: var(--ink); }
.form-row { display: flex; gap: 16px; }
.form-row label { flex: 1; }
.opt { font-weight: 400; color: var(--muted); }
input, textarea, select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
textarea { resize: vertical; }
.form-foot { color: var(--muted); margin-top: 14px; font-size: 0.92rem; }
.form-foot a { color: var(--brand); font-weight: 500; }
.error {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid #f1c9ce;
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

/* ---------- Lege staat / 403 / 404 ---------- */
.empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
}
.empty h1 { color: var(--ink); font-size: 2rem; margin-bottom: 8px; }
.empty .btn { margin-top: 18px; }

/* ---------- Beheertabel ---------- */
.muted-note { color: var(--muted); margin: -8px 0 18px; }
.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.admin-table th {
  font-family: var(--font-head);
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); background: #fbfbfc;
}
.admin-table tbody tr { transition: background 0.12s; }
.admin-table tbody tr:hover { background: #fafbfc; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .who-cell { display: flex; align-items: center; gap: 10px; }
.admin-table .muted { color: var(--muted); }
.pill-yes, .pill-no {
  font-size: 0.78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px;
}
.pill-yes { background: var(--brand-soft); color: var(--brand-dark); }
.pill-no { background: var(--bg-alt); color: var(--muted); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.access-form { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.access-check { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 0.85rem; color: var(--ink); }
.access-check input { margin: 0; }
.small { font-size: 0.8rem; }
.admin-title-link { font-weight: 600; color: var(--ink); text-decoration: none; }
.admin-title-link:hover { color: var(--brand); }
.btn-danger { color: var(--brand-dark); border-color: #f1c9ce; }
.btn-danger:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Beheer sub-navigatie — segmented control (iOS/macOS-stijl) */
.subnav {
  display: inline-flex; gap: 3px; padding: 4px; margin: 6px 0 28px;
  background: var(--bg-alt); border-radius: 13px; max-width: 100%; flex-wrap: wrap;
}
.subnav a {
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none; padding: 8px 18px; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 22, 26, 0.10); }
.subnav-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px;
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700;
  border-radius: 999px; padding: 1px 6px;
}
.chips-row { flex-wrap: wrap; }

/* Statusbadges in de beheertabel */
.status-pill {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-in_review { background: #fff3e0; color: #9a5b00; }
.status-community { background: var(--bg-alt); color: var(--ink-soft); }
.status-approved { background: #ecfdf3; color: #067647; }

/* === Beheer-overzicht (dashboard) ===================================== */
.beheer-alert {
  display: flex; align-items: center; gap: 12px; margin: 0 0 28px; padding: 14px 18px;
  border-radius: 14px; background: #fff8ed; color: #8a4b00; text-decoration: none;
  font-size: 0.95rem; border: 1px solid #ffe3bd; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.12s;
}
.beheer-alert:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.beheer-alert-ico { display: inline-flex; color: #e08600; }
.beheer-alert-ico svg { width: 22px; height: 22px; }
.beheer-alert-arrow { margin-left: auto; font-weight: 700; }
.beheer-section { margin: 0 0 30px; }
.beheer-h {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.beheer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.stat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px 20px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px;
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: box-shadow 0.18s, transform 0.14s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-ico {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--bg-alt); color: var(--ink-soft);
}
.stat-ico svg { width: 22px; height: 22px; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.stat-label { color: var(--muted); font-size: 0.86rem; }
/* getinte icoon-tegels — contentvorm */
.type-artikel .stat-ico, .admin-type-ico.type-artikel { background: #eaf1fb; color: #1f5fb0; }
.type-video   .stat-ico, .admin-type-ico.type-video   { background: #fdecee; color: #d7001c; }
.type-podcast .stat-ico, .admin-type-ico.type-podcast { background: #f2ecfb; color: #7a4dd0; }
.type-webinar .stat-ico, .admin-type-ico.type-webinar { background: #e8f6ef; color: #1f7a4d; }
.admin-type-ico { background: none !important; width: auto; height: auto; }
/* getinte icoon-tegels — status */
.status-in_review .stat-ico { background: #fff3e0; color: #d98a00; }
.status-community .stat-ico { background: var(--bg-alt); color: #6b7280; }
.status-approved  .stat-ico { background: #ecfdf3; color: #067647; }

/* Beheer: filterblokken + chip-extra's + type-icoon in de tabel */
.filter-block { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; flex-wrap: wrap; }
.filter-lead { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); min-width: 96px; }
.chip-ico { display: inline-flex; vertical-align: -3px; }
.chip-ico svg { width: 15px; height: 15px; }
.chip-n { opacity: 0.55; font-weight: 600; margin-left: 3px; }
.admin-type { display: inline-flex; align-items: center; gap: 6px; }
.admin-type-ico { display: inline-flex; }
.admin-type-ico svg { width: 15px; height: 15px; }

/* === Beheer: inzichten (KPI's, panelen, activiteit, verdelingen) ======= */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 14px; margin: 0 0 26px; }
.kpi-card {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px;
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: box-shadow 0.18s, transform 0.14s;
}
a.kpi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kpi-ico { width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-alt); color: var(--ink-soft); }
.kpi-ico svg { width: 20px; height: 20px; }
.kpi-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kpi-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.kpi-label { color: var(--muted); font-size: 0.82rem; }
.kpi-leden .kpi-ico { background: #eaf1fb; color: #1f5fb0; }
.kpi-reacties .kpi-ico { background: #e8f6ef; color: #1f7a4d; }
.kpi-likes .kpi-ico, .kpi-abonnees .kpi-ico { background: #fdecee; color: #d7001c; }
.kpi-weergaven .kpi-ico { background: #fff3e0; color: #c47a00; }
.kpi-skills .kpi-ico { background: #f2ecfb; color: #7a4dd0; }
.kpi-downloads .kpi-ico { background: #e7f3f3; color: #0f6e6e; }

.beheer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin: 0 0 22px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 4px 18px 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 8px; }
.panel-head h2 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin: 0; }

.act-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); text-decoration: none; color: inherit; }
.act-row:first-of-type { border-top: none; }
.act-row:hover .act-title { color: var(--brand); }
.act-ico { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-alt); color: var(--ink-soft); }
.act-ico svg { width: 16px; height: 16px; }
.act-ico.type-artikel { color: #1f5fb0; } .act-ico.type-video { color: #d7001c; } .act-ico.type-podcast { color: #7a4dd0; } .act-ico.type-webinar { color: #1f7a4d; }
.act-rank { width: 24px; flex: 0 0 auto; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--muted); }
.act-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.act-title { font-size: 0.9rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-meta { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-stats { flex: 0 0 auto; color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.act-stats svg { width: 13px; height: 13px; vertical-align: -2px; }

.bar-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; text-decoration: none; color: inherit; border-top: 1px solid var(--line-soft); }
.bar-row:first-of-type { border-top: none; }
.bar-label { flex: 0 0 116px; font-size: 0.85rem; color: var(--ink-soft); }
.bar-track { flex: 1; height: 8px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--muted); min-width: 3px; transition: width 0.4s ease; }
.bar-num { flex: 0 0 auto; min-width: 28px; text-align: right; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink); }
a.bar-row:hover .bar-label { color: var(--brand); }
.bar-fill.type-artikel { background: #1f5fb0; } .bar-fill.type-video { background: #d7001c; } .bar-fill.type-podcast { background: #7a4dd0; } .bar-fill.type-webinar { background: #1f7a4d; }
.status-fill-in_review { background: #d98a00; } .status-fill-community { background: #8a93a3; } .status-fill-approved { background: #067647; }

/* === Beheer: meldingen, zoek, updates/mail-engine ===================== */
.beheer-flash { padding: 12px 16px; border-radius: 12px; font-size: 0.92rem; margin: 0 0 18px; }
.beheer-flash-ok { background: #ecfdf3; color: #067647; border: 1px solid #b6ecc9; }
.beheer-flash-warn { background: #fff3e0; color: #8a4b00; border: 1px solid #ffe0b2; }

.toolbar-between { border-bottom: none; margin: 6px 0 18px; padding-bottom: 0; align-items: center; }
.toolbar-between .muted-note { margin: 0; max-width: 58ch; }
.ledensearch { position: relative; display: inline-flex; align-items: center; }
.ledensearch .ic { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--muted); }
.ledensearch input { padding: 9px 16px 9px 35px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: inherit; font-size: 0.9rem; min-width: 240px; }
.ledensearch input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.update-form label { display: block; margin: 0 0 12px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.update-form input, .update-form textarea { width: 100%; margin-top: 6px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.95rem; background: var(--card); }
.update-form textarea { resize: vertical; line-height: 1.5; }
.update-form input:focus, .update-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.update-form .hint { color: var(--muted); font-size: 0.84rem; margin: 12px 0 0; line-height: 1.5; }
.sub-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.sub-row:first-of-type { border-top: none; }
.sub-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.sub-email { font-size: 0.9rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-meta { font-size: 0.78rem; color: var(--muted); }
.icon-btn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 1.15rem; line-height: 1; cursor: pointer; flex: 0 0 auto; transition: border-color 0.12s, color 0.12s; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.sent-row { padding: 13px 0; border-top: 1px solid var(--line-soft); }
.sent-row:first-of-type { border-top: none; }
.sent-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sent-body { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.92rem; white-space: pre-wrap; }

/* Footer: aanmelden voor updates */
.footer-inner { justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-sub { max-width: 380px; }
.footer-sub-lead { margin: 0 0 9px; font-size: 0.9rem; color: #cfd2d6; }
.footer-sub-form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-sub-form input { flex: 1; min-width: 190px; padding: 9px 14px; border-radius: 999px; border: 1px solid #3a3f46; background: #1d2025; color: #fff; font: inherit; font-size: 0.9rem; }
.footer-sub-form input::placeholder { color: #868d96; }
.footer-sub-form input:focus { outline: none; border-color: var(--brand); }
.footer-sub-ok { margin: 0; color: #8fe3ab; font-size: 0.92rem; font-weight: 500; }

/* === Beheer: bijdragen als kaart-matrix =============================== */
.bz-matrix { display: grid; grid-template-columns: repeat(auto-fill, minmax(296px, 1fr)); gap: 16px; }
.bz-card {
  display: flex; flex-direction: column; gap: 11px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.18s, transform 0.14s;
}
.bz-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bz-ico { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-alt); color: var(--ink-soft); }
.bz-ico svg { width: 20px; height: 20px; }
.bz-ico.type-artikel { background: #eaf1fb; color: #1f5fb0; }
.bz-ico.type-video   { background: #fdecee; color: #d7001c; }
.bz-ico.type-podcast { background: #f2ecfb; color: #7a4dd0; }
.bz-ico.type-webinar { background: #e8f6ef; color: #1f7a4d; }
.bz-title {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.3;
  color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bz-title:hover { color: var(--brand); }
.bz-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bz-tag { font-size: 0.72rem; font-weight: 500; color: var(--muted); background: var(--bg-alt); border-radius: 6px; padding: 2px 8px; }
.bz-byline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.8rem; }
.bz-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.bz-actions .icon-btn { margin-left: auto; }

/* === Bijdragen-matrix (klikbare tabel) ================================ */
.bz-table tbody tr.bz-trow { cursor: pointer; }
.bz-table tbody tr.bz-trow:focus { outline: none; background: #f4f6fb; }
.bz-tcell { display: flex; align-items: center; gap: 11px; }
.bz-tname { font-weight: 600; color: var(--ink); }
.bz-trow:hover .bz-tname { color: var(--brand); }
.bz-table .admin-type-ico svg { width: 18px; height: 18px; }
.bz-rowend { width: 28px; text-align: right; }
.bz-chev { color: var(--muted); font-size: 1.35rem; line-height: 1; }
.bz-head { flex-wrap: wrap; }
.bz-head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bz-stats { display: inline-flex; align-items: center; gap: 13px; color: var(--muted); font-size: 0.84rem; white-space: nowrap; }
.bz-stats span { display: inline-flex; align-items: center; gap: 4px; }
.bz-stats svg { width: 14px; height: 14px; }

/* === Poll / stelling op de hub ======================================== */
.poll-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 13px 18px 14px; margin: 0 0 22px; }
.poll-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.poll-head .poll-ico { display: inline-flex; color: var(--brand); }
.poll-head svg { width: 16px; height: 16px; }
.poll-count { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 500; }
.poll-q { font-family: var(--font-head); font-size: 1rem; line-height: 1.35; margin: 7px 0 11px; font-weight: 600; }
.post .poll-q, .post h1 + .poll-results { margin-top: 6px; }
.poll-discuss-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.84rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.poll-discuss-link svg { width: 15px; height: 15px; color: var(--brand); }
.poll-discuss-link:hover { color: var(--brand); }
.poll-vote-lead { color: var(--muted); font-size: 0.95rem; margin: 4px 0 10px; }
.poll-results-lg { margin-top: 6px; }
.poll-results-lg .poll-res-top { font-size: 1rem; }
.poll-results-lg .poll-bar { height: 9px; }
.poll-votes { color: var(--muted); font-weight: 400; }

/* Stelling als uitklap-knop in de navbar */
.nav-poll { position: relative; }
.nav-poll-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-soft); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; cursor: pointer; list-style: none; white-space: nowrap; }
.nav-poll-btn::-webkit-details-marker { display: none; }
.nav-poll-btn svg { width: 16px; height: 16px; color: var(--brand); }
.nav-poll-btn:hover { border-color: #d8dbe0; color: var(--ink); }
.nav-poll[open] .nav-poll-btn { border-color: var(--brand); color: var(--brand); }
.nav-poll-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 340px; max-width: 86vw; background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow-md); padding: 15px 18px 16px; z-index: 60; animation: navpoll-in 0.16s ease; }
@keyframes navpoll-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-poll-panel .poll-q { font-size: 1rem; margin: 8px 0 12px; }
@media (max-width: 820px) { .nav-poll-panel { right: auto; left: 0; } }

/* === Threaded reacties (artikelen + polls): duimpje + antwoorden ======= */
.cmt-list { display: flex; flex-direction: column; gap: 16px; margin: 0 0 8px; }
.cmt { display: flex; gap: 12px; }
.cmt-main { min-width: 0; flex: 1; }
.cmt-head .who { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.cmt-head .meta { color: var(--muted); font-size: 0.8rem; margin-left: 8px; }
.cmt-body { font-size: 0.98rem; color: var(--ink-soft); margin: 2px 0 6px; }
.cmt-actions { display: flex; align-items: center; gap: 18px; }
.cmt-like, .cmt-replybtn { display: inline-flex; align-items: center; height: 26px; background: none; border: none; cursor: pointer; color: var(--muted); font: inherit; font-size: 0.84rem; font-weight: 500; padding: 0; line-height: 1; transition: color 0.12s; }
.cmt-like { gap: 5px; }
.cmt-like svg { width: 16px; height: 16px; }
.cmt-like:hover, .cmt-replybtn:hover { color: var(--brand); }
.cmt-like.is-liked { color: var(--brand); font-weight: 600; }
.cmt-replyform { display: flex; align-items: flex-end; gap: 8px; margin: 10px 0 2px; }
.cmt-replyform textarea { flex: 1; min-width: 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 0.92rem; line-height: 1.5; background: var(--card); resize: none; overflow: hidden; max-height: 260px; }
.cmt-replyform textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.cmt-replyform .btn { flex: 0 0 auto; }
.cmt-children { margin: 12px 0 0; padding-left: 16px; border-left: 2px solid var(--line-soft); display: flex; flex-direction: column; gap: 14px; }
.poll-vote { display: flex; flex-direction: column; gap: 9px; }
.poll-opt { text-align: left; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; transition: border-color 0.14s, background 0.14s, transform 0.1s; }
.poll-opt:hover { border-color: var(--brand); background: var(--brand-soft); }
.poll-opt:active { transform: scale(0.995); }
.poll-results { display: flex; flex-direction: column; gap: 12px; }
.poll-res-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; margin-bottom: 5px; color: var(--ink-soft); }
.poll-res.is-mine .poll-res-top { font-weight: 600; color: var(--ink); }
.poll-check { color: var(--brand); font-size: 0.8rem; font-weight: 600; }
.poll-pct { font-family: var(--font-head); font-weight: 600; }
.poll-bar { height: 7px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.poll-bar span { display: block; height: 100%; border-radius: 999px; background: #c4c9d2; transition: width 0.5s ease; }
.poll-res.is-mine .poll-bar span { background: var(--brand); }
/* Discussie onder de poll (inklapbaar) */
.poll-discuss { margin-top: 14px; border-top: 1px solid var(--line-soft); }
.poll-discuss > summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; padding: 10px 0 4px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.poll-discuss > summary::-webkit-details-marker { display: none; }
.poll-discuss > summary:hover { color: var(--ink); }
.poll-discuss > summary svg { width: 15px; height: 15px; color: var(--brand); }
.poll-comments { display: flex; flex-direction: column; gap: 12px; padding: 6px 0 2px; }
.poll-comment { display: flex; gap: 10px; }
.poll-comment .who { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.poll-comment .meta { color: var(--muted); font-size: 0.76rem; margin-left: 6px; }
.poll-comment-body { font-size: 0.92rem; color: var(--ink-soft); margin-top: 1px; }
.poll-comment-form { display: flex; gap: 8px; margin-top: 4px; }
.poll-comment-form input { flex: 1; min-width: 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 0.9rem; background: var(--card); }
.poll-comment-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.poll-discuss .login-hint { font-size: 0.84rem; color: var(--muted); margin: 4px 0 2px; }

/* Poll-beheer */
.poll-admin { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.poll-admin:first-of-type { border-top: none; }
.poll-admin.is-off { opacity: 0.55; }
.poll-admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.poll-admin-q { font-weight: 600; color: var(--ink); }
.poll-admin-meta { font-size: 0.8rem; color: var(--muted); margin: 3px 0 9px; }
.poll-admin-opts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.poll-admin-opts li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); }
.poll-admin-actions { display: flex; align-items: center; gap: 8px; }

/* === Pop-up (modal) =================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 44px 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(20, 22, 26, 0.45); }
@supports (backdrop-filter: blur(2px)) { .modal-backdrop { backdrop-filter: blur(3px); } }
.modal-card { position: relative; width: 100%; max-width: 720px; margin: auto; background: var(--card); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); animation: modal-in 0.2s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.99); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--line-soft); }
.modal-head h3 { margin: 0; font-family: var(--font-head); font-size: 1.1rem; }
.modal-head-actions { display: flex; align-items: center; gap: 8px; }
.modal-body { padding: 18px 22px 4px; }
.modal-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid var(--line-soft); }
.bz-delete { margin-left: auto; display: inline; }
.update-form select { width: 100%; margin-top: 6px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.95rem; background: var(--card); }

/* === Tekst-editor (rich text + HTML) ================================= */
.rte-field { margin: 4px 0 14px; }
.rte-lead { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); margin: 0 0 6px; }
.rte-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; background: var(--bg-alt); border: 1px solid var(--line); border-bottom: none; border-radius: 10px 10px 0 0; }
.rte-bar button { min-width: 32px; height: 30px; padding: 0 9px; border: 1px solid transparent; background: transparent; border-radius: 7px; cursor: pointer; font-size: 0.9rem; color: var(--ink-soft); font-family: var(--font-body); line-height: 1; }
.rte-bar button:hover { background: var(--card); border-color: var(--line); color: var(--ink); }
.rte-spacer { flex: 1; }
.rte-htmltoggle { font-family: var(--font-head); font-size: 0.76rem; font-weight: 600; }
.is-html .rte-htmltoggle { background: var(--ink); border-color: var(--ink); color: #fff; }
.rte, .rte-source { width: 100%; min-height: 220px; border: 1px solid var(--line); border-radius: 0 0 10px 10px; padding: 14px 16px; font-size: 0.96rem; line-height: 1.6; background: var(--card); color: var(--ink); }
.rte { overflow-y: auto; max-height: 360px; }
.rte:focus { outline: none; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.rte:empty::before { content: 'Schrijf hier het artikel…'; color: var(--muted); }
.rte-source { display: none; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.86rem; resize: vertical; }
.is-html .rte { display: none; }
.is-html .rte-source { display: block; }
.rte h2 { font-size: 1.25rem; margin: 0.6em 0 0.3em; } .rte h3 { font-size: 1.08rem; margin: 0.6em 0 0.3em; }
.rte p { margin: 0 0 0.7em; } .rte ul, .rte ol { margin: 0 0 0.7em 1.3em; }
.rte blockquote { margin: 0 0 0.7em; padding-left: 12px; border-left: 3px solid var(--line); color: var(--ink-soft); }
.rte a { color: var(--brand); }
@media (max-width: 560px) { .modal { padding: 0; } .modal-card { border-radius: 0; min-height: 100%; } }

/* "MostWare approved"-badge op kaarten/lead/detail */
.badge-approved {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #157347;
}

/* Melding "in review" op de detailpagina */
.review-note {
  background: #fff3e0;
  color: #9a5b00;
  border: 1px solid #ffd8a8;
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  margin: 0 0 18px;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #aab0b8; padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-footer .slogan { margin: 0; font-family: var(--font-head); font-size: 0.92rem; color: #e6e7ea; }

/* ---------- Vorm-filters: ronde icoon-knoppen ('stories'-rij) ---------- */
.form-circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 0 0 18px; }
.form-circle {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 72px; text-decoration: none; color: var(--ink-soft);
}
.form-circle .circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s, background 0.12s;
}
.form-circle .circle svg { width: 22px; height: 22px; color: var(--ink-soft); }
.form-circle:hover .circle { transform: translateY(-2px); border-color: var(--accent, var(--brand)); box-shadow: var(--shadow-md); }
.form-circle:hover { color: var(--ink); }
.form-circle .label { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; line-height: 1; }
.form-circle .n { font-size: 0.74rem; color: var(--muted); line-height: 1; }
.form-circle.is-active .circle {
  background: var(--accent, var(--brand));
  border-color: var(--accent, var(--brand));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent, var(--brand)) 35%, transparent);
}
.form-circle.is-active .circle svg { color: #fff; }
.form-circle.is-active .label { color: var(--ink); }
@media (max-width: 560px) { .form-circles { gap: 14px; justify-content: space-between; } .form-circle { width: 60px; } .form-circle .circle { width: 52px; height: 52px; } }

/* ---------- Categorie-filters: kleine ronde icoon-knoppen ---------- */
.cat-circles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cat-circle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  text-decoration: none; color: var(--ink-soft);
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 500;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.cat-circle:hover { border-color: #c9ccd1; color: var(--ink); }
.cat-circle .ico {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
}
.cat-circle .ico svg { width: 16px; height: 16px; color: var(--ink-soft); }
.cat-circle.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-circle.is-active .ico { background: rgba(255, 255, 255, 0.16); }
.cat-circle.is-active .ico svg { color: #fff; }

/* ---------- Uitgelicht: lead + runner-ups ---------- */
.lead-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-bottom: 26px;
  align-items: stretch;
}
.lead-feature {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.lead-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
/* De cover groeit mee zodat het artikel even hoog wordt als de rechterkolom */
.cover-feature { flex: 1 1 auto; min-height: 200px; }
.lead-feature-body { flex: 0 0 auto; padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 7px; }
.lead-feature-body h2 { font-size: 1.35rem; margin: 0; line-height: 1.25; }
.lead-feature:hover .lead-feature-body h2 { color: var(--brand); }
.lead-feature .feat-excerpt {
  margin: 0; color: var(--ink-soft); font-size: 0.98rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lead-feature .feat-flag {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand);
}

/* Zijkolom = twee panelen ("Ook interessant" + "Voor jou") onder elkaar.
   De panelen groeien mee zodat de kolom altijd even hoog is als het grote
   artikel en de onderkanten netjes uitlijnen — ook bij weinig items. */
.lead-side { display: flex; flex-direction: column; gap: 16px; }
.lead-panel {
  flex: 1 1 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 4px 16px;
}
.lead-side-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding: 11px 0 8px;
  border-bottom: 1px solid var(--line-soft);
}
.lead-side-link {
  font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0;
  font-size: 0.78rem; color: var(--brand); text-decoration: none;
}
.lead-side-link:hover { text-decoration: underline; }
.lead-mini {
  display: grid; grid-template-columns: 46px 1fr; gap: 11px; align-items: center;
  padding: 9px 0; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line-soft);
}
.lead-mini:last-child { border-bottom: none; }
.cover-mini { width: 46px; height: 46px; border-radius: 8px; flex-shrink: 0; }
.lead-mini-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lead-mini-body h3 { font-size: 0.9rem; margin: 0; font-weight: 600; line-height: 1.28; }
.lead-mini:hover .lead-mini-body h3 { color: var(--brand); }
.lead-mini-body .meta { color: var(--muted); font-size: 0.78rem; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.lead-mini-body .meta .act { display: inline-flex; align-items: center; gap: 3px; }
.lead-mini-body .meta .act .ic-sm { color: var(--brand); }

@media (max-width: 760px) {
  .lead-grid { grid-template-columns: 1fr; }
}

/* Skills — uitgelicht blok: compact "component"-blok i.p.v. beeldkop (artikelen).
   Eigen vormtaal: gekleurd accentrandje links + icoon-tegeltje, platter dan artikelen. */
.skill-lead { grid-template-columns: 1.3fr 1fr; gap: 14px; margin-bottom: 20px; }
.skill-feature {
  display: flex; flex-direction: column; gap: 7px;
  background: var(--card); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cat, var(--brand)); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 15px 18px 16px;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s;
}
.skill-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.skf-top { display: flex; align-items: center; gap: 10px; }
.skf-chip {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.skf-chip svg { width: 21px; height: 21px; }
.skf-cat {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.skf-approved {
  margin-left: auto; font-family: var(--font-head); font-size: 0.66rem; font-weight: 700;
  color: #157347; background: #ecfdf3; border-radius: 6px; padding: 2px 8px;
}
.skill-feature .feat-flag {
  font-family: var(--font-head); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); margin-top: 2px;
}
.skf-title { font-size: 1.18rem; margin: 0; line-height: 1.25; font-weight: 600; }
.skill-feature:hover .skf-title { color: var(--brand); }
.skill-feature .feat-excerpt {
  margin: 0; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.skf-foot {
  display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 8px;
  color: var(--muted); font-size: 0.82rem;
}
.skf-meta { white-space: nowrap; }
.skf-dl {
  margin-left: auto; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  color: var(--brand); white-space: nowrap;
}

/* Zijpanelen platter dan bij artikelen (onderscheid + rust) */
.skill-lead .lead-panel { box-shadow: none; border-color: var(--line-soft); padding: 2px 14px; }

/* Compacte skill-rij in de zijpanelen (gekleurd icoon-chipje i.p.v. cover) */
.skill-mini { grid-template-columns: 32px 1fr; gap: 10px; padding: 8px 0; }
.skill-mini-ico {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.skill-mini-ico svg { width: 17px; height: 17px; }
.skill-mini .lead-mini-body h3 { font-weight: 500; }
.skill-mini .meta .stars-sm svg { width: 12px; height: 12px; }

/* === Skills landing: App Store-hero + thema-carrousels ================== */
/* Hero valt met de bovenste rij half achter de (doorschijnende) navbar */
.sk-hero { text-align: center; padding: 0 0 8px; position: relative; z-index: 0; margin-top: calc(17px - var(--nav-h)); /* bovenste rij ~75% zichtbaar onder de navbar */ }
/* Hero-waaier: nette rijen die naar het midden toelopen (strak, geen overlap) */
.sk-cloud {
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  max-width: 840px; margin: 0 auto 6px;
}
.sk-cloud-row { display: flex; justify-content: center; gap: 13px; }
.sk-cloud-ico {
  position: relative; width: 60px; height: 60px; border-radius: 24%; flex: 0 0 auto; overflow: hidden;
  box-shadow: 0 10px 18px -8px rgba(25, 25, 55, 0.28), 0 2px 4px rgba(0, 0, 0, 0.07);
}
.sk-cloud-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Homepage-hero: mini "feed"-preview (artikel/video/podcast) onder de navbar */
.feed-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 16px; max-width: 980px; margin: 0 auto 6px;
}
.feed-card {
  width: 152px; flex: 0 0 auto; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 24px -14px rgba(20, 20, 45, 0.28), 0 2px 5px rgba(0, 0, 0, 0.05);
}
.feed-thumb { position: relative; display: block; height: 84px; background: var(--bg-alt); }
.feed-thumb img, .feed-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-thumb-pod {
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--accent, #1f5fb0), color-mix(in srgb, var(--accent, #1f5fb0) 62%, #000));
}
.feed-wave { width: 54%; height: auto; }
.feed-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.feed-play svg { width: 34px; height: 34px; color: #fff; background: rgba(0, 0, 0, 0.4); border-radius: 50%; padding: 7px; }
.feed-body { padding: 9px 11px 12px; display: flex; flex-direction: column; gap: 7px; }
.feed-line { height: 7px; border-radius: 4px; background: var(--line); }
.feed-line.short { width: 58%; background: var(--line-soft); }
/* gestaffelde "feed"-opstelling; sommige kaartjes duiken onder de navbar */
.feed-card.f0 { margin-top: 22px; }
.feed-card.f1 { margin-top: 6px; }
.feed-card.f2 { margin-top: 32px; }
.feed-card.f3 { margin-top: 12px; }
.feed-card.f4 { margin-top: 26px; }
.feed-card.f5 { margin-top: 2px; }
/* Wat meer rust: extra ruimte tussen de hero-elementen */
.hub-hero { padding-bottom: 18px; }
.hub-hero .feed-cloud { margin-bottom: 26px; }
.hub-hero .sk-hero-title { margin-top: 18px; margin-bottom: 12px; }
.hub-hero .sk-hero-sub { margin-bottom: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .feed-card { animation: sk-flyin 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
}
@media (max-width: 720px) {
  .feed-cloud { gap: 12px; }
  .feed-card { width: 132px; }
}
.sk-cloud-ico::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%);
}
/* Centraal "AI Skills"-icoon onder de waaier (zoals het App Store-logo) */
.sk-hero-mark {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 24%; color: #fff;
  background: linear-gradient(160deg, #ff5a6a, var(--brand));
  box-shadow: 0 16px 28px -10px rgba(170, 0, 25, 0.42), 0 3px 8px rgba(0, 0, 0, 0.12);
  margin: 16px 0 16px;
}
.sk-hero-mark::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 58%);
}
.sk-hero-mark svg { position: relative; width: 44px; height: 44px; }
.sk-hero-title { font-size: 2rem; margin: 0 0 6px; }
.sk-hero-sub { color: var(--ink-soft); font-size: 1.02rem; margin: 0 auto 16px; max-width: 54ch; }
.sk-hero-search { max-width: none; margin: 0 auto; }
.sk-hero-share { display: inline-flex; margin-top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .sk-cloud-ico { animation: sk-flyin 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  @keyframes sk-flyin {
    from { opacity: 0; transform: translateY(20px) scale(0.78); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
}

@media (max-width: 720px) {
  .sk-cloud { transform: scale(0.82); transform-origin: top center; margin-bottom: -10px; }
}
@media (max-width: 520px) {
  .sk-cloud { transform: scale(0.62); }
}

/* Carrousel per thema */
.sk-shelf { margin: 0 0 22px; }
.sk-shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.sk-shelf-title { font-size: 1.12rem; margin: 0; font-weight: 600; }

/* MostWare approved-sectie: licht groen getint kaartje zodat het direct opvalt. */
.sk-approved {
  background: color-mix(in srgb, #157347 5%, #fff);
  border: 1px solid color-mix(in srgb, #157347 18%, var(--line-soft));
  border-radius: 16px; padding: 16px 16px 18px; margin: 0 0 26px;
}
.sk-approved .sk-shelf-title { display: flex; align-items: center; gap: 9px; }
.sk-approved-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: #157347; color: #fff;
  font-size: 0.78rem; font-weight: 700; flex: 0 0 auto;
}
.sk-approved-note { color: var(--ink-soft); font-size: 0.9rem; margin: -2px 0 14px; max-width: 70ch; }
.sk-shelf-nav { display: flex; gap: 6px; flex-shrink: 0; }
.sk-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 1.15rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.sk-arrow:hover { background: var(--bg-alt); border-color: #d8dbe0; }
.sk-rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity;
  /* ruime verticale padding zodat hover-lift + schaduw niet wordt afgeknipt */
  padding: 8px 4px 14px; scrollbar-width: none;
}
.sk-rail::-webkit-scrollbar { display: none; }
.sk-tile {
  flex: 0 0 112px; scroll-snap-align: start; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.sk-tile-ico {
  position: relative; width: 96px; height: 96px; border-radius: 22px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: transform 0.12s, box-shadow 0.15s;
}
.sk-tile-ico svg { width: 44px; height: 44px; }
.sk-tile-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.sk-tile-glyph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}
.sk-tile-glyph svg { width: 42px; height: 42px; }
.sk-tile:hover .sk-tile-ico { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sk-tile-check {
  position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: #157347; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sk-tile-title {
  font-size: 0.82rem; line-height: 1.25; color: var(--ink); font-weight: 500; max-width: 100%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sk-tile-meta { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.sk-star { color: #f5a623; }

/* Genummerde Top 10 — 2×5 raster (links 1–5, rechts 6–10) */
.sk-top10 {
  list-style: none; margin: 0; padding: 2px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto); grid-auto-flow: column;
  gap: 4px 30px;
}
.sk-top-row {
  display: flex; align-items: center; gap: 13px; padding: 8px 8px;
  border-radius: 12px; text-decoration: none; color: inherit; transition: background 0.15s;
}
.sk-top-row:hover { background: var(--bg-alt); }
.sk-top-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; line-height: 1;
  color: #16181d; min-width: 1.7ch; text-align: center; flex: 0 0 auto;
}
.sk-top-num.is-podium { color: #16181d; }
.sk-top-thumb {
  position: relative; width: 50px; height: 50px; border-radius: 12px; overflow: hidden;
  flex: 0 0 auto; box-shadow: var(--shadow-sm);
}
.sk-top-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-top-glyph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
.sk-top-glyph svg { width: 22px; height: 22px; }
.sk-top-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sk-top-title { font-size: 0.92rem; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-top-meta { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 680px) {
  .sk-top10 { grid-template-columns: 1fr; grid-template-rows: auto; grid-auto-flow: row; }
}

/* Grote categorie-tegels (staande rechthoeken met afbeelding + tekst) */
.sk-cat-rail { gap: 16px; padding: 12px 8px 20px; }
.sk-cat-card {
  position: relative; flex: 0 0 184px; height: 236px; border-radius: 18px; overflow: hidden;
  scroll-snap-align: start; text-decoration: none; color: #fff;
  box-shadow: var(--shadow-sm); transition: transform 0.14s, box-shadow 0.15s;
}
.sk-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sk-cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sk-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--cat, #1b1b1b) 82%, #000) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0) 78%);
  opacity: 0.9;
}
.sk-cat-text { position: absolute; left: 15px; right: 15px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.sk-cat-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.sk-cat-count { font-size: 0.8rem; opacity: 0.92; }
.sk-cat-card.is-active { box-shadow: 0 0 0 3px var(--cat, var(--brand)), var(--shadow-md); }

/* Uitklapbare zoekbalk: alleen een vergrootglas dat uitschuift naar de balk */
.sk-search { display: flex; justify-content: center; margin: 4px 0 26px; }
.sk-search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--brand);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.sk-search-btn:hover { border-color: #d8dbe0; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sk-search-btn svg { width: 20px; height: 20px; }
/* Hogere specificiteit dan .task-search, zodat verbergen/tonen klopt */
.sk-search .sk-search-form { display: none; width: 100%; margin: 0; }
.sk-search.is-open .sk-search-btn,
.sk-search.is-closing .sk-search-btn { display: none; }
.sk-search.is-open .sk-search-form { display: flex; overflow: hidden; animation: sk-expand 0.32s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.sk-search.is-closing .sk-search-form { display: flex; overflow: hidden; animation: sk-collapse 0.3s cubic-bezier(0.4, 0, 0.6, 1) both; }
@keyframes sk-expand {
  from { opacity: 0; max-width: 60px; }
  to   { opacity: 1; max-width: 1100px; }
}
@keyframes sk-collapse {
  from { opacity: 1; max-width: 1100px; }
  to   { opacity: 0; max-width: 60px; }
}
.sk-search-close {
  flex: 0 0 auto; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--muted); padding: 0 8px 2px;
}
.sk-search-close:hover { color: var(--ink); }

/* Bij filteren blijft de categorie-strook onder de navbar staan */
.sk-cats { scroll-margin-top: calc(var(--nav-h) + 14px); }

/* Inline categorie-filter: resultatenraster */
.sk-cat-panel {
  margin: 2px 0 22px; padding: 14px 16px 16px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  animation: sk-fade 0.32s ease both;
  scroll-margin-top: calc(var(--nav-h) + 18px); /* blijf onder de plakkende navbar */
}
@keyframes sk-fade { from { opacity: 0; } to { opacity: 1; } }

/* Uitgelichte items (groot blok + "ook interessant") staan al bovenaan;
   in de lijst standaard verborgen, maar zichtbaar zodra er gefilterd wordt. */
.article-row.is-lead { display: none; }

/* Lege staat: nog geen content voor dit filter */
.hub-empty { text-align: center; padding: 46px 20px 54px; color: var(--muted); animation: sk-fade 0.3s ease both; }
.hub-empty svg { width: 44px; height: 44px; color: var(--line); margin-bottom: 12px; }
.hub-empty h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.hub-empty p { margin: 0 auto; font-size: 0.95rem; max-width: 44ch; }
.sk-cat-panel .sk-shelf-head { margin-bottom: 12px; }
.sk-cat-close { background: none; border: none; cursor: pointer; font: inherit; }
.sk-tile-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 20px 16px; padding: 2px;
}

/* Placeholder-cover op de skill-detailpagina */
.skill-cover { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0 0 18px; aspect-ratio: 5 / 2; }
.skill-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skill-cover-glyph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}
.skill-cover-glyph svg { width: 64px; height: 64px; }
.coll-row-center { justify-content: center; margin-bottom: 22px; }

/* Voorkeur-regel onder "Voor jou" */
.pref-line { margin: -6px 0 14px; color: var(--muted); font-size: 0.92rem; }
.pref-line a { color: var(--brand); font-weight: 500; }
.pref-chip {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0 4px;
}

/* Activiteit-tellers in het overzicht */
.counts .act { display: inline-flex; align-items: center; gap: 4px; }
.counts .act .ic-sm { color: var(--muted); }
.counts .act:first-child .ic-sm { color: var(--brand); }

/* ---------- Omgevingen: hub-kaarten op de startpagina ---------- */
.hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent, var(--brand));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 18px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.hub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hub-card-kicker {
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent, var(--brand));
}
.hub-card-title { font-size: 1.5rem; margin: 8px 0 8px; }
.hub-card-sub { margin: 0; color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.hub-card-foot {
  margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between;
}
.hub-card .arrow { color: var(--accent, var(--brand)); transition: transform 0.12s; }
.hub-card:hover .arrow { transform: translateX(3px); }

/* ---------- Hub-pagina: eigen gekleurde banner per omgeving ---------- */
.hub-banner {
  background: transparent;
  color: var(--ink);
  margin-top: -32px;
  margin-bottom: 14px;
  padding: 12px 0 12px;
}
.hub-banner h1 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.hub-banner p { margin: 0; max-width: 60ch; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.hub .chip.is-active { background: var(--accent, var(--ink)); border-color: var(--accent, var(--ink)); color: #fff; }

/* ---------- Likes & tellers ---------- */
.ic-sm { width: 13px; height: 13px; vertical-align: -2px; }
.counts { margin-left: auto; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.byline-row .likes { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.byline-row .likes .ic-sm { color: var(--brand); }
.rail-card .byline-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.post-actions { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.like-btn .ic-sm { width: 16px; height: 16px; color: var(--muted); }
.like-btn:hover { border-color: var(--brand); color: var(--brand); }
.like-btn:hover .ic-sm { color: var(--brand); }
.like-btn .like-count {
  background: var(--bg-alt); color: var(--ink-soft);
  border-radius: 999px; padding: 1px 9px; font-size: 0.82rem;
}
.like-btn.is-liked { background: var(--brand-soft); border-color: #f1c9ce; color: var(--brand-dark); }
.like-btn.is-liked .ic-sm { color: var(--brand); }
.like-btn.is-liked .like-count { background: #fff; color: var(--brand-dark); }

/* Trending-sectie: het accentbalkje altijd in MostWare-rood */
.section-trending::before { background: var(--brand); }
.section-hint { color: var(--muted); font-size: 0.85rem; }

/* ---------- Omslagafbeeldingen ---------- */
.cover { background: var(--bg-alt); overflow: hidden; }
.cover-art { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ---------- Uitgelichte 'lead' ---------- */
.lead {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 26px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.lead:hover { box-shadow: var(--shadow-md); border-color: #d8dbe0; }
.cover-lead { min-height: 250px; height: 100%; }
.lead-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.lead-body h2 { font-size: 1.6rem; margin: 0 0 10px; }
.lead:hover .lead-body h2 { color: var(--brand); }
.feat-flag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-left: auto;
}
.feat-excerpt { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 16px; }

/* ---------- Artikellijst: media-rijen (afbeelding links) ---------- */
.article-list { display: flex; flex-direction: column; gap: 14px; }
.article-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.article-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
/* Feed-thumbnail: 16:9 (gelijk aan de foto's), verticaal gecentreerd — geen crop */
.cover-thumb { aspect-ratio: 16 / 9; min-height: 0; height: auto; align-self: center; margin: 14px; border-radius: 12px; position: relative; }
/* Type-label op de afbeelding (artikel/video/podcast/webinar) */
.type-badge {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(20, 22, 26, 0.78); color: #fff;
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.type-badge svg { width: 13px; height: 13px; }
.article-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.article-title { font-size: 1.18rem; margin: 0; font-weight: 600; }
.article-row:hover .article-title { color: var(--brand); }
.article-excerpt {
  margin: 0; color: var(--ink-soft); font-size: 0.95rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.byline-row { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--muted); font-size: 0.82rem; }
.byline-row .meta { min-width: 0; }
.byline-row .replies { margin-left: auto; white-space: nowrap; }

/* ---------- Carrousel (strips zonder scrollbalk, met pijltjes) ---------- */
.carousel { position: relative; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer; z-index: 3;
  opacity: 0; transition: opacity 0.15s, border-color 0.12s;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { border-color: var(--ink); }
.carousel-btn.prev { left: -14px; }
.carousel-btn.next { right: -14px; }
@media (max-width: 700px) { .carousel-btn { display: none; } } /* op mobiel swipe je */

/* ---------- 'Voor jou'-strip (horizontaal) ---------- */
.rail {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px; margin: 0 -4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;          /* Firefox: geen scrollbalk */
  -ms-overflow-style: none;
}
.rail::-webkit-scrollbar { display: none; }  /* Chrome/Safari/Edge: geen scrollbalk */
.rail-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.rail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
.rail-card .cover { aspect-ratio: 16 / 9; }
.rail-body { padding: 14px 16px; }
.rail-title { font-size: 1.02rem; margin: 8px 0; font-weight: 600; color: var(--ink); }

/* ---------- Cover op detailpagina ---------- */
.cover-hero { aspect-ratio: 16 / 9; border-radius: var(--radius); margin-bottom: 22px; }

/* ---------- Inlogscherm / accountkiezer ---------- */
.auth-body { min-height: 100vh; display: flex; background: var(--bg-alt); }
.auth-wrap { margin: auto; width: 100%; max-width: 560px; padding: 40px 20px; }
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.auth-logo { display: block; margin-bottom: 20px; }
.auth-card h1 { font-size: 1.5rem; margin: 0 0 6px; }
.auth-sub { color: var(--muted); margin: 0 0 24px; }

.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.account-grid form { margin: 0; }
.account-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.12s, box-shadow 0.12s, transform 0.1s;
}
.account-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.account-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.account-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.account-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.rbadge {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.rbadge-admin { background: var(--brand); color: #fff; }
.rbadge-clevel { background: var(--ink); color: #fff; }
.rbadge-reader { background: #eef0f2; color: var(--muted); }
.account-role { font-size: 0.78rem; color: var(--muted); }

.auth-divider { display: flex; align-items: center; text-align: center; color: var(--muted); font-size: 0.85rem; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-divider span { padding: 0 12px; }
.auth-form label { font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; margin-top: 4px; }
.sso-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.sso-btn svg { border-radius: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .search { width: 180px; }
}
@media (max-width: 820px) {
  /* navbar wordt twee rijen: logo + acties boven, menu (gecentreerd) eronder */
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    min-height: 0;
  }
  .logo { order: 1; }
  .nav-right { order: 2; margin-left: auto; }
  .nav-main { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .search { width: 160px; }
}
@media (max-width: 620px) {
  .lead { grid-template-columns: 1fr; }
  .cover-lead { min-height: 0; aspect-ratio: 16 / 9; }
  .article-row { grid-template-columns: 1fr; }
  .cover-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .account-grid { grid-template-columns: 1fr; }
  .form-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .bleed-inner { padding: 0 16px; }
  .hero { padding: 28px 0; }
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { gap: 22px; }
  .hub-banner { padding: 40px 0; }
  .hub-banner h1 { font-size: 1.6rem; }
  .card-grid { grid-template-columns: 1fr; }
  .post { padding: 24px 20px; }
  .post h1 { font-size: 1.5rem; }
  .form-row { flex-direction: column; gap: 0; }
  .filter-label { width: 100%; }
}

/* ---------- Parallax: artikelen onthullen tijdens scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .article-row, .hub-card, .rail-card, .skill-card {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 34%;
    }
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
  }
}

/* ---------- Skills-bibliotheek ---------- */
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }
.hero-skills { background: transparent; }
.hero-skills .kicker { color: var(--brand); }

/* Skills — taakgericht zoeken */
.task-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); padding: 6px 6px 6px 18px; margin: 4px 0 18px;
}
.task-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.task-search .ic { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.task-search input {
  flex: 1; border: none; background: transparent; outline: none; margin: 0; padding: 8px 0;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); border-radius: 0; box-shadow: none;
}
.task-search .btn { flex-shrink: 0; border-radius: 999px; padding: 10px 22px; }

/* Skills — behoefte-collecties */
.coll-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.coll-lead { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink); margin-right: 4px; }
.coll-chip {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.coll-chip:hover { border-color: var(--brand); color: var(--brand); }
.coll-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Skill-versies */
.ver-tag {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600;
  color: var(--muted); background: var(--bg-alt); border-radius: 5px; padding: 1px 6px;
}
.ver-tag-lg { font-size: 0.78rem; padding: 2px 8px; }
.versions { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.versions-head { font-size: 1rem; margin: 0 0 10px; font-weight: 600; }
.version-list { list-style: none; margin: 0 0 14px; padding: 0; }
.version-item {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem;
}
.version-item:last-child { border-bottom: none; }
.ver-current { font-size: 0.7rem; font-weight: 600; color: #157347; background: #ecfdf3; border-radius: 5px; padding: 1px 7px; }
.version-notes { color: var(--ink-soft); min-width: 0; flex: 1; }
.version-date { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.version-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.version-form input { width: auto; margin: 0; padding: 8px 12px; font-size: 0.88rem; }
.version-form input[name="notes"] { flex: 1; min-width: 180px; }

/* Skills — compacte, rustige lijst (titel + categorie + rating) */
.sklist {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2px 16px;
}
.sklist-row {
  display: grid; grid-template-columns: 22px 1fr auto auto auto; gap: 14px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: inherit;
}
.sklist-row:last-child { border-bottom: none; }
.sklist-ico { display: inline-flex; }
.sklist-ico svg { width: 18px; height: 18px; }
.sklist-title {
  font-weight: 400; font-size: 0.95rem; color: var(--ink);
  min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sklist-row:hover .sklist-title { color: var(--brand); }
.sklist-cat { white-space: nowrap; background: none; padding: 0; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.sklist-dl { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
@media (max-width: 640px) {
  .sklist-row { grid-template-columns: 22px 1fr auto; }
  .sklist-cat, .sklist-stars { display: none; }
}

/* Skills — rustige kaart-stijlen (vergelijk A/B/C) */
.skcomp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 8px; }
.skcard {
  display: flex; flex-direction: column; gap: 7px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.skcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
.sk-title { font-size: 1rem; margin: 0; font-weight: 600; line-height: 1.28; }
.skcard:hover .sk-title { color: var(--brand); }
.sk-sum { margin: 0; color: var(--muted); font-size: 0.86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sk-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.sk-dl { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
.sk-head { display: flex; align-items: center; gap: 7px; }
.sk-ico { display: inline-flex; }
.sk-ico svg { width: 17px; height: 17px; }

/* A · Minimaal */
.skcard-min { padding: 16px; }
.skm-tile { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.skm-tile svg { width: 19px; height: 19px; }

/* B · Zacht accent (kleurrand links) */
.skcard-bar { padding: 14px 16px; border-left: 4px solid var(--brand); }

/* C · Pastel-kop */
.skcard-pastel { gap: 0; overflow: hidden; }
.skp-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; }
.skp-ico { display: inline-flex; }
.skp-ico svg { width: 18px; height: 18px; }
.skp-cat { font-family: var(--font-head); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.skp-body { padding: 12px 16px 0; display: flex; flex-direction: column; gap: 6px; }
.skp-foot { padding: 12px 16px; }
.skp-approved { margin-left: auto; color: #157347; font-weight: 700; font-size: 0.82rem; }
.skp-head-rail { justify-content: center; padding: 14px; position: relative; }
.skp-head-rail .skp-approved { position: absolute; top: 6px; right: 8px; margin: 0; }
.skp-head-rail .skp-ico svg { width: 22px; height: 22px; }

/* Skills A — Marketplace-kaarten */
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mkt-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.mkt-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
.mkt-top { position: relative; height: 72px; display: flex; align-items: center; justify-content: center; }
.mkt-ico svg { width: 28px; height: 28px; color: #fff; }
.mkt-approved {
  position: absolute; top: 8px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700;
}
.mkt-body { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.mkt-title { font-size: 1rem; margin: 1px 0; font-weight: 600; line-height: 1.28; }
.mkt-card:hover .mkt-title { color: var(--brand); }
.mkt-sum { margin: 0; color: var(--muted); font-size: 0.86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mkt-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line-soft); }
.mkt-dl { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }

/* Skills C — Categorie-rails (horizontaal) */
.skill-railhead {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink);
  margin: 22px 0 10px;
}
.skill-railhead .skill-ico-sm svg { width: 17px; height: 17px; color: var(--brand); }
.skill-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin: 0 0 6px;
}
.skill-railcard {
  flex: 0 0 200px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.skill-railcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
.skill-railcard .mkt-top { height: 58px; }
.skill-railcard .mkt-ico svg { width: 24px; height: 24px; }
.rc-body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 5px; }
.rc-title { font-size: 0.95rem; margin: 0; font-weight: 600; line-height: 1.28; }
.skill-railcard:hover .rc-title { color: var(--brand); }
.stars-sm svg { width: 13px; height: 13px; }
.rc-dl { color: var(--muted); font-size: 0.76rem; }

/* === Kaart-vergelijkpagina (skill-kaart ontwerpen naast elkaar) ========= */
.cardprev { max-width: 1000px; margin: 0 auto; }
.cardprev h1 { margin: 6px 0 2px; }
.cardprev-sec { margin: 26px 0 8px; }
.cardprev-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  margin: 0 0 14px;
}
.cp-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 0.85rem; font-weight: 700;
}
.cp-num-ghost { background: var(--bg-alt); color: var(--muted); }
.cardprev-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cardprev-row > a { flex: 0 0 210px; max-width: 210px; }

/* Variant 1 — App-icoon */
.v1card {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s;
}
.v1card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.v1-ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.v1-ico svg { width: 24px; height: 24px; }
.v1-main { min-width: 0; flex: 1; }
.v1-title { font-size: 0.95rem; margin: 1px 0 1px; font-weight: 600; line-height: 1.25; }
.v1card:hover .v1-title { color: var(--brand); }
.v1-cat { display: block; color: var(--muted); font-size: 0.76rem; margin-bottom: 7px; }
.v1-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v1-dl { color: var(--muted); font-size: 0.76rem; white-space: nowrap; }

/* Variant 2 — Gradient-kop */
.v2card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s; display: block;
}
.v2card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.v2-head {
  height: 72px; display: flex; align-items: center; justify-content: center;
  position: relative; color: #fff;
}
.v2-head svg { width: 30px; height: 30px; }
.v2-approved {
  position: absolute; top: 7px; right: 9px; color: #fff;
  background: rgba(255,255,255,0.25); border-radius: 50%; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 700;
}
.v2-body { padding: 11px 14px 13px; }
.v2-title { font-size: 0.95rem; margin: 0 0 8px; font-weight: 600; line-height: 1.28; }
.v2card:hover .v2-title { color: var(--brand); }
.v2-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-dl { color: var(--muted); font-size: 0.76rem; white-space: nowrap; }

/* Variant 3 — Accent-rand + chip */
.v3card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 13px 15px 14px; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s; display: block;
}
.v3card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.v3-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.v3-chip {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.v3-chip svg { width: 16px; height: 16px; }
.v3-cat { font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.v3-approved { margin-left: auto; color: #157347; font-weight: 700; font-size: 0.82rem; }
.v3-title { font-size: 0.96rem; margin: 0 0 10px; font-weight: 600; line-height: 1.28; }
.v3card:hover .v3-title { color: var(--brand); }
.v3-foot { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--muted); }
.v3-rating { font-weight: 600; color: var(--ink); }
.v3-dl { margin-left: auto; white-space: nowrap; }

/* Variant 4 — Donkere kop */
.v4card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s; display: block;
}
.v4card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.v4-head { padding: 8px 13px; color: #fff; display: flex; align-items: center; gap: 8px; }
.v4-head svg { width: 17px; height: 17px; flex: 0 0 auto; }
.v4-ico { display: inline-flex; }
.v4-cat { font-family: var(--font-head); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; opacity: 0.92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v4-approved { margin-left: auto; color: #fff; font-size: 0.8rem; font-weight: 700; flex: 0 0 auto; }
.v4-body { padding: 12px 15px 14px; }
.v4-title { font-size: 0.96rem; margin: 0 0 9px; font-weight: 400; line-height: 1.28; }
.v4card:hover .v4-title { color: var(--brand); }
.v4-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v4-dl { color: var(--muted); font-size: 0.76rem; white-space: nowrap; }

/* Skills B — compacte, per categorie gegroepeerde lijst */
.skill-cat-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  margin: 26px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.skill-cat-head .skill-ico-sm { display: inline-flex; }
.skill-cat-head .skill-ico-sm svg { width: 18px; height: 18px; color: var(--brand); }
.skill-cat-head .count { color: var(--muted); font-weight: 500; font-size: 0.9rem; }

.skill-list {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 2px 16px; margin-bottom: 10px;
}
.skill-row {
  display: grid; grid-template-columns: 38px 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: inherit;
}
.skill-row:last-child { border-bottom: none; }
.skill-row-ico {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
}
.skill-row-ico svg { width: 18px; height: 18px; color: var(--ink-soft); }
.skill-row-main { min-width: 0; }
.skill-row-title {
  font-size: 1rem; margin: 0 0 2px; font-weight: 600; line-height: 1.25;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.skill-row:hover .skill-row-title { color: var(--brand); }
.skill-row-sum {
  margin: 0; color: var(--muted); font-size: 0.85rem;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.skill-row-dl { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
@media (max-width: 620px) {
  .skill-row { grid-template-columns: 38px 1fr; }
  .skill-row-stars, .skill-row-dl { display: none; }
}

/* Sterren */
.stars { display: inline-flex; gap: 2px; }
.stars span { display: inline-flex; }
.stars svg { width: 15px; height: 15px; color: var(--line); }
.stars span.on svg { color: #f5a623; }
.stars-lg svg { width: 20px; height: 20px; }

/* Skill-detail */
.skill-lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 18px; }
.skill-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.skill-bar-meta { color: var(--muted); font-size: 0.9rem; }
.skill-dl { margin-left: auto; }
.skill-body { font-size: 1.02rem; }

/* ---------- Skill-detailpagina: app-kop + nette sectie-scheiding ---------- */
.skill-detail .skill-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.skill-head-ico {
  position: relative; width: 92px; height: 92px; border-radius: 22px; overflow: hidden;
  flex: 0 0 auto; box-shadow: var(--shadow-sm);
}
.skill-head-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skill-head-glyph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}
.skill-head-glyph svg { width: 44px; height: 44px; }
.skill-head-main { min-width: 0; flex: 1 1 auto; }
.skill-detail .skill-head-main h1 { font-size: 1.8rem; margin: 8px 0 8px; }
.skill-detail .skill-lead { margin: 0; }

.skill-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.skill-section-title {
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.skill-section-title svg { width: 16px; height: 16px; color: var(--muted); }
.skill-detail .skill-body { color: var(--ink-soft); }
/* binnen een sectie geen dubbele scheidingslijn */
.skill-section > .rate-box-plain { margin: 0; padding: 0; border-top: none; }
.skill-section.replies { max-width: none; margin: 26px 0 0; }
.replies.skill-section .skill-section-title { font-size: 0.74rem; font-weight: 600; margin: 0 0 6px; }

.rate-box {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.rate-label { font-weight: 600; }
.rate-stars { display: flex; gap: 2px; }
.rate-stars form { margin: 0; }
.rate-star { background: none; border: none; cursor: pointer; padding: 2px; color: var(--line); line-height: 0; }
.rate-star svg { width: 26px; height: 26px; }
.rate-star.on { color: #f5a623; }
.rate-star:hover { color: #f5a623; }
.rate-current { color: var(--muted); font-size: 0.9rem; }
.admin-actions { display: flex; gap: 10px; }

/* ---------- Vergelijk-weergaven (tijdelijk) ---------- */
.variant-note {
  color: var(--ink-soft); font-size: 0.88rem;
  background: var(--brand-soft); border: 1px solid #f1c9ce;
  border-radius: var(--radius-sm); padding: 9px 13px; margin: 0 0 18px;
}
.variant-label {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line);
}

/* Variant B: kaarten-raster */
.acard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.acard {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
}
.acard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8dbe0; }
.acard-cover { aspect-ratio: 16 / 9; }
.acard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.acard-title { font-size: 1.05rem; margin: 0; font-weight: 600; line-height: 1.3; }
.acard:hover .acard-title { color: var(--brand); }
.acard-excerpt { margin: 0; color: var(--ink-soft); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard .byline-row { margin-top: 2px; }

/* Variant C: compacte lijst */
.compact-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 2px 16px; }
.compact-row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: inherit;
}
.compact-row:last-child { border-bottom: none; }
.compact-thumb { width: 44px; height: 44px; border-radius: 8px; }
.compact-main { min-width: 0; }
.compact-title { font-size: 0.98rem; margin: 0 0 3px; font-weight: 600; line-height: 1.3; }
.compact-row:hover .compact-title { color: var(--brand); }
.compact-main .meta { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 0.8rem; }
.compact-main .meta .ctype { gap: 4px; }
.compact-counts { display: flex; gap: 12px; color: var(--muted); font-size: 0.8rem; }
.compact-counts .act { display: inline-flex; align-items: center; gap: 4px; }
.compact-counts .act:first-child .ic-sm { color: var(--brand); }
@media (max-width: 560px) { .compact-counts { display: none; } }

/* Uitlijning en afbeeldingen in bijdragen en editor */
[data-ta="left"] { text-align: left; } [data-ta="center"] { text-align: center; }
[data-ta="right"] { text-align: right; } [data-ta="justify"] { text-align: justify; }
.rte img, .post-body.is-html img { max-width: 100%; height: auto; border-radius: 8px; }
.rte-bar .rte-sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
img[data-w="25"] { width: 25%; } img[data-w="50"] { width: 50%; }
img[data-w="75"] { width: 75%; } img[data-w="100"] { width: 100%; }
.rte-field { position: relative; }
.rte-img { position: absolute; z-index: 5; gap: 2px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.rte-img button { border: 0; background: transparent; padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: .8rem; color: var(--ink); }
.rte-img button:hover { background: var(--bg-alt); }
/* Tekstvak: hoger en met een versleephoek om zelf groter te maken */
.rte { min-height: 420px; max-height: none; resize: vertical; overflow: auto; }
.rte-source { min-height: 420px; }
/* Afbeeldingsbreedte in stappen van 5% (data-w) */
img[data-w="5"] { width: 5%; }
img[data-w="10"] { width: 10%; }
img[data-w="15"] { width: 15%; }
img[data-w="20"] { width: 20%; }
img[data-w="25"] { width: 25%; }
img[data-w="30"] { width: 30%; }
img[data-w="35"] { width: 35%; }
img[data-w="40"] { width: 40%; }
img[data-w="45"] { width: 45%; }
img[data-w="50"] { width: 50%; }
img[data-w="55"] { width: 55%; }
img[data-w="60"] { width: 60%; }
img[data-w="65"] { width: 65%; }
img[data-w="70"] { width: 70%; }
img[data-w="75"] { width: 75%; }
img[data-w="80"] { width: 80%; }
img[data-w="85"] { width: 85%; }
img[data-w="90"] { width: 90%; }
img[data-w="95"] { width: 95%; }
img[data-w="100"] { width: 100%; }
.rte-handle { position: absolute; z-index: 6; width: 22px; height: 22px; background: var(--brand); border: 2px solid #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.4); cursor: nwse-resize; touch-action: none; }
.rte-img-tip { font-size: .72rem; color: var(--muted); padding: 0 6px; align-self: center; white-space: nowrap; }
/* Afbeeldingsbreedte: de overige procenten (1-100, naast de stappen van 5 hierboven) */
img[data-w="1"] { width: 1%; }
img[data-w="2"] { width: 2%; }
img[data-w="3"] { width: 3%; }
img[data-w="4"] { width: 4%; }
img[data-w="6"] { width: 6%; }
img[data-w="7"] { width: 7%; }
img[data-w="8"] { width: 8%; }
img[data-w="9"] { width: 9%; }
img[data-w="11"] { width: 11%; }
img[data-w="12"] { width: 12%; }
img[data-w="13"] { width: 13%; }
img[data-w="14"] { width: 14%; }
img[data-w="16"] { width: 16%; }
img[data-w="17"] { width: 17%; }
img[data-w="18"] { width: 18%; }
img[data-w="19"] { width: 19%; }
img[data-w="21"] { width: 21%; }
img[data-w="22"] { width: 22%; }
img[data-w="23"] { width: 23%; }
img[data-w="24"] { width: 24%; }
img[data-w="26"] { width: 26%; }
img[data-w="27"] { width: 27%; }
img[data-w="28"] { width: 28%; }
img[data-w="29"] { width: 29%; }
img[data-w="31"] { width: 31%; }
img[data-w="32"] { width: 32%; }
img[data-w="33"] { width: 33%; }
img[data-w="34"] { width: 34%; }
img[data-w="36"] { width: 36%; }
img[data-w="37"] { width: 37%; }
img[data-w="38"] { width: 38%; }
img[data-w="39"] { width: 39%; }
img[data-w="41"] { width: 41%; }
img[data-w="42"] { width: 42%; }
img[data-w="43"] { width: 43%; }
img[data-w="44"] { width: 44%; }
img[data-w="46"] { width: 46%; }
img[data-w="47"] { width: 47%; }
img[data-w="48"] { width: 48%; }
img[data-w="49"] { width: 49%; }
img[data-w="51"] { width: 51%; }
img[data-w="52"] { width: 52%; }
img[data-w="53"] { width: 53%; }
img[data-w="54"] { width: 54%; }
img[data-w="56"] { width: 56%; }
img[data-w="57"] { width: 57%; }
img[data-w="58"] { width: 58%; }
img[data-w="59"] { width: 59%; }
img[data-w="61"] { width: 61%; }
img[data-w="62"] { width: 62%; }
img[data-w="63"] { width: 63%; }
img[data-w="64"] { width: 64%; }
img[data-w="66"] { width: 66%; }
img[data-w="67"] { width: 67%; }
img[data-w="68"] { width: 68%; }
img[data-w="69"] { width: 69%; }
img[data-w="71"] { width: 71%; }
img[data-w="72"] { width: 72%; }
img[data-w="73"] { width: 73%; }
img[data-w="74"] { width: 74%; }
img[data-w="76"] { width: 76%; }
img[data-w="77"] { width: 77%; }
img[data-w="78"] { width: 78%; }
img[data-w="79"] { width: 79%; }
img[data-w="81"] { width: 81%; }
img[data-w="82"] { width: 82%; }
img[data-w="83"] { width: 83%; }
img[data-w="84"] { width: 84%; }
img[data-w="86"] { width: 86%; }
img[data-w="87"] { width: 87%; }
img[data-w="88"] { width: 88%; }
img[data-w="89"] { width: 89%; }
img[data-w="91"] { width: 91%; }
img[data-w="92"] { width: 92%; }
img[data-w="93"] { width: 93%; }
img[data-w="94"] { width: 94%; }
img[data-w="96"] { width: 96%; }
img[data-w="97"] { width: 97%; }
img[data-w="98"] { width: 98%; }
img[data-w="99"] { width: 99%; }

/* Tekstkleuren uit de editor (vast palet, data-c) */
span[data-c="rood"] { color: #dc2626; } span[data-c="oranje"] { color: #ea580c; } span[data-c="groen"] { color: #16a34a; }
span[data-c="blauw"] { color: #2563eb; } span[data-c="paars"] { color: #7c3aed; } span[data-c="grijs"] { color: #6b7280; }
.rte-regen { position: relative; display: inline-block; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; overflow: hidden;
  background: conic-gradient(from 0deg, #ff0000, #ffbf00, #80ff00, #00ff40, #00ffff, #0040ff, #8000ff, #ff00bf, #ff0000); }
.rte-regen:hover { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(0,0,0,.08); }
.rte-regen input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.rte-bar .rte-kl-reset { min-width: 0; width: 28px; height: 34px; padding: 0; font-weight: 700; font-size: .95rem; color: var(--ink); }
/* Afbeeldingsknop: één vierkant met een fotopictogram in kleur */
.rte-bar .rte-afb { width: 34px; height: 34px; min-width: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.rte-bar .rte-afb:hover { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(0,0,0,.06); }
/* Verwijderknop in het afbeeldingsbalkje: duidelijk prullenbakje */
.rte-img .rte-img-del { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 28px; padding: 0; margin-left: 4px; color: var(--ink); border-left: 1px solid var(--line); border-radius: 0 6px 6px 0; }
.rte-img .rte-img-del:hover { background: var(--bg-alt); color: var(--ink); }

/* Concepten: melding in het formulier, herstel-balkje, verwijderen en de lijst in het profiel */
.nt-concept { margin: 4px 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.nt-concept.is-ok { background: #ecfdf3; border-color: #a6e3bf; color: #11603a; }
.nt-herstel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; border: 1px solid #f2d48a; font-size: .88rem; color: #6b4e00; }
.nt-herstel span { flex: 1 1 260px; }
.nt-concept-weg { margin-top: 14px; }
.nt-concept-weg button { border: 0; background: none; padding: 0; color: var(--muted); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.nt-concept-weg button:hover { color: var(--ink); }
.pf-concept-uitleg { margin: -4px 0 12px; font-size: .88rem; color: var(--muted); }
.pf-concepten { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-concept { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--card); }
.pf-concept-tekst { flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.pf-concept-tekst b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-concept-tekst small { color: var(--muted); font-size: .8rem; }
.pf-concept form { margin: 0; }
.pf-concept-weg { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.pf-concept-weg:hover { background: var(--bg-alt); border-color: var(--line); }
.mp .pa-balk { margin-bottom: 18px; }

/* Goedkeuren vanaf de leespagina (bijdrage in review) */
.ar-review.met-knoppen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ar-keur { display: inline-flex; gap: 8px; }
.ar-keur form { margin: 0; }
.ar-keur-goed { border: 0; border-radius: 8px; padding: 7px 14px; background: #16a34a; color: #fff; font-weight: 600; font-size: .88rem; cursor: pointer; }
.ar-keur-goed:hover { background: #15803d; }
.ar-keur-af { border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; background: var(--card); color: var(--ink); font-size: .88rem; cursor: pointer; }
.ar-keur-af:hover { border-color: var(--ink); }
.ar-goedgekeurd { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #ecfdf3; border: 1px solid #a6e3bf; color: #11603a; font-size: .9rem; }
