/* ═══════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════ */

:root {
  --bg: #F4F4F2;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --text: #303030;
  --muted: #909090;
  --border: #E6E6E4;
  --radius: 14px;
  --shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
  --shadow-h: 0 14px 44px rgba(0, 0, 0, 0.15);
  --c-motiv: #CEAEE0;
  --c-leer: #EDDF52;
  --c-ld1: #C9DC48;
  --c-hulp: #52D9D9;
  --c-leven: #F5A8C2;
  --c-tussen: #F5A272;
  --c-proces: #8EE0CC;
  --c-bron: #80C8F0;
  --c-bijl: #F5C882;
  --c-int: #80e37e;
  --c-norm: #ed7575;
  --c-ui: #e681db;
  --c-eindreflectie: pink;
  --c-eindreflectie-border: #ff9cad;
}

/* Per-page accent — controlled via body class */

.pg-motiv {
  --accent: var(--c-motiv);
}

.pg-leer {
  --accent: var(--c-leer);
}

.pg-ld1 {
  --accent: var(--c-ld1);
}

.pg-hulp {
  --accent: var(--c-hulp);
}

.pg-leven {
  --accent: var(--c-leven);
}

.pg-tussen {
  --accent: var(--c-tussen);
}

.pg-proces {
  --accent-proces: var(--c-proces);
}

.pg-bron {
  --accent: var(--c-bron);
}

.pg-bijl {
  --accent: var(--c-bijl);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   INDEX — HERO HEADER
═══════════════════════════════════════════ */

.site-header {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.site-header .bg-left {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  background: #C2D940;
  clip-path: polygon(0 0, 82% 0, 64% 100%, 0 100%);
}

.site-header .bg-right {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  background: #F5A96D;
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 18% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 52px 48px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -3px;
  line-height: 1;
}

.hero-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.56;
  margin-top: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-meta-item {
  color: rgba(26, 26, 26, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.hero-meta-label {
  color: rgba(26, 26, 26, 0.44);
  font-weight: 500;
  margin-right: 4px;
}

.hero-meta-divider {
  color: rgba(26, 26, 26, 0.28);
  font-size: 0.78rem;
}

.hero-program {
  font-size: 0.8rem;
  color: var(--dark);
  opacity: 0.46;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════
   MINIMAL TOPBAR  (detail pages)
═══════════════════════════════════════════ */

.site-topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 13px 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: sticky;
  min-height: 62px;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}

.topbar-home {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.2px;
}

.hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.62);
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.hero-back:hover {
  color: var(--dark);
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

/* ═══════════════════════════════════════════
   MAIN CONTENT CONTAINER
═══════════════════════════════════════════ */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════
   PORTFOLIO CARD GRID
═══════════════════════════════════════════ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.card {
  display: block;
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  color: var(--dark);
  box-shadow: var(--shadow);
  transition: transform 0.22s cubic-bezier(.25, .46, .45, .94), box-shadow 0.22s cubic-bezier(.25, .46, .45, .94);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-h);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.card-num {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.38;
  margin-bottom: 0;
}

.card-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.status-done {
  background: rgba(255, 255, 255, 0.72);
  color: rgba(0, 0, 0, 0.72);
}

.status-partial {
  background: rgba(255, 255, 255, 0.58);
  color: rgba(0, 0, 0, 0.68);
}

.status-empty {
  background: rgba(255, 255, 255, 0.42);
  color: rgba(0, 0, 0, 0.58);
}

.card h2 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 9px;
  color: var(--dark);
}

.card p {
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.6;
  margin: 0;
}

/* Card background colors */

.card-motiv {
  background: var(--c-motiv);
}

.card-leer {
  background: var(--c-leer);
}

.card-ld1 {
  background: var(--c-ld1);
}

.card-hulp {
  background: var(--c-hulp);
}

.card-leven {
  background: var(--c-leven);
}

.card-tussen {
  background: var(--c-tussen);
}

.card-proces {
  background: var(--c-proces);
}

.card-int {
  background: var(--c-int);
}

.card-norm {
  background: var(--c-norm);
}

.card-ui {
  background: var(--c-ui);
}

.card-bron {
  background: var(--c-bron);
}

.card-bijl {
  background: var(--c-bijl);
}

/* ═══════════════════════════════════════════
   PHOTO PLACEHOLDERS
═══════════════════════════════════════════ */

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-box {
  background: var(--white);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C8C8C8;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 16px;
  transition: border-color 0.18s;
}

.photo-box:hover {
  border-color: #BBBBBB;
}

/* ═══════════════════════════════════════════
   PAGE HERO  (detail pages)
═══════════════════════════════════════════ */

.page-hero {
  background-color: var(--c-proces);
  padding: 54px 32px 46px;
}

.page-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.page-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.38);
  margin-bottom: 14px;
}

.page-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1.5px;
  line-height: 1.15;
}

/* ═══════════════════════════════════════════
   ARTICLE  (detail pages)
═══════════════════════════════════════════ */

.article {
  max-width: 980px;
  margin: 52px auto 80px;
  padding: 52px 48px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Narrower, letter-style article for motivatiebrief */

.pg-motiv .article {
  max-width: 740px;
}

.article p {
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 1.4em;
}

.document-text {
  white-space: pre-wrap;
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--text);
}

.document-enhanced .article {
  max-width: 1180px;
  padding: 40px 36px;
}

.document-enhanced .document-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: pre;
  border: 0;
}

.document-render {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doc-frame, .doc-section, .doc-card, .doc-matrix {
  border: 2px solid rgba(26, 26, 26, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.doc-frame-header, .doc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 2px solid rgba(26, 26, 26, 0.1);
  background: rgba(245, 168, 194, 0.22);
}

.doc-frame-title, .doc-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.doc-frame-note, .doc-section-note {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.48);
}

.doc-frame-body, .doc-section-body {
  padding: 22px;
}

.doc-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
}

.doc-lead {
  padding: 18px 20px;
  border-radius: 14px;
  border: 2px solid rgba(26, 26, 26, 0.08);
  background: rgba(245, 168, 194, 0.08);
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.85;
}

.doc-lead:empty {
  display: none;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.doc-table th, .doc-table td {
  padding: 12px 14px;
  border: 2px solid rgba(26, 26, 26, 0.1);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
  line-height: 1.65;
}

.doc-table th {
  background: rgba(245, 168, 194, 0.18);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.68);
}

.doc-table td:first-child {
  width: 42%;
  font-weight: 700;
  color: var(--dark);
}

.doc-card-grid, .doc-question-grid, .doc-person-grid, .doc-life-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doc-card-wide {
  grid-column: 1 / -1;
}

.doc-card-header {
  padding: 16px 18px;
  border-bottom: 2px solid rgba(26, 26, 26, 0.1);
  background: rgba(245, 168, 194, 0.15);
}

.doc-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
}

.doc-card-body {
  padding: 18px;
}

.doc-text-block {
  white-space: pre-wrap;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--text);
}

.doc-text-block strong {
  color: var(--dark);
}

.doc-life-card {
  position: relative;
  overflow: hidden;
}

.doc-life-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: rgba(245, 168, 194, 0.55);
}

.doc-matrix {
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   WAARDEN EN PROFESSIONALISERING TABLE
═══════════════════════════════════════════ */

.leven-matrix {
  margin-top: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow);
}

.leven-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.6;
}

.leven-table thead th {
  background: rgba(245, 168, 194, 0.28);
  padding: 11px 16px;
  text-align: left;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.68);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.leven-table thead th:last-child {
  border-right: none;
}

.leven-table tbody tr {
  border-top: 1.5px solid rgba(0, 0, 0, 0.07);
}

.leven-table tbody tr:nth-child(even) {
  background: rgba(245, 168, 194, 0.05);
}

.leven-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--text);
}

.leven-table td:last-child {
  border-right: none;
}

.leven-table .row-header {
  background: rgba(245, 168, 194, 0.15);
  width: 13%;
  min-width: 110px;
}

.leven-table .row-header strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.leven-table .row-sub {
  display: block;
  font-size: 0.76rem;
  font-style: italic;
  color: #C54040;
  line-height: 1.45;
}

.leven-table .cell-q {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.leven-table p:last-child {
  margin-bottom: 0;
}

.cell-kw {
  color: #C0628A;
  font-weight: 500;
}

@media (max-width: 700px) {
  .leven-table, .leven-table thead, .leven-table tbody, .leven-table tr, .leven-table th, .leven-table td {
    display: block;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .leven-table thead {
    display: none;
  }
}

@media (max-width: 700px) {
  .leven-table .row-header {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .leven-table td {
    border-right: none;
  }
}

.doc-matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-matrix-table th, .doc-matrix-table td {
  border: 2px solid rgba(26, 26, 26, 0.1);
  vertical-align: top;
  padding: 16px;
}

.doc-matrix-table thead th {
  background: rgba(245, 168, 194, 0.22);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.68);
}

.doc-matrix-topic {
  min-width: 160px;
  background: rgba(245, 168, 194, 0.1);
}

.doc-matrix-topic-title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--dark);
}

.doc-matrix-topic-question {
  display: block;
  white-space: pre-wrap;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.72);
}

.doc-matrix-prompt {
  display: block;
  margin-bottom: 10px;
  white-space: pre-wrap;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--dark);
}

.doc-matrix-answer {
  display: block;
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
}

.article h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2.5em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--c-proces, var(--border));
}

.article h2[id] {
  scroll-margin-top: 96px;
}

.article h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0.8em 0 0.5em;
}

.article ul, .article ol {
  margin-bottom: 1.4em;
  font-size: 0.95rem;
  line-height: 1.9;
}

.article li {
  margin-bottom: 0.3em;
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.source-list li {
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent, var(--border));
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* PDF embed */

.pdf-embed-block {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.pdf-embed {
  display: block;
  width: 100%;
  height: 1400px;
  border: none;
}

/* Competentie evaluation blocks */

.comp-block {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0.09);
  box-shadow: var(--shadow);
}

.comp-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 18px;
  background: var(--accent, var(--border));
}

.comp-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.72;
  white-space: nowrap;
  color: var(--dark);
}

.comp-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1.5px solid rgba(0,0,0,0.07);
}

.comp-eis, .comp-eval {
  padding: 16px 18px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
}

.comp-eis {
  background: rgba(0,0,0,0.025);
  border-right: 1.5px solid rgba(0,0,0,0.07);
}

.comp-eval {
  background: #fff;
}

.comp-eis p, .comp-eval p {
  margin-bottom: 0.6em;
  font-size: inherit;
  line-height: inherit;
}

.comp-eis p:last-child, .comp-eval p:last-child {
  margin-bottom: 0;
}

.comp-eis-label, .comp-eval-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.42);
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .comp-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .comp-eis {
    border-right: none;
    border-bottom: 1.5px solid rgba(0,0,0,0.07);
  }
}

/* Placeholder block */

.placeholder-block {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1.5px dashed var(--border);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
  font-style: italic;
  line-height: 1.7;
  margin: 16px 0;
}

/* Media / photo block */

.media-block {
  background: var(--bg);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 24px;
  margin-top: 44px;
  transition: border-color 0.2s;
}

.media-block:has(.media-image) {
  min-height: unset;
  padding: 20px;
}

.media-block:hover {
  border-color: #BBBBBB;
}

.media-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #C0C0C0;
}

.media-image {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius);
  margin-top: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
  object-fit: cover;
}

.center-this {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 44px;
  gap: 12px;
}

/* T-period text colors */

.t-red {
  color: #C54040;
}

/* Competency cards */

.competency-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.eindreflectie-item {
  background: var(--c-eindreflectie);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 4px solid var(--c-eindreflectie-border, var(--border));
}

.eindreflectie-sub-item {
  border: 4px solid var(--c-eindreflectie-border, var(--border));
  border-radius: var(--radius);
  padding: 18px 20px;
}

.competency-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 4px solid var(--c-proces, var(--border));
}

.competency-item h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.competency-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0;
}

.event-note {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: rgba(82, 217, 217, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.event-highlight {
  color: #138A8A;
  font-weight: 600;
}

.question-list {
  width: 100%;
  padding-left: 0;
  margin: 24px 0 0;
  list-style: none;
}

.question-list > li {
  margin-bottom: 0;
}

.question-grid {
  counter-reset: question-counter;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.question-card {
  position: relative;
  width: 100%;
  scroll-margin-top: 96px;
  background: #F8F8F5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 22px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  list-style: none;
}

.question-card::before {
  counter-increment: question-counter;
  content: counter(question-counter);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(82, 217, 217, 0.18);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.question-answer-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35em;
}

.goal-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  max-width: 1226px;
  margin: 52px auto 80px;
  padding: 0 24px;
  gap: 26px;
  align-items: start;
}

.article-main {
  min-width: 0;
  margin: 0;
}

.page-jump-nav {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: #F8F8F5;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.page-jump-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.48);
  margin-bottom: 2px;
}

.page-jump-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  border-left: 4px solid var(--accent, var(--c-leer));
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.page-jump-link:hover {
  background: #FFFFFF;
  border-color: var(--border);
  color: var(--dark);
}

.goal-grid, .reflection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.goal-card, .reflection-card {
  background: #F8F8F5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.goal-card-featured {
  background: rgba(237, 223, 82, 0.22);
  border-color: rgba(0, 0, 0, 0.06);
}

.goal-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 10px;
}

.goal-statement {
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.goal-competency {
  margin-bottom: 0;
}

.goal-card h3, .reflection-card h4 {
  margin-top: 0;
}

.goal-card p:last-child, .reflection-card p:last-child, .goal-card ul:last-child {
  margin-bottom: 0;
}

.goal-deadline {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.goal-deadline p {
  font-weight: 600;
  color: var(--dark);
}

.goal-deadline p.goal-deadline-note {
  font-weight: 400;
}

.goal-reflection-head {
  padding-top: 6px;
}

.goal-reflection-head h3 {
  margin-bottom: 6px;
}

.goal-reflection-head p {
  color: var(--muted);
}

.reflection-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.reflection-card-wide {
  grid-column: 1 / -1;
}

.reflection-quote {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border-left: 4px solid var(--accent, var(--border));
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */

footer {
  background: var(--white);
  text-align: center;
  padding: 26px 20px;
  font-size: 0.77rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--dark);
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */

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

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

@media (max-width: 900px) {
  .article-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .doc-summary-grid, .doc-card-grid, .doc-question-grid, .doc-person-grid, .doc-life-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .doc-matrix-table, .doc-matrix-table thead, .doc-matrix-table tbody, .doc-matrix-table tr, .doc-matrix-table th, .doc-matrix-table td {
    display: block;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .doc-matrix-table thead {
    display: none;
  }
}

@media (max-width: 900px) {
  .doc-matrix-table tr + tr td, .doc-matrix-table tr + tr th {
    border-top: 0;
  }
}

@media (max-width: 900px) {
  .page-jump-nav {
    position: static;
    top: auto;
  }
}

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

@media (max-width: 900px) {
  .reflection-card-wide {
    grid-column: auto;
  }
}

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

@media (max-width: 560px) {
  .photo-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header .bg-left, .site-header .bg-right {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    background: #E8D864;
    min-height: 200px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 2.6rem;
    letter-spacing: -1px;
  }
}

@media (max-width: 560px) {
  .hero-name {
    font-size: 0.82rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 560px) {
  .hero-meta {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .hero-meta-item, .hero-meta-divider {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-meta-divider {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-program {
    font-size: 0.76rem;
    line-height: 1.6;
  }
}

@media (max-width: 560px) {
  .article {
    padding: 28px 20px;
    margin: 28px 12px 60px;
  }
}

@media (max-width: 560px) {
  .document-enhanced .article {
    padding: 24px 16px;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding: 36px 20px 30px;
  }
}

@media (max-width: 560px) {
  .site-topbar {
    min-height: auto;
    padding: 14px 18px;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-back {
    margin-bottom: 14px;
  }
}

/* Gallery � Bijlagen */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.gallery-item {
  margin: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 10px 14px 12px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

