/**
 * Basistypografie: alleen element-selectors en een paar algemene hulpklassen.
 */
body {
  font-family: var(--f-tekst);
  font-size: var(--fs-basis);
  line-height: var(--lh-tekst);
  color: var(--c-tekst);
  background: var(--c-pagina) url("../../images/bgpattern.png");
}

/* Zoals het origineel: paginatitel (h1) en bloktitels in Big John,
   tussenkoppen in de tekst (h2–h4) in Catamaran vet. */
h1 {
  font-family: var(--f-kop);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: var(--lh-kop);
  margin: var(--s-2) 0 var(--s-3);
}

h2,
h3,
h4 {
  font-family: var(--f-tekst);
  font-weight: 700;
  line-height: var(--lh-kop);
  margin: var(--s-3) 0 var(--s-1);
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p,
ul,
ol,
dl,
blockquote {
  margin: 0 0 var(--s-2);
}

ul,
ol {
  padding-inline-start: 1.25em;
}

/* Links zonder onderstreping (zoals het origineel); de streep verschijnt bij
   aanwijzen met de muis en bij toetsenbordfocus. */
a {
  color: var(--c-link);
  text-decoration: none;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--c-link-hover);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

small {
  font-size: var(--fs-klein);
}

hr {
  border: 0;
  border-top: 1px solid var(--c-lijn);
  margin: var(--s-5) 0;
}

/* ── Tabellen ─────────────────────────────────────────
 * js/base/responsive-tables.js zet elke tabel in de hoofdinhoud in een
 * .table-scroll-wrapper, zodat brede tabellen op de telefoon horizontaal
 * scrollen in plaats van de pagina breder te maken.
 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--s-4);
}

/* Compact en zonder lijnen, zoals het origineel. */
th,
td {
  padding: 0 0.75rem 0.1875rem 0;
  text-align: start;
  vertical-align: top;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 var(--s-4);
}

.table-scroll > table {
  margin: 0;
}
