/*
 * Container Rent Petri — aanvulling op het originele /assets/styles.css.
 * Alleen voor wat de statische site niet had: artikelen (blog/NOVA),
 * het artikeloverzicht en de paginering. Kleuren en maten komen uit de
 * tokens van het origineel.
 */

.hero-tekst .hero-inner { min-height: min(38vh, 340px); }

.artikel { max-width: 72ch; margin-top: 0; }
.artikel-meta { font-size: .85rem; opacity: .75; }
.artikel h2 { margin: 2.2rem 0 .9rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.artikel h3 { margin: 1.8rem 0 .7rem; }
.artikel p, .artikel li { font-size: 1rem; }
.artikel img { max-width: 100%; height: auto; border-radius: var(--r-panel, 18px); }
.artikel figure, .artikel .wp-block-image { margin: 1.6rem 0; }
.artikel figcaption { font-size: .85rem; opacity: .75; margin-top: .5rem; }
.artikel blockquote { margin: 1.6rem 0; padding-left: 1.2rem; border-left: 3px solid var(--green, currentColor); }
.artikel table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .95rem; }
.artikel th, .artikel td { padding: .55rem .7rem; border-bottom: 1px solid rgba(255, 255, 255, .15); text-align: left; }
.artikel-beeld { margin: 0 0 1.8rem; }

.artikel-tiles .tile img { aspect-ratio: 16 / 10; object-fit: cover; }
.artikel-seiten { margin-top: 2rem; }
.artikel-seiten .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.artikel-seiten .page-numbers { display: inline-flex; min-width: 2.6rem; min-height: 2.6rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: inherit; text-decoration: none; }
.artikel-seiten .page-numbers.current { background: var(--green, #fff); color: var(--navy, #000); border-color: transparent; }

/*
 * Cookiebanner (inc/toestemming.php), 18-11-2026. De kitregels, maar met de
 * kleuren en vormen van het origineel: navy, groen, pilknoppen.
 */
.toestemming { width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-panel, 18px); background: var(--navy, #06222e); color: var(--on-dark, #f2f7f8); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.toestemming::backdrop { background: rgba(4, 22, 30, .6); }
.toestemming-binnen { display: grid; gap: 18px; padding: clamp(22px, 4vw, 32px); }
.toestemming-titel { font-size: 1.5rem; margin: 0; color: var(--on-dark, #f2f7f8); }
.toestemming-titel:focus { outline: none; box-shadow: none; }
.toestemming-tekst { margin: 0; color: var(--on-dark-soft, rgba(255, 255, 255, .68)); font-size: .95rem; line-height: 1.6; }
.toestemming-tekst a { color: var(--green, #95c11f); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.toestemming-voorkeuren { display: grid; gap: 10px; }
.toestemming-voorkeuren[hidden] { display: none; }
.toestemming-categorie { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d, rgba(255, 255, 255, .11)); border-radius: 12px; }
.toestemming-naam { display: block; margin: 0; font-weight: 600; }
.toestemming-uitleg { margin: 2px 0 0; font-size: .82rem; line-height: 1.5; color: var(--on-dark-soft, rgba(255, 255, 255, .68)); }
.toestemming-vast { font-size: .82rem; color: var(--on-dark-soft, rgba(255, 255, 255, .68)); white-space: nowrap; }
.toestemming-knoppen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.toestemming-knop { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 .8em; border: 1px solid var(--line-d, rgba(255, 255, 255, .11)); border-radius: 999px; background: transparent; color: var(--on-dark, #f2f7f8); font: inherit; font-size: .88rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
.toestemming-knop.is-weigeren { background: rgba(255, 255, 255, .1); }
.toestemming-knop.is-accepteren { background: var(--green, #95c11f); border-color: transparent; color: var(--navy, #06222e); }
.toestemming-knop:hover { filter: brightness(1.08); }
.schakelaar { appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .25); position: relative; cursor: pointer; transition: background-color .2s ease; }
.schakelaar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.schakelaar:checked { background: var(--green, #95c11f); }
.schakelaar:checked::after { transform: translateX(20px); }
.schakelaar:focus-visible, .toestemming-knop:focus-visible { outline: 2px solid var(--green, #95c11f); outline-offset: 3px; }
@media (max-width: 580px) { .toestemming-knoppen { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .schakelaar, .schakelaar::after { transition: none; } }
