/* Die Stofpadkoerant — shared stylesheet for the front page and every edition.
   Type: URW Bookman Demi (the headline face of 1968, the year the steakhouse opened),
         C059 / Century Schoolbook (the old newspaper text face, sturdy for older eyes),
         Nimbus Mono (the typewriter — datelines and readers' letters).
   Colour: the paper and ink of the emoji edition, unchanged. */
@font-face { font-family: "Koerant Kop"; src: url("fonts/kop-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Koerant Kop"; src: url("fonts/kop-700i.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Koerant Teks"; src: url("fonts/teks-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Koerant Teks"; src: url("fonts/teks-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Koerant Teks"; src: url("fonts/teks-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Koerant Tik"; src: url("fonts/tik-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Koerant Tik"; src: url("fonts/tik-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #e9dcc0; --paper-light: #f6ecd2; --paper-dark: #dccba3;
  --ink: #2b1f12; --ink-soft: #5a4225; --rule: #bfa77c; --dust: #cdb68b; --stamp: #9c2f1f;
  --kop: "Koerant Kop", "Bookman Old Style", Georgia, serif;
  --teks: "Koerant Teks", "Century Schoolbook", Georgia, "Times New Roman", serif;
  --tik: "Koerant Tik", "Courier New", Courier, monospace;
}
* { box-sizing: border-box; }
html { background: #1b130b; -webkit-text-size-adjust: 100%; }
body {
  margin: 0 auto; max-width: 1120px; min-height: 100vh;
  padding: 22px clamp(16px, 4vw, 52px) 44px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255,250,230,.55), transparent 58%),
    radial-gradient(ellipse at 92% 100%, rgba(120,80,30,.16), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--teks); font-size: 19px; line-height: 1.6;
  box-shadow: 0 0 60px rgba(0,0,0,.6);
}
a { color: inherit; text-decoration-color: var(--sepia, #8a6a3e); text-underline-offset: .16em; }
a:hover { text-decoration-color: var(--stamp); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.tik { font-family: var(--tik); }

/* ---------- Nameplate ---------- */
.oor { display: flex; justify-content: space-between; gap: 14px; font-family: var(--tik); font-size: 13.5px; color: var(--ink-soft);
       border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.oor span:last-child { text-align: right; }
.naam { font-family: var(--kop); font-weight: 700; text-align: center; margin: 14px 0 2px; line-height: 1;
        font-size: clamp(38px, 8.6vw, 90px); letter-spacing: -.012em; }
.naam a { text-decoration: none; }
.leuse { text-align: center; font-style: italic; color: var(--ink-soft); margin: 6px 0 12px; font-size: 18px; }
.datumlyn { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; font-family: var(--tik); font-size: 14px;
            border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); padding: 6px 2px; }
.naam.klein { font-size: clamp(30px, 5.4vw, 52px); margin: 10px 0 8px; }

/* ---------- Shared bits ---------- */
.rubriek { display: inline-block; font-family: var(--tik); font-weight: 700; font-size: 14px; color: var(--stamp);
           border-bottom: 2px solid var(--stamp); padding-bottom: 1px; margin-bottom: 10px; }
.knop { display: inline-block; background: var(--ink); color: var(--paper-light); padding: 11px 18px; font-family: var(--teks);
        font-size: 18px; text-decoration: none; border: 0; cursor: pointer; }
.knop:hover { background: var(--stamp); color: var(--paper-light); }
.afdeling { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 18px; flex-wrap: wrap;
            border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0; margin: 34px 0 20px; }
.afdeling h2 { font-family: var(--kop); font-size: clamp(24px, 3.4vw, 32px); margin: 0; line-height: 1.1; }
.afdeling p { margin: 0; color: var(--ink-soft); font-style: italic; font-size: 17px; }
.plaat { margin: 0; }
.plaat img { display: block; width: 100%; border: 1px solid var(--rule); background: var(--paper-light); padding: 6px;
             box-shadow: 0 3px 12px rgba(43,31,18,.22); }
.plaat figcaption { font-family: var(--tik); font-size: 13.5px; color: var(--ink-soft); margin-top: 7px; line-height: 1.4; }
.sepia img { filter: sepia(.82) contrast(1.04) brightness(.98); }

/* ---------- Front page: lead story + the special edition ---------- */
.voor { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 34px; margin-top: 26px; align-items: start; }
.hoof h2 { font-family: var(--kop); font-size: clamp(30px, 5.2vw, 56px); line-height: 1.04; margin: 0 0 14px; letter-spacing: -.01em; }
.hoof h2 a { text-decoration: none; }
.hoof h2 a:hover { text-decoration: underline; text-decoration-color: var(--stamp); }
.hoof .inhoud { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; align-items: start; }
.hoof .inhoud.sonder-foto { grid-template-columns: 1fr; }
.hoof p { margin: 0 0 12px; }
.hoof p:first-of-type::first-letter { font-family: var(--kop); float: left; font-size: 66px; line-height: .82; padding: 6px 8px 0 0; }
.spesiaal { border: 3px double var(--ink); padding: 18px 18px 20px; background: rgba(246,236,210,.55); text-align: center; }
.spesiaal h3 { font-family: var(--kop); font-size: 26px; line-height: 1.1; margin: 4px 0 8px; }
.spesiaal p { margin: 0 0 14px; font-size: 17px; line-height: 1.45; }
.spesiaal .gesigte { display: flex; justify-content: center; gap: 4px; margin: 6px 0 12px; }
.spesiaal .gesigte img { width: 31%; max-width: 104px; filter: drop-shadow(0 4px 6px rgba(43,31,18,.3)); }
.spesiaal .gesigte img:nth-child(1) { transform: rotate(-8deg); }
.spesiaal .gesigte img:nth-child(3) { transform: rotate(8deg); }
.tellings { margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); font-family: var(--tik); font-size: 14.5px;
            color: var(--ink-soft); line-height: 1.55; text-align: left; }

/* ---------- Front page: the stofpad — a two-track road running back through the year ---------- */
.pad { list-style: none; margin: 0; padding: 0 0 0 78px; position: relative; }
.pad::before { /* the two wheel tracks */
  content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 30px;
  background:
    linear-gradient(var(--dust), var(--dust)) left / 7px 100% no-repeat,
    linear-gradient(var(--dust), var(--dust)) right / 7px 100% no-repeat;
  border-radius: 4px; opacity: .9;
}
.mylpaal { position: relative; margin: 30px 0 12px; min-height: 46px; display: flex; align-items: center; }
.mylpaal:first-child { margin-top: 4px; }
.mylpaal .klip { /* the white-painted milestone that stands on the road */
  position: absolute; left: -78px; top: 0; width: 58px; height: 46px; background: var(--paper-light); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 22px 22px 3px 3px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--kop); font-size: 15px; line-height: 1; box-shadow: 0 3px 0 rgba(43,31,18,.25);
}
.mylpaal .klip small { font-family: var(--tik); font-size: 11.5px; font-weight: 400; margin-top: 3px; }
.mylpaal h3 { font-family: var(--kop); font-size: 24px; margin: 0; }
.mylpaal .telling { font-family: var(--tik); font-size: 14px; color: var(--ink-soft); margin-left: 12px; }
.berig { display: grid; grid-template-columns: 74px minmax(0, 1fr) 132px; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--rule); position: relative; }
.berig::before { /* the peg where this story stands beside the road */
  content: ""; position: absolute; left: -59px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper);
}
.berig .dag { font-family: var(--kop); font-size: 34px; line-height: 1; text-align: center; }
.berig .dag small { display: block; font-family: var(--tik); font-weight: 400; font-size: 13px; color: var(--ink-soft); margin-top: 5px; }
.berig h4 { font-family: var(--kop); font-size: clamp(20px, 2.6vw, 25px); line-height: 1.15; margin: 0 0 6px; }
.berig h4 a { text-decoration: none; }
.berig h4 a:hover { text-decoration: underline; text-decoration-color: var(--stamp); }
.berig p { margin: 0; font-size: 17.5px; line-height: 1.5; color: var(--ink-soft); }
.berig .rubriek { font-size: 13px; margin-bottom: 6px; }
.berig.soort-kort h4 { font-size: clamp(18px, 2.2vw, 21px); }
.berig .duim img { display: block; width: 132px; height: 132px; object-fit: cover; border: 1px solid var(--rule); background: var(--paper-light); padding: 4px; }
.berig .duim.plakker img { object-fit: contain; border: 0; background: none; padding: 8px; filter: none; }
.begin { position: relative; margin-top: 26px; padding: 14px 0 4px; font-style: italic; color: var(--ink-soft); border-top: 1px solid var(--rule); }
.begin strong { font-family: var(--kop); font-style: normal; color: var(--ink); }

/* ---------- An edition (one story as its own front page) ---------- */
.blad { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; margin-top: 26px; align-items: start; }
.storie h1 { font-family: var(--kop); font-size: clamp(32px, 6vw, 62px); line-height: 1.03; margin: 0 0 14px; letter-spacing: -.012em; }
.storie .byreel { font-family: var(--tik); font-size: 14.5px; color: var(--ink-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
                  padding: 7px 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 2px 22px; }
.storie .hoofplaat { margin: 0 0 24px; }
.storie .hoofplaat.staande { float: right; width: min(46%, 380px); margin: 4px 0 18px 28px; }
.storie .plakker { float: right; width: min(34%, 210px); margin: 0 0 12px 22px; filter: drop-shadow(0 5px 8px rgba(43,31,18,.3)); transform: rotate(4deg); }
.lyf { font-size: 20px; line-height: 1.64; max-width: 35em; }
.lyf p { margin: 0 0 .95em; }
.lyf p.eerste::first-letter { font-family: var(--kop); float: left; font-size: 78px; line-height: .8; padding: 8px 10px 0 0; }
.lyf p.versoek { font-family: var(--tik); font-size: 15px; line-height: 1.5; color: var(--ink-soft); border-left: 3px solid var(--rule); padding-left: 12px; }
.lyf p.tussenkop { font-family: var(--kop); font-size: 25px; line-height: 1.2; margin: 1.3em 0 .6em; }
.einde { clear: both; text-align: center; font-family: var(--kop); font-size: 22px; letter-spacing: .5em; color: var(--ink-soft); margin: 26px 0 0; }
.fotoblad { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 26px 0 0; }
.bron { clear: both; font-family: var(--tik); font-size: 14px; color: var(--ink-soft); margin: 22px 0 0; }

.briewe { clear: both; }
.brief { margin: 0 0 18px; padding: 14px 16px 12px; background: rgba(246,236,210,.6); border: 1px solid var(--rule); font-family: var(--tik); font-size: 15.5px; line-height: 1.55; max-width: 38em; }
.brief p { margin: 0 0 8px; white-space: pre-line; }
.brief footer { text-align: right; color: var(--ink-soft); }
.brief.redakteur { margin-left: clamp(14px, 6vw, 60px); border-left: 4px solid var(--stamp); }
.briewe .meer { font-size: 17px; font-style: italic; color: var(--ink-soft); }

.blaai { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 34px 0 0; border-top: 3px double var(--ink); padding-top: 14px; }
.blaai a { text-decoration: none; display: block; }
.blaai a:hover strong { text-decoration: underline; text-decoration-color: var(--stamp); }
.blaai small { display: block; font-family: var(--tik); font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.blaai strong { font-family: var(--kop); font-size: 20px; line-height: 1.2; }
.blaai .volgende { text-align: right; }

.kantlyn { border-left: 1px solid var(--rule); padding-left: 26px; }
.kantlyn h2 { font-family: var(--kop); font-size: 21px; line-height: 1.15; margin: 0 0 12px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.kantlyn ol { list-style: none; margin: 0 0 26px; padding: 0; }
.kantlyn li { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.kantlyn li a { text-decoration: none; display: block; }
.kantlyn li a:hover strong { text-decoration: underline; text-decoration-color: var(--stamp); }
.kantlyn li small { display: block; font-family: var(--tik); font-size: 13px; color: var(--ink-soft); }
.kantlyn li strong { font-family: var(--kop); font-size: 17.5px; line-height: 1.22; font-weight: 700; }
.kantlyn .spesiaal { padding: 14px; }
.kantlyn .spesiaal h3 { font-size: 21px; }

.voet { margin-top: 40px; border-top: 3px double var(--ink); padding-top: 12px; text-align: center; color: var(--ink-soft); font-size: 16.5px; }
.voet .teken { font-family: var(--kop); font-style: italic; font-size: 22px; color: var(--ink); margin: 2px 0 4px; }
.voet .klein { font-family: var(--tik); font-size: 13px; margin-top: 8px; }

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
  .voor, .blad { grid-template-columns: 1fr; gap: 28px; }
  .kantlyn { border-left: 0; padding-left: 0; border-top: 3px double var(--ink); padding-top: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 18px; padding-top: 16px; }
  .oor { font-size: 11.5px; }
  .datumlyn { font-size: 12.5px; }
  .hoof .inhoud { grid-template-columns: 1fr; }
  .pad { padding-left: 50px; }
  .pad::before { left: 13px; width: 18px; background-size: 5px 100%, 5px 100%; }
  .mylpaal .klip { left: -50px; width: 44px; height: 40px; font-size: 13px; border-radius: 18px 18px 3px 3px; }
  .mylpaal .klip small { font-size: 10.5px; }
  .mylpaal h3 { font-size: 21px; }
  .berig { grid-template-columns: minmax(0, 1fr) 92px; gap: 10px 12px; }
  .berig::before { left: -36px; top: 22px; width: 11px; height: 11px; border-width: 2px; }
  .berig .dag { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; text-align: left; font-size: 24px; }
  .berig .dag small { display: inline; margin: 0; }
  .berig .duim img { width: 92px; height: 92px; }
  .berig p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
  .storie .hoofplaat.staande { float: none; width: 100%; margin: 0 0 22px; }
  .storie .plakker { width: 36%; margin-left: 14px; }
  .lyf { font-size: 19px; }
  .lyf p.eerste::first-letter { font-size: 64px; }
  .blaai { grid-template-columns: 1fr; }
  .blaai .volgende { text-align: left; }
}
@media print {
  html, body { background: #fff; box-shadow: none; }
  .kantlyn, .blaai, .knop { display: none; }
}
