/* ============================================================
   verrijking.css — gedeelde stijl voor de verrijking-mini-sites
   (geëxtraheerd uit personen/). Geldt voor index + detailpagina's.
   Pagina's linken dit als ../verrijking.css
============================================================ */
  /* ============================================================
     RESET & BASE
  ============================================================ */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --terracotta: #C1440E;
    --terracotta-light: #D4561E;
    --gold: #D4A017;
    --gold-light: #E8B82A;
    --oker: #C8923A;
    --darkblue: #1A2B4A;
    --darkblue-light: #243B63;
    --creme: #FAF6EF;
    --sand: #E8DCC8;
    --sand-light: #F2EAD8;
    --text-dark: #1E1A14;
    --text-mid: #3D3425;
    --text-light: #6B5F4A;
    --border-radius: 6px;
    --shadow-sm: 0 2px 6px rgba(26,43,74,0.10);
    --shadow-md: 0 4px 16px rgba(26,43,74,0.13);
    --transition: 0.2s ease;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-dark);
    background: var(--creme);
  }

  /* ============================================================
     TYPOGRAPHY
  ============================================================ */
  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
  }

  p { margin-bottom: 1.1em; }
  p:last-child { margin-bottom: 0; }

  strong { font-weight: 700; color: var(--text-dark); }
  em { font-style: italic; }

  /* ============================================================
     SITE HEADER / NAV BAR
  ============================================================ */
  .site-header {
    background: var(--darkblue);
    color: var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 2.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  }

  .site-header .label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.9;
  }

  .site-header .label-right { text-align: right; }

  /* ============================================================
     CHAPTER HERO
  ============================================================ */
  .chapter-hero {
    background-color: var(--darkblue);
    background-image:
      radial-gradient(circle at 1px 1px, rgba(212,160,23,0.18) 1px, transparent 0);
    background-size: 28px 28px;
    padding: 5rem 2.5rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .chapter-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--oker), var(--terracotta));
  }

  .chapter-hero .chapter-kicker {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.75;
    margin-bottom: 1.2rem;
  }

  .chapter-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: #FFFDF8;
    max-width: 820px;
    margin: 0 auto;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  }

  .chapter-hero .subtitle {
    margin-top: 1.4rem;
    font-size: 1.05rem;
    color: rgba(250,246,239,0.65);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ============================================================
     MAIN LAYOUT
  ============================================================ */
  .page-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
  }

  /* ============================================================
     PROLOGUE / OPENING STORY
  ============================================================ */
  .prologue {
    background: linear-gradient(160deg, #1A2B4A 0%, #0F1B30 100%);
    color: var(--creme);
    margin: 3rem 0;
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-md);
  }

  .prologue .ornament {
    text-align: center;
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.7;
    margin: 1.5rem 0;
    letter-spacing: 0.4em;
  }

  .prologue .ornament-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.6rem 0;
  }

  .prologue .ornament-line::before,
  .prologue .ornament-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,160,23,0.5), transparent);
  }

  .prologue .ornament-line .ornament-sym {
    color: var(--gold);
    font-size: 1.1rem;
    opacity: 0.8;
  }

  .prologue p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(250,246,239,0.9);
  }

  .prologue p + p { margin-top: 0.9em; }

  .prologue .prologue-dialogue {
    font-style: italic;
    color: #FFFDF8;
    padding-left: 1.4rem;
    border-left: 3px solid rgba(212,160,23,0.4);
    margin: 1rem 0;
  }

  .prologue .prologue-label {
    font-family: 'Source Sans 3', sans-serif;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    display: block;
  }

  /* ============================================================
     SECTION WRAPPERS
  ============================================================ */
  .section-block {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(200,146,58,0.2);
  }

  .section-block:last-of-type { border-bottom: none; }

  .section-alt {
    background: var(--sand-light);
    margin: 0 -1.5rem;
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid rgba(200,146,58,0.15);
    border-bottom: 1px solid rgba(200,146,58,0.15);
  }

  /* ============================================================
     SECTION HEADING
  ============================================================ */
  .section-heading {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(193,68,14,0.15);
  }

  .section-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
    opacity: 0.85;
    flex-shrink: 0;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 600;
    color: var(--darkblue);
  }

  .sub-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--darkblue);
    margin: 2rem 0 0.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(26,43,74,0.12);
  }

  /* ============================================================
     BEGRIP / DEFINITION BOXES
  ============================================================ */
  .begrip {
    background: #FDF3E7;
    border-left: 4px solid var(--terracotta);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 1rem 1.2rem 1rem 1.1rem;
    margin: 1.4rem 0;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .begrip .begrip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    filter: sepia(0.3);
  }

  .begrip .begrip-body { flex: 1; }

  .begrip .begrip-term {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.25rem;
  }

  .begrip .begrip-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--terracotta);
    display: block;
    margin-bottom: 0.35rem;
  }

  .begrip .begrip-def {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0;
  }

  /* ============================================================
     DENKVRAGEN
  ============================================================ */
  .denkvraag {
    background: #FBF0D0;
    border: 1.5px solid rgba(212,160,23,0.5);
    border-radius: var(--border-radius);
    padding: 1.3rem 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
  }

  .denkvraag .dv-header {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .denkvraag .dv-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.7;
  }

  /* ============================================================
     ILLUSTRATIE PLACEHOLDERS
  ============================================================ */
  .illustratie {
    border: 2px dashed #C0B49A;
    background: #F5F0E8;
    border-radius: var(--border-radius);
    padding: 2.2rem 1.5rem;
    margin: 1.8rem 0;
    text-align: center;
    cursor: default;
    transition: background var(--transition);
  }

  .illustratie:hover { background: #EDE7D8; }

  .illustratie .ill-icon { font-size: 2.8rem; display: block; margin-bottom: 0.7rem; opacity: 0.55; }

  .illustratie .ill-caption {
    font-style: italic;
    font-size: 0.88rem;
    color: #8A7A65;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.55;
  }

  /* ============================================================
     INTERACTIVE TIMELINE — 7 PERIODS
  ============================================================ */
  .timeline-7 {
    margin: 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .timeline-7-inner {
    display: flex;
    min-width: 680px;
    height: 110px;
    border-radius: var(--border-radius);
    overflow: visible;
    position: relative;
  }

  .tl-period {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 0.5rem;
    cursor: pointer;
    transition: filter var(--transition), transform var(--transition);
    min-width: 0;
  }

  .tl-period:hover { filter: brightness(1.08); transform: translateY(-3px); z-index: 2; }

  .tl-period .tl-bar {
    position: absolute;
    bottom: 0;
    left: 1px;
    right: 1px;
    border-radius: 4px 4px 0 0;
    transition: height var(--transition);
  }

  /* Featured periods (1–3) are taller */
  .tl-period.featured .tl-bar { box-shadow: 0 0 0 2px rgba(255,255,255,0.6), 0 4px 14px rgba(0,0,0,0.25); }

  .tl-period .tl-label {
    position: absolute;
    top: -2.4rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif;
    text-align: center;
    color: var(--darkblue);
    pointer-events: none;
  }

  .tl-period.featured .tl-label { color: var(--terracotta); font-size: 0.75rem; }

  .tl-period .tl-span {
    position: absolute;
    bottom: -1.7rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.63rem;
    color: var(--text-light);
    font-family: 'Source Sans 3', sans-serif;
    text-align: center;
    pointer-events: none;
  }

  /* Tooltip */
  .tl-period .tl-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 2.8rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--darkblue);
    color: var(--creme);
    font-size: 0.8rem;
    font-family: 'Source Sans 3', sans-serif;
    padding: 0.55rem 0.85rem;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .tl-period .tl-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--darkblue);
  }

  .tl-period:hover .tl-tooltip { display: block; }

  .timeline-7-labels {
    margin-top: 2.4rem;
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
  }

  /* Period colors */
  .tl-p1 { background: #5B3D2E; }
  .tl-p2 { background: #8B5A2B; }
  .tl-p3 { background: var(--terracotta); }
  .tl-p4 { background: #6B7F5E; }
  .tl-p5 { background: #4A7A8A; }
  .tl-p6 { background: #2A5C7A; }
  .tl-p7 { background: var(--darkblue); }

  /* Responsive timeline */
  @media (max-width: 680px) {
    .timeline-7-inner {
      flex-direction: column;
      height: auto;
      min-width: 0;
    }
    .tl-period {
      height: 52px;
      flex-direction: row;
      align-items: center;
      padding: 0 1rem;
      margin-bottom: 4px;
      border-radius: 4px;
    }
    .tl-period .tl-bar {
      position: absolute;
      top: 0; bottom: 0; left: 0; right: 0;
      border-radius: 4px;
    }
    .tl-period .tl-label {
      position: relative;
      top: auto; left: auto; transform: none;
      z-index: 1;
      color: #fff;
      font-size: 0.82rem;
      margin-right: auto;
    }
    .tl-period .tl-span {
      position: relative;
      bottom: auto; left: auto; transform: none;
      z-index: 1;
      color: rgba(255,255,255,0.75);
      font-size: 0.7rem;
    }
    .tl-period .tl-tooltip { display: none !important; }
    .tl-period.featured .tl-label { font-size: 0.85rem; }
  }

  /* ============================================================
     v.Chr. / n.Chr. TIMELINE
  ============================================================ */
  .vchr-timeline {
    margin: 2rem 0 3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vchr-inner {
    min-width: 580px;
    padding: 2.5rem 1rem 2rem;
    position: relative;
  }

  /* The horizontal bar */
  .vchr-bar {
    position: relative;
    height: 6px;
    background: linear-gradient(90deg, #3A1A0A, var(--terracotta), #FAF6EF, var(--darkblue), #091529);
    border-radius: 3px;
    margin: 0 20px;
  }

  /* Zero point */
  .vchr-zero {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--creme);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold), 0 0 10px rgba(212,160,23,0.6);
    z-index: 2;
  }

  .vchr-zero-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Source Sans 3', sans-serif;
    white-space: nowrap;
    text-align: center;
  }

  /* Section labels */
  .vchr-section-label {
    position: absolute;
    top: -2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Source Sans 3', sans-serif;
  }

  .vchr-section-label.left {
    left: 0;
    color: var(--terracotta);
  }

  .vchr-section-label.right {
    right: 0;
    color: var(--darkblue);
  }

  /* Tick marks */
  .vchr-tick {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
  }

  .vchr-tick .tick-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid;
    background: var(--creme);
    margin-top: -1px;
  }

  .vchr-tick.vchr-left .tick-dot { border-color: var(--terracotta); }
  .vchr-tick.vchr-right .tick-dot { border-color: var(--darkblue); }

  .vchr-tick .tick-label {
    position: absolute;
    bottom: 1.1rem;
    white-space: nowrap;
    font-size: 0.68rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    text-align: center;
    transform: translateX(-50%);
    left: 50%;
  }

  .vchr-tick.vchr-left .tick-label { color: var(--terracotta); }
  .vchr-tick.vchr-right .tick-label { color: var(--darkblue); }

  .vchr-tick .tick-sublabel {
    position: absolute;
    top: 1.3rem;
    white-space: nowrap;
    font-size: 0.6rem;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-light);
    font-style: italic;
    transform: translateX(-50%);
    left: 50%;
  }

  /* ============================================================
     EXERCISES
  ============================================================ */
  .exercises-section {
    background: var(--sand-light);
    margin: 0 -1.5rem;
    padding: 3rem 1.5rem 2.5rem;
    border-top: 4px solid var(--terracotta);
  }

  .exercises-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 2rem;
  }

  .exercise-card {
    background: var(--creme);
    border-radius: var(--border-radius);
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.4rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--oker);
  }

  .exercise-card .ex-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.7rem;
  }

  .exercise-card .ex-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--darkblue);
    margin-bottom: 0.9rem;
  }

  .exercise-card ol, .exercise-card ul {
    padding-left: 1.4rem;
    margin-top: 0.5rem;
  }

  .exercise-card li {
    margin-bottom: 0.45rem;
    font-size: 0.96rem;
    color: var(--text-mid);
  }

  .exercise-card .ex-tip {
    margin-top: 0.9rem;
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-light);
    border-top: 1px solid rgba(200,146,58,0.2);
    padding-top: 0.6rem;
  }

  /* ============================================================
     SUMMARY
  ============================================================ */
  .summary-section {
    background: linear-gradient(160deg, var(--darkblue) 0%, #0F1B30 100%);
    margin: 0 -1.5rem;
    padding: 3.5rem 1.5rem 3rem;
    color: var(--creme);
  }

  .summary-section .sum-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212,160,23,0.3);
  }

  .summary-section ul {
    list-style: none;
    padding: 0;
  }

  .summary-section ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1rem;
    color: rgba(250,246,239,0.9);
  }

  .summary-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
  }

  .summary-section ul li strong {
    color: var(--gold);
    font-weight: 700;
  }

  /* ============================================================
     BACK TO TOP BUTTON
  ============================================================ */
  #back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--darkblue);
    color: var(--gold);
    border: 2px solid rgba(212,160,23,0.4);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background var(--transition), transform var(--transition), opacity var(--transition);
    z-index: 200;
  }

  #back-to-top:hover {
    background: var(--darkblue-light);
    transform: translateY(-3px);
  }

  #back-to-top.visible { display: flex; }

  /* ============================================================
     UTILITY / MISC
  ============================================================ */
  .prose-text { max-width: 100%; }

  .highlighted-para {
    background: rgba(212,160,23,0.08);
    border-left: 3px solid var(--gold);
    padding: 0.8rem 1.1rem;
    border-radius: 0 4px 4px 0;
    margin: 1.2rem 0;
    font-size: 0.97rem;
    color: var(--text-mid);
  }

  /* ============================================================
     RESPONSIVE
  ============================================================ */
  @media (max-width: 600px) {
    .site-header { padding: 0.5rem 1rem; }
    .chapter-hero { padding: 3.5rem 1rem 3rem; }
    .page-wrapper { padding: 0 1rem 4rem; }
    .prologue { padding: 2rem 1.2rem; }
    .section-num { font-size: 2.2rem; }
    .exercises-section,
    .summary-section { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
    .section-alt { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
  }

  @media (min-width: 860px) {
    .page-wrapper { padding-left: 2rem; padding-right: 2rem; }
  }

  /* ============================================================
     PERSONEN GALERIJ — EXTRA STIJLEN
  ============================================================ */

  /* Periode-sectie kop */
  .periode-heading {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 3.5rem 0 1.6rem;
  }

  .periode-heading:first-of-type { margin-top: 2.5rem; }

  .periode-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 700;
    color: var(--darkblue);
    white-space: nowrap;
  }

  .periode-heading::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 1px;
  }

  .periode-heading .periode-accent {
    display: inline-block;
    width: 4px;
    height: 1.6rem;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
  }

  /* Kaarten grid */
  .personen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.4rem;
    margin-bottom: 1rem;
  }

  /* Individuele kaart */
  .persoon-kaart {
    background: var(--darkblue);
    border-left: 4px solid var(--terracotta);
    border-radius: var(--border-radius);
    padding: 1.5rem 1.4rem 1.3rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: pointer;
  }

  .persoon-kaart:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--terracotta-light);
  }

  .persoon-kaart .pk-badge {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
  }

  .persoon-kaart .pk-naam {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 700;
    color: #FFFDF8;
    line-height: 1.2;
  }

  .persoon-kaart .pk-data {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    color: rgba(250,246,239,0.55);
    font-style: italic;
  }

  .persoon-kaart .pk-omschrijving {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    color: rgba(250,246,239,0.78);
    line-height: 1.55;
    flex: 1;
    margin-top: 0.2rem;
  }

  .persoon-kaart .pk-lees {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 0.6rem;
    letter-spacing: 0.04em;
    transition: opacity var(--transition);
  }

  .persoon-kaart:hover .pk-lees { opacity: 0.8; }

  /* Site footer */
  .site-footer {
    background: var(--darkblue);
    color: rgba(250,246,239,0.4);
    text-align: center;
    padding: 1.4rem 2rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    margin-top: 4rem;
    border-top: 1px solid rgba(212,160,23,0.15);
  }

  @media (max-width: 600px) {
    .personen-grid { grid-template-columns: 1fr; }
    .periode-heading { margin-top: 2.5rem; }
  }

/* ---- detailpagina-componenten ---- */
  /* ============================================================
     RESET & BASE
  ============================================================ */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --terracotta: #C1440E;
    --terracotta-light: #D4561E;
    --gold: #D4A017;
    --gold-light: #E8B82A;
    --oker: #C8923A;
    --darkblue: #1A2B4A;
    --darkblue-light: #243B63;
    --creme: #FAF6EF;
    --sand: #E8DCC8;
    --sand-light: #F2EAD8;
    --text-dark: #1E1A14;
    --text-mid: #3D3425;
    --text-light: #6B5F4A;
    --border-radius: 6px;
    --shadow-sm: 0 2px 6px rgba(26,43,74,0.10);
    --shadow-md: 0 4px 16px rgba(26,43,74,0.13);
    --transition: 0.2s ease;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-dark);
    background: var(--creme);
  }

  /* ============================================================
     TYPOGRAPHY
  ============================================================ */
  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
  }

  p { margin-bottom: 1.1em; }
  p:last-child { margin-bottom: 0; }

  strong { font-weight: 700; color: var(--text-dark); }
  em { font-style: italic; }

  /* ============================================================
     SITE HEADER / NAV BAR
  ============================================================ */
  .site-header {
    background: var(--darkblue);
    color: var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 2.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  }

  .site-header .label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.9;
    text-decoration: none;
  }

  .site-header .label:hover { opacity: 1; text-decoration: underline; }

  .site-header .label-right { text-align: right; }

  /* ============================================================
     CHAPTER HERO
  ============================================================ */
  .chapter-hero {
    background-color: var(--darkblue);
    background-image:
      radial-gradient(circle at 1px 1px, rgba(212,160,23,0.18) 1px, transparent 0);
    background-size: 28px 28px;
    padding: 5rem 2.5rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .chapter-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--oker), var(--terracotta));
  }

  .chapter-hero .chapter-kicker {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.75;
    margin-bottom: 1.2rem;
  }

  .chapter-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: #FFFDF8;
    max-width: 820px;
    margin: 0 auto;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  }

  .chapter-hero .subtitle {
    margin-top: 1.4rem;
    font-size: 1.05rem;
    color: rgba(250,246,239,0.65);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ============================================================
     MAIN LAYOUT
  ============================================================ */
  .page-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
  }

  /* ============================================================
     PROLOGUE / OPENING STORY
  ============================================================ */
  .prologue {
    background: linear-gradient(160deg, #1A2B4A 0%, #0F1B30 100%);
    color: var(--creme);
    margin: 3rem 0;
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-md);
  }

  .prologue .ornament {
    text-align: center;
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.7;
    margin: 1.5rem 0;
    letter-spacing: 0.4em;
  }

  .prologue .ornament-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.6rem 0;
  }

  .prologue .ornament-line::before,
  .prologue .ornament-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,160,23,0.5), transparent);
  }

  .prologue .ornament-line .ornament-sym {
    color: var(--gold);
    font-size: 1.1rem;
    opacity: 0.8;
  }

  .prologue p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(250,246,239,0.9);
  }

  .prologue p + p { margin-top: 0.9em; }

  .prologue .prologue-dialogue {
    font-style: italic;
    color: #FFFDF8;
    padding-left: 1.4rem;
    border-left: 3px solid rgba(212,160,23,0.4);
    margin: 1rem 0;
  }

  .prologue .prologue-label {
    font-family: 'Source Sans 3', sans-serif;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    display: block;
  }

  /* ============================================================
     SECTION WRAPPERS
  ============================================================ */
  .section-block {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(200,146,58,0.2);
  }

  .section-block:last-of-type { border-bottom: none; }

  .section-alt {
    background: var(--sand-light);
    margin: 0 -1.5rem;
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid rgba(200,146,58,0.15);
    border-bottom: 1px solid rgba(200,146,58,0.15);
  }

  /* ============================================================
     SECTION HEADING
  ============================================================ */
  .section-heading {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(193,68,14,0.15);
  }

  .section-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
    opacity: 0.85;
    flex-shrink: 0;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 600;
    color: var(--darkblue);
  }

  .sub-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--darkblue);
    margin: 2rem 0 0.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(26,43,74,0.12);
  }

  /* ============================================================
     BEGRIP / DEFINITION BOXES
  ============================================================ */
  .begrip {
    background: #FDF3E7;
    border-left: 4px solid var(--terracotta);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 1rem 1.2rem 1rem 1.1rem;
    margin: 1.4rem 0;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .begrip .begrip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    filter: sepia(0.3);
  }

  .begrip .begrip-body { flex: 1; }

  .begrip .begrip-term {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.25rem;
  }

  .begrip .begrip-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--terracotta);
    display: block;
    margin-bottom: 0.35rem;
  }

  .begrip .begrip-def {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0;
  }

  /* ============================================================
     DENKVRAGEN
  ============================================================ */
  .denkvraag {
    background: #FBF0D0;
    border: 1.5px solid rgba(212,160,23,0.5);
    border-radius: var(--border-radius);
    padding: 1.3rem 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
  }

  .denkvraag .dv-header {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .denkvraag .dv-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.7;
  }

  /* ============================================================
     ILLUSTRATIE PLACEHOLDERS
  ============================================================ */
  .illustratie {
    border: 2px dashed #C0B49A;
    background: #F5F0E8;
    border-radius: var(--border-radius);
    padding: 2.2rem 1.5rem;
    margin: 1.8rem 0;
    text-align: center;
    cursor: default;
    transition: background var(--transition);
  }

  .illustratie:hover { background: #EDE7D8; }

  .illustratie .ill-icon { font-size: 2.8rem; display: block; margin-bottom: 0.7rem; opacity: 0.55; }

  .illustratie .ill-caption {
    font-style: italic;
    font-size: 0.88rem;
    color: #8A7A65;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.55;
  }

  /* ============================================================
     INTERACTIVE TIMELINE — 7 PERIODS
  ============================================================ */
  .timeline-7 {
    margin: 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .timeline-7-inner {
    display: flex;
    min-width: 680px;
    height: 110px;
    border-radius: var(--border-radius);
    overflow: visible;
    position: relative;
  }

  .tl-period {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 0.5rem;
    cursor: pointer;
    transition: filter var(--transition), transform var(--transition);
    min-width: 0;
  }

  .tl-period:hover { filter: brightness(1.08); transform: translateY(-3px); z-index: 2; }

  .tl-period .tl-bar {
    position: absolute;
    bottom: 0;
    left: 1px;
    right: 1px;
    border-radius: 4px 4px 0 0;
    transition: height var(--transition);
  }

  /* Featured periods (1–3) are taller */
  .tl-period.featured .tl-bar { box-shadow: 0 0 0 2px rgba(255,255,255,0.6), 0 4px 14px rgba(0,0,0,0.25); }

  .tl-period .tl-label {
    position: absolute;
    top: -2.4rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif;
    text-align: center;
    color: var(--darkblue);
    pointer-events: none;
  }

  .tl-period.featured .tl-label { color: var(--terracotta); font-size: 0.75rem; }

  .tl-period .tl-span {
    position: absolute;
    bottom: -1.7rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.63rem;
    color: var(--text-light);
    font-family: 'Source Sans 3', sans-serif;
    text-align: center;
    pointer-events: none;
  }

  /* Tooltip */
  .tl-period .tl-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 2.8rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--darkblue);
    color: var(--creme);
    font-size: 0.8rem;
    font-family: 'Source Sans 3', sans-serif;
    padding: 0.55rem 0.85rem;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .tl-period .tl-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--darkblue);
  }

  .tl-period:hover .tl-tooltip { display: block; }

  .timeline-7-labels {
    margin-top: 2.4rem;
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
  }

  /* Period colors */
  .tl-p1 { background: #5B3D2E; }
  .tl-p2 { background: #8B5A2B; }
  .tl-p3 { background: var(--terracotta); }
  .tl-p4 { background: #6B7F5E; }
  .tl-p5 { background: #4A7A8A; }
  .tl-p6 { background: #2A5C7A; }
  .tl-p7 { background: var(--darkblue); }

  /* Responsive timeline */
  @media (max-width: 680px) {
    .timeline-7-inner {
      flex-direction: column;
      height: auto;
      min-width: 0;
    }
    .tl-period {
      height: 52px;
      flex-direction: row;
      align-items: center;
      padding: 0 1rem;
      margin-bottom: 4px;
      border-radius: 4px;
    }
    .tl-period .tl-bar {
      position: absolute;
      top: 0; bottom: 0; left: 0; right: 0;
      border-radius: 4px;
    }
    .tl-period .tl-label {
      position: relative;
      top: auto; left: auto; transform: none;
      z-index: 1;
      color: #fff;
      font-size: 0.82rem;
      margin-right: auto;
    }
    .tl-period .tl-span {
      position: relative;
      bottom: auto; left: auto; transform: none;
      z-index: 1;
      color: rgba(255,255,255,0.75);
      font-size: 0.7rem;
    }
    .tl-period .tl-tooltip { display: none !important; }
    .tl-period.featured .tl-label { font-size: 0.85rem; }
  }

  /* ============================================================
     v.Chr. / n.Chr. TIMELINE
  ============================================================ */
  .vchr-timeline {
    margin: 2rem 0 3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vchr-inner {
    min-width: 580px;
    padding: 2.5rem 1rem 2rem;
    position: relative;
  }

  /* The horizontal bar */
  .vchr-bar {
    position: relative;
    height: 6px;
    background: linear-gradient(90deg, #3A1A0A, var(--terracotta), #FAF6EF, var(--darkblue), #091529);
    border-radius: 3px;
    margin: 0 20px;
  }

  /* Zero point */
  .vchr-zero {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--creme);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold), 0 0 10px rgba(212,160,23,0.6);
    z-index: 2;
  }

  .vchr-zero-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Source Sans 3', sans-serif;
    white-space: nowrap;
    text-align: center;
  }

  /* Section labels */
  .vchr-section-label {
    position: absolute;
    top: -2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Source Sans 3', sans-serif;
  }

  .vchr-section-label.left {
    left: 0;
    color: var(--terracotta);
  }

  .vchr-section-label.right {
    right: 0;
    color: var(--darkblue);
  }

  /* Tick marks */
  .vchr-tick {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
  }

  .vchr-tick .tick-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid;
    background: var(--creme);
    margin-top: -1px;
  }

  .vchr-tick.vchr-left .tick-dot { border-color: var(--terracotta); }
  .vchr-tick.vchr-right .tick-dot { border-color: var(--darkblue); }

  .vchr-tick .tick-label {
    position: absolute;
    bottom: 1.1rem;
    white-space: nowrap;
    font-size: 0.68rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    text-align: center;
    transform: translateX(-50%);
    left: 50%;
  }

  .vchr-tick.vchr-left .tick-label { color: var(--terracotta); }
  .vchr-tick.vchr-right .tick-label { color: var(--darkblue); }

  .vchr-tick .tick-sublabel {
    position: absolute;
    top: 1.3rem;
    white-space: nowrap;
    font-size: 0.6rem;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-light);
    font-style: italic;
    transform: translateX(-50%);
    left: 50%;
  }

  /* ============================================================
     EXERCISES
  ============================================================ */
  .exercises-section {
    background: var(--sand-light);
    margin: 0 -1.5rem;
    padding: 3rem 1.5rem 2.5rem;
    border-top: 4px solid var(--terracotta);
  }

  .exercises-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 2rem;
  }

  .exercise-card {
    background: var(--creme);
    border-radius: var(--border-radius);
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.4rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--oker);
  }

  .exercise-card .ex-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.7rem;
  }

  .exercise-card .ex-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--darkblue);
    margin-bottom: 0.9rem;
  }

  .exercise-card ol, .exercise-card ul {
    padding-left: 1.4rem;
    margin-top: 0.5rem;
  }

  .exercise-card li {
    margin-bottom: 0.45rem;
    font-size: 0.96rem;
    color: var(--text-mid);
  }

  .exercise-card .ex-tip {
    margin-top: 0.9rem;
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-light);
    border-top: 1px solid rgba(200,146,58,0.2);
    padding-top: 0.6rem;
  }

  /* ============================================================
     SUMMARY
  ============================================================ */
  .summary-section {
    background: linear-gradient(160deg, var(--darkblue) 0%, #0F1B30 100%);
    margin: 0 -1.5rem;
    padding: 3.5rem 1.5rem 3rem;
    color: var(--creme);
  }

  .summary-section .sum-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212,160,23,0.3);
  }

  .summary-section ul {
    list-style: none;
    padding: 0;
  }

  .summary-section ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1rem;
    color: rgba(250,246,239,0.9);
  }

  .summary-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
  }

  .summary-section ul li strong {
    color: var(--gold);
    font-weight: 700;
  }

  /* ============================================================
     BACK TO TOP BUTTON
  ============================================================ */
  #back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--darkblue);
    color: var(--gold);
    border: 2px solid rgba(212,160,23,0.4);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background var(--transition), transform var(--transition), opacity var(--transition);
    z-index: 200;
  }

  #back-to-top:hover {
    background: var(--darkblue-light);
    transform: translateY(-3px);
  }

  #back-to-top.visible { display: flex; }

  /* ============================================================
     UTILITY / MISC
  ============================================================ */
  .prose-text { max-width: 100%; }

  .highlighted-para {
    background: rgba(212,160,23,0.08);
    border-left: 3px solid var(--gold);
    padding: 0.8rem 1.1rem;
    border-radius: 0 4px 4px 0;
    margin: 1.2rem 0;
    font-size: 0.97rem;
    color: var(--text-mid);
  }

  /* ============================================================
     RESPONSIVE
  ============================================================ */
  @media (max-width: 600px) {
    .site-header { padding: 0.5rem 1rem; }
    .chapter-hero { padding: 3.5rem 1rem 3rem; }
    .page-wrapper { padding: 0 1rem 4rem; }
    .prologue { padding: 2rem 1.2rem; }
    .section-num { font-size: 2.2rem; }
    .exercises-section,
    .summary-section { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
    .section-alt { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
  }

  @media (min-width: 860px) {
    .page-wrapper { padding-left: 2rem; padding-right: 2rem; }
  }

  /* ============================================================
     PERSOONS-SPECIFIEKE COMPONENTEN
  ============================================================ */

  /* Portret-frame — float rechts */
  .portrait-frame {
    float: right;
    width: 200px;
    height: 260px;
    background: var(--sand);
    border: 2px solid var(--oker);
    border-radius: var(--border-radius);
    margin: 0 0 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
  }

  .portrait-frame .portrait-icon {
    font-size: 3.5rem;
    opacity: 0.45;
    margin-bottom: 0.6rem;
    display: block;
  }

  .portrait-frame .portrait-caption {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.45;
  }

  /* Profiel-feiten kader (terracotta) */
  .profile-facts {
    background: #FDF3E7;
    border: 2px solid var(--terracotta);
    border-radius: var(--border-radius);
    padding: 1.6rem 1.8rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
  }

  .profile-facts .pf-heading {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terracotta);
    margin-bottom: 1.1rem;
  }

  .profile-facts table {
    width: 100%;
    border-collapse: collapse;
  }

  .profile-facts table tr {
    border-bottom: 1px solid rgba(193,68,14,0.1);
  }

  .profile-facts table tr:last-child {
    border-bottom: none;
  }

  .profile-facts table td {
    padding: 0.5rem 0.4rem;
    font-size: 0.96rem;
    vertical-align: top;
    line-height: 1.55;
  }

  .profile-facts table td:first-child {
    font-weight: 700;
    color: var(--terracotta);
    white-space: nowrap;
    padding-right: 1.2rem;
    width: 40%;
  }

  .profile-facts table td:last-child {
    color: var(--text-mid);
  }

  /* Persoons-tijdlijn (sleutelmomenten) */
  .person-timeline {
    margin: 2rem 0;
    position: relative;
    padding-left: 2.4rem;
  }

  .person-timeline::before {
    content: '';
    position: absolute;
    left: 0.7rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(180deg, var(--terracotta), var(--gold));
    border-radius: 2px;
  }

  .person-timeline .ptl-item {
    position: relative;
    margin-bottom: 1.4rem;
  }

  .person-timeline .ptl-item:last-child {
    margin-bottom: 0;
  }

  .person-timeline .ptl-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.42rem;
    width: 10px;
    height: 10px;
    background: var(--terracotta);
    border: 2px solid var(--creme);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--terracotta);
  }

  .person-timeline .ptl-date {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 0.15rem;
  }

  .person-timeline .ptl-event {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.6;
  }

  /* Wist je dat? kaartjes (goud) */
  .wist-je-dat {
    margin: 2.5rem 0;
  }

  .wist-je-dat .wjd-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 1.2rem;
  }

  .wist-je-dat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .wjd-card {
    background: linear-gradient(135deg, #FBF0D0 0%, #F5E8B8 100%);
    border: 1.5px solid rgba(212,160,23,0.55);
    border-radius: var(--border-radius);
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow-sm);
    position: relative;
  }

  .wjd-card::before {
    content: '?';
    position: absolute;
    top: -0.65rem;
    left: 1rem;
    background: var(--gold);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.85rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  }

  .wjd-card p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin-top: 0.5rem;
  }

  /* Leerboek-verbinding kader (terracotta) */
  .book-connection {
    background: #1A2B4A;
    border-radius: var(--border-radius);
    padding: 1.6rem 1.8rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
  }

  .book-connection .bc-heading {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 1rem;
  }

  .book-connection ul {
    list-style: none;
    padding: 0;
  }

  .book-connection ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.97rem;
    color: rgba(250,246,239,0.88);
    line-height: 1.6;
  }

  .book-connection ul li::before {
    content: '&#9654;';
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--gold);
    font-size: 0.75rem;
  }

  .book-connection ul li strong {
    color: var(--gold);
  }

  /* Clearfix for float */
  .clearfix::after {
    content: '';
    display: table;
    clear: both;
  }

  @media (max-width: 600px) {
    .portrait-frame {
      float: none;
      width: 100%;
      height: 180px;
      margin: 0 0 1.5rem 0;
    }
    .wist-je-dat-grid {
      grid-template-columns: 1fr;
    }
    .profile-facts table td:first-child {
      width: 45%;
    }
  }
