/* =============================================
   GEMEENTE BELANGEN VOORST — Stijlblad
   Ontwerptaal: Terraverdant
   Kleuren: Aubergine #3D1A4B · Goud #F5C200
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --purple:       #3D1A4B;
  --purple-600:   #5C2D73;
  --purple-400:   #8A5AA0;
  --purple-100:   #EDE3F5;
  --purple-50:    #F7F3FB;

  --yellow:       #F5C200;
  --yellow-dark:  #C9A000;
  --yellow-light: #FEF9D6;

  --green:        #3D5E35;
  --green-light:  #EBF0E9;

  --white:  #FFFFFF;
  --bg:     #F8F7F5;
  --surface:#FFFFFF;

  --border:       #E6E0EE;
  --border-light: #F0EBF6;

  --text-900: #161218;
  --text-700: #3A3040;
  --text-500: #6B6070;
  --text-300: #A89DB0;

  --f-heading: 'Merriweather', 'Georgia', 'Times New Roman', serif;
  --f-body:    'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(61,26,75,0.07), 0 1px 2px rgba(61,26,75,0.04);
  --shadow-md: 0 4px 14px rgba(61,26,75,0.10), 0 2px 4px rgba(61,26,75,0.06);
  --shadow-lg: 0 8px 28px rgba(61,26,75,0.13), 0 3px 8px rgba(61,26,75,0.07);

  --t: 200ms ease;
  --t-slow: 380ms ease;

  --container: 1180px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 760px; margin-inline: auto; padding-inline: 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-heading);
  color: var(--text-900);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-500);
  font-weight: 400;
}

.text-muted { color: var(--text-500); }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.8rem; }
.text-center { text-align: center; }
.font-heading { font-family: var(--f-heading); }

/* ---------- Section titles ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.section-title { margin-bottom: 8px; }
.section-subtitle { color: var(--text-500); max-width: 580px; }

/* ---------- Horizon divider (Gelderse horizon) ---------- */
.horizon-divider {
  position: relative;
  height: 32px;
  overflow: hidden;
  margin-block: 0;
}
.horizon-divider svg {
  width: 100%;
  height: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--f-body);
  border: 2px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t),
              box-shadow var(--t), transform var(--t);
  white-space: nowrap;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-primary:hover {
  background: var(--purple-600);
  border-color: var(--purple-600);
  box-shadow: var(--shadow-md);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--purple);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple-50);
}

.btn-ghost {
  background: transparent;
  color: var(--purple);
  border-color: transparent;
  padding-inline: 12px;
}
.btn-ghost:hover { background: var(--purple-50); }

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-pill { border-radius: var(--r-pill); }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-purple { background: var(--purple-100); color: var(--purple); }
.badge-yellow { background: var(--yellow-light); color: var(--yellow-dark); }
.badge-green  { background: var(--green-light);  color: var(--green); }
.badge-gray   { background: #F0ECF5; color: var(--text-500); }

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
}

/* ---------- Form elements ---------- */
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-700);
  margin-bottom: 6px;
}
label .required { color: #C0392B; margin-left: 3px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--text-900);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  line-height: 1.5;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(61,26,75,0.12);
}
input::placeholder, textarea::placeholder { color: var(--text-300); }
textarea { resize: vertical; min-height: 120px; }

.input-wrapper {
  position: relative;
}
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-300);
  pointer-events: none;
}
.input-wrapper input { padding-left: 40px; }

.password-wrapper {
  position: relative;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-300);
  padding: 4px;
  border-radius: 4px;
  transition: color var(--t);
}
.password-toggle:hover { color: var(--purple); }

.form-hint {
  font-size: 0.8rem;
  color: var(--text-500);
  margin-top: 5px;
}
.form-error {
  font-size: 0.8rem;
  color: #C0392B;
  margin-top: 5px;
  display: none;
}
.form-error.visible { display: block; }
input.is-invalid { border-color: #C0392B; }
input.is-valid   { border-color: #27AE60; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Checkbox / Radio */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-700);
  font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--purple);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  background: var(--purple);
  border-radius: 8px;
  padding: 7px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.logo-mark span.top {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  font-family: var(--f-body);
  text-transform: uppercase;
}
.logo-mark span.bottom {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  font-family: var(--f-body);
  text-transform: uppercase;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .name {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
}
.logo-text .sub {
  font-size: 0.72rem;
  color: var(--text-500);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Main nav */
.main-nav {
  flex: 1;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-700);
  border-radius: var(--r-md);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--purple);
  background: var(--purple-50);
}
.main-nav a.active { font-weight: 600; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.btn-admin {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-500);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  transition: all var(--t);
}
.btn-admin:hover {
  color: var(--purple);
  border-color: var(--purple);
  background: var(--purple-50);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: all var(--t);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-700);
  border-radius: var(--r-md);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:hover { color: var(--purple); background: var(--purple-50); }

@media (max-width: 900px) {
  .main-nav  { display: none; }
  .nav-toggle { display: flex; }
  .btn-admin { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--purple);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-image {
  position: relative;
  z-index: 1;
}
.hero-photo-frame {
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  padding: 32px;
  text-align: center;
}
.hero-photo-frame svg { opacity: 0.4; }
.hero-photo-frame p { font-size: 0.88rem; line-height: 1.5; }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .hero { padding: 60px 0 52px; }
}

/* ---------- Hero bottom wave ---------- */
.hero-wave {
  background: var(--purple);
  line-height: 0;
  height: 40px;
  overflow: hidden;
}
.hero-wave svg { width: 100%; height: 40px; display: block; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section--light { background: var(--bg); }
.section--white { background: var(--white); }
.section--purple { background: var(--purple); color: var(--white); }
.section--pale   { background: var(--purple-50); }

.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin-inline: auto; }

/* ---------- Grid layouts ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Kernwaarden / Feature card ---------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-50);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--purple);
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature-card p { color: var(--text-500); margin-bottom: 0; font-size: 0.93rem; }

/* ---------- News cards ---------- */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card-image {
  aspect-ratio: 16/9;
  background: var(--purple-100);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
  color: var(--purple-400);
}
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.news-date { font-size: 0.8rem; color: var(--text-300); }
.news-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}
.news-card-body p {
  color: var(--text-500);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 16px;
}
.news-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t);
}
.news-read-more:hover { gap: 10px; }

/* ---------- Social feed ---------- */
.social-feed-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-500);
  transition: all var(--t);
}
.tab-btn:hover { border-color: var(--purple); color: var(--purple); }
.tab-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.tab-pane { display: none; }
.tab-pane.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.social-post {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.social-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.social-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--purple-100);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--purple);
  flex-shrink: 0;
}
.social-post-meta { flex: 1; }
.social-post-meta .name { font-weight: 600; font-size: 0.9rem; color: var(--text-900); }
.social-post-meta .date { font-size: 0.78rem; color: var(--text-300); }
.social-platform { display: flex; align-items: center; }
.social-post-text { font-size: 0.9rem; color: var(--text-700); line-height: 1.6; }
.social-post-image {
  margin-top: 12px;
  border-radius: var(--r-md);
  background: var(--purple-50);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-300);
  font-size: 0.8rem;
}

/* ---------- Member / Person card ---------- */
.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--t), transform var(--t);
}
.person-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.person-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--purple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  border: 3px solid var(--purple-50);
  overflow: hidden;
}
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-card .name { font-size: 1.05rem; margin-bottom: 4px; }
.person-card .role { font-size: 0.83rem; color: var(--text-500); margin-bottom: 12px; }

/* ---------- Nieuws / Article page ---------- */
.article-header { padding: 60px 0 40px; background: var(--white); }
.article-body { padding: 40px 0 80px; }
.article-content {
  max-width: 720px;
}
.article-content h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.6rem; }
.article-content h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.25rem; }
.article-content p  { margin-bottom: 1.2em; }
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 1.2em;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid var(--yellow);
  padding: 16px 20px;
  background: var(--yellow-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-700);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-600) 100%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 48px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 520px; margin-inline: auto; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Newsletter section ---------- */
.newsletter-form {
  max-width: 520px;
  margin-inline: auto;
}
.newsletter-form .input-row {
  display: flex;
  gap: 10px;
}
.newsletter-form input { flex: 1; }

@media (max-width: 480px) {
  .newsletter-form .input-row { flex-direction: column; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--purple-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-info-text .label { font-size: 0.78rem; color: var(--text-300); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-text .value { font-size: 0.93rem; color: var(--text-700); margin-top: 2px; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-300);
  padding: 16px 0;
}
.breadcrumb a { color: var(--text-500); }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb-sep { color: var(--text-300); }
.breadcrumb .current { color: var(--text-700); }

/* ---------- Page header ---------- */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.page-header h1 { margin-bottom: 12px; }
.page-header .lead { max-width: 640px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
}
.page-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-500);
  background: var(--white);
  transition: all var(--t);
}
.page-btn:hover { border-color: var(--purple); color: var(--purple); }
.page-btn.active { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* ---------- Alert / Notice ---------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.alert-success { background: #EBF7EE; color: #1E5C2B; border: 1px solid #B7E0C0; }
.alert-error   { background: #FDF0EF; color: #8B1A1A; border: 1px solid #F5C0BD; }
.alert-info    { background: var(--purple-50); color: var(--purple); border: 1px solid var(--purple-100); }
.alert-warning { background: var(--yellow-light); color: var(--yellow-dark); border: 1px solid #F0D87A; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 10, 28, 0.55);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform var(--t);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}
.modal-header h3 { font-size: 1.15rem; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-300);
  padding: 4px;
  border-radius: var(--r-sm);
  font-size: 1.25rem;
  line-height: 1;
  transition: color var(--t), background var(--t);
}
.modal-close:hover { color: var(--text-900); background: var(--bg); }
.modal-body { padding: 20px 28px 28px; }
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--text-900);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  animation: toastIn 0.25s ease;
}
.toast.success { background: #1E5C2B; }
.toast.error   { background: #8B1A1A; }
.toast.warning { background: #7A5200; }
@keyframes toastIn {
  from { transform: translateX(24px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-about { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-col h4 {
  font-family: var(--f-heading);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--yellow); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--t), color var(--t);
}
.social-icon:hover { background: var(--yellow); color: var(--purple); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Programma accordeon ---------- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 8px;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.accordion-trigger:hover { background: var(--purple-50); color: var(--purple); }
.accordion-trigger.open { background: var(--purple); color: var(--white); }
.accordion-chevron {
  transition: transform var(--t);
  flex-shrink: 0;
}
.accordion-trigger.open .accordion-chevron { transform: rotate(180deg); }
.accordion-content {
  display: none;
  padding: 20px;
  background: var(--bg);
  font-size: 0.93rem;
  color: var(--text-700);
  line-height: 1.7;
}
.accordion-content.open { display: block; }
.accordion-content ul { list-style: disc; padding-left: 20px; }
.accordion-content li { margin-bottom: 6px; }

/* ---------- Utilities ---------- */
.flex         { display: flex; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-sm       { gap: 8px; }
.gap-md       { gap: 16px; }
.gap-lg       { gap: 24px; }
.mt-sm  { margin-top: 12px; }
.mt-md  { margin-top: 20px; }
.mt-lg  { margin-top: 40px; }
.mb-md  { margin-bottom: 20px; }
.mb-lg  { margin-bottom: 40px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero-image { display: none; }
  body { background: white; }
}

/* ══════════════════════════════════════════
   ADDENDUM — aanvullende componenten
   ══════════════════════════════════════════ */

/* Bg alt */
.bg-alt { background: var(--bg); }

/* Form helpers */
.form-label  { display:block; font-size:0.875rem; font-weight:600; color:var(--text-700); margin-bottom:6px; }
.form-control { width:100%; padding:10px 14px; border:1.5px solid var(--border); border-radius:var(--r-md); font-family:var(--f-body); font-size:0.95rem; color:var(--text-900); background:var(--white); transition:border-color var(--t),box-shadow var(--t); line-height:1.5; }
.form-control:focus { outline:none; border-color:var(--purple); box-shadow:0 0 0 3px rgba(61,26,75,.12); }
.form-select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6070' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:36px; }
.form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:600px) { .form-grid-2 { grid-template-columns:1fr; } }

/* Hero addendum */
.hero-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:0.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--yellow); margin-bottom:16px; }
.hero-eyebrow::before { content:''; display:block; width:20px; height:2px; background:var(--yellow); border-radius:2px; }
.hero-title { color:var(--white); margin-bottom:16px; }
.hero-title em { font-style:italic; color:var(--yellow); }
.hero-body { font-size:1.1rem; color:rgba(255,255,255,.8); margin-bottom:32px; line-height:1.7; }
.hero-visual { position:relative; z-index:1; }
.hero-landscape { position:absolute; bottom:0; left:0; right:0; line-height:0; z-index:0; pointer-events:none; }
.fraction-photo-placeholder { background:rgba(255,255,255,.06); border:2px dashed rgba(255,255,255,.2); border-radius:var(--r-xl); aspect-ratio:4/3; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:rgba(255,255,255,.5); padding:32px; text-align:center; font-size:.88rem; }
.fraction-photo { border-radius:var(--r-xl); aspect-ratio:4/3; overflow:hidden; box-shadow:0 8px 32px rgba(0,0,0,.35); }
.hero-badges { display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; align-items:stretch; }
.hero-badge { flex:1 1 0; min-width:130px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-left:3px solid var(--yellow); border-radius:var(--r-lg); padding:14px 16px; text-align:left; display:flex; flex-direction:column; justify-content:center; }
.hero-badge strong { display:block; font-family:var(--f-heading); font-size:1.1rem; color:var(--yellow); line-height:1.2; letter-spacing:.01em; }
.hero-badge span { display:block; margin-top:4px; font-size:.8rem; color:rgba(255,255,255,.82); line-height:1.35; }
.btn-outline-light { background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.45); }
.btn-outline-light:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.8); }

/* Feature card addendum */
.feature-title { font-size:1.15rem; margin-bottom:10px; color:var(--text-900); }
.feature-body  { color:var(--text-500); font-size:.93rem; line-height:1.7; margin-bottom:16px; }
.feature-link  { font-size:.875rem; font-weight:600; color:var(--purple); display:inline-flex; align-items:center; gap:4px; transition:gap var(--t); }
.feature-link:hover { gap:8px; }

/* News card addendum */
.news-title   { font-size:1.05rem; line-height:1.35; margin-bottom:8px; font-family:var(--f-heading); }
.news-title a { color:inherit; }
.news-title a:hover { color:var(--purple); }
.news-excerpt { color:var(--text-500); font-size:.9rem; line-height:1.6; margin-bottom:16px; flex:1; }
.news-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--purple),#5B2D7A); }

/* Person card addendum */
.person-name  { font-family:var(--f-heading); font-size:1.05rem; font-weight:700; color:var(--text-900); margin-bottom:4px; }
.person-role  { font-size:.83rem; color:var(--text-500); margin-bottom:10px; }
.person-bio   { font-size:.875rem; color:var(--text-500); line-height:1.65; margin-bottom:0; }
.person-card.compact { text-align:center; padding:20px 16px; min-width:140px; max-width:160px; }

/* Page header addendum */
.page-header-title { margin-bottom:8px; }
.page-header-sub   { color:var(--text-500); font-size:1.05rem; max-width:580px; margin-bottom:0; }

/* CTA banner addendum */
.cta-banner { padding:60px 48px; border-radius:0; }
.cta-banner-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-title { color:var(--white); font-family:var(--f-heading); font-size:clamp(1.4rem,2.5vw,2rem); margin-bottom:10px; }
.cta-body  { color:rgba(255,255,255,.8); line-height:1.7; max-width:520px; margin-bottom:0; }
.newsletter-form-inline { display:flex; gap:10px; flex-wrap:wrap; }
.newsletter-form-inline input { min-width:240px; }
@media (max-width:700px) { .cta-banner-inner { flex-direction:column; align-items:flex-start; } .newsletter-form-inline { width:100%; } .newsletter-form-inline input { flex:1; min-width:0; } }

/* Modal large */
.modal-large { max-width:720px; }

/* Accordion addendum */
.accordion-container { display:flex; flex-direction:column; gap:8px; }
.accordion-label { display:flex; align-items:center; gap:8px; }
.accordion-body { line-height:1.75; }
.accordion-body h4 { font-family:var(--f-heading); font-size:1rem; color:var(--purple); margin-bottom:10px; margin-top:20px; }
.accordion-body ul { list-style:disc; padding-left:20px; }
.accordion-body li { margin-bottom:8px; color:var(--text-700); }
.accordion-body p { color:var(--text-700); margin-bottom:12px; }

/* Social feed addendum */
.social-tabs { }
.tabs-nav { display:flex; gap:6px; margin-bottom:28px; flex-wrap:wrap; border-bottom:1px solid var(--border); padding-bottom:16px; }
.tabs-nav .tab-btn { border-radius:var(--r-md); border:1.5px solid transparent; padding:8px 16px; background:var(--white); }
.tabs-nav .tab-btn.active { background:var(--purple); border-color:var(--purple); color:white; }
.tab-pane { display:none; }
.tab-pane.active { display:block; }
.social-feed-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; background:var(--bg-alt,var(--bg)); border-radius:var(--r-lg); margin-bottom:20px; flex-wrap:wrap; }
.social-profile { display:flex; align-items:center; gap:12px; }
.social-profile strong { font-size:.95rem; display:block; }
.social-handle { font-size:.8rem; color:var(--text-500); }
.social-avatar.fb { background:#1877F2; color:white; }
.social-avatar.ig { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:white; border:none; }
.social-avatar.li { background:#0A66C2; color:white; }
.social-cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
.social-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px; }
.social-card-header { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.social-card-avatar { width:40px; height:40px; border-radius:50%; font-weight:700; font-size:.85rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.social-card-avatar.fb { background:#1877F2; color:white; }
.social-card-avatar.li { background:#0A66C2; color:white; }
.social-card-tekst { font-size:.9rem; color:var(--text-700); line-height:1.65; margin-bottom:12px; }
.social-card-stats { display:flex; gap:16px; font-size:.8rem; color:var(--text-300); border-top:1px solid var(--border-light); padding-top:10px; margin-top:10px; flex-wrap:wrap; }
.social-time { font-size:.78rem; color:var(--text-300); }
.instagram-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.instagram-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.instagram-image { aspect-ratio:1; display:flex; align-items:center; justify-content:center; }
.instagram-caption { padding:12px 14px; }
.instagram-caption p { font-size:.85rem; color:var(--text-700); line-height:1.5; margin-bottom:8px; }

/* Contact sidebar */
.contact-info { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:32px; box-shadow:var(--shadow-sm); }
.contact-info h3 { margin-bottom:24px; }
.contact-info-label { font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--text-300); font-weight:600; margin-bottom:2px; }
.contact-info-value { font-size:.93rem; color:var(--text-700); }

/* ══════════════════════════════════════════
   MOBIEL & TOUCH — iPhone / iPad optimalisatie
   ══════════════════════════════════════════ */

/* Tap-gedrag: geen grijze flits, geen dubbeltik-zoom op knoppen/links */
a, button, .btn, .tab-btn, .page-btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Safe-area (notch & home-indicator) */
.container, .container--narrow {
  padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
}
.mobile-nav {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}
.toast-container {
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
  left: max(16px, env(safe-area-inset-left));
  align-items: flex-end;
}
.site-footer { padding-bottom: env(safe-area-inset-bottom); }

/* Modal: rekening houden met iOS-adresbalk (dynamische viewport) */
@supports (height: 100dvh) {
  .modal { max-height: calc(100dvh - 32px); }
}

/* Touch-apparaten (iPhone & iPad) */
@media (pointer: coarse) {
  /* Voorkom autozoom van iOS Safari bij focus op invoervelden (<16px) */
  input[type="text"], input[type="email"], input[type="password"],
  input[type="tel"], input[type="number"], input[type="search"],
  select, textarea, .form-control { font-size: 16px; }

  /* Minimale tapdoelen van 44×44px (Apple-richtlijn) */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .nav-toggle { padding: 11px; margin-right: -6px; }
  .page-btn { width: 44px; height: 44px; }
  .password-toggle { padding: 10px; right: 6px; }
  .modal-close { padding: 10px; }
  .tab-btn { min-height: 44px; }
  .social-icon { width: 44px; height: 44px; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; }
}

/* Geen 'plakkende' hover-effecten op touchscreens */
@media (hover: none) {
  .btn:hover { transform: none; }
  .card:hover, .feature-card:hover, .news-card:hover, .person-card:hover {
    transform: none;
    box-shadow: none;
  }
  .feature-card:hover::after { transform: scaleX(0); }
  .btn:active { transform: scale(0.98); }
}

/* Bestuur: tekst + zijbalk */
.bestuur-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.bestuur-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .bestuur-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Compactere ritmiek op smartphones */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }
  .cta-banner { padding: 40px 24px; }
  .feature-card { padding: 24px; }
  .contact-info, .contact-info-card { padding: 24px; }
  .article-header { padding: 40px 0 28px; }
  .page-header { padding: 36px 0 30px; }

  /* Lange Nederlandse samenstellingen (bv. 'Verkiezingsprogramma')
     mogen afbreken in koppen op smalle schermen */
  h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
  h1 { font-size: clamp(1.65rem, 7.5vw, 2.4rem); }

  /* Header passend maken op smalle schermen */
  .header-inner { gap: 16px; }
  .logo-text .name { font-size: 0.9rem; }
  .logo-text .sub { font-size: 0.66rem; }

  /* Kaarten met inline 'grid-column: span 2' terug naar één kolom */
  .grid-2 > *, .grid-3 > *, .grid-4 > * { grid-column: auto !important; }
}

@media (max-width: 480px) {
  .container, .container--narrow {
    padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
  }
}

/* Zeer smalle schermen (iPhone SE/mini) */
@media (max-width: 380px) {
  .logo-text .sub { display: none; }
  .logo-text .name { font-size: 0.9rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   VOLG ONS — kanaalkaarten (nieuwspagina)
   ════════════════════════════════════════════════════════════════ */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.social-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  min-height: 76px;
}

.social-link-card:hover,
.social-link-card:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--purple);
}

.social-link-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--purple);
}

.social-link-icon.fb { background: #1877F2; }
.social-link-icon.ig { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%); }
.social-link-icon.li { background: #0A66C2; }
.social-link-icon.x  { background: #14171A; }
.social-link-icon.kk { background: var(--green); }

.social-link-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.social-link-body strong {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.social-link-body span {
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-link-arrow {
  flex-shrink: 0;
  color: var(--purple);
  font-size: 1.1rem;
  opacity: .55;
  transition: transform .18s ease, opacity .18s ease;
}

.social-link-card:hover .social-link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (hover: none) {
  .social-link-card:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   RONDE 'WORD LID'-KNOP — overlapt de fractiefoto in de hero
   ════════════════════════════════════════════════════════════════ */
.hero-visual { position: relative; }

.lid-badge {
  position: absolute;
  top: -50px;
  right: -30px;
  z-index: 3;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--purple);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 6px rgba(61,26,75,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lid-badge:hover,
.lid-badge:focus-visible {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 0 6px rgba(61,26,75,.55);
}

.lid-badge-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
  padding: 0 10px;
}

.lid-badge-top {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.lid-badge-main {
  font-family: var(--f-heading);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.lid-badge-sub {
  margin-top: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  opacity: .78;
}

/* Tablet en kleiner: knop iets kleiner en netjes binnen beeld */
@media (max-width: 900px) {
  .lid-badge { width: 124px; height: 124px; top: -40px; right: -10px; }
  .lid-badge-main { font-size: 1.1rem; }
  .lid-badge-top  { font-size: 0.74rem; }
  .lid-badge-sub  { font-size: 0.68rem; }
}

@media (max-width: 480px) {
  .lid-badge { width: 104px; height: 104px; top: -34px; right: -6px; box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 0 5px rgba(61,26,75,.55); }
  .lid-badge-main { font-size: 0.95rem; }
  .lid-badge-top  { font-size: 0.66rem; letter-spacing: .08em; }
  .lid-badge-sub  { display: none; }
}

@media (hover: none) {
  .lid-badge:hover { transform: none; }
}

@media print {
  .lid-badge { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   WETHOUDER-KAART (fractiepagina)
   ════════════════════════════════════════════════════════════════ */
.wethouder-card {
  position: relative;
  background: linear-gradient(135deg, var(--purple) 0%, #5B2D7A 100%);
  border-radius: var(--r-lg);
  padding: 30px 32px 28px;
  box-shadow: 0 8px 26px rgba(61,26,75,.28);
  border-left: 6px solid var(--yellow);
}

.wethouder-kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--purple);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill, 999px);
  margin-bottom: 18px;
}

.wethouder-card .person-name { color: var(--white); }
.wethouder-card .person-role { color: var(--yellow); font-weight: 600; }
.wethouder-card .person-bio  { color: rgba(255,255,255,.85); }

.wethouder-card .person-avatar {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}

.wethouder-card .feature-link { color: var(--yellow) !important; }

@media (max-width: 600px) {
  .wethouder-card { padding: 24px 20px; }
}

/* Uitgelichte persoonskaart (wethouder) in de fractie-preview */
.person-card.compact.accent {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px var(--purple-50), var(--shadow-sm);
}
.person-card.compact.accent .person-role {
  color: var(--purple);
  font-weight: 700;
}

/* Honeypot — verborgen veld tegen spambots (niet zichtbaar, wel invulbaar voor bots) */
.hp-veld {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════
   TEKSTPAGINA (privacyverklaring en vergelijkbare pagina's)
   ════════════════════════════════════════════════════════════════ */
.tekstpagina {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.85;
}

.tekstpagina .lead {
  font-size: 1.06rem;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.tekstpagina h2 {
  font-family: var(--f-heading);
  font-size: 1.28rem;
  color: var(--purple);
  margin: 40px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.tekstpagina h3 {
  font-family: var(--f-heading);
  font-size: 1.02rem;
  color: var(--text-primary);
  margin: 26px 0 8px;
}

.tekstpagina p  { margin-bottom: 14px; }
.tekstpagina ul { margin: 0 0 18px 22px; }
.tekstpagina li { margin-bottom: 7px; }
.tekstpagina a  { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }

.tekstpagina-datum {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════
   COOKIEMELDING — verschijnt alleen wanneer er statistieken
   zijn ingesteld in de beheeromgeving
   ════════════════════════════════════════════════════════════════ */
.cookie-melding {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  max-width: 760px;
  margin: 0 auto;
  background: var(--purple);
  color: rgba(255,255,255,.9);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-melding-tekst { flex: 1 1 320px; }
.cookie-melding-tekst a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }

.cookie-melding-knoppen {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-melding .btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}

@media (max-width: 560px) {
  .cookie-melding { padding: 16px; }
  .cookie-melding-knoppen { width: 100%; }
  .cookie-melding-knoppen .btn { flex: 1; justify-content: center; }
}

@media print { .cookie-melding { display: none; } }

/* E-mailadres onder een fractielid */
.persoon-mail {
  font-size: 0.82rem;
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid var(--purple-100, rgba(61,26,75,.25));
  padding-bottom: 1px;
}
.persoon-mail:hover { border-bottom-color: var(--purple); }

/* ════════════════════════════════════════════════════════════════
   INGEBED AANMELDFORMULIER VAN LAPOSTA
   Het formulier komt van Laposta; wij zorgen alleen dat het
   netjes in de pagina past en meegroeit op een telefoon.
   ════════════════════════════════════════════════════════════════ */
.laposta-kader {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}

.laposta-kader iframe {
  display: block;
  width: 100%;
  min-height: 460px;
  border: 0;
}

@media (max-width: 560px) {
  .laposta-kader iframe { min-height: 540px; }
}
