/* ==========================================================================
   KFC Klim-op Begijnendijk — huisstijl bovenop Bootstrap 5
   ========================================================================== */

:root {
  --klim-blue: #0b2f6b;
  --klim-blue-dark: #071d44;
  --klim-blue-mid: #12428f;
  --klim-yellow: #ffcc00;
  --klim-yellow-dark: #e0af00;
  --ink: #10192c;
  --muted: #5c6679;
  --paper: #f5f7fb;
  --line: #e3e7f0;
  --radius: 16px;
  --font-head: "Barlow Condensed", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 767.98px) { body.has-mobile-bar { padding-bottom: 62px; } }

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--klim-blue-dark);
}
h1 { font-weight: 800; }
p { color: var(--muted); }
a { text-decoration: none; }

.container-xl { max-width: 1260px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--klim-blue-mid);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--klim-yellow);
  display: inline-block;
}
.eyebrow.light { color: var(--klim-yellow); }

/* ===== Buttons ===== */
.btn-klim-yellow {
  background: var(--klim-yellow);
  border: 2px solid var(--klim-yellow);
  color: var(--klim-blue-dark);
  font-weight: 700;
  padding: 0.68rem 1.4rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-klim-yellow:hover, .btn-klim-yellow:focus {
  background: #fff;
  border-color: #fff;
  color: var(--klim-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.btn-klim-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  font-weight: 700;
  padding: 0.66rem 1.4rem;
  border-radius: 999px;
  transition: border-color .15s ease, background .15s ease;
}
.btn-klim-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
.btn-klim-blue {
  background: var(--klim-blue);
  border: 2px solid var(--klim-blue);
  color: #fff;
  font-weight: 700;
  padding: 0.68rem 1.4rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-klim-blue:hover { background: var(--klim-blue-dark); border-color: var(--klim-blue-dark); color: #fff; transform: translateY(-1px); }
.btn-klim-ghost-dark {
  background: transparent;
  border: 2px solid var(--line);
  color: var(--klim-blue-dark);
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
}
.btn-klim-ghost-dark:hover { border-color: var(--klim-blue); color: var(--klim-blue); }

/* ===== Navbar ===== */
.navbar-klim {
  background: var(--klim-blue-dark);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--klim-yellow);
  transition: box-shadow .2s ease;
}
.navbar-klim.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.navbar-klim .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-head);
}
.navbar-klim .brand-logo {
  height: 60px;
  width: auto;
  flex-shrink: 0;
}
.navbar-klim .brand-text { line-height: 1.05; }
.navbar-klim .brand-text strong { display: block; font-size: 1.12rem; font-weight: 800; }
.navbar-klim .brand-text span { display: block; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--klim-yellow); font-weight: 600; }

.navbar-klim .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem !important;
  position: relative;
}
.navbar-klim .nav-link:hover { color: #fff !important; }
.navbar-klim .nav-link.active { color: #fff !important; }
.navbar-klim .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.15rem;
  height: 3px;
  background: var(--klim-yellow);
  border-radius: 2px;
}
.navbar-klim .btn-klim-yellow { padding: 0.5rem 1.15rem; font-size: 0.92rem; }
.navbar-klim .navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-klim .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero (home) ===== */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,29,68,0.75) 0%, rgba(7,29,68,0.55) 45%, rgba(7,29,68,0.94) 100%),
    linear-gradient(100deg, rgba(7,29,68,0.9) 0%, rgba(7,29,68,0.35) 55%);
}
.hero-content { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 3rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; }
.hero .lede { color: rgba(255,255,255,0.86); font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 3.2rem;
  padding-top: 1.8rem;
}
.hero-stats .stat strong {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--klim-yellow);
  display: block;
  line-height: 1;
}
.hero-stats .stat span { font-size: 0.82rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.06em; }

/* Aankondiging nieuwe website in de hero: wisselbord van de vierde official (rood eruit, groen erin) */
.wisselbord {
  width: 100%; max-width: 340px;
  background: #0b0e14;
  border: 3px solid #2a2f3a;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.06);
  padding: 16px 18px 18px;
  transform: rotate(-2deg);
}
.wisselbord-kop {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--klim-yellow);
  margin-bottom: 10px;
}
.wisselbord-led { width: 9px; height: 9px; border-radius: 50%; background: var(--klim-yellow); box-shadow: 0 0 8px var(--klim-yellow); animation: wissel-knipper 1.2s steps(2, start) infinite; }
.wisselbord-rij {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 6px 10px; border-radius: 8px;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.4px);
  background-size: 5px 5px;   /* ledjes */
}
.wisselbord-rij + .wisselbord-rij { margin-top: 6px; }
.wisselbord-rij.uit { color: #ff4d4d; text-shadow: 0 0 10px rgba(255,77,77,0.65); text-decoration: line-through; text-decoration-thickness: 2px; }
.wisselbord-rij.in { color: #3ddc6b; text-shadow: 0 0 10px rgba(61,220,107,0.7); }
@keyframes wissel-knipper { to { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .wisselbord-led { animation: none; } }
@media (max-width: 991.98px) { .wisselbord { transform: none; max-width: 420px; } }

/* ===== Page hero (subpages) ===== */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,29,68,0.55) 0%, rgba(7,29,68,0.92) 100%);
}
.page-hero-content { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 2.6rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 0.4rem; }
.page-hero .lede { color: rgba(255,255,255,0.85); max-width: 620px; margin-bottom: 0; }
.breadcrumb-klim { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 0.9rem; }
.breadcrumb-klim a { color: rgba(255,255,255,0.85); font-weight: 600; }
.breadcrumb-klim a:hover { color: var(--klim-yellow); }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section-tight { padding-top: 3.2rem; padding-bottom: 3.2rem; }
.bg-paper { background: var(--paper); }
.bg-klim-blue { background: radial-gradient(ellipse at top, var(--klim-blue-mid), var(--klim-blue) 55%, var(--klim-blue-dark)); color: #fff; }
.bg-klim-blue h2 { color: #fff; }
.section-head { max-width: 680px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== USP strip ===== */
.usp-strip { background: var(--klim-blue); color: #fff; }
.usp-strip .usp-item { display: flex; align-items: center; gap: 12px; padding: 1.1rem 0; font-weight: 600; }
.usp-strip .usp-item i { color: var(--klim-yellow); font-size: 1.35rem; }

/* ===== Check list ===== */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--klim-yellow); color: var(--klim-blue-dark);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.check-list strong { display: block; color: var(--ink); }
.check-list p { margin: 0.15rem 0 0; font-size: 0.92rem; }

/* ===== Cards ===== */
.klim-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.klim-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,47,107,0.13); }
.klim-card .klim-card-media { aspect-ratio: 4/3; overflow: hidden; }
.klim-card .klim-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.klim-card:hover .klim-card-media img { transform: scale(1.06); }
.klim-card .klim-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.klim-card .klim-card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--klim-blue-mid); background: #eaf0fb; padding: 3px 10px; border-radius: 999px; margin-bottom: 0.6rem;
}
.klim-card .klim-card-link { font-weight: 700; color: var(--klim-blue); font-size: 0.9rem; }
.klim-card .klim-card-link i { transition: transform .15s ease; }
.klim-card:hover .klim-card-link i { transform: translate(3px,-2px); }

/* ===== Team / age-group cards ===== */
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.team-card:hover { border-color: var(--klim-yellow); box-shadow: 0 14px 30px rgba(11,47,107,0.1); }
.team-card .team-age {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--klim-blue); color: var(--klim-yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  margin-bottom: 1rem;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.team-card .team-meta { font-size: 0.86rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 0.2rem; }
.team-card .team-meta i { color: var(--klim-blue-mid); }

/* ===== Timeline (geschiedenis) ===== */
.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.4rem; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--klim-yellow); border: 3px solid var(--klim-blue);
}
.timeline-item .year { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--klim-blue); display: block; }

/* ===== Fee table ===== */
.fee-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.fee-table table { margin-bottom: 0; }
.fee-table thead th {
  background: var(--klim-blue); color: #fff; font-family: var(--font-head);
  font-weight: 700; letter-spacing: 0.03em; border: none; padding: 1rem 1.2rem;
}
.fee-table tbody td { padding: 1rem 1.2rem; vertical-align: middle; border-color: var(--line); }
.fee-table tbody tr:hover { background: var(--paper); }
.fee-table .fee-amount { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--klim-blue); }

/* ===== Accordion ===== */
.accordion-klim .accordion-button {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--klim-blue-dark);
  background: #fff;
}
.accordion-klim .accordion-button:not(.collapsed) { background: var(--paper); color: var(--klim-blue); box-shadow: none; }
.accordion-klim .accordion-button:focus { box-shadow: none; border-color: var(--line); }
.accordion-klim .accordion-item { border-color: var(--line); border-radius: 12px !important; overflow: hidden; margin-bottom: 12px; }
.accordion-klim .accordion-button::after { filter: none; }
.accordion-klim .accordion-body strong { color: var(--klim-blue); font-weight: 700; }
.accordion-klim .accordion-body a { color: var(--klim-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Sponsor logos ===== */
.sponsor-slot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 576px) { .sponsor-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .sponsor-slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 992px) { .sponsor-slot-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } }
.sponsor-slot {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  padding: 0.9rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sponsor-slot:hover { border-color: var(--klim-yellow); box-shadow: 0 10px 24px rgba(11,47,107,0.1); transform: translateY(-2px); }
.sponsor-slot img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Met een tekst onder het logo: even hoog als de andere kaarten (min-height: 0 houdt de 3/2 vast), het logo krimpt en de tekst blijft op één regel */
.sponsor-slot.has-caption { flex-direction: column; gap: 0.3rem; min-height: 0; padding-left: 0.5rem; padding-right: 0.5rem; }
.sponsor-slot.has-caption img { min-height: 0; flex: 1 1 0; }
.sponsor-slot-caption {
  flex: 0 0 auto; max-width: 100%;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
  text-align: center; color: var(--klim-blue);
}

/* ===== Sponsor marquee (home) ===== */
.sponsor-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sponsor-marquee-track { display: flex; gap: 16px; width: max-content; animation: sponsor-scroll 70s linear infinite; }
/* Enkel pauzeren bij echte hover: op touch blijft :hover na een tik "hangen" */
@media (hover: hover) {
  .sponsor-marquee:hover .sponsor-marquee-track { animation-play-state: paused; }
}
.sponsor-marquee .sponsor-slot { flex: 0 0 210px; }
@keyframes sponsor-scroll { to { transform: translateX(calc(-50% - 8px)); } }
/* Veel gsm's zetten "minder beweging" aan (o.a. in batterijbesparing): trager i.p.v. stilzetten */
@media (prefers-reduced-motion: reduce) {
  .sponsor-marquee-track { animation-duration: 140s; }
}

/* ===== CTA banner ===== */
.cta-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  padding: 3.6rem;
}
.cta-banner-media { position: absolute; inset: 0; z-index: 0; }
.cta-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7,29,68,0.94), rgba(11,47,107,0.8)); }
.cta-banner-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-banner h2 { color: #fff; }
.cta-banner .lede { color: rgba(255,255,255,0.85); }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery-grid .g-item { position: relative; border-radius: 14px; overflow: hidden; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid .g-item:hover img { transform: scale(1.07); }
.gallery-grid .g-span2 { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .g-span2 { grid-column: span 2; }
  .gallery-grid .g-tall { grid-row: span 1; }
}

/* ===== Testimonial / quote ===== */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%; }
.quote-card i.quote-mark { color: var(--klim-yellow); font-size: 1.8rem; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--klim-blue);
  color: var(--klim-yellow); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
}

/* ===== Footer ===== */
.footer-klim { background: var(--klim-blue-dark); color: rgba(255,255,255,0.72); }
.footer-klim h4 { color: #fff; font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.03em; margin-bottom: 1rem; }
.footer-klim a { color: rgba(255,255,255,0.72); }
.footer-klim a:hover { color: var(--klim-yellow); }
.footer-klim ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: 0.92rem; }
.footer-klim .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-klim .footer-brand-logo { height: 64px; width: auto; flex-shrink: 0; }
.footer-klim .footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center; margin-right: 8px;
}
.footer-klim .footer-social a:hover { background: var(--klim-yellow); color: var(--klim-blue-dark); border-color: var(--klim-yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.1rem 0; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--klim-yellow); margin-top: 3px; }

/* ===== Mobile call/CTA bar ===== */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  background: var(--klim-blue-dark); border-top: 2px solid var(--klim-yellow);
}
.mobile-bar .row { --bs-gutter-x: 0; }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 0.86rem; padding: 0.9rem 0;
}
.mobile-bar a:first-child { border-right: 1px solid rgba(255,255,255,0.15); }
.mobile-bar a i { color: var(--klim-yellow); }
@media (max-width: 767.98px) { .mobile-bar { display: block; } }

/* ===== Misc ===== */
.ratio-club-photo { border-radius: var(--radius); overflow: hidden; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.badge-club {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eaf0fb; color: var(--klim-blue); font-weight: 700; font-size: 0.78rem;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ===== Navbar: extra ruimte voor 8 menu-items op middelgrote schermen ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-klim .nav-link { padding: 0.55rem 0.55rem !important; font-size: 0.9rem; }
  .navbar-klim .nav-link.active::after { left: 0.55rem; right: 0.55rem; }
  .navbar-klim .brand-text { display: none; }
}

/* ===== Flyers & nieuws ===== */
.flyer-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.flyer-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,47,107,0.13); }
.flyer-card img { width: 100%; display: block; }
.flyer-card .flyer-body { padding: 1.1rem 1.3rem 1.3rem; }
.flyer-card .flyer-body strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.25rem; }
.flyer-card .flyer-body span { font-size: 0.9rem; color: var(--muted); }
.date-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--klim-yellow); color: var(--klim-blue-dark);
  font-weight: 800; font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-weight: 600; font-size: 0.9rem; color: var(--klim-blue); }
.poster-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.poster-strip a { border-radius: 12px; overflow: hidden; aspect-ratio: 707/1000; display: block; border: 1px solid var(--line); }
.poster-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.poster-strip a:hover img { transform: scale(1.05); }
@media (max-width: 767.98px) { .poster-strip { grid-template-columns: repeat(2, 1fr); } }

/* ===== Documenten (downloads) ===== */
.doc-link {
  display: flex; align-items: center; gap: 14px; padding: 1rem 1.2rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; transition: border-color .15s ease, box-shadow .15s ease;
}
.doc-link:hover { border-color: var(--klim-yellow); box-shadow: 0 10px 24px rgba(11,47,107,0.1); color: var(--klim-blue); }
.doc-link .doc-ico { width: 44px; height: 44px; border-radius: 10px; background: #eaf0fb; color: var(--klim-blue); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.doc-link small { display: block; font-weight: 400; color: var(--muted); }
.doc-link .bi-arrow-down-circle, .doc-link .bi-box-arrow-up-right { margin-left: auto; color: var(--klim-blue-mid); font-size: 1.2rem; }

/* ===== Documentkaarten (contact) ===== */
.doc-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.doc-card:hover { border-color: var(--klim-yellow); box-shadow: 0 14px 30px rgba(11,47,107,0.1); transform: translateY(-2px); }
.doc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 1.1rem; }
.doc-card-ico {
  width: 52px; height: 52px; border-radius: 12px; background: var(--klim-blue); color: var(--klim-yellow);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.doc-card-tag {
  padding: 0.25rem 0.65rem; border-radius: 999px; background: #eaf0fb; color: var(--klim-blue);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.doc-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.doc-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.doc-card-meta { margin-top: auto; padding-top: 0.9rem; border-top: 1px dashed var(--line); font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.doc-card-actions { display: grid; gap: 8px; margin-top: 0.9rem; }
.doc-card-actions .btn { display: flex; align-items: center; justify-content: center; width: 100%; }
.doc-card-more {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0.45rem 1rem;
  border: 2px solid var(--line); border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: var(--klim-blue);
  transition: border-color .2s, background .2s;
}
.doc-card-more::after { content: "\F135"; font-family: "bootstrap-icons"; font-size: 1.1rem; line-height: 1; } /* bi-arrow-right-short */
.doc-card-more[target="_blank"]::after { content: "\F1C5"; font-size: 0.75rem; } /* bi-box-arrow-up-right */
.doc-card-more:hover { border-color: var(--klim-blue); background: var(--paper); color: var(--klim-blue); }

/* ===== Clubkledij ===== */
.kit-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; }
.kit-steps > div {
  display: flex; align-items: center; gap: 10px; padding: 0.8rem 1rem;
  background: var(--paper); border-radius: 12px; font-size: 0.9rem; font-weight: 600; color: var(--klim-blue-dark);
}
.kit-steps > div > span:first-child {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--klim-yellow); color: var(--klim-blue-dark); font-family: var(--font-head); font-weight: 800;
}

.kit-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.kit-card:hover { border-color: var(--klim-yellow); box-shadow: 0 14px 30px rgba(11,47,107,0.1); }
.kit-card-img { aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 1rem; border-bottom: 1px solid var(--line); }
.kit-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s ease; }
.kit-card:hover .kit-card-img img { transform: scale(1.04); }
.kit-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem; }
.kit-card h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.kit-card-info { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.kit-prices { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 4px; }
.kit-prices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 0.35rem 0.6rem; border-radius: 8px; background: var(--paper); font-size: 0.85rem;
}
.kit-prices small { color: var(--muted); }
.kit-prices strong { color: var(--klim-blue); font-family: var(--font-head); font-size: 1.1rem; }
.kit-opts { margin-top: auto; }
.kit-opts-row { display: flex; gap: 8px; }
.kit-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.kit-field { width: 76px; }
.kit-field-grow { flex: 1; width: auto; }
.kit-opts .form-check-label { font-size: 0.85rem; }
.kit-msg { min-height: 1.4em; margin: 0.4rem 0; font-size: 0.8rem; font-weight: 600; }
.kit-msg.is-ok { color: #198754; }
.kit-msg.is-error { color: #dc3545; }
.kit-add { display: flex; align-items: center; justify-content: center; gap: 4px; }
.kit-add-price { margin-left: auto; font-family: var(--font-head); font-size: 1.05rem; }

.kit-cart { position: sticky; top: 100px; }
.kit-cart-list { list-style: none; padding: 0; margin: 0; }
.kit-cart-item { display: flex; gap: 12px; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.kit-cart-item img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex-shrink: 0; }
.kit-cart-info { flex: 1; min-width: 0; }
.kit-cart-info strong { display: block; font-size: 0.92rem; }
.kit-cart-info small { display: block; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
.kit-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; }
.kit-qty button { border: 0; background: none; width: 26px; height: 26px; color: var(--klim-blue); }
.kit-qty button:hover { background: var(--paper); }
.kit-qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 0.85rem; }
.kit-cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.kit-cart-side strong { color: var(--klim-blue); white-space: nowrap; }
.kit-remove { border: 0; background: none; color: var(--muted); padding: 2px; }
.kit-remove:hover { color: #dc3545; }
.kit-cart-empty { color: var(--muted); font-size: 0.9rem; margin: 0.5rem 0 0; }
.kit-cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--klim-blue);
  font-weight: 700; color: var(--klim-blue-dark);
}
.kit-cart-total strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--klim-blue); }
.kit-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.kit-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 1030;
  display: flex; align-items: center; gap: 12px; padding: 0.75rem 0.9rem 0.75rem 1.1rem;
  background: var(--klim-blue); color: #fff; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(7,29,68,0.35); font-size: 0.9rem;
  transition: opacity .25s ease, transform .25s ease;
}
.kit-fab[hidden] { display: none; }
.kit-fab:hover { color: #fff; background: var(--klim-blue-mid); }
.kit-fab > .bi { color: var(--klim-yellow); font-size: 1.2rem; }
.kit-fab-go { background: var(--klim-yellow); color: var(--klim-blue-dark); border-radius: 999px; padding: 0.3rem 0.8rem; font-weight: 700; }
.kit-fab.is-away { opacity: 0; transform: translateY(20px); pointer-events: none; }
.kit-fab.is-bump { animation: kit-bump .4s ease; }
@keyframes kit-bump { 50% { transform: scale(1.08); } }
@media (max-width: 767.98px) {
  .kit-fab { left: 12px; right: 12px; bottom: 74px; justify-content: space-between; }
  .kit-cart { position: static; }
}

/* ===== Staf ===== */
.staff-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.staff-list li { display: flex; gap: 8px; }
.staff-list li span:first-child { color: var(--muted); min-width: 140px; }
.staff-list li span:last-child { color: var(--ink); font-weight: 600; }

/* ===== KLIMOP visie ===== */
.team-card .team-age.team-letter { font-size: 1.9rem; }

/* ===== Speelkalender chips ===== */
.cal-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 0.7rem; border-radius: 999px;
  background: #eaf0fb; color: var(--klim-blue); font-size: 0.8rem; font-weight: 600; transition: background .15s ease;
}
.cal-chip:hover { background: var(--klim-yellow); color: var(--klim-blue-dark); }

/* Speelkalender-knoppen per jeugdploeg */
.cal-links { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.cal-links-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}
.cal-links-label i { color: var(--klim-blue); font-size: 0.95rem; }
.cal-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.cal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.6rem 0.8rem; border-radius: 10px;
  background: var(--klim-blue); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.cal-btn i { font-size: 0.8rem; opacity: 0.75; }
.cal-btn:hover, .cal-btn:focus-visible { background: var(--klim-yellow); color: var(--klim-blue-dark); transform: translateY(-1px); }

/* ===== Sectie-pills in de page-hero ===== */
.section-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.section-pills a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.4px; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.section-pills a::before {
  content: "\F124"; /* bi-arrow-down-short */
  font-family: "bootstrap-icons"; font-size: 1.05rem; line-height: 1; color: var(--klim-yellow);
  transition: color .2s;
}
.section-pills a:hover, .section-pills a:focus-visible {
  background: var(--klim-yellow); border-color: var(--klim-yellow); color: var(--klim-blue-dark);
}
.section-pills a:hover::before, .section-pills a:focus-visible::before { color: var(--klim-blue-dark); }
main section[id] { scroll-margin-top: 76px; }
.footer-credit { margin-top: 0.4rem; font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.footer-klim .footer-credit a { color: rgba(255,255,255,0.55); }
.footer-klim .footer-credit a:hover { color: var(--klim-yellow); }

/* ===== Cookie-toestemming ===== */
.consent-embed {
  min-height: 320px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 2rem 1.5rem; text-align: center;
  background: var(--paper);
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 18px 18px;
}
.consent-embed-ico { font-size: 2.2rem; color: var(--klim-blue); }
.consent-embed p { max-width: 340px; margin: 0; font-size: 0.92rem; color: var(--muted); }
.consent-embed p strong { color: var(--klim-blue-dark); }
.consent-embed-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 0.4rem; }
.map-frame iframe.consent-loaded { min-height: 320px; }

.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 1060;
  width: min(420px, calc(100% - 32px));
  padding: 1.25rem 1.35rem;
  background: var(--klim-blue-dark); color: rgba(255,255,255,0.85);
  border-top: 4px solid var(--klim-yellow); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(7,29,68,0.35);
  font-size: 0.9rem;
  transform: translateY(20px); opacity: 0; transition: transform .3s, opacity .3s;
}
.cookie-banner.is-open { transform: none; opacity: 1; }
.cookie-banner h2 { color: #fff; font-size: 1.25rem; margin-bottom: 0.4rem; }
.cookie-banner p { margin-bottom: 0.9rem; color: rgba(255,255,255,0.85); }
.cookie-banner:focus { outline: none; }
.cookie-banner a { color: var(--klim-yellow); }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767.98px) { .cookie-banner { bottom: 78px; } }

.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.footer-legal button { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.footer-legal a, .footer-legal button { color: rgba(255,255,255,0.72); }
.footer-legal a:hover, .footer-legal button:hover { color: var(--klim-yellow); }

/* ===== Privacy & cookies ===== */
.legal-text { max-width: 820px; }
.legal-text h2 { font-size: 1.7rem; margin: 2.6rem 0 0.8rem; scroll-margin-top: 90px; }
.legal-text h2:first-of-type { margin-top: 1rem; }
.legal-text h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; color: var(--klim-blue); }
.legal-text p, .legal-text li { color: var(--muted); }
.legal-text strong { color: var(--ink); }
.legal-text ul { padding-left: 1.2rem; display: grid; gap: 0.45rem; margin-bottom: 1rem; }
.legal-updated { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--paper); font-size: 0.82rem; }
.legal-table { font-size: 0.92rem; border: 1px solid var(--line); }
.legal-table thead th { background: var(--klim-blue-dark); color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.03em; border: 0; }
.legal-table td { color: var(--muted); vertical-align: top; }
.legal-table code { color: var(--klim-blue); }
.form-privacy { margin: 0.8rem 0 0; font-size: 0.8rem; color: var(--muted); }
.form-privacy a { color: var(--klim-blue); font-weight: 600; }

/* ===== Slogan #voetbalvooriedereen ===== */
.slogan {
  font-family: var(--font-head); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
  color: #fff;
}
.slogan span { color: var(--klim-yellow); }
.slogan-hero .slogan { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.footer-brand .slogan { display: block; margin-top: 4px; font-size: 1rem; }
.footer-legal a.footer-beheer { display: inline-flex; align-items: center; gap: 0.3rem; color: rgba(255,255,255,0.45); }
.footer-legal a.footer-beheer i { font-size: 0.75em; }
.footer-legal a.footer-beheer:hover { color: var(--klim-yellow); }

/* ===== Clubnieuws (uit het beheer) ===== */
.nieuws-kaart h3 a { color: inherit; }
.nieuws-kaart h3 a:hover { color: var(--klim-blue-mid); }
.page-hero-bericht h1 { max-width: 900px; }
.page-hero-bericht .page-hero-media img { object-position: 50% 78%; } /* de bal in beeld */
.bericht-meta-hero { display: flex; flex-wrap: wrap; gap: 8px; }
.nieuws-artikel { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Gele kalenderblokjes (dag + maand) op de foto van een bericht; zonder foto het logo op clubblauw. */
.nieuws-kaart .klim-card-media { position: relative; }
.nieuws-dag {
  position: absolute; top: 14px; left: 14px; z-index: 2; min-width: 56px; padding: 7px 10px 6px; border-radius: 12px; text-align: center;
  background: var(--klim-yellow); color: var(--klim-blue-dark); font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; box-shadow: 0 8px 20px rgba(7,29,68,0.25);
}
.nieuws-dag b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: 0; margin-bottom: 2px; }
.nieuws-geen-foto { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: radial-gradient(ellipse at top right, var(--klim-blue-mid), var(--klim-blue) 55%, var(--klim-blue-dark)); }
.klim-card .nieuws-geen-foto img, .nieuws-geen-foto img { width: 34%; height: auto; max-width: 140px; object-fit: contain; opacity: 0.3; transform: none !important; }

/* Homepage: het laatste bericht groot, de twee vorige ernaast. */
.home-nieuws { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .home-nieuws { grid-template-columns: 7fr 5fr; } .home-nieuws.is-alleen { grid-template-columns: 1fr; } }
.home-nieuws-hoofd { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 460px; border-radius: var(--radius); overflow: hidden; background: var(--klim-blue-dark); color: #fff; }
.home-nieuws.is-alleen .home-nieuws-hoofd { min-height: 400px; }
.home-nieuws-media { position: absolute; inset: 0; z-index: -1; } /* onder de tekst, zodat de link (stretched-link) het hele vak bedekt */
.home-nieuws-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-nieuws-hoofd:hover .home-nieuws-media > img { transform: scale(1.05); }
.home-nieuws-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,29,68,0) 25%, rgba(7,29,68,0.6) 55%, rgba(7,29,68,0.95) 100%); }
.home-nieuws-hoofd.zonder-foto .home-nieuws-media::after { background: linear-gradient(180deg, rgba(7,29,68,0) 40%, rgba(7,29,68,0.7) 100%); }
.home-nieuws-media .nieuws-dag { top: 22px; left: 22px; min-width: 68px; padding: 9px 12px 8px; font-size: 0.8rem; }
.home-nieuws-media .nieuws-dag b { font-size: 2.2rem; }
.home-nieuws-tekst { max-width: 680px; padding: clamp(1.4rem, 3vw, 2.4rem); }
.home-nieuws-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 0.7rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--klim-yellow); }
.home-nieuws-hoofd h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 0.7rem; }
.home-nieuws-hoofd h3 a { color: inherit; }
.home-nieuws-hoofd p { color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.home-nieuws-rest { display: grid; gap: 1.5rem; grid-auto-rows: 1fr; }
.home-nieuws-klein { position: relative; display: flex; gap: 1.1rem; padding: 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.home-nieuws-klein:hover { border-color: var(--klim-yellow); box-shadow: 0 14px 30px rgba(11,47,107,0.1); transform: translateY(-3px); }
.home-nieuws-duim { position: relative; flex: 0 0 42%; min-height: 150px; border-radius: 12px; overflow: hidden; background: var(--paper); }
.home-nieuws-duim > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-nieuws-duim .nieuws-geen-foto { position: absolute; inset: 0; }
.home-nieuws-duim .nieuws-dag { top: 10px; left: 10px; min-width: 46px; padding: 5px 8px 4px; font-size: 0.65rem; }
.home-nieuws-duim .nieuws-dag b { font-size: 1.3rem; }
.home-nieuws-klein > div:last-child { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0.2rem 0.3rem 0.2rem 0; }
.home-nieuws-datum { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--klim-blue-mid); }
.home-nieuws-klein h3 { margin: 0.35rem 0 0.4rem; line-height: 1.2; }
.home-nieuws-klein h3 a { color: var(--klim-blue-dark); }
.home-nieuws-klein p { margin: 0; font-size: 0.9rem; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 575.98px) {
  .home-nieuws-hoofd { min-height: 380px; }
  .home-nieuws-duim { flex-basis: 36%; min-height: 120px; }
}

/* In de pers: krantenknipsels met de bron bovenaan. */
.pers-bron { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px dashed var(--line); font-size: 0.78rem; }
.pers-bron i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--klim-blue); color: var(--klim-yellow); font-size: 0.95rem; }
.pers-bron span { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--klim-blue-dark); }
.pers-bron time { margin-left: auto; color: var(--muted); white-space: nowrap; }
.pers-kaart h3 a { color: inherit; }
.pers-kaart h3 a:hover { color: var(--klim-blue-mid); }

/* De tekst van een bericht: ook de editor in het beheer gebruikt deze opmaak. */
.nieuws-tekst { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.nieuws-tekst::after { content: ""; display: table; clear: both; }
.nieuws-tekst p, .nieuws-tekst ul, .nieuws-tekst ol { color: var(--ink); margin-bottom: 1.1rem; }
.nieuws-tekst h2 { font-size: 1.9rem; margin: 2.2rem 0 0.8rem; }
.nieuws-tekst h3 { font-size: 1.4rem; margin: 1.8rem 0 0.6rem; color: var(--klim-blue); }
.nieuws-tekst > :first-child { margin-top: 0; }
.nieuws-tekst li { margin-bottom: 0.3rem; }
.nieuws-tekst a:not(.knop) { color: var(--klim-blue-mid); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nieuws-tekst a:not(.knop):hover { color: var(--klim-blue); }
.nieuws-tekst hr { margin: 2rem 0; border-color: var(--line); opacity: 1; }
.nieuws-tekst img { display: block; max-width: 100%; height: auto; margin: 0.4rem auto; border-radius: 12px; }
.nieuws-tekst img[data-a=links] { float: left; margin: 0.3rem 1.6rem 1rem 0; }
.nieuws-tekst img[data-a=rechts] { float: right; margin: 0.3rem 0 1rem 1.6rem; }
.nieuws-tekst h2, .nieuws-tekst h3, .nieuws-tekst hr { clear: both; }
@media (max-width: 575.98px) {
  .nieuws-tekst img[data-a] { float: none; width: 100% !important; margin: 0.4rem 0 1rem; }
}
.nieuws-tekst a.knop {
  display: inline-flex; align-items: center; gap: 6px; background: var(--klim-yellow); color: var(--klim-blue-dark);
  font-weight: 700; padding: 0.7rem 1.5rem; border-radius: 999px; text-decoration: none; transition: background .15s ease, transform .15s ease;
}
.nieuws-tekst a.knop:hover { background: var(--klim-yellow-dark); transform: translateY(-1px); }

/* Archief (nieuws.html#archief): wat voorbij is, als kleine kaartjes met de affiche */
.archief-kaart { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.archief-kaart:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,47,107,0.12); border-color: var(--klim-yellow); }
.archief-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--klim-blue-dark); }
.archief-waas { position: absolute; inset: -24px; background: center / cover; filter: blur(16px) brightness(0.55); }
.archief-media > img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .4s ease; }
.archief-kaart:hover .archief-media > img { transform: scale(1.04); }
.archief-media .nieuws-geen-foto { position: absolute; inset: 0; }
.archief-tekst { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; padding: 0.9rem 1rem 1.1rem; }
.archief-datum { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--klim-blue-mid); }
.archief-kaart h3 { margin: 0; line-height: 1.25; }
.archief-kaart h3 a { color: var(--ink); }

/* Op een gsm is de brede g-5-tussenruimte groter dan de rand van de container: dan schuift de pagina zijwaarts. */
@media (max-width: 575.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

/* 404: tegels naar de belangrijkste pagina's. */
.niet-gevonden-link { display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 1.6rem; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.niet-gevonden-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 47, 107, 0.12); color: var(--ink); }
.niet-gevonden-link i { font-size: 1.7rem; color: var(--klim-blue); margin-bottom: 0.5rem; }
.niet-gevonden-link strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--klim-blue-dark); }
.niet-gevonden-link span { color: var(--muted); font-size: 0.92rem; }

/* Tabellen in privacy en cookies: op een gsm wordt elke rij een kaartje, met de kolomnaam boven elke waarde. */
@media (max-width: 575.98px) {
  .legal-table { border: 0; }
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 0.9rem; overflow: hidden; background: #fff; }
  .legal-table td { border: 0; padding: 0.55rem 1rem; }
  .legal-table td + td { border-top: 1px dashed var(--line); }
  .legal-table td::before { content: attr(data-label); display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--klim-blue-mid); margin-bottom: 0.15rem; }
  .legal-table td:first-child { background: var(--paper); color: var(--klim-blue-dark); font-size: 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .legal-table td:first-child::before { display: none; }
}
