/*
Theme Name: Aanspraak
Theme URI: https://emmanuellevinas.nl
Author: Corine Jansen
Description: Een sober, typografisch thema voor emmanuellevinas.nl. De reeks is opgezet als leespad: delen die nog niet geschreven zijn, blijven als lege regel staan. Ondersteunt deelnummers, een ondertitel en een canonieke verwijzing per artikel, en een donkere modus.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aanspraak
Tags: blog, one-column, custom-menu, editor-style, translation-ready, accessibility-ready
*/

/*
  Lettertypen: Spectral (lopende tekst) en IBM Plex Sans (labels).
  Installeer ze in WordPress via Weergave > Editor > Stijlen > Typografie >
  Lettertypen > Lettertypen installeren. WordPress plaatst de bestanden dan op
  de eigen server, zodat er geen gegevens naar Google gaan. Staan ze er niet,
  dan valt de site terug op een nette serif en de systeemletter.
*/

/* =========================================================
   Emmanuel Levinas — gedeeld ontwerp
   Gebruikt door het WordPress-thema en door de voorvertoning.
   ========================================================= */

/* ---------------------------------------------------------
   1. Tokens — licht
   --------------------------------------------------------- */

:root {
  --paper:      #f4f1ea;   /* warm papier, geen grijs */
  --surface:    #fbf9f4;
  --sunk:       #e8e2d6;
  --ink:        #14120f;
  --ink-2:      #57514a;
  --ink-3:      #8a8279;
  --rule:       #dcd4c6;
  --rule-soft:  #e8e2d6;
  --accent:     #145240;   /* haar donkergroen, iets lichter voor tekst */
  --accent-2:   #4a8570;
  --focus:      #145240;
  --merk:       #053827;   /* de kleur van haar eigen beeldmerk */
  --merk-zand:  #c9b39b;

  --measure: 33rem;
  --gutter: 1.25rem;
  --shell: 70rem;
  --marge: 4.5rem;         /* de brede linkermarge op groot scherm */

  --serif: Spectral, "Iowan Old Style", "Palatino Linotype", Charter, Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --s0: 1.0625rem;
  --s1: 1.1875rem;
  --s2: 1.375rem;
  --s3: 1.75rem;
  --s4: 2.25rem;
  --s5: 3rem;
}

@media (min-width: 48rem) {
  :root {
    --s0: 1.125rem;
    --s1: 1.25rem;
    --s2: 1.5rem;
    --s3: 2rem;
    --s4: 2.75rem;
    --s5: 3.75rem;
    --gutter: 2rem;
  }
}

/* ---------------------------------------------------------
   2. Tokens — donker
   --------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:     #14120f;
    --surface:   #1c1916;
    --sunk:      #232019;
    --ink:       #ece7dd;
    --ink-2:     #a9a197;
    --ink-3:     #7d756c;
    --rule:      #332e27;
    --rule-soft: #27231d;
    --accent:    #8cc2ab;
    --accent-2:  #5d9a84;
    --focus:     #8cc2ab;
    --merk:      #053827;
    --merk-zand: #c9b39b;
  }
}

:root[data-theme="dark"] {
  --paper:     #14120f;
  --surface:   #1c1916;
  --sunk:      #232019;
  --ink:       #ece7dd;
  --ink-2:     #a9a197;
  --ink-3:     #7d756c;
  --rule:      #332e27;
  --rule-soft: #27231d;
  --accent:    #8cc2ab;
  --accent-2:  #5d9a84;
  --focus:     #8cc2ab;
  --merk:      #053827;
  --merk-zand: #c9b39b;
}

/* ---------------------------------------------------------
   3. Basis
   --------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--s0);
  line-height: 1.72;
  font-weight: 400;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--accent); color: var(--paper); }

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.75rem 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.screen-reader-text, .vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------------------------------------------------------
   4. Raamwerk
   --------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--measure); }

/* ---------------------------------------------------------
   5. Kop
   --------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule-soft);
  padding-block: 1.5rem 1.15rem;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.9rem 2rem;
}

.site-title {
  margin: 0;
  font-size: var(--s1);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.25;
}
.site-title a { text-decoration: none; }
.site-title__sub {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.875rem;
}
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }

.theme-toggle {
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }

/* ---------------------------------------------------------
   6. Opening
   --------------------------------------------------------- */

.opening {
  padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--rule-soft);
}

.opening__kicker { margin: 0 0 1.35rem; }

.opening__line {
  margin: 0;
  font-size: var(--s4);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.014em;
  max-width: 21ch;
  text-wrap: balance;
}

.opening__body {
  margin-top: 1.6rem;
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: var(--s1);
}
.opening__body p { margin: 0 0 0.9em; }

/* ---------------------------------------------------------
   7. Secties
   --------------------------------------------------------- */

.section {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--rule-soft);
}
.section--last { border-bottom: 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-bottom: 1.75rem;
}

.section__title {
  margin: 0;
  font-size: var(--s2);
  font-weight: 400;
  letter-spacing: -0.006em;
}

.section__note {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.section__note a { color: var(--ink-2); }

/* ---------------------------------------------------------
   8. Het leespad
   De reeks telt vierentwintig delen. De delen die nog niet
   geschreven zijn, blijven als lege regel staan: het pad laat
   zien wat er nog niet is.
   --------------------------------------------------------- */

.path {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-soft);
}

.path__item { border-bottom: 1px solid var(--rule-soft); }

.path__row,
.path__link {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  text-decoration: none;
}

.path__link:hover .path__title {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}
.path__link:hover .path__num { color: var(--accent); }

.path__num {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.path__title {
  display: block;
  font-size: var(--s1);
  line-height: 1.33;
}

.path__sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 50ch;
}

.path__item--open .path__row { padding-block: 0.8rem; }
.path__item--open .path__num { color: var(--rule); }
.path__open-rule {
  display: block;
  height: 1px;
  width: min(9rem, 40%);
  background: var(--rule);
  align-self: center;
}

/* De streepjes: de reeks in één oogopslag */
.post-header .ticks { margin-top: 1.4rem; }

.ticks {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 1.9rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.ticks__t {
  width: 3px;
  height: 0.6rem;
  background: var(--rule);
}
.ticks__t--done { height: 1.6rem; background: var(--accent-2); }
.ticks__t--here { height: 1.9rem; width: 4px; background: var(--ink); }

/* ---------------------------------------------------------
   9. Lijst met essays
   --------------------------------------------------------- */

.entries {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-soft);
}

.entry { border-bottom: 1px solid var(--rule-soft); }

.entry > a {
  display: block;
  padding: 1.15rem 0;
  text-decoration: none;
}
.entry > a:hover .entry__title {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin-bottom: 0.35rem;
}

.entry__title {
  margin: 0;
  font-size: var(--s2);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.008em;
}

.entry__sub {
  margin: 0.35rem 0 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 56ch;
}

/* ---------------------------------------------------------
   10. Eén essay
   --------------------------------------------------------- */

.post { padding-bottom: clamp(3rem, 8vw, 5rem); }

.post-header {
  padding-block: clamp(2.25rem, 6vw, 3.75rem) 0;
  max-width: 42rem;
}

.post-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin: 0 0 1.1rem;
}

.post-header__deel {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

.post-title {
  margin: 0;
  font-size: var(--s4);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.post-sub {
  margin: 0.9rem 0 0;
  font-size: var(--s2);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 38ch;
}

.post-body {
  max-width: var(--measure);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  font-size: var(--s1);
  line-height: 1.74;
}

/* Op groot scherm blijft er links een brede, lege marge staan.
   Daar zit alleen de dunne lijn die het lezen begeleidt. */
@media (min-width: 64rem) {
  .post-body {
    max-width: calc(var(--measure) + var(--marge));
    border-left: 1px solid var(--rule-soft);
    padding-left: var(--marge);
    margin-left: calc(-1 * var(--marge));
  }
  .post-body h2::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--marge));
    top: 0.78em;
    width: 1.5rem;
    height: 1px;
    background: var(--accent);
  }
}

.post-body > *:first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.3em; }

.post-body h2 {
  position: relative;
  margin: 2.6em 0 0.85em;
  font-size: var(--s2);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.006em;
}

.post-body h3 {
  margin: 2.1em 0 0.65em;
  font-size: var(--s1);
  font-weight: 500;
  line-height: 1.35;
}

.post-body h4 {
  margin: 1.9em 0 0.55em;
  font-size: var(--s0);
  font-weight: 500;
  letter-spacing: 0.005em;
}

.post-body blockquote {
  margin: 1.9em 0;
  padding-left: 1.3rem;
  border-left: 2px solid var(--accent-2);
  color: var(--ink-2);
  font-style: italic;
}
.post-body blockquote p:last-child { margin-bottom: 0; }

.post-body ul, .post-body ol { margin: 0 0 1.3em; padding-left: 1.25rem; }
.post-body li { margin-bottom: 0.45em; }

.post-body img { display: block; margin: 2em 0 0.5em; }
.post-body figcaption {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.post-body strong { font-weight: 600; }
.post-body a { text-decoration: underline; }

.post-body hr { margin: 2.5em 0; }

/* Bronvermelding */
.post-source {
  max-width: var(--measure);
  margin-top: 2.75rem;
  padding: 1rem 1.15rem;
  background: var(--sunk);
  border-left: 2px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.post-source a { color: var(--ink); }

/* Vorige en volgende */
.post-nav {
  max-width: 46rem;
  margin-top: 3rem;
  border-top: 1px solid var(--rule-soft);
}
.post-nav__link {
  display: block;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule-soft);
  text-decoration: none;
}
.post-nav__dir { display: block; margin-bottom: 0.25rem; }
.post-nav__title { font-size: var(--s1); line-height: 1.35; }
.post-nav__link:hover .post-nav__title {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* ---------------------------------------------------------
   11. Nieuwsbrief
   --------------------------------------------------------- */

.subscribe {
  max-width: 46rem;
  margin-top: 3rem;
  padding: 1.6rem;
  border: 1px solid var(--rule);
  background: var(--sunk);
}
.subscribe h2 {
  margin: 0 0 0.5rem;
  font-size: var(--s1);
  font-weight: 400;
}
.subscribe p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  max-width: 48ch;
}
.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.button:hover { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------
   12. Voet
   --------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule-soft);
  padding-block: 2.5rem 3.5rem;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.site-footer__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
}
.site-footer h2 {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.3rem; }
.site-footer p { margin: 0 0 0.6rem; max-width: 40ch; }

/* ---------------------------------------------------------
   13. Zoeken en paginering
   --------------------------------------------------------- */

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 22rem;
  margin-top: 1.25rem;
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.875rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
}
.search-form button {
  font-family: var(--sans);
  font-size: 0.875rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.search-form button:hover { background: var(--ink); color: var(--paper); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.875rem;
}
.pagination .page-numbers {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  text-decoration: none;
}
.pagination .current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------------------------------------------------------
   14. Rust en papier
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .post-nav, .subscribe, .theme-toggle, .ticks { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .post-body { max-width: none; border: 0; padding: 0; margin: 0; }
  .post-body a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ---------------------------------------------------------
   12. Beeld: rijen en koppen
   --------------------------------------------------------- */

.voorwoord {
  max-width: 40rem;
  margin: 1.1rem 0 0;
}

.voorwoord--lead > p:first-child {
  font-size: var(--s2);
  line-height: 1.46;
  margin-bottom: 1rem;
}

.voorwoord p {
  margin: 0 0 1em;
  font-size: var(--s0);
  line-height: 1.6;
  color: var(--ink-2);
}

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

.voorwoord p.voorwoord__naam {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-top: 1.5rem;
}

.rijen {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-soft);
}

.rij { border-bottom: 1px solid var(--rule-soft); }

.rij > a {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1.05rem;
  align-items: start;
  padding: 1.05rem 0;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 48rem) {
  .rij > a {
    grid-template-columns: 6rem 1fr;
    gap: 1.6rem;
    padding: 1.35rem 0;
  }
}

.rij__beeld {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sunk);
}

.rij__beeld img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.6,.2,1);
}

.rij > a:hover .rij__beeld img { transform: scale(1.04); }

.rij__tekst { display: block; }

.rij__titel {
  display: block;
  font-family: var(--serif);
  font-size: var(--s1);
  font-weight: 500;
  line-height: 1.28;
  margin: 0 0 0.18rem;
}

.rij > a:hover .rij__titel {
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 0.16em;
}

.rij__sub {
  display: block;
  margin: 0 0 0.4rem;
  color: var(--ink-2);
  font-size: var(--s0);
  line-height: 1.45;
}

.rij__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rij__deel { color: var(--accent); }

/* Het beeld boven een essay: aanwezig, zonder de pagina over te nemen. */

.post-beeld {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  background: var(--sunk);
  overflow: hidden;
}

.post-beeld img {
  display: block;
  width: 100%;
  height: clamp(11rem, 30vw, 21rem);
  object-fit: cover;
}

.post-beeld figcaption {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-3);
  padding: 0.6rem 0 0;
}

/* Een rustige verwijzing naar de reeks. */

.reeks-kaart {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  padding: clamp(1.4rem, 4vw, 2rem);
  background: var(--surface);
}

.reeks-kaart:hover { border-color: var(--ink-3); }

.reeks-kaart h2 {
  font-family: var(--serif);
  font-size: var(--s2);
  font-weight: 500;
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.reeks-kaart p {
  margin: 0 0 1rem;
  color: var(--ink-2);
  max-width: 40rem;
  font-size: var(--s0);
}

.reeks-kaart .ticks { margin: 0; }

/* ---------------------------------------------------------
   13. Het eigen beeldmerk en het portret
   --------------------------------------------------------- */

.merkband {
  background: var(--merk);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: clamp(2.2rem, 5.5vw, 3.6rem) var(--gutter);
  text-align: center;
}

.merkband__echo {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.9vw, 1.15rem);
  line-height: 1;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--merk-zand);
  opacity: 0.68;
}

.merkband__woord {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.72rem, 1.5vw, 0.86rem);
  line-height: 1;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--merk-zand);
  opacity: 0.75;
}

.merkband__woord span::before {
  content: "·";
  margin: 0 0.85em 0 0.35em;
  opacity: 0.6;
}

.merkband__titel {
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 4.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-align: center;
  max-width: 24ch;
  color: var(--merk-zand);
}

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

.merkband__titel a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(201, 179, 155, 0.5);
  text-underline-offset: 0.18em;
}

.merkband__sub {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  line-height: 1.5;
  text-align: center;
  max-width: 34rem;
  color: var(--merk-zand);
  opacity: 0.72;
}

.opening__grid { display: grid; gap: 1.75rem; }

@media (min-width: 60rem) {
  .opening__grid {
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: 3rem;
    align-items: start;
  }
}

.opening__portret { margin: 0; }

.opening__portret img {
  display: block;
  width: 100%;
  max-width: 13rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
}

/* ---------------------------------------------------------
   14. Het portret op de pagina over Levinas
   --------------------------------------------------------- */

.levinas-portret {
  margin: 0 0 1.8rem;
  max-width: 20rem;
}

.levinas-portret img { display: block; width: 100%; height: auto; }

.levinas-portret figcaption {
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-3);
  padding-top: 0.6rem;
}

@media (min-width: 46rem) {
  .levinas-portret {
    float: right;
    width: 14rem;
    max-width: 42%;
    margin: 0.45rem 0 1.4rem 2rem;
  }
}

@media (min-width: 64rem) {
  .levinas-portret { width: 15.5rem; margin-right: -4.5rem; }
}

.post-body::after { content: ""; display: block; clear: both; }

/* ---------------------------------------------------------
   15. De kantlijn
   --------------------------------------------------------- */

.opening__zij { display: block; }

.kantlijn {
  margin: 1.4rem 0 0;
  max-width: 13rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--accent);
}

.kantlijn::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  background: var(--accent-2);
  margin-bottom: 0.75rem;
}

.site-header__inner { justify-content: flex-end; gap: 1.5rem; }

/* ---------------------------------------------------------
   16. Eén essay: de kolom in het midden
   --------------------------------------------------------- */

.single .shell,
.page-template-default .shell { max-width: 47rem; }

@media (min-width: 64rem) {
  .single .post-body,
  .page-template-default .post-body {
    max-width: none;
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
  }
  .single .post-body h2::before,
  .page-template-default .post-body h2::before { left: -2.25rem; }
}

.contact {
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.contact a {
  color: var(--accent);
  text-decoration-color: var(--accent-2);
}

.portret-over {
  margin: 0 0 1.5rem;
  max-width: 14rem;
}

@media (min-width: 46rem) {
  .portret-over {
    float: right;
    width: 14rem;
    max-width: 42%;
    margin: 0.45rem 0 1.4rem 2rem;
  }
}

@media (min-width: 64rem) {
  .portret-over {
    width: 15.5rem;
    margin-right: -4.5rem;
  }
}

.portret-over img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------
   17. Onderdelen die de kolom openbreken
   --------------------------------------------------------- */

.post-body .uitgelicht {
  margin: 2.5rem 0;
  font-family: var(--serif);
  font-size: var(--s3);
  line-height: 1.26;
  letter-spacing: -0.012em;
  color: var(--accent);
  max-width: 28rem;
  clear: both;
}

.post-body .uitgelicht::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--accent-2);
  margin-bottom: 1rem;
}

.post-body .bewegingen {
  list-style: none;
  margin: 2.4rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.2rem;
  clear: both;
}

@media (min-width: 46rem) {
  .post-body .bewegingen { grid-template-columns: repeat(5, 1fr); gap: 1.4rem 1rem; }
}

.post-body .bewegingen li {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--accent-2);
}

.post-body .bewegingen b {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.post-body .bewegingen span {
  font-family: var(--serif);
  font-size: var(--s1);
  line-height: 1.2;
}

.post-body .tijdlijn {
  list-style: none;
  margin: 2.4rem 0;
  padding: 0;
  clear: both;
}

.post-body .tijdlijn li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.2rem;
  margin: 0;
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule-soft);
  font-size: var(--s0);
  line-height: 1.45;
}

.post-body .tijdlijn b {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.25em;
}

/* De reeks in twee kolommen. */

@media (min-width: 52rem) {
  .path {
    columns: 2;
    column-gap: 3.5rem;
  }
  .path__item { break-inside: avoid; }
}

/* ---------------------------------------------------------
   18. Reacties
   --------------------------------------------------------- */

.reacties {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
}

.reacties__kop {
  font-family: var(--serif);
  font-size: var(--s2);
  font-weight: 500;
  margin: 0 0 1.4rem;
}

.reacties__lijst,
.reacties__lijst .children {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.reacties__lijst .children {
  margin: 1.1rem 0 0 1.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--rule-soft);
}

.reacties__lijst li.comment { margin: 0 0 1.5rem; }

.reacties__lijst .comment-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}

.reacties__lijst .comment-meta a { color: inherit; text-decoration: none; }
.reacties__lijst .fn { font-style: normal; font-weight: 600; color: var(--ink-2); }
.reacties__lijst p { margin: 0 0 0.8em; }
.reacties__lijst .reply { font-family: var(--sans); font-size: 0.82rem; }

.reacties__uitleg {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink-3);
  margin: 0 0 1.1rem;
}

.comment-respond { margin-top: 1rem; }

.comment-reply-title {
  font-family: var(--serif);
  font-size: var(--s1);
  font-weight: 500;
  margin: 0 0 0.9rem;
}

.comment-form label {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 0.3rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.6rem 0.7rem;
}

.comment-form textarea { min-height: 8rem; resize: vertical; }

.comment-form input:focus,
.comment-form textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }

.comment-form p { margin: 0 0 1rem; }
.comment-form .form-submit { margin-top: 0.4rem; }

.comment-form input[type="submit"] {
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  background: var(--accent);
  border: 0;
  border-radius: 0;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}

.comment-form input[type="submit"]:hover { background: var(--merk); }

@media (min-width: 40rem) {
  .comment-form-author,
  .comment-form-email { display: inline-block; width: calc(50% - 0.5rem); vertical-align: top; }
  .comment-form-author { margin-right: 1rem; }
}

/* ---------------------------------------------------------
   19. Zoeken aan de zijkant
   --------------------------------------------------------- */

.zoek-zij { margin: 0 0 1.6rem; }

.zoek-zij form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  align-items: stretch;
}

.zoek-zij label { display: block; }

.zoek-zij .screen-reader-text { position: absolute; left: -9999px; }

.zoek-zij input[type="search"],
.zoek-zij input[type="text"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.5rem 0.6rem;
}

.zoek-zij input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }

.zoek-zij button,
.zoek-zij input[type="submit"] {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: var(--accent);
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.zoek-zij--breed { max-width: 24rem; margin-top: 1.2rem; }

.rij--zonder-beeld > a { grid-template-columns: 1fr; }

@media (min-width: 48rem) {
  .rij--zonder-beeld > a { grid-template-columns: 1fr; }
}

.post-body .intro {
  font-size: var(--s2);
  line-height: 1.45;
  margin-bottom: 1.4rem;
}

/* ---------------------------------------------------------
   20. De proloog
   --------------------------------------------------------- */

.voorwoord .vertelling {
  margin: 1.9rem 0 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid var(--rule);
}

.vertelling__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

.voorwoord .vertelling p { font-size: var(--s0); color: var(--ink-2); }

.voorwoord .vertelling .vertelling__label { color: var(--accent); }

.vertelling__meer {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: 0.88rem;
}

.vertelling__meer a { color: var(--accent); text-decoration-color: var(--accent-2); }

.post-body .bronregel {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink-3);
}

.post-body .vertelling__label { margin-bottom: 1.2rem; }

.voorwoord .vertelling:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0.2rem;
}

.voorwoord .vertelling:first-child > p:first-child {
  font-size: var(--s2);
  line-height: 1.46;
  color: var(--ink);
}

.voorwoord .orientatie {
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.post-body .elders {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* ---------------------------------------------------------
   21. De denkers
   --------------------------------------------------------- */

.post-body .denkers {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  clear: both;
}

@media (min-width: 52rem) {
  .post-body .denkers { columns: 2; column-gap: 2.75rem; }
  .post-body .denkers li { break-inside: avoid; }
}

.post-body .denkers li {
  margin: 0;
  border-top: 1px solid var(--rule-soft);
}

.post-body .denkers a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: inherit;
}

.denkers__naam {
  display: block;
  font-family: var(--serif);
  font-size: var(--s1);
  font-weight: 500;
  line-height: 1.25;
}

.post-body .denkers a:hover .denkers__naam {
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 0.16em;
}

.denkers__regel {
  display: block;
  font-size: var(--s0);
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 0.15rem;
}

.denkers__bron {
  display: block;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.35rem;
}

/* ---------------------------------------------------------
   22. Thema's
   --------------------------------------------------------- */

.thema {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.18rem 0.5rem;
  margin: 0 0.35rem 0.35rem 0;
  background: var(--surface);
}

.thema:hover { border-color: var(--accent-2); }

.thema__aantal { color: var(--ink-3); margin-left: 0.25rem; }

.rij__meta { align-items: flex-start; }

.rij__themas {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin: 0.3rem 0 0;
}

.rij__themas .thema {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 0.1rem 0.4rem;
  margin: 0 0.3rem 0.25rem 0;
}

.post-themas { display: flex; flex-wrap: wrap; align-items: flex-start; }
.post-themas .thema { flex: 0 0 auto; }

.post-themas { display: block; margin: 0.9rem 0 0; }

.themabalk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-soft);
}

.themabalk__kop {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0.75rem 0.35rem 0;
}

/* =========================================================
   23. De open regel
   Eén gebaar dat overal terugkomt: een dunne lijn die begint
   waar de tekst begint en doorloopt tot buiten het beeld.
   Zij staat voor wat nog niet gezegd is.
   ========================================================= */

:root { --regel-links: max(var(--gutter), calc(50% - (var(--shell) / 2) + var(--gutter))); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --merk: #0e3527; }
}

:root[data-theme="dark"] { --merk: #0e3527; }

/* --- De kop van de site ------------------------------------------------ */

.merkband {
  display: block;
  padding: clamp(2.1rem, 5vw, 3.4rem) 0 clamp(1.6rem, 3.5vw, 2.3rem);
  text-align: left;
  overflow: hidden;
}

.merkband__woord {
  margin: 0;
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  opacity: 0.7;
}

.merkband__titel {
  margin: 0.9rem 0 0;
  font-size: clamp(1.75rem, 5.2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: left;
  max-width: 17ch;
}

.merkband__regel {
  height: 1px;
  background: var(--merk-zand);
  opacity: 0.34;
  margin: 1.25rem calc(50% - 50vw) 0.95rem 0;
}

.merkband__sub {
  margin: 0;
  text-align: left;
  max-width: 40ch;
  font-size: clamp(0.82rem, 1.6vw, 0.94rem);
  opacity: 0.68;
}

/* --- Dezelfde lijn als scheiding tussen de delen van een pagina -------- */

.section {
  border-bottom: 0;
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: var(--regel-links);
  height: 1px;
  background: var(--rule);
}

.section--last::after { display: none; }

.opening { border-bottom: 0; position: relative; }

.opening::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: var(--regel-links);
  height: 1px;
  background: var(--rule);
}

/* --- En onder de titel van een essay ----------------------------------- */

.post-regel {
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
  margin: 1.3rem calc(50% - 50vw) 1.2rem 0;
}

/* --- Minder kapitaaltjes: nog maar twee soorten ------------------------ */

.label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-3);
}

.post-header__deel {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
  border: 0;
  padding: 0;
  border-radius: 0;
}

.opening__kicker,
.vertelling__label,
.denkers__bron,
.themabalk__kop,
.thema {
  text-transform: uppercase;
}

.post-header__meta { margin: 0; gap: 0.3rem 0.9rem; }

/* =========================================================
   24. De deur
   Een deur is wat je voor iemand opent. Zij komt terug als
   het merkteken, als drempel tussen de delen van een pagina,
   en als vorm van de thema-ingangen.
   ========================================================= */

.deur {
  display: inline-block;
  vertical-align: -0.45em;
  margin-right: 0.7rem;
  color: var(--merk-zand);
  opacity: 0.85;
}

/* --- De drempel: een lijn met een opening erin ------------------------- */

.section::after,
.opening::after {
  background: transparent;
  background-image: linear-gradient(to right, var(--rule) 0 1.6rem, transparent 1.6rem 3.4rem, var(--rule) 3.4rem);
}

.merkband__regel {
  background: transparent;
  background-image: linear-gradient(to right, var(--merk-zand) 0 1.6rem, transparent 1.6rem 3.4rem, var(--merk-zand) 3.4rem);
}

.post-regel {
  background: transparent;
  background-image: linear-gradient(to right, var(--accent) 0 1.6rem, transparent 1.6rem 3.4rem, var(--accent) 3.4rem);
}

/* --- De thema-ingangen als deuropening -------------------------------- */

.thema {
  border-bottom: 0;
  border-top-left-radius: 0.6rem;
  border-top-right-radius: 0.6rem;
  padding: 0.3rem 0.65rem 0.28rem;
  background: transparent;
}

.thema:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.rij__themas .thema { padding: 0.22rem 0.5rem 0.2rem; }

.themabalk .thema { padding: 0.38rem 0.7rem 0.34rem; }

/* --- Dezelfde vorm bij de denkers ------------------------------------- */

.post-body .denkers li {
  border-top: 0;
  border-left: 1px solid var(--rule-soft);
  padding-left: 1rem;
}

.post-body .denkers a:hover { background: var(--surface); }

/* =========================================================
   25. Het blad: minder scrollen, meer kolom
   ========================================================= */

.opening { padding-block: clamp(1.6rem, 3.2vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem); }
.section { padding-block: clamp(1.7rem, 3.4vw, 2.6rem); }
.merkband { padding: clamp(1.5rem, 3.4vw, 2.4rem) 0 clamp(1.1rem, 2.4vw, 1.6rem); }

.blad { display: grid; gap: 1.8rem; }

@media (min-width: 62rem) {
  .blad {
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    gap: 0 2.5rem;
    align-items: start;
  }
  .blad__zij {
    border-left: 1px solid var(--rule);
    padding-left: 2.5rem;
  }
}

.blad__zij .voorwoord { margin-top: 1.2rem; max-width: none; }
.blad__zij .voorwoord .vertelling:first-child > p:first-child { font-size: var(--s0); }
.blad__zij .kantlijn { max-width: none; margin-top: 1.3rem; }
.blad__zij .zoek-zij { margin-bottom: 0; }
.blad__zij .orientatie { margin-top: 1.2rem; padding-top: 1rem; }

/* --- De opening: één stuk groot --------------------------------------- */

.lead > a { display: block; text-decoration: none; color: inherit; }

.lead__beeld {
  display: block;
  overflow: hidden;
  background: var(--sunk);
  margin-bottom: 1rem;
}

.lead__beeld img {
  display: block;
  width: 100%;
  height: clamp(11rem, 26vw, 19rem);
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.6,.2,1);
}

.lead > a:hover .lead__beeld img { transform: scale(1.02); }

.lead__titel {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 20ch;
}

.lead > a:hover .lead__titel {
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 0.16em;
}

.lead__sub {
  margin: 0.55rem 0 0;
  font-size: var(--s1);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 44ch;
}

.lead__meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; margin: 0.75rem 0 0; }

/* --- Kopje boven een blok --------------------------------------------- */

.blok__kop {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1.2rem;
}

/* --- Drie kolommen ----------------------------------------------------- */

.kolommen { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }

@media (min-width: 40rem) { .kolommen { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.8rem; } }
@media (min-width: 62rem) { .kolommen { grid-template-columns: repeat(3, 1fr); gap: 1.9rem 2rem; } }

.kolom > a { display: block; text-decoration: none; color: inherit; }

.kolom__beeld {
  display: block;
  overflow: hidden;
  background: var(--sunk);
  aspect-ratio: 3 / 2;
  margin-bottom: 0.7rem;
}

.kolom__beeld img { display: block; width: 100%; height: 100%; object-fit: cover; }

.kolom__titel {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--s1);
  font-weight: 500;
  line-height: 1.24;
}

.kolom > a:hover .kolom__titel {
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 0.16em;
}

.kolom__sub { margin: 0.25rem 0 0; font-size: var(--s0); line-height: 1.4; color: var(--ink-2); }
.kolom__meta { margin: 0.45rem 0 0; }

/* --- Rijen in twee kolommen, zodat er minder gescrold wordt ----------- */

@media (min-width: 62rem) {
  .rijen--twee { columns: 2; column-gap: 2.5rem; }
  .rijen--twee .rij { break-inside: avoid; }
  .rijen { margin-top: 1.8rem; }
}

.rij > a { padding: 0.85rem 0; }

@media (min-width: 48rem) { .rij > a { padding: 0.95rem 0; } }

/* =========================================================
   26. De deur staat op de vloer
   De lijn tussen twee delen van een pagina is de vloerlijn
   uit je tekeningen. Daarop staat een deur.
   ========================================================= */

.section::after,
.opening::after {
  background-image: none;
  background-color: var(--rule);
}

.merkband__regel {
  background-image: none;
  background-color: var(--merk-zand);
}

.post-regel {
  background-image: none;
  background-color: var(--accent);
}

.section::before,
.opening::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(var(--regel-links) + 0.9rem);
  width: 18px;
  height: 28px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='28' viewBox='0 0 18 28'%3E%3Cpath d='M2.6 27.6C2.2 20 2.4 9.2 2.8 3 7 2.4 12.4 2.3 15.6 2.8 16 9.2 16.2 20 15.8 27.6' fill='none' stroke='%23145240' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12.7' cy='15.6' r='1.1' fill='%23145240'/%3E%3C/svg%3E");
}

.section--last::before { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .section::before,
  :root:not([data-theme="light"]) .opening::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='28' viewBox='0 0 18 28'%3E%3Cpath d='M2.6 27.6C2.2 20 2.4 9.2 2.8 3 7 2.4 12.4 2.3 15.6 2.8 16 9.2 16.2 20 15.8 27.6' fill='none' stroke='%238cc2ab' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12.7' cy='15.6' r='1.1' fill='%238cc2ab'/%3E%3C/svg%3E");
  }
}

:root[data-theme="dark"] .section::before,
:root[data-theme="dark"] .opening::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='28' viewBox='0 0 18 28'%3E%3Cpath d='M2.6 27.6C2.2 20 2.4 9.2 2.8 3 7 2.4 12.4 2.3 15.6 2.8 16 9.2 16.2 20 15.8 27.6' fill='none' stroke='%238cc2ab' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12.7' cy='15.6' r='1.1' fill='%238cc2ab'/%3E%3C/svg%3E");
}

.deur { vertical-align: -0.7em; margin-right: 0.8rem; opacity: 0.9; }

/* =========================================================
   27. De route staat in de kop, geen strook ertussen
   ========================================================= */

.site-header { display: none; }

.merkband .site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1.6rem;
  margin-top: 0.9rem;
  color: var(--merk-zand);
}

.merkband .site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.merkband .site-nav a {
  font-family: var(--sans);
  font-size: 0.93rem;
  color: var(--merk-zand);
  opacity: 0.82;
  text-decoration: none;
  padding: 0.25rem 0;
  display: inline-block;
}

.merkband .site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.24em; }

.merkband .site-nav .current-menu-item > a,
.merkband .site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--merk-zand);
  text-underline-offset: 0.24em;
}

.merkband .theme-toggle {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--merk-zand);
  opacity: 0.55;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.merkband .theme-toggle:hover { opacity: 0.9; border: 0; }

.merkband__regel { margin-bottom: 0.2rem; }
.merkband__sub { margin-bottom: 1.1rem; }
.merkband { padding-bottom: clamp(0.9rem, 2vw, 1.3rem); }

/* --- De kast als voordeur --------------------------------------------- */

.voordeur { position: relative; }

.voordeur__binnen {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 52rem) {
  .voordeur__binnen { grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: end; }
}

.voordeur__tekst {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.42;
  letter-spacing: -0.008em;
  max-width: 34ch;
}

.voordeur__meer {
  margin: 1rem 0 0;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.voordeur__meer a { color: var(--accent); text-decoration-color: var(--accent-2); text-underline-offset: 0.2em; }

.voordeur__deur { display: none; }

@media (min-width: 52rem) {
  .voordeur__deur { display: block; color: var(--accent); opacity: 0.9; }
}

.voorwoord--zij { margin-top: 1.1rem; }
.voorwoord--zij .orientatie { margin-top: 0; padding-top: 0; border-top: 0; }

.voordeur::before { display: none; }
.voordeur { padding-block: clamp(1.9rem, 4vw, 3rem); }

/* De kop zonder ondertitel: iets meer lucht om de naam, en de lijn
   dichter bij de route. */

.merkband__titel { margin-top: 0.8rem; }
.merkband__regel { margin-top: 1.05rem; margin-bottom: 0.15rem; }
.merkband .site-nav { margin-top: 0.75rem; }
