/* Pagina Website en merk: de merkcheck in "Herken je dit?" (check.js). Alles hier geldt pas als het script de lijst heeft omgebouwd
   (klasse .wbc-lijst) of het uitkomstblok heeft getoond; zonder script blijft de lijst zoals de pagina hem opmaakt.
   Kleuren via de variabelen van het thema, zodat het ook op een donkere band klopt. Beweging: alleen opacity en transform, max 220 ms. */

.wbc-lijst { border-top: 1px solid var(--lijn-groen); }
.wbc-lijst > li { display: block; padding: 0; border-bottom: 1px solid var(--lijn-groen); }   /* het raster met nummerkolom van .wb-signalen vervalt: het vinkje is het label */
.wbc-lijst > li::before { content: none; }

.wbc-vink { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 60px; padding-block: 14px; cursor: pointer; }
.wbc-input, .wbc-vakje { grid-area: 1 / 1; inline-size: 28px; block-size: 28px; }
.wbc-input { margin: 0; opacity: 0; cursor: pointer; }
.wbc-vakje { position: relative; border: 1.5px solid var(--creme); border-radius: 4px; pointer-events: none; transition: background-color var(--duur-snel), border-color var(--duur-snel); }
.wbc-vakje::after { content: ""; position: absolute; left: 8px; top: 3px; inline-size: 8px; block-size: 14px; border: solid var(--groen); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: transform 180ms var(--ease-uit), opacity 120ms; }
.wbc-woorden { font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }

.wbc-input:checked + .wbc-vakje { background: var(--goud); border-color: var(--goud); }
.wbc-input:checked + .wbc-vakje::after { transform: rotate(45deg) scale(1); opacity: 1; }
.wbc-input:focus-visible + .wbc-vakje { outline: 2px solid var(--goud); outline-offset: 3px; }
@media (hover: hover) {
  .wbc-vink:hover .wbc-vakje { border-color: var(--goud); }
}

/* uitkomst: tekst in aria-live, knop en privacyregel eronder */
.wbc-uitkomst { margin-top: clamp(22px, 3vw, 36px); }
.wbc-uitkomst[hidden], .wbc-actie[hidden] { display: none; }
.wbc-uitkomst:not([data-stand="nul"]) { padding-left: 18px; border-left: 2px solid var(--goud); }
.wbc-tekst { max-width: 46ch; font-family: 'Newsreader Variable', Georgia, 'Times New Roman', serif; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.35; }
.wbc-tekst:empty { display: none; }
.wbc-uitkomst[data-stand="veel"] .wbc-tekst { font-style: italic; }
.wbc-actie { display: grid; justify-items: start; gap: 12px; margin-top: 18px; }
.wbc-klein { max-width: 52ch; font-size: .92rem; line-height: 1.45; color: var(--creme-zacht); }
.wbc-uitkomst .button { min-height: 48px; }
/* op een donkere band (.wb-donker) is --groen nog licht; daar de knoptekst donker houden */
.wb-donker .wbc-uitkomst .button:not(.button-line) { color: #1b1a17; }

@keyframes wbc-in { from { opacity: 0; transform: translateY(6px); } }
.wbc-uitkomst.is-nieuw .wbc-tekst, .wbc-uitkomst.is-nieuw .wbc-actie { animation: wbc-in 220ms var(--ease-uit) both; }

@media (prefers-reduced-motion: reduce) {
  .wbc-vakje, .wbc-vakje::after { transition: none; }
  .wbc-uitkomst.is-nieuw .wbc-tekst, .wbc-uitkomst.is-nieuw .wbc-actie { animation: none; }
}
