/* economiefaq.nl - theme v1 "Katern" (29-11-2026)
   A financial newspaper section: cream newsprint, near-black ink, burgundy for section labels and rules, a gold
   accent for exam answers. Gelasio (serif) for the masthead and headlines, Merriweather Sans for reading text.
   Articles have a ruled sidebar; exam sums look like an answer model. Bump ?v= in head-assets and templates. */

@font-face { font-family: "Gelasio"; src: url("/assets/fonts/gelasio-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("/assets/fonts/gelasio-latin-wght-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather Sans"; src: url("/assets/fonts/merriweather-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --paper: #f6efe0; --paper-2: #efe5cf; --sheet: #fbf7ee; --rule: #2a1a14; --line: #d9ccb2;
  --ink: #2a1a14; --muted: #6e5f52; --wine: #7a1f2b; --wine-d: #5a1520; --gold: #d4af37; --gold-l: #f4e7bd;
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Merriweather Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.02rem/1.72 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--wine-d); text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 1.5em 0 .45em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-top: .15em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--gold); color: var(--ink); padding: .5rem 1rem; }
.ic { width: 1.05em; height: 1.05em; fill: currentColor; vertical-align: -.15em; flex: none; }
.kicker { margin: 0 0 .35rem; font: 700 .76rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.kicker a { color: inherit; text-decoration: none; }
.standfirst { font: 400 1.25rem/1.55 var(--serif); color: #3d2b22; max-width: 46rem; }
.muted { color: var(--muted); font-size: .92rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* masthead */
.site-header { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; padding-top: .9rem; }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.masthead__side { margin: 0; font: italic 400 .95rem var(--serif); color: var(--muted); }
.masthead__side--r { text-align: right; }
.brand { display: inline-flex; justify-self: center; }
.brand__logo { height: 2.4rem; width: auto; display: block; }
.navbar { border-bottom: 4px double var(--rule); position: relative; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.site-nav__link { display: block; padding: .55rem 1rem; color: var(--ink); text-decoration: none; font: 700 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.site-nav__link:hover { color: var(--wine); }
.is-current .site-nav__link { color: var(--wine); box-shadow: inset 0 -3px 0 var(--wine); }
.menu-toggle { display: none; align-items: center; gap: .4rem; background: none; border: 0; padding: .55rem 0; font: 700 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
@media (max-width: 48rem) {
  .masthead { grid-template-columns: 1fr; text-align: center; }
  .masthead__side { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; padding-bottom: .5rem; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list { flex-direction: column; align-items: flex-start; }
  .js .site-nav__link { padding-left: 0; }
}

/* crumbs */
.crumbs { font: 400 .8rem var(--sans); color: var(--muted); padding: 1rem 0 .4rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "\00b7"; margin-right: .3rem; }
.crumbs a { color: var(--muted); text-decoration: none; }

/* front page */
.front { padding: 2rem 0 1.2rem; border-bottom: 1px solid var(--rule); text-align: center; }
.front h1 { font-size: clamp(2.4rem, 6vw, 4rem); max-width: 54rem; margin-inline: auto; }
.front .standfirst { margin-inline: auto; }
.home-body { padding: 1.4rem 0 .5rem; }
.prose.prose--wide { max-width: none; }
.sections { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.sections > li { padding: 0 1.2rem; border-left: 1px solid var(--line); }
.sections > li:first-child { border-left: 0; padding-left: 0; }
.sections h3 { margin: 0 0 .4rem; font-size: 1.3rem; }
.sections h3 a { color: var(--ink); text-decoration: none; }
.sections h3 a:hover { color: var(--wine); }
.sections p { font-size: .93rem; color: var(--muted); }
.sections ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.sections ul li { border-top: 1px solid var(--line); padding: .35rem 0; }
.sections ul a { color: var(--ink); text-decoration: none; }
.sections ul a:hover { color: var(--wine); text-decoration: underline; }
@media (max-width: 60rem) { .sections { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; } .sections > li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 36rem) { .sections { grid-template-columns: 1fr; } .sections > li { border-left: 0; padding: 0; } }
.sums { list-style: none; margin: 0 0 2rem; padding: 1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem 1.4rem; border-top: 4px double var(--rule); border-bottom: 1px solid var(--rule); }
.sums a { display: block; text-decoration: none; color: var(--ink); padding: .35rem 0; }
.sums strong { display: block; font: 700 1.05rem var(--serif); }
.sums span { font-size: .85rem; color: var(--muted); }
.sums a:hover strong { color: var(--wine); }

/* layout, article, column */
.page-title { margin-top: .2em; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 2.6rem; align-items: start; margin-top: .6rem; }
@media (max-width: 58rem) { .layout { grid-template-columns: 1fr; } }
.article, .column { max-width: 44rem; }
.column { margin: 0 auto 2rem; }
.prose { max-width: 44rem; }
.prose li { margin-bottom: .35em; }
.prose--answer > p:first-child { font: 700 1.28rem/1.5 var(--serif); color: var(--ink); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.prose--answer > p:nth-child(2)::first-letter { float: left; font: 700 3.3rem/.9 var(--serif); color: var(--wine); padding: .3rem .4rem 0 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 0 0 1.2em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; } .table-wrap table { margin: 0; }
.prose th, .prose td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--rule); font-family: var(--sans); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.prose td.n, .prose th.n { text-align: right; font-variant-numeric: tabular-nums; }
.formula { font: italic 600 1.15rem/1.5 var(--serif); text-align: center; padding: .7rem 1rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 1.2rem 0; }
.news { border-left: 3px solid var(--wine); padding: .2rem 0 .2rem 1rem; margin: 0 0 1.2em; font-style: normal; }
.news__head { font: 700 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin: 0 0 .25rem; }
.exam { background: var(--sheet); border: 1px solid var(--line); padding: .9rem 1.1rem; margin: 0 0 1.2em; }
.exam__head { font: 700 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin: 0 0 .35rem; }
.exam p:last-child { margin-bottom: 0; }

/* register (listing) and teasers (category) */
.register { display: grid; grid-template-columns: repeat(4, 1fr); margin: 1.6rem 0 2rem; border-top: 4px double var(--rule); }
.register__sec { padding: .8rem 1.2rem; border-left: 1px solid var(--line); }
.register__sec:first-child { border-left: 0; padding-left: 0; }
.register__title { margin: 0 0 .5rem; font-size: 1.3rem; }
.register__title a { color: var(--wine); text-decoration: none; }
.register__list { list-style: none; margin: 0; padding: 0; }
.register__list li { border-top: 1px solid var(--line); }
.register__list a { display: block; padding: .45rem 0; text-decoration: none; color: var(--ink); font-size: .95rem; }
.register__list a:hover { color: var(--wine); }
@media (max-width: 60rem) { .register { grid-template-columns: 1fr 1fr; } .register__sec:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 36rem) { .register { grid-template-columns: 1fr; } .register__sec { border-left: 0; padding-left: 0; } }
.teasers { list-style: none; margin: 1.4rem 0 1.6rem; padding: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem 2rem; border-top: 4px double var(--rule); }
.teaser { display: block; text-decoration: none; color: var(--ink); }
.teaser__q { display: block; font: 700 1.2rem/1.25 var(--serif); margin-bottom: .3rem; }
.teaser__x { display: block; font-size: .92rem; color: var(--muted); }
.teaser:hover .teaser__q { color: var(--wine); }

/* aside */
.aside { border-top: 4px double var(--rule); padding-top: .6rem; position: sticky; top: 1rem; }
@media (max-width: 58rem) { .aside { position: static; } }
.aside__head { font: 700 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin: .4rem 0 .4rem; }
.aside__list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.aside__list li { border-top: 1px solid var(--line); }
.aside__list a { display: block; padding: .5rem 0; text-decoration: none; color: var(--ink); font: 600 .98rem/1.35 var(--serif); }
.aside__list a:hover { color: var(--wine); }

/* exam sum */
.sum-block { margin: 1.8rem 0; }
.sum { background: var(--sheet); border: 1px solid var(--rule); box-shadow: 5px 5px 0 var(--paper-2); padding: clamp(1rem, 3vw, 1.6rem); }
.sum__label { display: inline-block; margin: 0 0 .4rem; background: var(--wine); color: #fff; font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .25rem .6rem; }
.sum__title { font: 700 1.35rem var(--serif); margin: 0 0 .25rem; }
.sum__task { color: var(--muted); font-size: .95rem; }
.sum__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .8rem; }
.sum__field { display: block; margin-bottom: .8rem; }
.sum__flabel { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .25rem; }
.sum__input { width: 100%; font: 400 1rem var(--sans); font-variant-numeric: tabular-nums; padding: .5rem .65rem; border: 1px solid #b9a98d; background: #fff; color: var(--ink); border-radius: 0; }
.sum__check { display: block; font-size: .92rem; margin: 0 0 .8rem; }
.sum__bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--wine); color: #fff; border: 1px solid var(--wine); padding: .55rem 1.1rem; font: 700 .9rem var(--sans); cursor: pointer; text-decoration: none; letter-spacing: .02em; }
.btn:hover { background: var(--wine-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--wine); }
.btn--ghost:hover { background: var(--gold-l); color: var(--wine-d); }
.sum__out:empty { display: none; }
.sum__out { border-top: 1px solid var(--rule); padding-top: .8rem; }
.sum__worklabel { font: 700 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin: 0 0 .4rem; }
.sum__steps { margin: 0 0 1rem; padding-left: 1.3rem; }
.sum__steps li { padding: .4rem 0; border-bottom: 1px dotted var(--line); }
.sum__steps li::marker { font-family: var(--serif); font-weight: 700; color: var(--wine); }
.sum__what { display: block; font-weight: 700; font-size: .92rem; }
.sum__calc { display: block; font: 400 .98rem/1.5 var(--serif); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sum__answer { background: var(--gold-l); border-left: 4px solid var(--gold); padding: .75rem 1rem; font-weight: 700; margin: 0 0 1rem; }
.sum__err { color: var(--wine); font-weight: 700; }
.sum__note { font-size: .8rem; color: var(--muted); margin: .4rem 0 0; }
.sum__tablewrap { overflow-x: auto; }
.sum__table { border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; min-width: 14rem; }
.sum__table th, .sum__table td { border-bottom: 1px solid var(--line); padding: .3rem .8rem; text-align: right; }
.sum__table th { border-bottom: 2px solid var(--rule); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

/* books (theme layer over the kit) */
.bcm-books { border-top: 4px double var(--rule); padding: 1rem 0 0; margin: 2rem 0; }
.bcm-books__title { margin-top: 0; font-size: 1.25rem; }

/* footer */
.site-footer { background: var(--wine-d); color: #ead9c6; margin-top: 3rem; font-size: .92rem; }
.site-footer__inner { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: 2.4rem 0 1.4rem; }
.site-footer__logo { height: 2.1rem; width: auto; display: block; margin-bottom: .8rem; }
.site-footer__head { font: 700 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #ead9c6; text-decoration: none; line-height: 2; }
.site-footer a:hover { color: var(--gold); }
.site-footer__small { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; padding: 1rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; color: #c7ad98; }
@media (max-width: 48rem) { .site-footer__inner { grid-template-columns: 1fr; } }

.disclosure-slot { font-size: .85rem; color: var(--muted); padding: 1rem 0; }
.share { margin: 2rem 0; background: var(--sheet); border-radius: 0 !important; }

@media print {
  body { background: #fff; }
  .navbar, .site-footer, .share, .aside, .crumbs, .bcm-books, .disclosure-slot, .sum__bar, .sum__note { display: none; }
  .layout { display: block; }
  .sum { box-shadow: none; }
}
