/* Leverschade.nl · klinische huisstijl.
   Bewust geen enkele overlap met livera.cc: geen crème, geen diepgroen,
   geen Georgia. Referentie is Nederlandse medische informatiesites. */

:root {
  color-scheme: light;

  --ink:      #14181D;
  --ink-2:    #47525E;
  --ink-3:    #6C7783;
  --line:     #E1E6EB;
  --line-2:   #EEF1F4;
  --bg:       #FFFFFF;
  --bg-2:     #F6F8FA;
  --accent:   #0B5CAB;
  --accent-2: #EAF2FA;
  --ok:       #157F3D;
  --no:       #B3261E;
  --warn-bg:  #FFF8E6;
  --warn-line:#E8D9A8;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 44rem;
  --wide: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }

/* ---------------------------------------------------------------- labels - */
.label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* verplichte advertentie-aanduiding */
.disclosure {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-line);
  padding: .55rem 0;
}
.disclosure p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.5;
  color: #6A5A28;
}
.disclosure strong { letter-spacing: .09em; text-transform: uppercase; font-size: .6875rem; }

/* ---------------------------------------------------------------- header - */
.masthead { border-bottom: 1px solid var(--line); background: var(--bg); }
.masthead__inner {
  display: flex; align-items: baseline; gap: 1rem 1.5rem; flex-wrap: wrap;
  padding: 1.15rem 0;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark__mark { width: 1.85em; height: auto; fill: var(--accent); flex: none; }
.wordmark b { font-weight: 700; }
.wordmark span { color: var(--accent); }
.masthead__tag {
  font-size: .8125rem; color: var(--ink-3); margin: 0;
  border-left: 1px solid var(--line); padding-left: 1.5rem;
}
@media (max-width: 34rem) {
  .masthead__tag { border-left: 0; padding-left: 0; flex-basis: 100%; }
}

/* ------------------------------------------------------------------ hero - */
.hero { padding: 3rem 0 2.25rem; border-bottom: 1px solid var(--line); }
.hero h1 {
  margin: .6rem 0 0;
  font-size: clamp(1.6rem, 4.2vw, 2.25rem);
  line-height: 1.22; letter-spacing: -.022em; font-weight: 700;
  max-width: 22ch;
}
.hero p { margin: .85rem 0 0; color: var(--ink-2); max-width: 58ch; }

/* --------------------------------------------------------------- article - */
.article { padding: 2.5rem 0 1rem; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  padding-bottom: 1.1rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  font-size: .8125rem; color: var(--ink-3);
}
.article__meta time { font-variant-numeric: tabular-nums; }

.article h1 {
  font-size: clamp(1.65rem, 4.4vw, 2.3rem);
  line-height: 1.2; letter-spacing: -.022em; margin: 0 0 .5rem; font-weight: 700;
}
.article h2 {
  font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.012em;
  margin: 2.75rem 0 .75rem; font-weight: 700;
  padding-top: 1.5rem; border-top: 1px solid var(--line-2);
}
.article h3 {
  font-size: 1rem; margin: 1.85rem 0 .5rem; font-weight: 700; letter-spacing: -.005em;
}
.article h4 {
  font-size: .8125rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); margin: 1.5rem 0 .5rem;
}
.article p { margin: 0 0 1rem; }
.article ul, .article ol { margin: 0 0 1.15rem; padding-left: 1.15rem; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--ink-3); }
.lede { font-size: 1.0625rem; color: var(--ink-2); }

/* citaties */
sup.ref { font-size: .6875rem; line-height: 0; }
sup.ref a { text-decoration: none; padding: 0 .05em; font-variant-numeric: tabular-nums; }
sup.ref a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- tabels - */
.tablewrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .875rem; min-width: 34rem; }
caption {
  caption-side: top; text-align: left; padding-bottom: .6rem;
  font-size: .8125rem; color: var(--ink-3);
}
th, td {
  text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-size: .6875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--ink); white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 1px solid var(--ink); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.yes, .no { font-weight: 700; font-size: .9375rem; }
.yes { color: var(--ok); }
.no  { color: var(--no); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* productkaart: prijs / voordelen / nadelen */
.product { border: 1px solid var(--line); margin: 1.25rem 0 1.5rem; }
.product__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .8rem 1rem; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.product__price { font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.product__cols { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 38rem) { .product__cols { grid-template-columns: 1fr; } }
.product__col { padding: .9rem 1rem 1rem; }
.product__col + .product__col { border-left: 1px solid var(--line); }
@media (max-width: 38rem) {
  .product__col + .product__col { border-left: 0; border-top: 1px solid var(--line); }
}
.product__col ul { margin: .4rem 0 0; padding-left: 1.05rem; font-size: .875rem; }
.product__col li { margin-bottom: .35rem; }

/* samenvattend oordeel */
.verdict {
  border-left: 3px solid var(--accent); background: var(--accent-2);
  padding: .9rem 1.1rem; margin: 1.25rem 0 1.5rem; font-size: .9375rem;
}
.verdict p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ kaart */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 44rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg); padding: 1.15rem 1.2rem 1.3rem; }
.card h3 { margin: .5rem 0 .35rem; font-size: 1rem; line-height: 1.35; letter-spacing: -.008em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.card p { margin: 0; font-size: .875rem; color: var(--ink-2); }
.card--soon h3 { color: var(--ink-3); }

.feature {
  display: grid; gap: 1.5rem; padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 46rem) { .feature { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.feature h2 { margin: .5rem 0 .5rem; font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.25; letter-spacing: -.018em; }
.feature h2 a { color: var(--ink); text-decoration: none; }
.feature h2 a:hover { color: var(--accent); }
.feature p { margin: 0 0 1rem; color: var(--ink-2); }
.feature__aside {
  border: 1px solid var(--line); padding: 1rem 1.1rem; background: var(--bg-2); font-size: .875rem;
}
.feature__aside ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.feature__aside li { margin-bottom: .3rem; }

.btn {
  display: inline-block; padding: .6rem 1.1rem; background: var(--accent); color: #fff;
  text-decoration: none; font-size: .875rem; font-weight: 600; border-radius: 2px;
}
.btn:hover { background: #094A8B; }

/* --------------------------------------------------------------- footnote */
.notes { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.notes h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 .75rem; border: 0; padding: 0; }
.notes ol { margin: 0; padding-left: 1.4rem; font-size: .8125rem; color: var(--ink-2); }
.notes li { margin-bottom: .4rem; word-break: break-word; }
.notes a { color: var(--accent); }

.disclaimer {
  margin-top: 2rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line);
  background: var(--bg-2); font-size: .8125rem; color: var(--ink-2);
}
.disclaimer p { margin: 0 0 .6rem; }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer strong { color: var(--ink); }

/* ---------------------------------------------------------------- footer - */
.foot { margin-top: 3rem; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot__inner { padding: 1.75rem 0 2.25rem; font-size: .8125rem; color: var(--ink-3); }
.foot p { margin: 0 0 .55rem; max-width: 68ch; }
.foot p:last-child { margin-bottom: 0; }
.foot a { color: var(--ink-2); }

/* --------------------------------------------------------- infographics - */
.figure {
  margin: 1.6rem 0 1.9rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1.3rem 1.3rem 1rem;
}
.figure svg { width: 100%; height: auto; display: block; }
.figure figcaption {
  margin-top: .95rem; padding-top: .7rem; border-top: 1px solid var(--line);
  font-size: .75rem; line-height: 1.5; color: var(--ink-3);
}
.figure figcaption b {
  display: block; color: var(--ink-2); font-size: .6875rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem;
}
/* svg-typografie */
.fig-t   { font: 600 11px var(--sans); fill: var(--ink); }
.fig-s   { font: 400 10px var(--sans); fill: var(--ink-2); }
.fig-xs  { font: 400 9px var(--sans);  fill: var(--ink-3); }
.fig-lbl { font: 600 8.5px var(--sans); fill: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.fig-num { font: 700 11px var(--sans); fill: #fff; }
.fig-box { fill: #fff; stroke: var(--line); stroke-width: 1; }
.fig-acc { fill: var(--accent); }
.fig-accbox { fill: var(--accent-2); stroke: #BBD4EC; stroke-width: 1; }
.fig-line { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.fig-dash { stroke: var(--ink-3); stroke-width: 1; fill: none; stroke-dasharray: 3 3; }
.fig-organ { fill: #E4EDF6; stroke: var(--accent); stroke-width: 1.4; }

