/* ========================================
   Persoonlijke website — Janus van Koolwijk
   Dark theme, Substack-geïnspireerd
   Primair: zwart + oranje accent
   VPRO-pagina krijgt eigen kleuroverride
   ======================================== */

:root {
  --bg: #121212;
  --bg-alt: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-hover: #252525;
  --accent: #ff6719;
  --accent-hover: #e85a10;
  --text: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666;
  --border: #2a2a2a;
  --border-light: #333;

  --content-width: 720px;
  --content-wide: 1100px;
  --grid-gutter: 1.5rem;
  --font: 'Lora', Georgia, 'Times New Roman', serif;
  --font-heading: 'Cardo', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s ease;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Top bar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--grid-gutter);
  display: flex;
  align-items: center;
  height: 56px;
  gap: 2rem;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.topbar-brand:hover {
  color: var(--accent);
}

.topbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--accent);
}

/* Avatar die vanuit hero in topbar landt */
.topbar-avatar-scroll {
  width: 0;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--accent);
  opacity: 0;
  transform: scale(0.5) translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease, margin 0.3s ease;
  margin-right: 0;
}

.topbar-avatar-scroll.visible {
  width: 32px;
  opacity: 1;
  transform: scale(1) translateY(0);
  margin-right: 0.5rem;
}

/* Brand-naam die omhoog scrollt naar topbar */
.topbar-brand-text {
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.topbar-brand-text.brand-hidden {
  opacity: 0;
  transform: translateY(6px);
}

.hero-avatar {
  transition: opacity 0.3s ease;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  height: 56px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- Main content ---- */
.main {
  flex: 1;
}

.section {
  padding: 4rem var(--grid-gutter);
  scroll-margin-top: 56px;
  border-top: 1px solid var(--border);
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.section-subtitle-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Home Hero — Krantenpagina ---- */
.home-hero {
  position: relative;
  overflow: visible;
  padding: 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

/* Masthead */
.masthead {
  padding: 1.5rem var(--grid-gutter) 0;
  text-align: center;
}

.masthead-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.masthead-eyebrow {
  font-family: var(--font);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.masthead-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Dubbele decoratieve lijn onder de naam */
.masthead-name::after {
  content: '';
  display: block;
  width: 72%;
  margin: 0.55rem auto 0;
  height: 5px;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 4px 0 var(--border-light);
}

.masthead-subline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-family: var(--font);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid var(--border);
}

.masthead-sep { opacity: 0.3; }

/* Krantenkolommen */
.newspaper-columns {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--grid-gutter);
  display: grid;
  grid-template-columns: 210px 1fr 280px;
}

.newspaper-col {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

.newspaper-col-bio   { border-right: 1px solid var(--border); }
.newspaper-col-aside { border-right: 1px solid var(--border); }

.newspaper-col-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--accent);
  color: #fff;
  padding: 0.3rem 0.6rem;
  margin-bottom: 1rem;
  width: fit-content;
}

/* Avatar in biografie-kolom */
.newspaper-avatar {
  width: 100% !important;
  height: 160px !important;
  border-radius: 4px !important;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
  border: none !important;
}

.newspaper-col-bio .mini-bio-card {
  margin-top: 0;
  max-width: 100%;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

.newspaper-col-bio .mini-bio-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  padding: 0.4rem 0;
}

.newspaper-col-bio .mini-bio-value {
  text-align: left;
}

.newspaper-col-bio .mini-bio-cv {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
}

/* Editor's intro met drop cap */
.editor-intro {
  font-family: var(--font);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.editor-intro::first-letter {
  font-family: var(--font-display);
  font-size: 4.8em;
  font-weight: 900;
  font-style: normal;
  line-height: 0.75;
  float: left;
  margin-right: 0.07em;
  margin-top: 0.06em;
  color: var(--text);
}

.newspaper-rule-spaced {
  margin: 1.5rem 0;
}

/* Statistieken */
.stat-editorial {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-editorial-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.stat-editorial-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat-editorial-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Kleine artikelen */
.newspaper-brief {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  padding: 0.9rem 0;
}

.newspaper-brief:hover .newspaper-brief-headline { color: var(--accent); }

.newspaper-brief-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
}

.newspaper-brief-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05) brightness(0.88);
}

.newspaper-brief-text { flex: 1; min-width: 0; }

.newspaper-brief-headline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  transition: color var(--transition);
}

.newspaper-brief-byline {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.newspaper-brief-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.newspaper-rule {
  border: none;
  border-top: 1px solid var(--border);
}

/* ---- 2×2 artikel-covers ---- */
.article-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.article-cover {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  text-decoration: none;
  aspect-ratio: 3 / 2;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.65) brightness(0.65) contrast(1.05);
  transition: transform 0.4s ease, filter 0.35s ease;
  display: block;
}

.article-cover:hover img {
  transform: scale(1.06);
  filter: saturate(0.85) brightness(0.75) contrast(1.05);
}

.article-cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 0.65rem 0.55rem;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.article-cover-byline {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  order: 2;
}

.article-cover-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  color: #fff;
  order: 1;
}

/* ---- Sidebar live items (rechterkolom) ---- */
.sidebar-live {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 1.25rem;
}

.sidebar-live-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-live-item:last-child {
  border-bottom: none;
}

.sidebar-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.sidebar-live-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.sidebar-live-icon-link {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.sidebar-live-icon-link:hover {
  opacity: 1;
}

/* Feed-items in de sidebar: cover links, tekst rechts */
.sidebar-live .feed-item {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0;
  border-bottom: none;
}

.sidebar-live .feed-art-music {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-live .feed-art:not(.feed-art-music),
.sidebar-live .feed-art-book {
  width: 44px;
  height: 64px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-live .feed-art-empty {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-live .feed-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 80px;
}

.sidebar-live .feed-title {
  font-size: 0.8rem;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.sidebar-live .feed-meta {
  font-size: 0.7rem;
  overflow-wrap: break-word;
}

.sidebar-live-stat {
  font-family: var(--font);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Draaiende woorden animatie — verwijder dit blok om ongedaan te maken */
.rotating-words {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.rotating-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rotating-word.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.home-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  max-width: 600px;
}

.home-hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 0;
}

.text-accent {
  color: var(--accent);
  font-weight: 500;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* Mini-bio kaartje — verwijder dit blok om ongedaan te maken */
.mini-bio-card {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 380px;
}

.mini-bio-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  gap: 1rem;
}

.mini-bio-row:not(:last-of-type) {
  border-bottom: 1px solid var(--border);
}

.mini-bio-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.mini-bio-value {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: right;
  overflow-wrap: break-word;
  min-width: 0;
}

.mini-bio-value a {
  color: var(--accent);
}

.mini-bio-cv {
  display: inline-block;
  margin-top: 0.75rem;
}


/* ---- Legacy hero (used on sub-pages if needed) ---- */
.hero {
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ---- Divider ---- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--content-width);
  margin: 0 auto;
}

/* ---- Interest cards (interesses pagina) ---- */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.interest-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.interest-card:hover {
  border-color: var(--border-light);
}

.interest-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.interest-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.interest-source {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.interest-card-body {
  padding: 0.75rem 1.25rem;
}

/* ---- Interest expand (uitklapbaar) ---- */
.interest-expand {
  border-top: 1px solid var(--border);
}

.interest-expand summary.interest-expand-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.interest-expand summary.interest-expand-trigger:hover {
  color: var(--text);
}

.interest-expand summary.interest-expand-trigger::-webkit-details-marker {
  display: none;
}

.interest-expand-icon {
  font-size: 1rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.interest-expand[open] .interest-expand-icon {
  transform: rotate(45deg);
}

.interest-expand-body {
  padding: 0 1.25rem 1rem;
}

.spotify-playlists {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spotify-profile-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.spotify-profile-link:hover {
  color: var(--accent-hover);
}

.interest-placeholder {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---- Last.fm tracks ---- */
.lastfm-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition);
  border-radius: 4px;
}

.lastfm-track:last-child {
  border-bottom: none;
}

.lastfm-track:hover {
  background: var(--bg-hover);
}

.lastfm-track.now-playing {
  background: rgba(255, 103, 25, 0.1);
  padding: 0.5rem;
  margin: 0 -0.5rem;
}

.lastfm-art {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: 4px;
}

.lastfm-art-empty {
  display: block;
}

.lastfm-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lastfm-name {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.lastfm-artist {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lastfm-live {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ---- Feed items (Letterboxd & Goodreads) ---- */
.feed-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-item:hover {
  background: var(--bg-hover);
}

.track-rank {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 1.25rem;
  text-align: right;
  flex-shrink: 0;
}

.feed-art {
  width: 40px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: 4px;
}

.feed-art-music {
  width: 56px;
  height: 56px;
  border-radius: 4px;
}

.feed-art-book {
  width: 38px;
  height: 56px;
}

.feed-art-empty {
  display: block;
}

.feed-item.now-playing {
  background: rgba(255, 103, 25, 0.1);
  padding: 0.5rem;
  margin: 0 -0.5rem;
}

.feed-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.feed-title {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.feed-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Best-of link in interesses ---- */
.interesses-best-of {
  margin-top: 2rem;
  text-align: center;
}

.interesses-best-of-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.interesses-best-of-link:hover {
  border-color: var(--accent);
  background: rgba(255, 103, 25, 0.05);
  color: var(--accent);
}

/* ---- Live strip ---- */
.live-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.live-strip-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--grid-gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.live-strip-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.live-strip-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.live-strip-stat {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

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

/* ---- Smaak: gecombineerde sectie ---- */
.smaak-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.smaak-sidebar {
  position: sticky;
  top: calc(var(--topbar-height, 56px) + 1.5rem);
}

.smaak-huidig-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.smaak-huidig-maand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.smaak-live-badge {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 0.15em 0.45em;
  opacity: 0.85;
}

.smaak-sidebar-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.smaak-sidebar-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.smaak-sidebar-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.smaak-sidebar-stat {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.smaak-eerder-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

  .smaak-sidebar {
    position: static;
  }
}

/* ---- Archief kaarten ---- */
#archief {
  padding-top: 0;
}

/* ---- Archief krantenbalk ---- */
.archief-krantbalk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem 0 1.75rem;
  text-align: center;
}

.archief-krantbalk-regel {
  width: 100%;
  height: 5px;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 4px 0 var(--border-light);
}

.archief-krantbalk-midden {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 1rem;
}

.archief-krantbalk-label {
  font-family: var(--font);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.archief-krantbalk-titel {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.archief-krantbalk-sub {
  font-family: var(--font);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ---- Archief tabel ---- */
.archief-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
}

.archief-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font);
  table-layout: fixed;
}

.archief-table thead tr {
  border-bottom: 2px solid var(--border-light);
}

.archief-table th {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0 0.75rem 0.6rem 0.75rem;
  text-align: left;
}

.archief-th-maand { width: 140px; }

.archief-row td {
  padding: 0.9rem 0.75rem;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.archief-row-month {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
  position: relative;
}

.archief-row-cell .archief-row-link {
  display: block;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
}

.archief-row-sub {
  display: block;
  font-family: var(--font);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.archief-row-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.archief-row { cursor: pointer; transition: background 0.15s; }
.archief-row:hover td { background: var(--bg-hover); }
.archief-row.active td { background: var(--bg-hover); }
.archief-row.active .archief-row-month { color: var(--accent); }

/* Ruimte voor chevron in maandcel */
.archief-row .archief-row-month { padding-right: 1.5rem; }

/* Chevron — geeft aan dat de rij klikbaar is */
.archief-row-month::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(-45deg); /* wijst rechts › */
  transition: transform 0.2s ease, opacity 0.15s;
  opacity: 0.4;
}

.archief-row:hover .archief-row-month::after { opacity: 0.85; }

.archief-row.active .archief-row-month::after {
  transform: translateY(-50%) rotate(45deg); /* wijst omlaag ∨ */
  opacity: 1;
}

/* Detail uitklap-rij */
.archief-detail-td {
  padding: 0;
  border-top: none;
  vertical-align: top;
  background: var(--bg-alt);
}

.archief-detail-td--month {
  border-top: 1px solid var(--border);
}

.archief-detail-cell-inner {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0.5rem;
  border-top: 1px solid var(--border);
}

.archief-detail-row.open .archief-detail-cell-inner {
  max-height: 2000px;
  padding: 1rem 0.5rem 1.25rem;
}

.archief-detail-td h4 {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.archief-detail-td .feed-art-music {
  width: 36px;
  height: 36px;
}

.archief-detail-td .feed-art {
  width: 28px;
  height: 42px;
}

.archief-detail-td .feed-art-book {
  width: 28px;
  height: 42px;
}

.archief-detail-td .feed-item {
  gap: 0.5rem;
}

.archief-detail-td .feed-title {
  font-size: 0.8rem;
}

.archief-detail-td .feed-meta {
  font-size: 0.7rem;
}

.archief-hidden { display: none; }
.archief-hidden.archief-visible { display: table-row-group; }

.archief-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 1.5rem;
  display: block;
}

.archief-toggle:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 768px) {
  /* Tabel omzetten naar 2-koloms kaartgrid */
  .archief-table { display: block; }
  .archief-table thead { display: none; }

  /* Subgrid-container: row-gap bepaalt de ruimte TUSSEN paren van maanden */
  .archief-table tbody {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1.5rem;
    align-items: start;
  }

  /* Verberg de tweede tbody met !important zodat grid er niet overheen schrijft */
  .archief-hidden { display: none !important; }
  .archief-hidden.archief-visible { display: grid !important; margin-top: 1.5rem; }

  /* Inline detail-rij altijd verbergen — modal op mobiel */
  .archief-detail-row { display: none !important; }

  /*
   * Elk kaartje is een subgrid dat 5 rijen van de parent deelt met zijn buurkaart.
   * Hierdoor lijnen Nummer, Album, Film en Boek altijd uit over de twee kolommen,
   * ook als titels een verschillende lengte hebben.
   * gap: 0 overschrijft de parent row-gap BINNEN het kaartje (alleen tussen paren).
   */
  .archief-row {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.875rem;
    transition: border-color 0.15s;
  }

  .archief-row:hover { border-color: var(--accent); }
  .archief-row:hover td,
  .archief-row.active td { background: transparent; }

  /* Chevron op mobiel — iets kleiner, statisch rechts (modal opent, geen .active) */
  .archief-row .archief-row-month { padding-right: 1.25rem; }
  .archief-row-month::after {
    right: 0;
    width: 0.38rem;
    height: 0.38rem;
    opacity: 0.45;
  }
  .archief-row:hover .archief-row-month::after { opacity: 0.9; }

  .archief-row td {
    display: block;
    border: none;
    padding: 0;
    align-self: start;
  }

  /* Maandnaam als koptekst — oranje, groter */
  .archief-row-month {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    white-space: normal;
    padding-bottom: 0.5rem;
  }

  /* Content cellen: label boven titel, met scheidingslijn */
  .archief-row .archief-row-cell {
    display: block;
    border-top: 1px solid var(--border);
    padding-top: 0.6rem;
    padding-bottom: 0.35rem;
  }

  .archief-row .archief-row-cell::before {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
  }

  .archief-row td:nth-child(2).archief-row-cell::before { content: "Nummer"; }
  .archief-row td:nth-child(3).archief-row-cell::before { content: "Album"; }
  .archief-row td:nth-child(4).archief-row-cell::before { content: "Film"; }
  .archief-row td:nth-child(5).archief-row-cell::before { content: "Boek"; }

  .archief-row .archief-row-link {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
  }

  .archief-row .archief-row-sub {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 0.2rem;
  }

  /* Lege cellen tonen met label + streepje */
  .archief-row .archief-row-empty {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 0.6rem;
    padding-bottom: 0.35rem;
    align-self: start;
  }

  /* detail-rij hidden op mobiel, modal wordt gebruikt */
}

/* ---- Bottom sheet modal (mobiel) ---- */
.archief-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.archief-modal-overlay.open { opacity: 1; }

.archief-modal {
  background: var(--bg-card);
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 0 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.archief-modal-overlay.open .archief-modal { transform: translateY(0); }

.archief-modal-handle {
  width: 36px;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.archief-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  position: sticky;
  top: 0;
  background: var(--bg-card);
}

.archief-modal-title {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.archief-modal-close {
  background: var(--bg-hover);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.archief-modal-close:hover { color: var(--text); }

.archief-modal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---- Statistieken per card ---- */
.interest-card-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}



/* ---- Sollicitaties overview cards ---- */
.sollicitaties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sollicitatie-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition);
}

.sollicitatie-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--text);
}

.sollicitatie-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.sollicitatie-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.sollicitatie-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.sollicitatie-card-arrow {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- Accordion (VPRO sollicitatie) ---- */
.accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  transition: color var(--transition);
}

.accordion-header:hover {
  color: var(--accent);
}

.accordion-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 1.75rem;
  padding-top: 0.15rem;
}

.accordion-question {
  flex: 1;
  font-weight: 500;
  line-height: 1.5;
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  transition: transform var(--transition);
}

.accordion-icon::before {
  width: 2px;
  height: 16px;
  top: 2px;
  left: 9px;
}

.accordion-icon::after {
  width: 16px;
  height: 2px;
  top: 9px;
  left: 2px;
}

.accordion-header[aria-expanded="true"] .accordion-icon::before {
  transform: rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-body.open {
  max-height: 600px;
  padding: 0 0 1.5rem 2.75rem;
}

.accordion-body p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Details accordion (Over mij) ---- */
details.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.5rem 0;
  background: var(--bg-card);
}

details.accordion summary.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}

details.accordion summary.accordion-trigger::-webkit-details-marker {
  display: none;
}

details.accordion .accordion-icon {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--transition);
}

details.accordion[open] .accordion-icon {
  transform: rotate(45deg);
}

details.accordion .accordion-body {
  padding: 0 1.25rem 1.25rem;
  max-height: none;
  overflow: visible;
}

details.accordion .accordion-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ---- Avatar (hero + about) ---- */
.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
  background: #fff;
}

.about-avatar-wrapper {
  margin-bottom: 2rem;
}

.about-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  background: #fff;
}

/* ---- About content ---- */
.about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 1rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ---- CV Timeline ---- */
.cv-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.cv-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cv-item {
  position: relative;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 2px solid var(--border-light);
}

.cv-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cv-item:last-child {
  border-left-color: transparent;
}

.cv-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cv-item-org {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.cv-item-role {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.cv-item-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.cv-item-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.5rem;
  max-width: 540px;
}

/* ---- Over mij — portret hero ---- */

.about-hero-wrap {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 3.5rem var(--grid-gutter) 2rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--content-wide);
  margin: 0 auto;
}

.about-portrait-col {
  flex-shrink: 0;
}

.about-portrait-img {
  width: 110px;
  height: 146px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  background: #fff;
  display: block;
}

.about-intro-eyebrow {
  font-family: var(--font);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.about-intro-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}


.about-intro-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.about-intro-bio::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--text);
  float: left;
  font-size: 5em;
  line-height: 0.72;
  margin-right: 0.15em;
  margin-top: 0.04em;
}

@supports (initial-letter: 2) {
  .about-intro-bio::first-letter {
    float: none;
    font-size: unset;
    line-height: unset;
    margin-top: 0;
    initial-letter: 2;
    margin-right: 0.18em;
  }
}

.about-intro-meta {
  border-top: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.about-intro-meta-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.about-intro-meta-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-width: 75px;
  flex-shrink: 0;
}

.about-intro-meta-value {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.about-intro-meta-value a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Over mij — loopbaan / opleiding ---- */

.about-cv-wrap {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 0 var(--grid-gutter) 4rem;
}

.about-cv-inner {
  max-width: var(--content-wide);
  margin: 3rem auto 0;
  border-top: 1px solid var(--border);
}

/* Kleinere krantbalk-titel voor de secties */
.about-krantbalk { padding: 1.5rem 0 1rem; }
.about-krantbalk-titel {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
}

.about-cv-columns {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

/* Override tijdlijn-stijl voor de about-pagina */
.about-cv-col .cv-item {
  padding: 1.1rem 0;
  border-left: none;
  border-bottom: 1px solid var(--border);
}

.about-cv-col .cv-item::before { display: none; }

.about-cv-col .cv-item:first-of-type {
  border-top: 1px solid var(--border);
}

.about-cv-col .cv-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.about-cv-col .cv-item-org {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  font-family: var(--font);
}

.about-cv-col .cv-item-date {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: 0;
}

.about-cv-col .cv-item-role {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.about-cv-col .cv-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0;
  max-width: none;
}

.about-cv-btn {
  display: inline-block;
  margin-top: 1.5rem;
}

/* Mobiel */
@media (max-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-portrait-col {
    display: flex;
    justify-content: center;
  }

  .about-portrait-img {
    width: 110px;
    height: 146px;
  }

  .about-cv-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-cv-col:not(:first-child) {
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 2.5rem var(--grid-gutter);
  margin-top: auto;
}


.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-colofon {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-colofon-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-colofon p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-colofon a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-colofon a:hover {
  color: var(--accent);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   Substack Post Layout
   Applied via class="substack-post" on <body>
   ======================================== */
body.substack-post {
  --post-width: 680px;
  --font-serif: 'Spectral', Georgia, 'Times New Roman', serif;
}

/* Post header bar */
.post-header {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem var(--grid-gutter);
}

.post-header-inner {
  max-width: var(--post-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-back {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.post-back:hover {
  color: var(--accent);
}

.post-publication {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Article container */
.post-article {
  max-width: var(--post-width);
  margin: 0 auto;
  padding: 3rem var(--grid-gutter) 4rem;
}

/* Title & meta */
.post-meta {
  margin-bottom: 0;
}

.post-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.post-subtitle {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Byline */
.post-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  object-fit: cover;
  flex-shrink: 0;
}

.post-byline-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.post-byline-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.post-byline-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Best-of lijsten ---- */
.best-of-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1rem 0 1.5rem;
}

.best-of-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.best-of-item:last-child {
  border-bottom: none;
}

.best-of-rank {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 2.5rem;
  text-align: center;
  flex-shrink: 0;
}

.best-of-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.best-of-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.best-of-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dividers */
.post-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.post-separator {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 2.5rem 0;
  opacity: 0.5;
}

/* Post download button */
.post-download-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  font-style: normal;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.post-download-btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Post magazine thumbnails (click to expand) */
.post-magazine-label {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.post-magazine-thumbs {
  display: flex;
  gap: 0.75rem;
}

.post-magazine-thumb {
  width: 120px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.post-magazine-thumb:hover {
  border-color: var(--accent);
}

.post-magazine-thumb.expanded {
  width: 100%;
  cursor: zoom-out;
}

/* Post hero image */
.post-hero-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.95);
}

.post-inline-image {
  margin: 2rem 0;
}

.post-inline-image img {
  width: 100%;
  border-radius: var(--radius);
}

/* Post body — Substack-style reading */
.post-body {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
}

.post-body h2 {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.post-body p {
  margin-bottom: 1.25rem;
}

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

.post-question {
  color: var(--text-secondary);
  font-size: 1rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body blockquote {
  border-left: 3px solid var(--border-light);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* Footer note */
.post-footer-note {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.post-footer-note a {
  color: var(--accent);
}

.post-footer-note a.post-download-btn {
  color: #fff;
}

/* ========================================
   VPRO Theme Override
   Applied via class="vpro-theme" on <body>
   ======================================== */
body.vpro-theme {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-card: #ffffff;
  --bg-hover: #f5f5f7;
  --accent: #000099;
  --accent-hover: #00004c;
  --text: #121212;
  --text-secondary: #555;
  --text-muted: #888;
  --border: #8080ff;
  --border-light: #b0b0ff;
}

body.vpro-theme .topbar {
  background: rgba(255, 255, 255, 0.95);
}

body.vpro-theme .topbar-brand {
  color: var(--text);
}

body.vpro-theme .btn-primary {
  background: #0cdf0c;
  color: #121212;
}

body.vpro-theme .btn-primary:hover {
  background: #007a00;
  color: #fff;
}

body.vpro-theme .accordion-number {
  color: #0000ff;
}

body.vpro-theme .accordion-icon::before,
body.vpro-theme .accordion-icon::after {
  background: #0000ff;
}

body.vpro-theme .lastfm-live {
  background: #007a00;
}

body.vpro-theme .lastfm-track.now-playing {
  background: #e6ffe6;
}

body.vpro-theme .sollicitatie-card-label {
  color: #000099;
}

body.vpro-theme .interest-source {
  color: #0000ff;
}

body.vpro-theme .vpro-logo-img {
  height: 28px;
  width: auto;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .topbar-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0;
  }

  body.vpro-theme .topbar-nav {
    background: #fff;
  }

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

  .nav-link {
    height: auto;
    padding: 0.75rem var(--grid-gutter);
    border-bottom: none;
    border-left: 2px solid transparent;
  }

  .nav-link.active {
    border-bottom: none;
    border-left-color: var(--accent);
  }

  .menu-toggle {
    display: flex;
  }

  .home-hero {
    padding: 0;
  }

  .masthead-name {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .newspaper-columns {
    grid-template-columns: 1fr;
  }

  .newspaper-col-bio {
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 1rem;
    row-gap: 0;
    order: -1;
  }

  .newspaper-avatar {
    display: block !important;
    width: 80px !important;
    height: 100px !important;
    border-radius: 4px !important;
    object-fit: cover;
    object-position: center top;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin-bottom: 0;
  }

  /* Bio-kaart transparant — rijen doen direct mee in het grid */
  .newspaper-col-bio .mini-bio-card {
    display: contents;
  }

  /* Functie + Werkgever: naast de avatar */
  .newspaper-col-bio .mini-bio-row:nth-child(1),
  .newspaper-col-bio .mini-bio-row:nth-child(2) {
    grid-column: 2;
  }

  /* Opleiding, Gevestigd, Contact: onder de avatar, volle breedte */
  .newspaper-col-bio .mini-bio-row:nth-child(n+3),
  .newspaper-col-bio .mini-bio-cv {
    grid-column: 1 / -1;
  }

  /* Aside transparant zodat colofon en schrijfwerk apart geordend worden */
  .newspaper-col-aside {
    display: contents;
  }

  /* Colofon — bovenaan */
  .newspaper-col-aside > div:first-child {
    order: -2;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .newspaper-col-aside > hr {
    display: none;
  }

  /* Schrijfwerk — na gegevens */
  .newspaper-col-aside > div:last-child {
    order: 2;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  /* Sidebar — onderaan */
  .newspaper-col-center {
    order: 3;
  }

  .post-magazine-spreads {
    flex-direction: column;
  }


  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section {
    padding: 2.5rem var(--grid-gutter);
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .sollicitaties-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .stat-editorial-num {
    font-size: 2rem;
  }
}
