/* WV Borger – stijlen voor pagina's met het sjabloon "Blokken".
   De blokken gebruiken dezelfde klassen als de oude sjablonen (style.css);
   hier staat alleen wat nodig is om WordPress-blokken daarop te laten aansluiten. */

/* Groepsblokken: de extra binnenste laag mag de opmaak (grid/flex) niet breken. */
.wp-block-group__inner-container { display: contents; }

/* Geen automatische tussenruimte tussen secties. */
.wvb-blokken > * { margin-top: 0; margin-bottom: 0; }

/* Introtekst onder een paginatitel. */
.pagina-intro { color: var(--lichtgrijs); font-size: 1rem; line-height: 1.7; max-width: 560px; margin-bottom: 8px; }

.wvb-melding { color: var(--lichtgrijs); }
.wvb-melding a { color: var(--blauw); }

/* ── KNOPPEN (knopstijlen Blauw / Omlijnd / Donker) ── */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-button.is-style-wvb-primair > .wp-block-button__link,
.wp-block-button.is-style-wvb-ghost > .wp-block-button__link,
.wp-block-button.is-style-wvb-donker > .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 0; border: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  text-decoration: none; line-height: 1.2;
}
.wp-block-button.is-style-wvb-primair > .wp-block-button__link { background: var(--blauw); color: var(--wit); transition: background 0.2s, transform 0.15s; }
.wp-block-button.is-style-wvb-primair > .wp-block-button__link:hover { background: var(--blauw-dark); transform: translateX(3px); }
.wp-block-button.is-style-wvb-ghost > .wp-block-button__link { background: transparent; color: var(--wit); padding: 13px 32px; border: 1px solid rgba(245,243,238,0.3); transition: border-color 0.2s, color 0.2s; }
.wp-block-button.is-style-wvb-ghost > .wp-block-button__link:hover { border-color: var(--blauw); color: var(--blauw); }
.wp-block-button.is-style-wvb-donker > .wp-block-button__link { background: var(--zwart); color: var(--wit); white-space: nowrap; transition: background 0.2s; }
.wp-block-button.is-style-wvb-donker > .wp-block-button__link:hover { background: #1a1a1a; }

/* ── TEKSTEN MET EIGEN OPMAAK BINNEN EEN PAGINAKOP ──
   style.css geeft elke alinea in .pagina-hero een vaste grootte; deze klassen gaan voor. */
.pagina-hero p.snelheid-label { font-size: 0.75rem; line-height: normal; max-width: none; color: var(--lichtgrijs); }
.pagina-hero p.snelheid-waarde { font-size: 1.3rem; line-height: 1; max-width: none; color: var(--blauw); }

/* ── ROUTES-PAGINA ── */
/* Routetabel (shortcode [wvb_routes]); overgenomen uit het oude sjabloon page-routes.php. */
.rt-table-wrap { overflow-x: auto; margin: 8px 0 32px; border: 1px solid var(--grijs); border-radius: 8px; }
table.rt-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--donker); }
table.rt-table th { text-align: left; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lichtgrijs); padding: 12px 16px; border-bottom: 2px solid var(--grijs); background: var(--mid); cursor: pointer; white-space: nowrap; user-select: none; }
table.rt-table th:hover { color: var(--wit); }
table.rt-table th.sorted-asc::after { content: " \2191"; color: var(--blauw); }
table.rt-table th.sorted-desc::after { content: " \2193"; color: var(--blauw); }
table.rt-table td { padding: 10px 16px; border-bottom: 1px solid var(--grijs); color: var(--wit); vertical-align: top; }
table.rt-table tbody tr:hover { background: rgba(34,168,233,0.06); }
table.rt-table tbody tr.rt-hidden { display: none; }
.rt-km-cell { font-variant-numeric: tabular-nums; color: var(--lichtgrijs); white-space: nowrap; }
.rt-cat-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.rt-cat-kort { background: rgba(34,168,233,0.15); color: #7fd4f5; }
.rt-cat-middel { background: rgba(34,168,233,0.25); color: #a0e4ff; }
.rt-cat-lang { background: rgba(233,120,34,0.2); color: #ffbf7f; }
.rt-via-cell { color: var(--lichtgrijs); font-size: 0.85rem; max-width: 320px; }
.rt-link-cell a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; color: var(--blauw); white-space: nowrap; }
.rt-link-cell a:hover { text-decoration: underline; }
.routes-hero-stat p.stat-getal { font-family: "Barlow Condensed", sans-serif; font-weight: 900; font-size: 2.2rem; color: var(--blauw); line-height: 1; }
.routes-hero-stat p.stat-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lichtgrijs); }
.collectie-wrap .pagina-intro { font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; }
.collectie-wrap .sectie-titel { margin-bottom: 20px; }
.collectie-wrap .sectie-label { margin-bottom: 12px; }
.collectie-rwgps-link a { color: inherit; }
.routes-hero-stat p.stat-label { line-height: 1.6; margin-top: 2px; }

/* ── LID WORDEN ── */
.sectie-titel.wvb-ruimte-40 { margin-bottom: 40px; }
.sectie-titel.wvb-ruimte-32 { margin-bottom: 32px; }
ul.voordeel-lijst { list-style: none; margin: 0; padding: 0; }
ul.voordeel-lijst li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--lichtgrijs); line-height: 1.5; }
ul.voordeel-lijst li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; background: var(--blauw); clip-path: polygon(0 50%, 35% 100%, 100% 0, 35% 65%); opacity: 0.8; }
.contributie-bedrag p { display: inline; }
.cta-contact-item p.cta-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lichtgrijs); font-family: "Barlow Condensed", sans-serif; font-weight: 700; margin: 0; max-width: none; }
.cta-contact-item p { margin: 0; }
.cta-kaart p.cta-noot { font-size: 0.82rem; color: var(--lichtgrijs); line-height: 1.6; }
.cta-tekst .wp-block-buttons { flex-direction: column; align-items: flex-start; gap: 12px; }

/* ── SPONSOREN ── */
.sponsor-logo { background: #fff; display: flex; align-items: center; justify-content: center; padding: 12px; margin-bottom: 12px; min-height: 90px; }
.sponsor-logo img { max-height: 70px; width: auto; object-fit: contain; }
.sponsor-sectie .wp-block-image img, .sponsor-banner-wrapper .wp-block-image img { width: 100%; height: auto; display: block; border: 1px solid var(--grijs); }

/* ── BESTUUR & CONTACT ── */
.contact-tekst a { color: var(--blauw); }
.sectie-label.wvb-ruimte-20 { margin-bottom: 20px; }
.sponsor-sectie .wp-block-image { margin: 0 0 40px; }

/* ── HOMEPAGE ── */
/* Hero als Omslag-blok (klasse "hero"): foto, donkere overlay en blauwe strepen rechts. */
.wp-block-cover.hero { padding: 0; color: var(--wit); min-height: 100vh; align-items: flex-end; justify-content: flex-start; overflow: hidden; }
.wp-block-cover.hero .wp-block-cover__image-background { object-position: center top; }
.wp-block-cover.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(13,13,13,0.45) 0%, rgba(13,13,13,0.7) 50%, #0d0d0d 100%),
    linear-gradient(to bottom, rgba(34,168,233,0.25) 0%, transparent 60%);
}
.wp-block-cover.hero::after {
  content: ''; position: absolute; top: 0; right: 0; width: 16px; height: 100%; z-index: 2;
  background: linear-gradient(to right, rgba(34,168,233,0.4) 0 2px, transparent 2px 10px, var(--blauw) 10px 16px);
}
.wp-block-cover.hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: auto; max-width: 900px; margin: 0; padding: 0; color: var(--wit); }
.wp-block-cover.hero .hero-acties { gap: 16px; }
.sectie-intro { color: var(--lichtgrijs); font-size: 0.95rem; line-height: 1.6; max-width: 560px; margin-bottom: 24px; }
.wvb-ruimte-boven-24 { margin-top: 24px; }
.sponsor-banner-wrapper .wp-block-image { margin: 0; }
