/* Section: content-block (file: content-typography.css)
 * Shared long-form prose styles — aliased to content-block AND used by
 * article bodies. Navy/blue design system. Scoped to .content-section and the
 * v11 inline content pattern classes; uses canonical tokens only. */

.content-section {
  font-family: var(--font);
  color: var(--ink);
}

/* ---------- Headings ---------- */
.content-section h2,
.content-section h3,
.content-section h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.25;
}
.content-section h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
}
.content-section h3 {
  margin: 28px 0 12px;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
}
.content-section h4 {
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 600;
}

/* ---------- Body copy ---------- */
.content-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: var(--ink);
}
.content-section p strong { color: var(--ink); font-weight: 700; }

.content-section a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.content-section a:hover { color: var(--blue-d); }

/* ---------- Lists ---------- */
.content-section ul, .content-section ol {
  margin: 30px 0 18px;
}
.content-section li {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--muted);
}
.content-section li strong { color: var(--ink); font-weight: 700; }

/* ---------- Blockquote ---------- */
.content-section blockquote {
  border-left: 3px solid var(--blue);
  padding: 8px 16px;
  margin: 18px 0;
  color: var(--muted);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
}
.content-section blockquote p:last-child { margin-bottom: 0; }

/* ---------- Images ---------- */
.content-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
}

/* ---------- Tables ---------- */
.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
  border:1px solid #000;
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
}
.content-section table th {
  background: var(--blue-l);
  color: var(--blue);
  text-align: left;
  padding: 12px 14px;
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.content-section table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.content-section table tr:last-child td { border-bottom: none; }
.content-section table tr:hover td { background: var(--blue-l); }

/* ---------- Related cards grid ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  background: var(--card);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.related-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.related-card h4 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 17px;
  color: var(--ink);
}
.related-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.related-card .arrow {
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--display);
}

/* ---------- v11 inline content patterns ---------- */

/* Checklist with check bullets */
.content-section ul.checks,
.checks {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
}
.content-section ul.checks li,
.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.content-section ul.checks li::before,
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--green-l);
  color: var(--green-d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
/* Error checklist with cross bullets */
.content-section ul.dechecks,
.dechecks {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.content-section ul.dechecks li,
.dechecks li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
}

.content-section ul.dechecks li::before,
.dechecks li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: #FEE2E2;
    color: #991B1B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #FCA5A5;
}

/* Rich-styled lists with bold prefix */
.content-section ul.rich-ul,
.content-section ol.rich-ol,
.rich-ul, .rich-ol {
  padding-left: 22px;
  margin: 14px 0 20px;
}
.content-section ul.rich-ul li,
.content-section ol.rich-ol li,
.rich-ul li, .rich-ol li {
  margin-bottom: 10px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}
.rich-ul li strong, .rich-ol li strong { color: var(--ink); font-weight: 700; }

/* Callout boxes (info, tip, warn) */
.callout {
  padding: 16px 18px;
  border-radius: var(--r);
  margin: 18px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--surface);
  border-left: 3px solid var(--muted);
}
.callout strong:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}
.callout-info {
  background: var(--blue-l);
  border-left-color: var(--blue);
}
.callout-tip {
  background: var(--green-l);
  border-left-color: var(--green-d);
}
.callout-warn {
  background: #fef3f2;
  border-left-color: var(--spoed);
}
.callout a { color: inherit; text-decoration: underline; }
.callout p:last-child { margin-bottom: 0; }

/* Numbered cards (vacatures, step lists) */
.num-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0;
}
@media (max-width: 880px) { .num-cards { grid-template-columns: 1fr; } }
.num-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  position: relative;
}
.num-card .num {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  font-family: var(--display);
  margin-bottom: 12px;
}
.num-card h4 {
  font-family: var(--display);
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
}
.num-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 6px;
}

/* Inline footnote markers (ⓘ) */
.content-section sup,
.cluster-hero-intro sup,
.quick-fact sup {
  color: var(--blue-d);
  font-size: 10px;
  font-weight: 400;
}

/* === APPEND onderaan de bestaande content-block.css ===
 * Styling voor de interne-navigatie-blokken (bm-clusternav / bm-orphanfix):
 * van een kaal <ul> naar een responsieve grid van link-tegels. */
.bm-clusternav, .bm-orphanfix { margin: 1.5rem 0; }
.bm-clusternav > h2, .bm-orphanfix > h2 { margin: 0 0 1rem; }
.bm-clusternav ul, .bm-orphanfix ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .65rem;
}
.bm-clusternav li, .bm-orphanfix li { margin: 0; padding: 0; }
.bm-clusternav li::before, .bm-orphanfix li::before { content: none; } /* geen bullet */
.bm-clusternav li a, .bm-orphanfix li a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .72rem 1rem; min-height: 48px;
  border: 1px solid var(--rc-border, #e5e7eb); border-radius: 10px;
  background: #fff; color: var(--rc-primary, #1F2D5C);
  font-weight: 600; line-height: 1.25; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-clusternav li a::after, .bm-orphanfix li a::after {
  content: "\203A"; /* › */ color: var(--blue, #EA580C);
  font-size: 1.3rem; line-height: 1; flex: none;
}
.bm-clusternav li a:hover, .bm-orphanfix li a:hover {
  border-color: var(--blue, #EA580C);
  box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px);
}
@media (max-width: 600px) {
  .bm-clusternav ul, .bm-orphanfix ul { grid-template-columns: 1fr; }
}

/* B&M — contextuele bridge-zin (fase 10). Append vanuit fase10-context/bm-bridge.css
   (doel content-block.css → alias content-typography.css). */
.bm-bridge{
  margin-top:1.25rem;padding:.85rem 1rem .85rem 1.1rem;
  border-left:3px solid var(--brand-primary,#EA580C);
  background:var(--brand-tint,#FFF7ED);
  border-radius:0 6px 6px 0;
  font-size:.97rem;line-height:1.55;color:#374151;
}
.bm-bridge a{color:var(--brand-primary,#EA580C);font-weight:600;text-decoration:none;}
.bm-bridge a:hover{text-decoration:underline;}
.bm-bridge::before{content:"Verder in context — ";font-weight:600;color:var(--brand-secondary,#1F2D5C);}
