/* -----------------------------------------------------------
   CSS VERSIE: v52 - 2 december 2024
----------------------------------------------------------- */

/* -----------------------------------------------------------
   BASISVARIABELE & THEMA
----------------------------------------------------------- */
:root {
  --fg: #222;
  --fg-muted: #777;
  --bg: #ffffff;

  --accent: #e11e1e;
  --accent-soft: #ffdddd;

  --border: #e1e1e1;
  --border-soft: #f1f1f1;

  --card-bg: #ffffff;
  --shadow: rgba(0,0,0,0.06);

  --container-narrow: 960px;
  --container-wide: 1100px;

  --radius: 18px;
  --radius-soft: 12px;
}

/* -----------------------------------------------------------
   RESET & BASISSTIJLEN
----------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------
   LAYOUT CONTAINERS
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 22px;
}

.container.narrow {
  max-width: var(--container-narrow);
}

/* -----------------------------------------------------------
   NAVIGATIE
----------------------------------------------------------- */
.page-border {
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.top-nav {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  z-index: 10;
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 600;
  color: var(--fg);
  font-size: 17px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--fg);
  font-size: 15px;
  padding: 4px 6px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-links a.active {
  color: var(--accent);
}

/* Nav item met submenu */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item .nav-arrow {
  display: none;
}

/* Submenu - ALTIJD verborgen, alleen zichtbaar op hover */
.nav-submenu,
.top-nav .nav-submenu,
.nav-links .nav-submenu,
.nav-item .nav-submenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
  pointer-events: none;
}

/* Desktop: submenus alleen zichtbaar op hover */
@media (min-width: 781px) {
  .nav-item:hover > .nav-submenu,
  .nav-item:focus-within > .nav-submenu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
  }
  
  .nav-submenu a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--fg);
  }
  
  .nav-submenu a:hover {
    background: #f5f5f5;
  }
}

/* Hamburger knop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
}

/* Taalwissel */
.lang-switch {
  position: absolute;
  top: 14px;
  right: 22px;
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
  z-index: 20;
}

.lang-switch a {
  font-weight: 600;
}

.lang-switch a.active {
  color: var(--accent);
}

/* =====================================================
   CSS VERSIE: v50 - 2 december 2024
   Als je deze tekst NIET ziet in de browser console,
   heb je een oude versie van de CSS!
   ===================================================== */

/* Subnav - VOLLEDIG VERBORGEN (gebruik dropdown in hoofdnav) */
.subnav,
.subnav-inner,
.subnav-link {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* -----------------------------------------------------------
   HEADER
----------------------------------------------------------- */
.site-header {
  padding: 32px 0 16px;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 18px;
  height: 18px;
  background-image: url('/icons/logo-mark.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.small-label {
  font-size: 13px;
  color: var(--fg-muted);
}

.hero h1 {
  margin: 14px 0 6px;
  font-size: 42px;
  font-weight: 600;
}

.hero-sub {
  color: var(--fg-muted);
  white-space: normal;
}

/* -----------------------------------------------------------
   SECTIES & INHOUD
----------------------------------------------------------- */
.section {
  padding: 24px 0;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}

.text-block {
  margin-bottom: 24px;
}

.text-block h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.text-block p {
  margin: 0 0 12px;
  font-size: 16px;
}

.text-block.narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------------------------------------
   KAARTEN & GRID
----------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 24px;
}

.card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  color: var(--fg);
  box-shadow: 0 4px 14px var(--shadow);
  transition: 0.15s ease;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--fg);
}

.card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--fg-muted);
}

.card-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* -----------------------------------------------------------
   TILE GRID (voor signalen categorieën)
----------------------------------------------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.tile {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  padding: 24px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--accent);
  text-decoration: none;
}

.tile-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.tile-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 10px;
}

.tile-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.5;
}

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

/* -----------------------------------------------------------
   SERIES GRID (voor grote artikelreeksen zoals MoC)
----------------------------------------------------------- */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.series-item {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.series-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border-color: var(--accent);
  text-decoration: none;
}

.series-item-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.series-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.series-item:hover .series-item-image img {
  transform: scale(1.03);
}

.series-item-content {
  padding: 12px;
}

.series-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.series-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .series-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .series-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .series-item {
    padding: 12px;
  }
  .series-title {
    font-size: 13px;
  }
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.site-footer .small-text {
  font-size: 14px;
  color: var(--fg-muted);
}

/* -----------------------------------------------------------
   RESPONSIVE DESIGN
----------------------------------------------------------- */
@media (max-width: 780px) {
  .top-nav {
    position: relative;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #fff;
    display: none;
    border-top: 1px solid var(--border-soft);
    z-index: 99;
    max-height: 80vh;
    overflow-y: auto;
    order: 3;
    flex-basis: 100%;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a,
  .nav-links > .nav-item > a {
    display: block;
    padding: 14px 22px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 16px;
  }

  .nav-links > a:last-child {
    border-bottom: none;
  }

  /* Nav items met submenu */
  .nav-item {
    width: 100%;
  }

  .nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-item .nav-arrow {
    display: block;
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
  }

  .nav-item .nav-arrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--fg-muted);
    border-bottom: 2px solid var(--fg-muted);
    transform: rotate(45deg);
    margin: 4px auto;
  }

  .nav-item.open .nav-arrow {
    transform: rotate(180deg);
  }

  /* Submenu styling - mobile */
  .nav-submenu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: static !important;
    box-shadow: none !important;
    background: #f9f9f9;
    border-bottom: 1px solid var(--border-soft);
    pointer-events: none;
  }

  .nav-item.open .nav-submenu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
  }

  .nav-submenu a {
    display: block;
    padding: 12px 22px 12px 36px;
    font-size: 14px;
    font-weight: 500;
    color: var(--fg);
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-submenu a:last-child {
    border-bottom: none;
  }

  .nav-submenu a.active {
    color: var(--accent);
  }

  .nav-submenu a:hover {
    background: #f0f0f0;
    text-decoration: none;
  }

  /* Subnav blijft verborgen op mobiel */
  .subnav,
  .subnav-inner,
  .subnav-link {
    display: none !important;
    visibility: hidden !important;
  }

  .lang-switch {
    position: static;
    text-align: center;
    margin-top: 10px;
  }
}

@media (max-width: 580px) {
  .hero h1 {
    font-size: 34px;
  }

  .section {
    padding: 30px 0;
  }
}

/* -----------------------------------------------------------
   ARTIKEL PAGINA'S
----------------------------------------------------------- */
.article-header .hero h1 {
  font-size: 38px;
  line-height: 1.25;
}

.article-content {
  padding: 40px 0 60px;
}

.article-image {
  margin: 0 0 40px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.article-image img {
  width: 100%;
  height: auto;
}

.article-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-soft);
}

.article-intro p {
  margin: 0 0 16px 0;
}

.article-intro p:last-child {
  margin-bottom: 0;
}

.article-section {
  margin-bottom: 40px;
}

.article-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--fg);
}

.article-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px 0;
  color: var(--fg);
}

.article-section p {
  margin: 0 0 14px 0;
  line-height: 1.7;
}

.article-section ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.article-section li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Artikel navigatie onderaan */
.article-nav {
  background: var(--border-soft);
  padding: 40px 0;
  margin-top: 20px;
}

.article-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius-soft);
  text-decoration: none;
  flex: 1;
  max-width: 48%;
  box-shadow: 0 2px 8px var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-nav-link:hover {
  text-decoration: none;
  box-shadow: 0 4px 16px var(--shadow);
  transform: translateY(-2px);
}

.article-nav-link.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.article-nav-link.prev {
  align-items: flex-start;
}

.article-nav-link.next {
  align-items: flex-end;
  text-align: right;
}

.article-nav-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.article-nav-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}

.article-nav-link:hover .article-nav-title {
  color: var(--accent);
}

/* Artikel lijst op categoriepagina */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-soft);
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.article-card:hover {
  text-decoration: none;
  box-shadow: 0 4px 16px var(--shadow);
  border-color: var(--border);
}

.article-card-image {
  width: 140px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-content {
  flex: 1;
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.article-card:hover .article-card-title {
  color: var(--accent);
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .article-header .hero h1 {
    font-size: 28px;
  }

  .article-nav-links {
    flex-direction: column;
  }

  .article-nav-link {
    max-width: 100%;
  }

  .article-nav-link.next {
    align-items: flex-start;
    text-align: left;
  }

  .article-card {
    flex-direction: column;
    gap: 16px;
  }

  .article-card-image {
    width: 100%;
    height: 160px;
  }
}

/* -----------------------------------------------------------
   PRAKTIJK - OEFENINGEN
----------------------------------------------------------- */
.exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.exercise-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-soft);
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.exercise-card:hover {
  text-decoration: none;
  box-shadow: 0 4px 16px var(--shadow);
  border-color: var(--border);
}

.exercise-card-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 8px;
}

.exercise-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.exercise-card:hover .exercise-card-title {
  color: var(--accent);
}

.exercise-card-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 0 0 16px 0;
  line-height: 1.5;
  flex: 1;
}

.exercise-card-meta {
  font-size: 13px;
  color: var(--fg-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.exercise-step {
  border-radius: var(--radius-soft);
  border: 1px solid var(--border-soft);
  padding: 16px 20px;
  margin-bottom: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s;
}

.exercise-step:hover {
  border-color: var(--border);
}

.exercise-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.exercise-step-title {
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.exercise-step-body {
  margin-top: 12px;
  display: none;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}

.exercise-step-body p {
  margin: 0 0 12px 0;
}

.exercise-step-body p:last-child {
  margin-bottom: 0;
}

.exercise-step.open .exercise-step-body {
  display: block;
}

.exercise-step.open {
  background: #fff;
  border-color: var(--border);
}

.exercise-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  background: rgba(0,0,0,0.04);
  color: var(--fg-muted);
}

.back-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
}

.article-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-soft);
  background: #f5f5f5;
  color: var(--fg);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.article-nav-link:hover {
  background: var(--accent);
  color: #fff;
}

.article-nav-link.primary {
  background: var(--accent);
  color: #fff;
}

.article-nav-link.primary:hover {
  background: var(--accent-soft);
}

@media (max-width: 700px) {
  .exercise-grid {
    grid-template-columns: 1fr;
  }
  
  .exercise-step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* -----------------------------------------------------------
   BEGRIPPENLIJST / GLOSSARY
----------------------------------------------------------- */
.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 32px 0 48px 0;
  padding: 20px;
  background: #fafafa;
  border-radius: var(--radius-soft);
}

.alphabet-nav a,
.alphabet-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.alphabet-nav a {
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--border);
}

.alphabet-nav a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}

.alphabet-nav span.inactive {
  color: var(--border);
  background: transparent;
  cursor: default;
}

.glossary-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.glossary-letter {
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.glossary-term {
  border-radius: var(--radius-soft);
  border: 1px solid var(--border-soft);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.glossary-term:hover {
  border-color: var(--border);
}

.glossary-term-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
}

.glossary-term-title {
  font-weight: 600;
  margin: 0;
  font-size: 17px;
  color: var(--fg);
}

.glossary-term-short {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0;
  flex: 1;
  padding-left: 16px;
}

.glossary-term-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.glossary-term.open .glossary-term-toggle {
  transform: rotate(180deg);
}

.glossary-term-body {
  display: none;
  padding: 0 20px 20px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  border-top: 1px solid var(--border-soft);
  background: #fafafa;
}

.glossary-term-body p {
  margin: 16px 0 0 0;
}

.glossary-term-body p:first-child {
  margin-top: 16px;
}

.glossary-term-body ul {
  margin: 12px 0;
  padding-left: 20px;
}

.glossary-term-body li {
  margin-bottom: 6px;
}

.glossary-term.open .glossary-term-body {
  display: block;
}

.glossary-term.open {
  border-color: var(--border);
  box-shadow: 0 2px 8px var(--shadow);
}

@media (max-width: 700px) {
  .alphabet-nav {
    gap: 6px;
    padding: 16px;
  }
  
  .alphabet-nav a,
  .alphabet-nav span {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .glossary-term-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .glossary-term-short {
    padding-left: 0;
  }
  
  .glossary-term-toggle {
    position: absolute;
    right: 16px;
    top: 16px;
  }
  
  .glossary-term {
    position: relative;
  }
}

/* -----------------------------------------------------------
   COMPARISON TABLE
----------------------------------------------------------- */
.comparison-table {
  margin: 24px 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.comparison-table th {
  background: var(--border-soft);
  font-weight: 600;
  color: var(--fg);
}

.comparison-table th:first-child {
  border-radius: var(--radius-soft) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-soft) 0 0;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background: var(--border-soft);
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--accent);
}

@media (max-width: 600px) {
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* -----------------------------------------------------------
   VOORBEELD-BLOKKEN (In gewone taal)
----------------------------------------------------------- */
.example-block {
  background: #f8f9fa;
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  margin: 0.5rem 0 1.5rem 0;
  font-size: 0.95em;
  color: var(--fg-muted);
}
