.vc-app {
  --vc-bg: var(--wp--preset--color--base, #000);
  --vc-tekst: var(--wp--preset--color--contrast, #f2f0ea);
  --vc-zacht: var(--wp--preset--color--accent-4, #a9a6a0);
  --vc-vlak: var(--wp--preset--color--accent-3, #15181a);
  --vc-accent: var(--wp--preset--color--accent-1, #4fb3e3);
  --vc-lijn: #2a2f33;
  --vc-kop: var(--wp--preset--font-family--roboto-slab, Georgia, serif);
  color: var(--vc-tekst);
  margin-top: 0;
}
.vc-app *, .vc-dlg * { box-sizing: border-box; }
.vc-ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }

/* kop */
.vc-kop { margin-bottom: 20px; }
.vc-label { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--vc-accent); margin: 0 0 8px; }
.vc-titel { font-family: var(--vc-kop); font-weight: 300; font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.vc-teller { font-size: .55em; color: var(--vc-zacht); }
.vc-teller strong { color: var(--vc-tekst); font-weight: 400; font-size: 1.6em; }
.vc-bar { display: block; height: 4px; background: var(--vc-lijn); border-radius: 2px; overflow: hidden; }
.vc-bar > span { display: block; height: 100%; background: var(--vc-accent); border-radius: 2px; transition: width .4s; }
.vc-sub { color: var(--vc-zacht); font-size: 16px; margin: 12px 0 0; }

/* navigatie en filters */
.vc-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 0 0 24px; font-size: 16px; }
.vc-nav a { color: var(--vc-accent); }
.vc-app select, .vc-zoek, .vc-form input[type=text], .vc-form input[type=email], .vc-login input[type=text], .vc-login input[type=password] {
  background: transparent; color: var(--vc-tekst); border: 1px solid #3a3f42; border-radius: 24px; height: 44px; padding: 0 16px; font: inherit; font-size: 16px;
}
.vc-app select option { background: #111; }
.vc-balk { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.vc-zoek { flex: 1 1 220px; min-width: 0; }
.vc-seg { display: inline-flex; border: 1px solid #3a3f42; border-radius: 24px; overflow: hidden; }
.vc-seg button { background: transparent; color: var(--vc-zacht); border: 0; height: 42px; padding: 0 14px; font: inherit; font-size: 15px; cursor: pointer; }
.vc-seg button[aria-pressed=true] { background: var(--vc-tekst); color: var(--vc-bg); }
.vc-check { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--vc-zacht); min-height: 44px; cursor: pointer; }
.vc-check input { width: 18px; height: 18px; accent-color: var(--vc-accent); }

/* families */
.vc-fam { border-top: 1px solid var(--vc-lijn); }
.vc-fam:last-child { border-bottom: 1px solid var(--vc-lijn); }
.vc-fam summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(60px, 160px) auto; gap: 16px; align-items: center; padding: 16px 4px; min-height: 56px; }
.vc-fam summary::-webkit-details-marker { display: none; }
.vc-fam summary:hover .vc-fnaam { color: var(--vc-accent); }
.vc-fnaam { font-family: var(--vc-kop); font-size: 20px; }
.vc-ftal { color: var(--vc-zacht); font-size: 15px; font-variant-numeric: tabular-nums; }
.vc-fam.is-klaar .vc-bar > span { background: #7bc47f; }
.vc-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 4px 10px; border-radius: 14px; border: 1px solid #3a3f42; color: var(--vc-zacht); white-space: nowrap; }
.vc-badge.vc-klaar { border-color: #7bc47f; color: #9fd8a2; }

/* tegels */
.vc-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.vc-grid li { margin: 0; }
.vc-tegel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; aspect-ratio: 4 / 3; padding: 10px; border: 1px dashed #3a3f42; border-radius: 6px; background: var(--vc-vlak); color: var(--vc-zacht); text-align: left; cursor: pointer; overflow: hidden; font: inherit; }
.vc-tegel:hover, .vc-tegel:focus-visible { border-color: var(--vc-accent); }
.vc-tegel.is-wel { border: 0; color: #fff; }
.vc-tegel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vc-tegel.is-wel:hover img { transform: scale(1.04); }
.vc-tegel.is-wel::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.vc-tnaam { position: relative; z-index: 1; font-size: 15px; line-height: 1.25; }
.vc-tsci { position: relative; font-size: 12px; font-style: italic; opacity: .7; }
.vc-tleeg { position: absolute; top: 10px; right: 10px; color: var(--vc-accent); }
.vc-leeg { color: var(--vc-zacht); }

/* soortkaart */
.vc-dlg { width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--vc-lijn); border-radius: 8px; background: #0b0d0e; color: #f2f0ea; }
.vc-dlg::backdrop { background: rgba(0, 0, 0, .8); }
.vc-dbinnen { position: relative; }
.vc-sluit { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vc-dfoto img { display: block; width: 100%; max-height: 60vh; object-fit: contain; background: #000; }
.vc-dgeen { aspect-ratio: 16 / 7; display: grid; place-items: center; color: #a9a6a0; background: #15181a; padding: 24px; text-align: center; }
.vc-strip { list-style: none; display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px 0; margin: 0; }
.vc-strip li { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
.vc-mini { padding: 0; border: 0; background: none; cursor: pointer; }
.vc-mini img { width: 120px; height: 80px; object-fit: cover; border-radius: 4px; display: block; }
.vc-acties { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; max-width: 200px; }
.vc-acties button { background: none; border: 1px solid #3a3f42; color: #d6d3cc; border-radius: 14px; padding: 4px 10px; font-size: 13px; cursor: pointer; min-height: 32px; }
.vc-acties .vc-weg { border-color: #8a4b4b; color: #e6a1a1; }
.vc-dtekst { padding: 16px 24px 24px; }
.vc-dtekst h3 { font-family: var(--wp--preset--font-family--roboto-slab, Georgia, serif); font-weight: 400; font-size: 32px; margin: 0 0 4px; }
.vc-dnamen { color: #a9a6a0; margin: 0 0 12px; }
.vc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.vc-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-size: 16px; }
.vc-links a { color: #4fb3e3; }
.vc-upload { margin: 8px 0; }
.vc-knop { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.vc-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.vc-file:focus-visible + .vc-melding, .vc-upload label:focus-within { outline: 2px solid #4fb3e3; }
.vc-melding { min-height: 1.5em; color: #a9a6a0; margin: 8px 0 0; font-size: 15px; }

/* quiz */
.vc-qfoto img { width: 100%; max-height: 62vh; object-fit: contain; background: #000; border-radius: 6px; display: block; }
.vc-opties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.vc-opties button { min-height: 52px; border-radius: 26px; border: 1px solid #3a3f42; background: transparent; color: var(--vc-tekst); font: inherit; font-size: 17px; cursor: pointer; }
.vc-opties button:hover:not(:disabled) { border-color: var(--vc-tekst); }
.vc-opties .is-goed { border-color: #7bc47f; background: rgba(123, 196, 127, .15); }
.vc-opties .is-fout { border-color: #c46a6a; background: rgba(196, 106, 106, .15); }
.vc-feedback { min-height: 1.6em; font-size: 18px; }
.vc-score { color: var(--vc-zacht); margin: 0; }

/* ranglijst */
.vc-ranglijst { list-style: none; padding: 0; margin: 0; }
.vc-ranglijst a { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(80px, 240px) auto; gap: 16px; align-items: center; padding: 14px 4px; border-top: 1px solid #2a2f33; text-decoration: none; }
.vc-rang { color: var(--wp--preset--color--accent-1, #4fb3e3); font-variant-numeric: tabular-nums; }
.vc-rnaam { font-family: var(--wp--preset--font-family--roboto-slab, Georgia, serif); font-size: 20px; }
.vc-rbar { display: block; height: 4px; background: #2a2f33; border-radius: 2px; overflow: hidden; }
.vc-rbar span { display: block; height: 100%; background: var(--wp--preset--color--accent-1, #4fb3e3); }
.vc-rtal { color: var(--wp--preset--color--accent-4, #a9a6a0); font-variant-numeric: tabular-nums; }

/* formulieren */
.vc-form label, .vc-login label { display: block; margin-bottom: 6px; color: var(--vc-zacht); font-size: 15px; }
.vc-form input[type=text], .vc-form input[type=email], .vc-login input[type=text], .vc-login input[type=password] { width: 100%; max-width: 420px; }
.vc-hp { position: absolute; left: -9999px; }
.vc-klein { font-size: 14px; color: var(--vc-zacht); max-width: 520px; }
.vc-fout { color: #e6a1a1; }

@media (max-width: 640px) {
  .vc-fam summary { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; }
  .vc-fam summary .vc-bar { grid-column: 1 / -1; grid-row: 2; }
  .vc-fnaam { font-size: 18px; }
  .vc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vc-dtekst { padding: 12px 16px 20px; }
  .vc-dtekst h3 { font-size: 26px; }
  .vc-opties { grid-template-columns: minmax(0, 1fr); }
  .vc-ranglijst a { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .vc-rbar { grid-column: 2 / -1; grid-row: 2; }
}

/* subgroepen */
.vc-subgroep { padding: 0 4px; }
.vc-subkop { display: flex; gap: 12px; align-items: center; font-family: var(--vc-kop); font-weight: 400; font-size: 17px; line-height: 1.3; margin: 8px 0 12px; color: var(--vc-tekst); }
.vc-subnaam { flex: 1 1 auto; }
.vc-subgroep .vc-grid { margin-bottom: 20px; }
.vc-subgroep.is-klaar .vc-subnaam { color: #9fd8a2; }


/* galerij */
.vc-app.is-galerij .vc-seg:not(.vc-weergave), .vc-app.is-galerij .vc-check, .vc-app.is-galerij .vc-balk select { display: none; }
.vc-gsec { margin: 0 0 56px; }
.vc-gkop { display: flex; gap: 16px; align-items: baseline; font-family: var(--vc-kop); font-weight: 300; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 18px; padding-top: 18px; border-top: 1px solid var(--vc-lijn); }
.vc-gkop .vc-ftal { font-family: inherit; font-size: 15px; }
.vc-masonry { column-count: 3; column-gap: 12px; }
.vc-gfoto { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: #000; border-radius: 4px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.vc-gfoto img { display: block; width: 100%; height: auto; transition: transform .5s, opacity .3s; }
.vc-gfoto:hover img, .vc-gfoto:focus-visible img { transform: scale(1.03); }
.vc-gfoto:focus-visible { outline: 2px solid var(--vc-accent); outline-offset: 2px; }
.vc-gnaam { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 15px; text-align: left; opacity: 0; transition: opacity .3s; }
.vc-gfoto:hover .vc-gnaam, .vc-gfoto:focus-visible .vc-gnaam { opacity: 1; }
.vc-gn { font-size: 12px; padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 10px; }
@media (hover: none) { .vc-gnaam { opacity: 1; } }
@media (max-width: 780px) { .vc-masonry { column-count: 2; column-gap: 8px; } .vc-gfoto { margin-bottom: 8px; } }
@media (max-width: 480px) { .vc-masonry { column-count: 1; } }

.vc-strip li.is-verborgen .vc-mini img { opacity: .35; }
.vc-tok { color: #9fd8a2; }
