/* Ouderraad Mariadal — styles taken from the Claude Design wireframes. */
:root {
  --navy: #27348B;
  --navy-dark: #1B2466;
  --ink: #1A1F45;
  --ink-soft: #3A4070;
  --muted: #4A5078;
  --periwinkle: #5C66A8;
  --line: #C9CCE2;
  --line-soft: #DDE0EF;
  --tint: #EEF0F8;
  --tint-soft: #F7F8FC;
  --cream: #FFF6CF;
  --white: #FFFFFF;
  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--navy-dark); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 2px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }
.container { max-width: 1120px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band-tint { background: var(--tint); }
.band-cream { background: var(--cream); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* — header — */
.site-header { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.site-header .container { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.brand-sub { font-size: 13px; color: var(--muted); }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 2px solid var(--navy); border-radius: 12px; background: var(--white); color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.main-nav a { padding: 11px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.main-nav a:hover { background: var(--tint); color: var(--navy); }
.main-nav a[aria-current="page"] { font-weight: 700; color: var(--navy); background: var(--tint); }
.main-nav a.nav-cta { padding: 11px 20px; font-weight: 700; color: var(--white); background: var(--navy); margin-left: 8px; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta[aria-current="page"] { background: var(--navy-dark); color: var(--white); }
@media (max-width: 749px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; align-items: stretch; flex-basis: 100%; padding-bottom: 8px; }
  .main-nav a.nav-cta { margin-left: 0; }
}

/* — footer — */
.site-footer { background: var(--navy-dark); color: var(--white); }
.site-footer .container { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.site-footer a { color: var(--white); padding: 6px 0; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-content: start; }

/* — shared pieces — */
.page-hero .container { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.page-title { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; text-wrap: balance; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 680px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.label { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.section-title { font-size: 34px; }
.section-title-sm { font-size: 30px; }
.text-link { font-weight: 700; padding: 11px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; border: 0; }
.btn-primary { color: var(--white); background: var(--navy); }
.btn-primary:hover { color: var(--white); background: var(--navy-dark); }
.btn-outline { padding: 12px 24px; color: var(--navy); border: 2px solid var(--navy); background: transparent; }
.btn-outline:hover { background: var(--tint); }
.btn-cream { color: var(--navy-dark); background: var(--cream); }
.btn-cream:hover { color: var(--navy-dark); background: #FFEFA8; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h2 { font-size: 24px; color: var(--navy); }
.card p { flex: 1; }
.cta-panel { background: var(--navy); color: var(--white); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-panel h2 { color: var(--white); font-size: 30px; }
.cta-panel .cta-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.cta-panel p { font-size: 18px; }
@media (max-width: 520px) { .cta-panel { padding: 32px 24px; } }
.section { padding-top: 72px; padding-bottom: 72px; }
.empty { color: var(--muted); padding: 14px 0; }

.year-nav { display: flex; align-items: center; gap: 8px; }
.year-nav .round { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); color: var(--navy); font-size: 20px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.year-nav a.round:hover { border-color: var(--navy); }
.year-nav span.round { opacity: 0.35; }
.year-nav .year-label { font-weight: 700; color: var(--navy); }

/* — home — */
.home-hero { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.home-hero .hero-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.home-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.08; text-wrap: balance; }
.home-hero .lead { max-width: 520px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { flex: 1 1 380px; background: var(--cream); border-radius: 28px; padding: 20px; }
.hero-photo img { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 16px; }
.photo-placeholder { height: 340px; border-radius: 16px; background: var(--line-soft); border: 2px dashed var(--periwinkle); display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 600; font-size: 15px; text-align: center; padding: 16px; }
.next-meeting .container { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.next-meeting .facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.next-meeting .facts .title { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--navy-dark); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.tasks .container { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.tasks-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.task { background: var(--white); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.task-num { font-family: var(--font-head); font-weight: 600; font-size: 28px; color: var(--periwinkle); }
.task-name { font-weight: 700; font-size: 18px; }

/* — vergaderingen — */
.meetings-layout { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.meetings-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.meeting-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); min-height: 72px; }
.meeting-row .day { flex: 0 0 110px; color: var(--muted); }
.meeting-row .date { flex: 1 1 200px; font-weight: 700; font-size: 18px; }
.meeting-row .time { color: var(--muted); }
.meeting-row.past .date { color: var(--ink-soft); }
.aside-cream { flex: 1 1 300px; background: var(--cream); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.aside-cream h2 { font-size: 24px; }
.fact { display: flex; flex-direction: column; gap: 2px; }

/* — activiteiten — */
.activity-list { padding-top: 64px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 16px; }
.activity-list + .activity-list { padding-top: 48px; padding-bottom: 48px; }
.activity-list h2 { margin-bottom: 8px; }
.activity { border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.activity .when { flex: 0 0 96px; height: 96px; border-radius: 16px; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; color: var(--navy-dark); line-height: 1.2; }
.activity .when .d { font-family: var(--font-head); font-size: 22px; }
.activity .when .m { font-size: 13px; }
.activity .what { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.activity h3 { font-size: 24px; }
.activity .what p { color: var(--ink-soft); white-space: pre-line; }
.activity.past { background: var(--tint-soft); border-color: transparent; }
.activity.past .when { background: var(--line-soft); color: var(--ink-soft); }
.activity.past h3 { color: var(--ink-soft); }
.activity.past .what p { color: var(--muted); }
.promo-grid { padding-top: 24px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.promo { border-radius: 24px; padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.promo h2 { font-size: 26px; }
.promo p { flex: 1; }
.promo.cream { background: var(--cream); }
.promo.navy { background: var(--navy); color: var(--white); }
.promo.navy h2 { color: var(--white); }

/* — foto's — */
.gallery-section { padding-top: 48px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px 24px; }
.gallery-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.gallery-card .cover { height: 220px; border-radius: 18px; overflow: hidden; background: var(--line-soft); }
.gallery-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-card:hover .cover img { transform: scale(1.03); }
.gallery-card .meta { display: flex; flex-direction: column; }
.gallery-card .title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.gallery-card .title { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--navy-dark); }
.gallery-card .date, .gallery-card .sub { font-size: 15px; color: var(--muted); }
.fb-strip { background: var(--cream); border-radius: 24px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.fb-strip span { font-weight: 700; font-size: 18px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.75); color: var(--white); display: flex; flex-direction: column; padding: 16px clamp(12px, 3vw, 32px); gap: 12px; overscroll-behavior: contain; }
.lightbox[hidden], .lightbox [hidden] { display: none !important; }
.lb-head { display: flex; align-items: flex-start; gap: 16px; }
.lb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lb-text h2 { color: var(--white); font-size: clamp(22px, 3vw, 30px); }
.lb-sub { font-weight: 700; }
.lb-desc { color: rgba(255, 255, 255, 0.85); font-size: 15px; max-width: 80ch; white-space: pre-line; max-height: 4.8em; overflow: auto; }
.lb-close, .lb-arrow { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-close:hover, .lb-arrow:hover { background: rgba(255, 255, 255, 0.28); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; gap: 12px; }
.lb-figure { flex: 1; min-width: 0; height: 100%; margin: 0; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb-figure img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.lb-count { text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.lb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-behavior: smooth; justify-content: safe center; }
.lb-strip button { flex: none; width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: 0.6; }
.lb-strip button[aria-current="true"] { border-color: var(--white); opacity: 1; }
.lb-strip button:hover { opacity: 1; }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .lb-arrow { display: none; } .lb-strip button { width: 64px; height: 50px; } }

/* — leden — */
.member-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 20px; }
.member { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.member .avatar { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 12px; object-fit: cover; background: var(--line-soft); }
.member .avatar-empty { display: flex; align-items: center; justify-content: center; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 30px; }
.member .name { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--navy-dark); }
.member .parent { font-size: 15px; color: var(--muted); }
.member a { font-weight: 700; font-size: 15px; padding: 11px 0; }

/* — bevoegdheden — */
.bev-hero .container { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.bev-hero .hero-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 16px; }
.bev-hero figure { flex: 1 1 320px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bev-hero blockquote { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 24px; line-height: 1.3; color: var(--navy); }
.bev-hero figcaption { font-weight: 700; color: var(--ink-soft); }
.task-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.task-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.task-card h3 { font-size: 22px; color: var(--navy); }
.powers-list { margin: 0; padding: 0 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 12px 56px; font-weight: 600; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.info-card { background: var(--tint); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.info-card strong { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--navy-dark); }
.rules { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.rules-intro { flex: 1 1 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rules-intro .btn { margin-top: 8px; }
.accordion { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 14px 0; font-weight: 700; cursor: pointer; }
.accordion .article { padding-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.accordion .article ul, .accordion .article ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.accordion .article h4 { margin: 4px 0 0; font-size: 17px; color: var(--navy); }
.accordion .article .num { font-weight: 700; color: var(--navy); margin-right: 6px; }

/* — contact — */
.contact-layout { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.contact-info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; }
.contact-info .intro { display: flex; flex-direction: column; gap: 16px; }
.contact-info .lead { max-width: none; }
.contact-facts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-facts > div { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-facts a { font-weight: 700; padding: 8px 0; }
.contact-form { flex: 1 1 420px; background: var(--cream); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 520px) { .contact-form { padding: 28px 20px; } }
.contact-form h2 { font-size: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 0 16px; border: 2px solid var(--periwinkle); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
.field textarea { padding: 12px 16px; resize: vertical; }
.contact-form .btn { align-self: flex-start; min-height: 52px; padding: 0 32px; }
.form-note { font-size: 14px; color: var(--ink-soft); }
.field-error { color: #B3261E; font-size: 14px; font-weight: 700; }
.field-error ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
