/* Kennisbank (/kennisbank): overzicht met filter en artikelpagina's */
.kb-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 36px; }
.kb-filter a { display: inline-block; text-decoration: none; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: 1rem; padding: 10px 24px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.kb-filter a:hover { background: var(--bg-tint); }
.kb-filter a[aria-current="page"] { background: var(--ink); color: #fff; }
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.kb-kaart { display: flex; flex-direction: column; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 12px 30px rgba(13, 20, 28, .06); transition: transform .2s ease, box-shadow .2s ease; }
.kb-kaart:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(13, 20, 28, .12); }
.kb-kaart[hidden] { display: none; }
.kb-kaart__foto { position: relative; aspect-ratio: 16 / 10; background: #0D141C; overflow: hidden; }
.kb-kaart__foto img { width: 100%; height: 100%; object-fit: cover; }
.kb-pil { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; box-shadow: 0 4px 14px rgba(7, 11, 17, .18); }
.kb-kaart__body { padding: 18px 20px 22px; }
.kb-kaart h2, .kb-kaart h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; line-height: 1.3; text-transform: none; margin-bottom: 8px; }
.kb-kaart p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (max-width: 600px) {
  .kb-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .kb-kaart { border-radius: 18px; }
  .kb-kaart__body { padding: 12px 12px 14px; }
  .kb-kaart h2, .kb-kaart h3 { font-size: .95rem; }
  .kb-kaart p { display: none; }
  .kb-pil { top: 8px; right: 8px; font-size: .7rem; padding: 4px 10px; }
  .kb-filter a { padding: 9px 18px; font-size: .92rem; }
}

/* Artikel */
.kb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; color: rgba(235, 242, 250, .75); font-size: .92rem; }
.kb-meta .kb-pil { position: static; background: var(--geel); box-shadow: none; }
.kb-artikel { padding-top: clamp(40px, 6vw, 72px); }
.kb-artikel__foto { max-width: 960px; margin: 0 auto 40px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #0D141C; }
.kb-artikel__foto img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.05rem; line-height: 1.7; }
.prose a { color: #0072B5; text-decoration: underline; text-underline-offset: 2px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.prose ol { padding-left: 22px; }
.kb-tip { background: var(--bg-tint); border-left: 4px solid var(--accent); padding: 16px 18px; border-radius: 12px; margin: 24px 0; }
.kb-tip p:last-child { margin-bottom: 0; }
.kb-machines { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 24px 0 28px; }
.kb-machines figure { margin: 0; background: #232323; border-radius: 16px; overflow: hidden; }
.kb-machines img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.kb-machines figcaption { color: #fff; font-size: .82rem; font-weight: 600; padding: 8px 10px 10px; text-align: center; }
.kb-cta { max-width: 760px; margin: 44px auto 0; padding: 26px 28px; border-radius: 22px; background: var(--ink); color: #fff; }
.kb-cta h2 { font-family: var(--font-body); font-size: 1.25rem; text-transform: none; margin-bottom: 8px; }
.kb-cta p { color: rgba(235, 242, 250, .8); margin-bottom: 18px; }
.kb-cta .btn + .btn { margin-left: 8px; }
@media (max-width: 600px) { .kb-cta .btn { width: 100%; } .kb-cta .btn + .btn { margin: 10px 0 0; } }

/* Paginanummering */
.kb-paginas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.kb-pag { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .15s, background .15s; }
.kb-pag:hover { border-color: var(--ink); }
.kb-pag[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.kb-pag .ico { width: 18px; height: 18px; }
@media (max-width: 600px) { .kb-paginas { gap: 5px; } .kb-pag { min-width: 36px; height: 36px; padding: 0 8px; font-size: .92rem; } .kb-pag--pijl span { display: none; } }

/* Veelgestelde vragen in een artikel */
.kb-faq { margin-top: 8px; }
