/*
Theme Name: Keuzegids
Description: Theme for Casino Keuzegids (BE / nl). Belgian palette — ink black, gold, red — on a cool off-white page. Allowed blocks only: headings, text, tables, lists, pros/cons, full-width image, author quote.
Version: 1.0.0
Author: WP-generator
Text Domain: wpgen
*/

/* Nunito Sans, variable, self-hosted. Two files cover every weight from 300 to 800. */
@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/nunito-var.woff2") format("woff2-variations"),
       url("assets/fonts/nunito-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/nunito-var-italic.woff2") format("woff2-variations"),
       url("assets/fonts/nunito-var-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* The three flag colours carry fixed jobs and never swap:
     ink = structure, gold = emphasis, red = action and links. */
  --ink: #17140F;
  --ink-2: #221D16;
  --ink-3: #2F281E;
  --hero: linear-gradient(152deg, #2F281E 0%, #1A1611 52%, #0D0B08 100%);
  --gold: #EFB41A;
  --gold-deep: #B8860B;
  --red: #C8102E;
  --red-hover: #A50D26;

  --font: "Nunito Sans", "Avenir Next", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --text: #1B1813;
  --muted: #6C6455;
  --line: #E4DFD3;
  --line-soft: #F0ECE2;
  --card: #ffffff;
  --page: #F5F4F1;
  --tint: #FAF8F3;
  --pro: #EDF5EF;
  --pro-line: #2C7A47;
  --con: #FCECEE;
  --con-line: #C8102E;

  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1180px;

  /* Icon for the "waar het misliep" box: the site mascot.
     The path MUST be absolute: the browser resolves url() inside a custom
     property relative to the file where the property is USED, not declared. */
  --note-icon: url('/wp-content/themes/wpgen-BE/assets/mascotte.svg');
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 18px/1.66 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.35px; }

img { max-width: 100%; height: auto; }
a { color: var(--red); }

.kg-omslag { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------------- header ---------------- */

.kg-kopbalk { background: var(--ink); }

/* Logo sits on the left and the nav below it: a centred wordmark is what every
   competitor does, and the brand should not look borrowed. */
.kg-kopbalk-rij {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.kg-hendel {
  display: none;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  cursor: pointer;
}
.kg-hendel span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.kg-hendel span + span { margin-top: 5px; }
.kg-hendel:hover { border-color: var(--gold); }
.kg-hendel:hover span { background: var(--gold); }
/* open state: the three bars fold into a cross */
.kg-hendel.kg-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kg-hendel.kg-open span:nth-child(2) { opacity: 0; }
.kg-hendel.kg-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.kg-merk { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.kg-merk-ico {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--gold);
  padding: 3px;
  display: flex; align-items: center; justify-content: center;
}
.kg-merk-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }

.kg-merk-txt { display: block; line-height: 1; }
.kg-merk-txt .kg-merk-r1 {
  display: block; color: #C8BEA6; font-size: 12px; font-weight: 700;
  letter-spacing: 2.6px; margin-right: -2.6px; text-transform: uppercase;
  margin-bottom: 5px;
}
/* Wordmark: "Casino" light, "Keuzegids" gold, one line, no italics.
   The sister sites use an italic split wordmark — this one must not echo it. */
.kg-merk-txt .kg-merk-r2 { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.6px; }
.kg-merk-txt .kg-merk-r2 b { color: #fff; font-weight: 500; }
.kg-merk-txt .kg-merk-r2 i { color: var(--gold); font-weight: 800; font-style: normal; }

/* The nav carries no accent stripe of its own: the flag already runs along the
   bottom of the hero, and a second one here made the header read as two bands. */
.kg-menu {
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.kg-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.kg-menu a {
  display: block; color: #DCD5C6; text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 13px 14px;
}
.kg-menu a:hover { color: #fff; }
.kg-menu .current-menu-item > a { color: var(--gold); }

/* Dropdown: opens on click (assets/nav.js), never on hover. */
.kg-menu li { position: relative; }

/* Metrics copied from `.kg-menu a`: otherwise the item with a caret sits lower
   than its neighbours and the whole row shifts. */
.kg-menu-knop {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  color: #DCD5C6; font: 600 15px/1.66 var(--font);
  padding: 13px 14px;
}
.kg-menu-knop:hover, .menu-item-has-children.kg-open > .kg-menu-knop { color: #fff; }

.kg-menu-pijl {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s ease;
}
.menu-item-has-children.kg-open .kg-menu-pijl { transform: rotate(-135deg) translate(-2px, -2px); }

.kg-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 236px;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  background: var(--ink-2);
  border: 1px solid #3A3226;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .4);
}
.menu-item-has-children.kg-open > .sub-menu { display: block; }

.kg-menu .sub-menu a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.kg-menu .sub-menu a:hover { background: var(--ink-3); color: var(--gold); }

/* ---------------- menu on narrow screens ---------------- */

@media (max-width: 900px) {
  .kg-hendel { display: block; }

  /* The panel is opened by the button; closed, it takes up no space at all. */
  .kg-menu {
    display: none;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .kg-menu.kg-open { display: block; animation: kg-uitklap .22s ease-out; }

  .kg-menu ul { display: block; }
  .kg-menu li { position: static; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .kg-menu li:last-child { border-bottom: 0; }
  .kg-menu a, .kg-menu .kg-menu-knop { display: block; width: 100%; padding: 14px 4px; font-size: 16px; text-align: left; }
  .kg-menu .kg-menu-knop { display: flex; justify-content: space-between; }
  .kg-menu .current-menu-item > a { color: var(--gold); }

  /* Inside the panel the submenu expands in place, without absolute positioning. */
  .kg-menu .sub-menu {
    position: static;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, .25);
    margin: 0 -22px;
    padding: 4px 22px 8px;
  }
  .kg-menu .sub-menu a { padding: 11px 12px; font-size: 15px; }

  /* While the menu is open the page underneath does not scroll. */
  body.kg-menu-vast { overflow: hidden; }
}

@keyframes kg-uitklap {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------- hero ---------------- */

.kg-vitrine { position: relative; overflow: hidden; background: var(--hero); color: #fff; padding: 34px 0 44px; }
.kg-vitrine .kg-omslag { position: relative; z-index: 2; }

/* Mascot on the right of the first screen.
   Three rules keep it from reading as "someone peeking round a corner": it sits
   entirely inside the dark area, fades out downwards through a mask, and has
   almost no contrast. This is background, not illustration. */
.kg-vitrine::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 26px;
  width: 236px;
  height: 236px;
  background: url("assets/mascotte.svg") no-repeat center / contain;
  opacity: .09;
  transform: rotate(4deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, .25) 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, .25) 90%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  animation: kg-mascotte-op 1s ease-out both;
}
/* On an author page the portrait stands on the right: two faces side by side is one too many. */
.kg-vitrine-auteur::before { display: none; }

@keyframes kg-mascotte-op {
  from { opacity: 0; transform: translate(18px, 10px) rotate(12deg); }
  to   { opacity: .09; transform: rotate(4deg); }
}

/* Flat tricolour baseline instead of a diagonal cut: a straight edge is easier
   to read and does not eat 60px of vertical space on a phone. */
.kg-vitrine::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #0D0B08 0 33.33%, var(--gold) 33.33% 66.66%, var(--red) 66.66%);
  pointer-events: none;
}

.kg-vitrine .kg-kruimels { font-size: 14px; color: #A79C87; margin-bottom: 18px; }
.kg-vitrine .kg-kruimels a { color: #A79C87; text-decoration: none; }
.kg-vitrine .kg-kruimels a:hover { color: var(--gold); }

.kg-vitrine-plat .kg-vitrine-grid { grid-template-columns: 1fr; }
.kg-vitrine-plat h1 { max-width: 22ch; }
.kg-vitrine-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; align-items: center; }
.kg-vitrine h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.08; margin: 0 0 16px; font-weight: 800; letter-spacing: -1px;
}
.kg-vitrine p.kg-inleiding { max-width: 64ch; font-size: clamp(16px, 1.35vw, 19px); font-weight: 400; color: #E7E1D3; margin: 0 0 22px; }
.kg-vitrine p.kg-inleiding strong { color: #fff; font-weight: 700; }
.kg-vitrine-beeld { border-radius: var(--radius-lg); overflow: hidden; }

.kg-snelmenu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.kg-snelmenu-item {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius); padding: 16px 12px; text-align: center;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
}
.kg-snelmenu-item:hover { background: rgba(255, 255, 255, .11); border-color: var(--gold); }
.kg-snelmenu-item .kg-snelmenu-ico { display: block; font-size: 24px; margin-bottom: 8px; }

/* ---------------- author blocks ---------------- */

.kg-byline { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 22px; }
.kg-byline .kg-byline-persoon { display: flex; align-items: center; gap: 11px; }
.kg-byline img, .kg-auteur img {
  border-radius: 50%; background: var(--ink-3); object-fit: cover; flex: 0 0 auto;
}
.kg-byline img { width: 42px; height: 42px; border: 2px solid rgba(239, 180, 26, .45); }
.kg-auteur img { width: 74px; height: 74px; }
.kg-byline .kg-byline-meta { font-size: 13.5px; line-height: 1.4; color: #EFE9DB; }
.kg-byline .kg-byline-meta .kg-byline-rol { color: #B4A991; }
.kg-byline .kg-byline-meta a { color: #fff; font-weight: 700; text-decoration: none; }
.kg-byline .kg-byline-meta a:hover { color: var(--gold); }

.kg-auteur {
  position: relative;
  overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px; display: flex; gap: 18px; align-items: flex-start; margin: 34px 0;
}
/* The same mascot as in the hero, only fainter: the author card stops being a
   blank rectangle and rhymes with the first screen. */
.kg-auteur::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 168px;
  height: 168px;
  background: url("assets/mascotte.svg") no-repeat center / contain;
  opacity: .06;
  transform: rotate(6deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
  pointer-events: none;
}
@media (max-width: 640px) {
  /* In a narrow card the mascot eats the space the text needs. */
  .kg-auteur::after { display: none; }
}
.kg-auteur > * { position: relative; z-index: 1; }
.kg-auteur .kg-auteur-romp { flex: 1; }
.kg-auteur h2 { margin: 0 0 6px; font-size: 20px; padding-left: 0; border-left: 0; }
.kg-auteur .kg-byline-rol { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.kg-auteur p { margin: 0 0 10px; }
.kg-auteur .kg-auteur-link { font-weight: 700; text-decoration: none; }
.kg-auteur .kg-auteur-link:hover { text-decoration: underline; }

/* Pull quote: gold rule on top, not a left border — the quote reads as a
   separate voice in the text rather than as an indented aside.
   Two selectors on purpose: .kg-citaat is what wpgen_author_quote() prints,
   while a quote written in the page text arrives from the block converter as a
   plain blockquote.wp-block-quote and has to get the same treatment. */
.kg-citaat,
.kg-tekst blockquote {
  border: 0;
  border-top: 3px solid var(--gold);
  background: var(--tint);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px 24px; margin: 30px 0; font-size: 19px; font-style: italic; color: #2A251C;
}
.kg-tekst blockquote p { margin: 0; }
.kg-tekst blockquote p + p { margin-top: 12px; }
.kg-citaat footer, .kg-tekst blockquote cite {
  display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--muted);
}

/* ---------------- content ---------------- */

.kg-romp { padding: 30px 0 10px; }
.kg-blok { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }

/* H2 with a gold bar to its left instead of an underline: the section starts at
   a visible edge, which also survives being read at a glance on a phone. */
.kg-tekst h2 {
  font-size: 27px; margin: 38px 0 14px; letter-spacing: -.5px;
  padding-left: 16px; border-left: 5px solid var(--gold);
  line-height: 1.22;
}
.kg-tekst h3 { font-size: 21px; margin: 28px 0 10px; }
.kg-tekst h2:first-child, .kg-tekst h3:first-child { margin-top: 0; }
.kg-tekst p { margin: 0 0 17px; }
.kg-tekst > *:first-child { margin-top: 0; }
.kg-tekst > *:last-child { margin-bottom: 0; }
.kg-tekst figure.wp-block-table { margin: 0 0 24px; overflow-x: auto; }
.kg-tekst figure.wp-block-table table { margin: 0; }
.kg-tekst ul.wp-block-list, .kg-tekst ol.wp-block-list { margin: 0 0 18px; padding-left: 22px; }
.kg-tekst ul, .kg-tekst ol { margin: 0 0 18px; padding-left: 22px; }
.kg-tekst li { margin-bottom: 8px; }
.kg-tekst li::marker { color: var(--gold-deep); font-weight: 700; }

/* Table with an ink header row: the first row is a label strip, not another
   shaded cell, so a wide comparison stays readable while scrolling sideways. */
.kg-tekst table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.kg-tekst th, .kg-tekst td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.kg-tekst th { background: var(--ink); color: #fff; font-weight: 700; border-color: var(--ink); }
.kg-tekst tr:nth-child(even) td { background: var(--tint); }

/* Images in the text share the radius of the cards and tables:
   .kg-figuur is the classic editor, .wp-block-image is Gutenberg. */
.kg-tekst figure.kg-figuur,
.kg-tekst figure.wp-block-image { margin: 30px 0; }
.kg-tekst figure.kg-figuur img,
.kg-tekst figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(23, 20, 15, .09);
  transition: box-shadow .25s ease, transform .25s ease;
}
.kg-tekst figure.kg-figuur img:hover,
.kg-tekst figure.wp-block-image img:hover {
  box-shadow: 0 14px 30px rgba(23, 20, 15, .17);
  transform: translateY(-2px);
}
.kg-weegschaal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.kg-weegschaal > div { border-radius: var(--radius); padding: 18px 20px; }
.kg-weegschaal .kg-voordeel { background: var(--pro); border: 1px solid var(--pro-line); }
.kg-weegschaal .kg-nadeel { background: var(--con); border: 1px solid var(--con-line); }
.kg-weegschaal h3 { margin: 0 0 10px; font-size: 17px; }
.kg-weegschaal .kg-voordeel h3 { color: #1F6437; }
.kg-weegschaal .kg-nadeel h3 { color: #A50D26; }
.kg-weegschaal ul { margin: 0; padding-left: 20px; }

.kg-vragen h3 { font-size: 19px; margin: 22px 0 8px; }
.kg-vragen p { margin: 0 0 14px; }

/* Accordion: H3 + paragraph in the content are turned into a clickable block by the script. */
.kg-vragen-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}
.kg-vragen-item.kg-open { border-color: var(--gold); box-shadow: 0 2px 12px rgba(23, 20, 15, .07); }

.kg-vragen-knop {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 16px 18px;
  font: 800 17px/1.4 var(--font);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.kg-vragen-knop:hover { background: var(--tint); }
.kg-vragen-knop-txt { flex: 1; }

.kg-vragen-ico {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  position: relative;
  border-radius: 7px;
  background: var(--line-soft);
  transition: transform .18s ease, background .18s ease;
}
.kg-vragen-ico::before, .kg-vragen-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  margin: -1px 0 0 -5.5px;
  background: var(--ink);
  border-radius: 2px;
}
.kg-vragen-ico::after { transform: rotate(90deg); transition: opacity .18s ease; }
.kg-vragen-item.kg-open .kg-vragen-ico { background: var(--gold); }
.kg-vragen-item.kg-open .kg-vragen-ico::after { opacity: 0; }

.kg-vragen-antwoord { display: none; padding: 0 18px 16px; }
.kg-vragen-item.kg-open .kg-vragen-antwoord { display: block; }
.kg-vragen-antwoord p { margin: 0 0 10px; }
.kg-vragen-antwoord p:last-child { margin-bottom: 0; }

/* ---------------- footer ---------------- */

.kg-voet { background: var(--ink); color: #C6BDA9; margin-top: 44px; padding: 36px 0 26px; font-size: 15px; }
/* Four columns: brand, sections, editorial and legal, outside help. The header
   menu is deliberately short, so the footer is what gives full access. */
.kg-voet-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.kg-voet h4 { color: var(--gold); font-size: 14px; margin: 0 0 13px; text-transform: uppercase; letter-spacing: 1px; }
.kg-voet ul { list-style: none; margin: 0; padding: 0; }
.kg-voet li { margin-bottom: 8px; }
.kg-voet a { color: #C6BDA9; text-decoration: none; }
.kg-voet a:hover { color: var(--gold); }
.kg-voet-note { border-top: 1px solid #332C21; margin-top: 28px; padding-top: 18px; font-size: 13px; color: #918872; }
.kg-leeftijd {
  display: inline-block; border: 2px solid var(--gold); color: var(--gold); border-radius: 50%;
  width: 36px; height: 36px; line-height: 32px; text-align: center;
  font-weight: 800; font-size: 12px; margin-right: 10px; vertical-align: middle;
}

/* ---------------- responsive ---------------- */

@media (max-width: 980px) {
  .kg-vitrine { padding: 24px 0 34px; }
  /* On a tablet the mascot shrinks: at full size it takes over the first screen. */
  .kg-vitrine::before { width: 168px; height: 168px; right: 16px; bottom: 20px; opacity: .08; }
  .kg-vitrine-grid { grid-template-columns: 1fr; gap: 22px; }
  .kg-vitrine-beeld { order: 2; max-width: 440px; margin: 0 auto; width: 100%; }
  .kg-snelmenu { grid-template-columns: repeat(2, 1fr); margin-top: 22px; }
  .kg-snelmenu-item { padding: 14px 10px; font-size: 12px; }
  .kg-voet-grid { grid-template-columns: 1fr 1fr; }
  .kg-vitrine-plat h1 { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .kg-omslag { padding: 0 16px; }

  .kg-vitrine-beeld { max-width: 340px; }
  .kg-vitrine p.kg-inleiding { font-size: 16px; }
  /* On a phone the text takes the full width: a decorative mascot only gets in the way. */
  .kg-vitrine::before { display: none; }
  .kg-byline { gap: 14px; margin-top: 18px; }
  .kg-byline .kg-byline-persoon { flex: 1 1 100%; }

  .kg-romp { padding: 22px 0 6px; }
  .kg-blok { padding: 20px 16px; }
  .kg-tekst h2 { font-size: 22px; margin: 28px 0 10px; padding-left: 12px; border-left-width: 4px; }
  .kg-tekst h3 { font-size: 19px; }
  .kg-weegschaal { grid-template-columns: 1fr; }
  .kg-auteur { flex-direction: column; }
  .kg-voet-grid { grid-template-columns: 1fr; }
  .kg-tekst table { display: block; overflow-x: auto; }
}

/* ---------------- author profile pages ---------------- */

.kg-profiel {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin: 0 0 28px;
}
.kg-profiel img {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover; background: var(--ink-3); flex: 0 0 auto;
  border: 4px solid #fff; box-shadow: 0 6px 18px rgba(23, 20, 15, .12);
}
.kg-profiel .kg-auteur-romp { flex: 1; min-width: 0; }
.kg-profiel .kg-byline-rol { font-size: 16px; font-weight: 600; color: var(--text); margin: 0 0 14px; }
.kg-profiel ul.kg-profiel-info { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.kg-profiel ul.kg-profiel-info li {
  padding: 8px 0; border-top: 1px solid var(--line); margin: 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.kg-profiel ul.kg-profiel-info li:first-child { border-top: 0; padding-top: 0; }
.kg-profiel ul.kg-profiel-info strong { flex: 0 0 210px; color: var(--muted); font-weight: 600; }

.kg-profiel.kg-profiel-mini { margin: 0 0 18px; padding: 20px 22px; }
.kg-profiel.kg-profiel-mini img { width: 120px; height: 120px; }
.kg-profiel.kg-profiel-mini h3 { margin: 0 0 4px; font-size: 20px; }
.kg-profiel.kg-profiel-mini h3 a { text-decoration: none; }
.kg-profiel.kg-profiel-mini .kg-byline-rol { font-size: 14px; color: var(--muted); font-weight: 600; margin: 0 0 10px; }
.kg-profiel.kg-profiel-mini p { margin: 0 0 10px; }
.kg-profiel.kg-profiel-mini .kg-auteur-link { font-weight: 700; text-decoration: none; }

/* ---------------- self-assessment test ---------------- */

.kg-zelftest { margin: 26px 0 32px; }
.kg-zelftest-app {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--tint); padding: 26px 28px;
}
.kg-zelftest-head h3 { margin: 0 0 4px; font-size: 20px; }
.kg-zelftest-voortgang { margin: 0 0 18px; font-size: 14px; color: var(--muted); }

/* The separator is drawn with ::before rather than border-top: a legend with
   display:flex stops "breaking" the fieldset border and the rule runs through the text. */
.kg-zelftest-vraag { border: 0; margin: 0; padding: 0 0 4px; }
.kg-zelftest-vraag + .kg-zelftest-vraag::before {
  content: ""; display: block; height: 1px; background: var(--line); margin: 18px 0;
}
.kg-zelftest-vraag legend { display: flex; gap: 10px; padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.kg-zelftest-vraag .kg-zelftest-opties { clear: both; }
.kg-zelftest-vraag legend .kg-zelftest-num {
  flex: 0 0 26px; height: 26px; border-radius: 8px; background: var(--line-soft);
  color: var(--muted); font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.kg-zelftest-vraag.kg-zelftest-klaar legend .kg-zelftest-num { background: var(--gold); color: var(--ink); }
.kg-zelftest-vraag legend .kg-zelftest-txt { font-weight: 600; }

.kg-zelftest-vraag .kg-zelftest-opties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kg-zelftest-vraag .kg-zelftest-opties input { position: absolute; opacity: 0; width: 0; height: 0; }
.kg-zelftest-vraag .kg-zelftest-opties label {
  display: block; text-align: center; cursor: pointer; user-select: none;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: 10px 8px; font-size: 14px; line-height: 1.3;
}
.kg-zelftest-vraag .kg-zelftest-opties label:hover { border-color: var(--red); }
.kg-zelftest-vraag .kg-zelftest-opties input:checked + label {
  background: var(--red); border-color: var(--red); color: #fff; font-weight: 600;
}
.kg-zelftest-vraag .kg-zelftest-opties input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.kg-zelftest-verstuur, .kg-zelftest-opnieuw {
  margin-top: 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: #fff; font-family: inherit;
  font-size: 16px; font-weight: 800; padding: 13px 26px;
}
.kg-zelftest-verstuur:hover:enabled, .kg-zelftest-opnieuw:hover { background: var(--red-hover); }
.kg-zelftest-verstuur:disabled { background: #DBD6CA; color: #857E6F; cursor: not-allowed; }
.kg-zelftest-note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }

.kg-zelftest-uitslag { display: none; }
.kg-zelftest-uitslag.kg-zelftest-zichtbaar { display: block; margin-top: 26px; padding-top: 24px; border-top: 2px solid var(--line); }
.kg-zelftest-badge { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: var(--radius); color: #fff; }
.kg-zelftest-badge .kg-zelftest-badge-titel { font-size: 21px; font-weight: 800; }
.kg-zelftest-badge .kg-zelftest-badge-score { font-size: 14px; opacity: .92; }
.kg-zelftest-badge.kg-n0 { background: #2C7A47; }
.kg-zelftest-badge.kg-n1 { background: #7CA33F; }
.kg-zelftest-badge.kg-n2 { background: #D08A1E; }
.kg-zelftest-badge.kg-n3 { background: var(--red); }

.kg-zelftest-schaal-wrap { margin: 18px 0 6px; }
.kg-zelftest-schaal { width: 100%; height: auto; display: block; }
.kg-zelftest-schaal .kg-zelftest-g-score { font-family: var(--font); font-size: 21px; font-weight: 800; fill: var(--ink); }
.kg-zelftest-schaal .kg-zelftest-g-band { font-family: var(--font); font-size: 13px; fill: #5B5446; }
.kg-zelftest-schaal .kg-zelftest-g-as { font-family: var(--font); font-size: 12.5px; fill: #8C8474; }

.kg-zelftest-intro { margin: 6px 0 18px; }
.kg-zelftest-delen { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 12px; }
.kg-zelftest-deel .kg-zelftest-deel-head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 6px; }
.kg-zelftest-deel .kg-zelftest-deel-label { color: var(--muted); }
.kg-zelftest-deel .kg-zelftest-deel-waarde { font-weight: 700; }
.kg-zelftest-deel .kg-zelftest-deel-baan { height: 12px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.kg-zelftest-deel .kg-zelftest-deel-vul { height: 100%; border-radius: 6px; }
.kg-zelftest-delen-note { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.kg-zelftest-uitslag h4 { font-size: 18px; margin: 0 0 10px; }
.kg-zelftest-acties { margin: 0 0 18px; padding-left: 22px; }
.kg-zelftest-acties li { margin-bottom: 8px; }
.kg-zelftest-melding { font-size: 14px; color: var(--muted); margin: 0; }

@media (max-width: 640px) {
  .kg-profiel { flex-direction: column; padding: 18px 16px; }
  .kg-profiel img { width: 120px; height: 120px; }
  .kg-profiel ul.kg-profiel-info li { display: block; }
  .kg-profiel ul.kg-profiel-info strong { display: block; flex: none; }

  .kg-zelftest-app { padding: 18px 14px; }
  .kg-zelftest-vraag .kg-zelftest-opties { grid-template-columns: 1fr 1fr; }
  .kg-zelftest-verstuur, .kg-zelftest-opnieuw { width: 100%; }
  .kg-zelftest-delen { grid-template-columns: 1fr; }
  /* The svg scales with its viewBox, so on a narrow screen the labels have to
     grow in user units, otherwise they become unreadable. */
  .kg-zelftest-schaal .kg-zelftest-g-score { font-size: 30px; }
  .kg-zelftest-schaal .kg-zelftest-g-band { font-size: 19px; }
  .kg-zelftest-schaal .kg-zelftest-g-as { font-size: 17px; }
  .kg-zelftest-deel .kg-zelftest-deel-head { display: block; }
  .kg-zelftest-deel .kg-zelftest-deel-waarde { display: block; margin-top: 2px; }
}

/* ---------- "Hoe wij testen": the site-wide method block ----------
   Three layout variants, chosen per site (config key: test_flow).
   The colours come from the variables, so the block always wears the palette
   of the domain it runs on instead of dragging a foreign one along.        */

.kg-werkwijze { margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.kg-werkwijze-titel { font-size: 22px; margin: 0 0 6px; letter-spacing: -.4px; }
.kg-werkwijze-intro { color: var(--muted); font-size: 16px; margin: 0 0 22px; max-width: 78ch; }
.kg-werkwijze-meer { margin: 18px 0 0; font-size: 15px; }
.kg-werkwijze-ico { width: 24px; height: 24px; display: block; }

/* --- "rail" variant: four steps on a shared line --- */

.kg-werkwijze-lijn .kg-werkwijze-stappen {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.kg-werkwijze-lijn .kg-werkwijze-stap { position: relative; padding: 0 14px; text-align: center; margin: 0; }
.kg-werkwijze-lijn .kg-werkwijze-stap::before {
  content: ""; position: absolute; top: 27px; left: 0; right: 50%;
  border-top: 2px solid var(--line);
}
.kg-werkwijze-lijn .kg-werkwijze-stap::after {
  content: ""; position: absolute; top: 27px; left: 50%; right: 0;
  border-top: 2px solid var(--line);
}
.kg-werkwijze-lijn .kg-werkwijze-stap:first-child::before,
.kg-werkwijze-lijn .kg-werkwijze-stap:last-child::after { display: none; }
.kg-werkwijze-lijn .kg-werkwijze-schijf {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--ink); color: #fff;
}
/* White on gold misses the minimum contrast ratio, so that icon is dark. */
.kg-werkwijze-lijn .kg-stap-klok .kg-werkwijze-schijf { background: var(--gold); color: var(--ink); }
.kg-werkwijze-lijn .kg-werkwijze-num {
  position: absolute; right: -6px; bottom: -6px;
  width: 22px; height: 22px; border-radius: 7px;
  background: #fff; color: var(--ink);
  border: 2px solid var(--line);
  font-size: 12px; font-weight: 800; line-height: 18px; text-align: center;
}
.kg-werkwijze-lijn .kg-werkwijze-romp { display: block; margin-top: 13px; }
.kg-werkwijze-lijn .kg-werkwijze-stap-titel { display: block; font-size: 16px; line-height: 1.3; }
.kg-werkwijze-lijn .kg-werkwijze-note { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 4px; }
.kg-werkwijze-lijn .kg-werkwijze-detail { display: block; font-size: 14px; line-height: 1.5; margin-top: 8px; text-align: left; }

/* --- "tiles" variant: four dense tiles, no connecting line --- */

.kg-werkwijze-tegels .kg-werkwijze-stappen {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.kg-werkwijze-tegels .kg-werkwijze-stap {
  position: relative; overflow: hidden; margin: 0;
  padding: 16px 16px 18px;
  background: var(--ink); color: #fff; border-radius: var(--radius);
}
.kg-werkwijze-tegels .kg-stap-klok { background: linear-gradient(158deg, var(--ink-3) 0%, var(--ink) 70%); }
.kg-werkwijze-tegels .kg-werkwijze-schijf { display: block; color: var(--gold); }
.kg-werkwijze-tegels .kg-werkwijze-num {
  position: absolute; right: 10px; top: 2px;
  font-size: 44px; font-weight: 800; line-height: 1;
  color: #fff; opacity: .12;
}
.kg-werkwijze-tegels .kg-werkwijze-romp { display: block; margin-top: 12px; }
.kg-werkwijze-tegels .kg-werkwijze-stap-titel { display: block; font-size: 16px; line-height: 1.3; }
.kg-werkwijze-tegels .kg-werkwijze-note { display: block; color: #CFC5AF; font-size: 14px; line-height: 1.45; margin-top: 4px; }
.kg-werkwijze-tegels .kg-werkwijze-detail { display: block; color: #E4DCC9; font-size: 14px; line-height: 1.5; margin-top: 8px; }

/* --- "stopwatch" variant: one solid SVG, labels inside the drawing --- */

.kg-werkwijze-figuur { margin: 0; }
.kg-werkwijze-svg { width: 100%; height: auto; display: block; }
.kg-werkwijze-svg-v { display: none; }

@media (max-width: 860px) {
  .kg-werkwijze-lijn .kg-werkwijze-stappen, .kg-werkwijze-tegels .kg-werkwijze-stappen { grid-template-columns: 1fr 1fr; }
  .kg-werkwijze-lijn .kg-werkwijze-stap { padding-bottom: 20px; }
  .kg-werkwijze-lijn .kg-werkwijze-stap:nth-child(2)::after,
  .kg-werkwijze-lijn .kg-werkwijze-stap:nth-child(3)::before { display: none; }
}
@media (max-width: 560px) {
  .kg-werkwijze-lijn .kg-werkwijze-stappen, .kg-werkwijze-tegels .kg-werkwijze-stappen { grid-template-columns: 1fr; }
  .kg-werkwijze-lijn .kg-werkwijze-stap { display: flex; gap: 14px; text-align: left; padding: 0 0 18px; }
  .kg-werkwijze-lijn .kg-werkwijze-stap::before, .kg-werkwijze-lijn .kg-werkwijze-stap::after { display: none; }
  .kg-werkwijze-lijn .kg-werkwijze-stap:not(:last-child) .kg-werkwijze-schijf::after {
    content: ""; position: absolute; left: 50%; top: 54px; height: 34px;
    border-left: 2px solid var(--line);
  }
  .kg-werkwijze-lijn .kg-werkwijze-schijf { flex: 0 0 54px; }
  .kg-werkwijze-lijn .kg-werkwijze-romp { margin-top: 2px; }
  .kg-werkwijze-svg-h { display: none; }
  .kg-werkwijze-svg-v { display: block; }
}

/* The "waar het misliep" box: a short log of what went wrong inside a review.
   The icon is the site mascot, set through --note-icon, because every domain
   has its own. No JS: this is a static block that must behave identically
   across dozens of domains. */
.kg-logboek {
  position: relative;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--tint);
  padding: 16px 18px 14px 62px;
  margin: 24px 0;
}
.kg-logboek::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 30px;
  height: 30px;
  background: var(--note-icon, none) center/contain no-repeat;
  opacity: .95;
}
.kg-logboek h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.kg-logboek p { margin: 0 0 10px; }
.kg-logboek p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .kg-logboek { padding: 14px 14px 12px 14px; }
  .kg-logboek::before { position: static; display: block; margin-bottom: 8px; }
}

/* Index of child pages on a hub. Rendered by the theme, so the styles live
   here: the mechanism is shared, the contents differ per site. */
.kg-inhoud { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.kg-inhoud h2 { margin: 0 0 14px; }
.kg-inhoud ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.kg-inhoud li { line-height: 1.5; }
.kg-inhoud a { font-weight: 700; text-decoration: none; }
.kg-inhoud a:hover { text-decoration: underline; }
.kg-inhoud span { display: block; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .kg-inhoud ul { grid-template-columns: 1fr; } }

/* Hub page that is nothing but a list of articles (wpgen_listing_hub) */
.kg-lijst { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kg-lijst-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.kg-lijst-rubriek { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.kg-lijst-titel { font-size: 20px; font-weight: 800; line-height: 1.3; text-decoration: none; color: var(--text); }
.kg-lijst-titel:hover { color: var(--red); }
.kg-lijst-txt { margin: 0; color: var(--muted); line-height: 1.55; }
.kg-lijst-voet { margin-top: auto; padding-top: 10px; display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
.kg-lijst-leeg { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .kg-lijst { grid-template-columns: 1fr; } }
/* On a listing hub the outer card is redundant: the article cards are the content. */
.kg-tekst:has(> .kg-lijst), .kg-tekst:has(> .kg-lijst-leeg) { background: none; border: 0; padding: 0; }

/* ---------------- disclaimer under the byline ---------------- */

.kg-melding {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  line-height: 1.55;
  color: #BCB29B;
  max-width: 82ch;
}
.kg-melding-leeftijd {
  display: inline-block;
  margin-right: 7px;
  padding: 1px 8px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
}

/* ---------------- portrait on the author page ---------------- */

.kg-vitrine-auteur .kg-omslag { position: relative; }
.kg-portret {
  position: absolute; right: 0; top: 46px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.kg-portret img {
  width: 190px; height: 190px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(239, 180, 26, .4);
  box-shadow: 0 14px 34px rgba(10, 8, 6, .5);
}
.kg-portret .kg-portret-stad { font-size: 13px; color: #B4A991; letter-spacing: .3px; }
.kg-vitrine-auteur h1, .kg-vitrine-auteur p.kg-inleiding { max-width: 30ch; }

@media (max-width: 900px) {
  .kg-portret { position: static; align-items: flex-start; margin-top: 18px; }
  .kg-portret img { width: 128px; height: 128px; }
  .kg-vitrine-auteur h1, .kg-vitrine-auteur p.kg-inleiding { max-width: none; }
}

/* ---------------- trust badge strip above the footer ---------------- */

/* The strip sits flush against the footer: the footer's own top margin would
   otherwise leave a light gap and the strip would float on its own. */
.kg-waarborgen + .kg-voet { margin-top: 0; }

.kg-waarborgen { background: var(--tint); border-top: 1px solid var(--line); padding: 22px 0; }
.kg-waarborgen ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.kg-waarborgen a, .kg-waarborgen .kg-waarborg-vast {
  display: flex; align-items: center; gap: 11px;
  min-width: 184px; padding: 11px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.kg-waarborgen a:hover { border-color: var(--red); }
.kg-waarborgen a:hover .kg-waarborg-ico { color: var(--red); }
.kg-waarborgen .kg-waarborg-ico { flex: 0 0 auto; color: var(--gold-deep); }
.kg-waarborgen .kg-waarborg-txt { display: flex; flex-direction: column; min-width: 0; }
.kg-waarborgen .kg-waarborg-naam { font-weight: 800; font-size: 15px; letter-spacing: .3px; line-height: 1.2; }
.kg-waarborgen .kg-waarborg-note { font-size: 12px; color: var(--muted); margin-top: 2px; }

@media (max-width: 720px) {
  .kg-waarborgen { padding: 14px 0; }
  .kg-waarborgen a, .kg-waarborgen .kg-waarborg-vast { min-width: calc(50% - 5px); padding: 9px 12px; }
  .kg-waarborgen .kg-waarborg-note { font-size: 11px; }
}

/* ---------------- in-content CTA banner and explanatory schemes ---------------- */

.kg-spandoek { display: block; margin: 32px 0; }
.kg-spandoek img {
  display: block; width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(23, 20, 15, .15);
}
.kg-spandoek--licht img { box-shadow: 0 10px 24px rgba(23, 20, 15, .09); }

.kg-schema { margin: 30px 0; }
.kg-schema img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }

@media (max-width: 640px) {
  .kg-spandoek { margin: 22px 0; }
  .kg-spandoek img { border-radius: var(--radius); }
  .kg-schema { margin: 20px 0; }
}

/* Eight top-level items do not fit a row at 15px with 14px padding, so the
   desktop header packs a little tighter. Submenus stay comfortable. */
@media (min-width: 981px) {
  .kg-menu a, .kg-menu .kg-menu-knop { font-size: 14.5px; padding: 12px 11px; }
  .kg-menu .sub-menu a { font-size: 14px; padding: 9px 16px; }
}

/* ---------------- motion: hover and entrance ----------------
   One rule: animation signals that something is clickable and never gets in the
   way of reading. So everything is short (0.2-0.3 s) and nothing shifts layout. */

.kg-merk-ico img { transition: transform .3s ease; }
.kg-merk:hover .kg-merk-ico img { transform: rotate(-6deg) scale(1.06); }

.kg-menu a, .kg-menu .kg-menu-knop { transition: color .18s ease, background .18s ease; }

.kg-tekst a { transition: color .18s ease; }
.kg-tekst p a { text-underline-offset: 3px; }
.kg-tekst p a:hover { color: var(--red-hover); }

/* Cards: a slight lift and shadow, the border picks up the accent. */
.kg-lijst-item, .kg-waarborgen a, .kg-auteur {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.kg-lijst-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 26px rgba(23, 20, 15, .09);
}
.kg-waarborgen a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(23, 20, 15, .09); }

.kg-spandoek img { transition: transform .25s ease, box-shadow .25s ease; }
.kg-spandoek:hover img { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(23, 20, 15, .2); }

.kg-tekst tbody tr { transition: background .18s ease; }
.kg-tekst tbody tr:hover td { background: #F3EFE5; }

.kg-werkwijze-lijn .kg-werkwijze-schijf { transition: transform .22s ease, box-shadow .22s ease; }
.kg-werkwijze-lijn .kg-werkwijze-stap:hover .kg-werkwijze-schijf {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(23, 20, 15, .22);
}

.kg-vragen-knop { transition: background .18s ease; }
.kg-vragen-item { transition: border-color .2s ease, box-shadow .2s ease; }

/* The first screen appears with a minimal shift: heading, lead and byline. */
.kg-vitrine h1,
.kg-vitrine p.kg-inleiding,
.kg-vitrine .kg-byline { animation: kg-opkomst .55s ease-out both; }
.kg-vitrine p.kg-inleiding { animation-delay: .08s; }
.kg-vitrine .kg-byline { animation-delay: .16s; }

@keyframes kg-opkomst {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Whoever turned animations off in their system does not see them here either. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .kg-vitrine h1, .kg-vitrine p.kg-inleiding, .kg-vitrine .kg-byline { opacity: 1; transform: none; }
  .kg-vitrine::before { opacity: .09; transform: rotate(4deg); }
}
