/* Sint Antoniusgilde Stiphout — huisstijl overgenomen van de Wix-site */
/* Lettertypes lokaal (geen verbinding met Google): Libre Baskerville en Quicksand, SIL Open Font License */
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-baskerville-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/quicksand-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/quicksand-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/quicksand-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/quicksand-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/quicksand-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/quicksand-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --groen: #007451;
  --groen-donker: #005a3f;
  --teal: #255156;
  --teal-donker: #183a3e;
  --zand: #f6f4ef;
  --lijn: #e3dfd6;
  --tekst: #333333;
  --tekst-zacht: #595959;
  --wit: #ffffff;
  --radius: 6px;
  --watermerk: 4.5%; /* sterkte van het logo-watermerk (tint van de sectiekleur) */
  --patroon: 5%; /* sterkte van het heraldische ruitpatroon */
  --max: 1120px;
  --kop: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --body: "Quicksand", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--tekst);
  background: var(--wit);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--groen); }
a:hover { color: var(--groen-donker); }
h1, h2, h3, h4 { font-family: var(--kop); color: var(--teal); line-height: 1.3; margin: 0 0 .6em; font-weight: 400; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header / navigatie ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--lijn);
  backdrop-filter: blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px 0; }
.logo img { height: 52px; width: auto; }
.logo span { font-family: var(--kop); color: var(--teal); font-size: 1.15rem; line-height: 1.2; padding-left: 12px; border-left: 1px solid var(--lijn); }
.logo small { display: block; font-family: var(--body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--groen); font-weight: 700; }
@media (max-width: 420px) { .logo span { font-size: .92rem; } .logo img { height: 46px; } }

/* Profielkop op de homepage: embleem met witte rand steekt uit in de volgende sectie */
.hero--profiel { z-index: 2; }
.hero--profiel .container { padding-bottom: 26px; }
.profiel { display: flex; align-items: flex-end; gap: 32px; }
.profiel h1 { margin: 0; max-width: 16ch; }
.hero-embleem {
  flex: none; width: 180px; aspect-ratio: 1; position: relative; z-index: 3; overflow: hidden;
  display: grid; place-items: center;
  margin-bottom: -122px; border: 6px solid var(--wit); border-radius: 18px;
  background: var(--groen); box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
/* Het paviljoen in grijstinten, groen ingekleurd, met het witte logo erover */
.hero-embleem::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/paviljoen.webp") center / cover;
  filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .5;
}
.hero-embleem img { position: relative; width: 66%; height: auto; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.hero--profiel + .sectie { padding-top: 140px; }
@media (max-width: 700px) {
  .profiel { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .hero-embleem { width: 124px; margin-bottom: -84px; border-width: 5px; border-radius: 14px; }
  .hero--profiel + .sectie { padding-top: 100px; }
}
.footer-embleem { width: 84px; height: auto; margin-bottom: 16px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 8px 12px; border-radius: var(--radius);
  color: var(--teal); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav a:hover { background: var(--zand); color: var(--groen); }
.nav a[aria-current="page"] { color: var(--groen); box-shadow: inset 0 -2px 0 var(--groen); border-radius: 0; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--lijn); border-radius: var(--radius);
  padding: 8px 12px; font: inherit; font-weight: 600; color: var(--teal); cursor: pointer;
}

/* Submenu: op desktop een uitklapper bij hover of toetsenbordfocus */
.heeft-sub { position: relative; }
.heeft-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.sub-toggle { display: none; }
.nav .sub {
  position: absolute; top: 100%; left: 0; z-index: 50; min-width: 240px;
  display: flex; flex-direction: column; gap: 0; padding: 8px;
  background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* brug voor de muis */
.heeft-sub:hover > .sub, .heeft-sub:focus-within > .sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease;
}
.nav .sub a { font-weight: 500; white-space: nowrap; }
.nav .sub a[aria-current="page"] { box-shadow: none; border-radius: var(--radius); background: var(--zand); }
.sectie[id] { scroll-margin-top: 80px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--lijn); display: none; max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--groen); }
  /* Mobiel: submenu klapt open met de pijlknop naast de link */
  .heeft-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .heeft-sub > a { flex: 1; }
  .heeft-sub > a::after { display: none; }
  .sub-toggle {
    display: block; width: 44px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--teal);
  }
  .sub-toggle::before {
    content: ""; display: inline-block; width: 8px; height: 8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .15s ease;
  }
  .heeft-sub.open .sub-toggle::before { transform: rotate(-135deg); }
  .nav .sub {
    position: static; flex-basis: 100%; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none; display: none;
  }
  .nav .sub::before { display: none; }
  .heeft-sub.open > .sub { display: flex; }
  .nav .sub a { font-size: .9rem; padding: 6px 12px; white-space: normal; }
  .nav .sub a[aria-current="page"] { background: none; box-shadow: inset 3px 0 0 var(--groen); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; min-height: min(62vh, 640px);
  display: flex; align-items: flex-end;
  background: var(--teal) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,58,62,.15) 0%, rgba(24,58,62,.75) 100%); }
.hero .container { position: relative; padding-top: 80px; padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero p { max-width: 60ch; font-size: 1.1rem; }
.hero--klein { min-height: 0; }
.hero--klein .container { padding-top: 64px; padding-bottom: 48px; }

/* ---------- Secties ---------- */
.sectie { padding: 72px 0; }
.sectie--zand { background: var(--zand); }
.sectie--teal { background: var(--teal); color: #e9f0f0; }
.sectie--teal h2, .sectie--teal h3 { color: #fff; }
.label { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--groen); font-weight: 700; margin-bottom: .6em; }
.sectie--teal .label { color: #9fd3bf; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split--omgekeerd > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--omgekeerd > :first-child { order: 0; }
}

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--groen); color: #fff; text-decoration: none; font-weight: 700;
  border: 2px solid var(--groen); cursor: pointer; font: inherit; font-weight: 700;
}
.knop:hover { background: var(--groen-donker); border-color: var(--groen-donker); color: #fff; }
.knop--rand { background: transparent; color: var(--groen); }
.knop--rand:hover { background: var(--groen); color: #fff; }

/* ---------- Kaarten / disciplines / agenda ---------- */
.kaarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.kaart {
  background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.kaart img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.kaart .inhoud { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.kaart .inhoud p { color: var(--tekst-zacht); flex: 1; }
.kaart a.meer { font-weight: 700; text-decoration: none; }

.agenda-lijst { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.agenda-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 18px 20px;
}
.datum { text-align: center; background: var(--teal); color: #fff; border-radius: var(--radius); padding: 10px 6px; line-height: 1.15; }
.datum .dag { font-family: var(--kop); font-size: 1.9rem; display: block; }
.datum .maand { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.datum .jaar { font-size: .8rem; opacity: .8; }
.agenda-item h3 { margin: 0 0 .2em; }
.agenda-item p { margin: 0; color: var(--tekst-zacht); }

/* ---------- Galerij + lightbox ---------- */
.galerij { columns: 3 260px; column-gap: 14px; }
.galerij a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.galerij img { width: 100%; transition: transform .35s ease; }
.galerij a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; background: rgba(10, 20, 22, .92); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; border-radius: 4px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-sluit { top: 16px; right: 16px; }
.lb-vorige { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-volgende { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Facebook-nieuws ---------- */
.nieuws-grid { display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: 48px; align-items: start; }
@media (max-width: 900px) { .nieuws-grid { grid-template-columns: 1fr; } }
.fb-feed {
  width: 100%; max-width: 500px; min-height: 420px; background: #fff;
  border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.fb-feed iframe { display: block; width: 100%; border: 0; }
.fb-toestemming { text-align: center; padding: 36px 28px; color: var(--tekst); }
.fb-toestemming svg { width: 44px; height: 44px; margin: 0 auto 14px; display: block; }
.fb-toestemming p { color: var(--tekst-zacht); font-size: .92rem; }
.fb-toestemming label { display: block; font-size: .85rem; color: var(--tekst-zacht); margin-top: 12px; cursor: pointer; }

.sectie-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sectie-kop h2 { margin-bottom: 0; }
.nieuws-terugval { display: flex; justify-content: center; }
.nieuws-terugval[hidden] { display: none; }

.nieuws-lijst { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.nieuws-lijst:empty { display: none; }
.nieuws-kaart {
  background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.nieuws-kaart:hover { box-shadow: 0 10px 28px rgba(0,0,0,.09); transform: translateY(-2px); }
.nieuws-foto { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--zand); }
.nieuws-foto img { width: 100%; height: 100%; object-fit: cover; }
.nieuws-kaart .inhoud { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.nieuws-datum { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--groen); margin-bottom: .5em; }
.nieuws-kaart h3 { margin-bottom: .4em; }
.nieuws-tekst {
  color: var(--tekst-zacht); white-space: pre-line; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.nieuws-kaart .meer { font-weight: 700; text-decoration: none; margin-top: auto; }
.nieuws-interactie { display: flex; gap: 16px; margin: auto 0 .7em; padding-top: .8em; border-top: 1px solid var(--lijn); font-size: .85rem; color: var(--tekst-zacht); }
.nieuws-interactie + .meer { margin-top: 0; }
.nieuws-stat { display: inline-flex; align-items: center; gap: 5px; }
.nieuws-stat svg { width: 15px; height: 15px; fill: var(--groen); opacity: .75; }
.visueel-verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nieuwspagina: paginering */
.paginering { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.paginering[hidden] { display: none; }
.paginering-knop {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--lijn); background: #fff; color: var(--groen);
  font-weight: 700; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.paginering-knop:hover { border-color: var(--groen); color: var(--groen); }
.paginering-knop[aria-current="page"] { background: var(--groen); border-color: var(--groen); color: #fff; }
.paginering-puntjes { color: var(--tekst-zacht); padding: 0 4px; }
@media (max-width: 560px) {
  .paginering-pijl { flex: 1 1 40%; order: 1; }
  .paginering-knop:not(.paginering-pijl) { min-width: 40px; height: 40px; padding: 0 10px; }
}

/* Nieuwspagina: eerste bericht groot */
@media (min-width: 900px) {
  .nieuws-lijst--uitgelicht .nieuws-kaart:first-child { grid-column: 1 / -1; flex-direction: row; }
  .nieuws-lijst--uitgelicht .nieuws-kaart:first-child .nieuws-foto { flex: 0 0 55%; aspect-ratio: auto; min-height: 340px; }
  .nieuws-lijst--uitgelicht .nieuws-kaart:first-child .inhoud { padding: 36px 40px; justify-content: center; }
  .nieuws-lijst--uitgelicht .nieuws-kaart:first-child h3 { font-size: 1.6rem; }
  .nieuws-lijst--uitgelicht .nieuws-kaart:first-child .nieuws-tekst { -webkit-line-clamp: 9; flex: 0 1 auto; margin-bottom: 1.2em; }
}

/* ---------- Aanmelden blok ---------- */
.cta { background: var(--zand); border-left: 4px solid var(--groen); padding: 28px 32px; border-radius: var(--radius); margin-top: 40px; }
.cta h2 { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-donker); color: #cfdcdc; padding: 56px 0 28px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer a { color: #9fd3bf; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-onder { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #8fa6a6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Tradities (over.html) ---------- */
.tradities { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 8px 0 0; }
.tradities > div { background: var(--zand); border-top: 3px solid var(--groen); border-radius: var(--radius); padding: 22px 24px; }
.tradities dt { font-family: var(--kop); color: var(--teal); font-size: 1.1rem; margin-bottom: .4em; }
.tradities dd { margin: 0; color: var(--tekst-zacht); }

.knop--licht { background: transparent; border-color: #fff; color: #fff; margin-left: 8px; }
.knop--licht:hover { background: #fff; color: var(--teal); border-color: #fff; }
.label + h2 { margin-top: 0; }

/* Bericht met alleen een foto: foto vult de kaart */
.nieuws-kaart--foto .nieuws-foto { flex: 1; aspect-ratio: auto; min-height: 220px; }
.nieuws-kaart--foto .inhoud { flex: 0 0 auto; padding-top: 14px; padding-bottom: 18px; }

/* ---------- Logo als watermerk achter elke sectie ----------
   Het embleem is een masker gevuld met een tint van de sectiekleur:
   iets donkerder op licht, iets lichter op teal. */
.sectie { position: relative; overflow: hidden; isolation: isolate; --sectie-bg: var(--wit); --wm-inkt: var(--teal); }
.sectie--zand { --sectie-bg: var(--zand); }
.sectie--teal { --sectie-bg: var(--teal); --wm-inkt: var(--wit); }
.sectie::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 340px; aspect-ratio: 197 / 280; top: 50%; right: -50px;
  background: color-mix(in srgb, var(--wm-inkt) var(--watermerk), var(--sectie-bg));
  -webkit-mask: url("../images/logo/antonius_embleem_groen.svg") no-repeat center / contain;
  mask: url("../images/logo/antonius_embleem_groen.svg") no-repeat center / contain;
  transform: translateY(-50%) rotate(-8deg);
}
.sectie:nth-of-type(even)::before { right: auto; left: -50px; transform: translateY(-50%) rotate(8deg); }
/* Donkere secties: diapositieve variant (alleen de lijnen lichten op) */
.sectie--teal::before {
  aspect-ratio: 208 / 279; --watermerk: 9%;
  -webkit-mask-image: url("../images/logo/antonius_embleem_diap.svg");
  mask-image: url("../images/logo/antonius_embleem_diap.svg");
}
@media (max-width: 760px) {
  .sectie::before { width: 220px; right: -40px; }
  .sectie:nth-of-type(even)::before { left: -40px; }
}
.sectie--teal a:not(.knop) { color: #9fd3bf; }
.sectie--teal a:not(.knop):hover { color: #fff; }

/* ---------- Vrienden van het gilde ---------- */
.intro { font-size: 1.2rem; line-height: 1.6; color: var(--teal); margin-bottom: 1.6em; }
.split .intro ~ h2 { font-size: 1.35rem; margin-top: 1.2em; }
.vinkjes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vinkjes li { position: relative; padding-left: 32px; }
.vinkjes li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.fotostapel { display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); gap: 18px; justify-content: center; align-items: start; }
.fotostapel img { width: 100%; border-radius: 18px; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.fotostapel img:nth-child(2) { margin-top: 48px; }
.kaarten--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kaart--tekst { border-top: 3px solid var(--groen); }
.fotostapel img { aspect-ratio: 1; object-fit: cover; }
.fotostapel img.rechts { object-position: 85% center; }

/* ---------- Heraldisch ruitpatroon over elke sectie ----------
   Ruiten (losanges) met afwisselend een lelie (fleur-de-lis) en een punt, in een tint van de sectiekleur.
   Sterk aan de randen, verdwijnt naar het midden zodat tekst rustig blijft. */
.sectie::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: color-mix(in srgb, var(--wm-inkt) var(--patroon), var(--sectie-bg));
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M0%2032L32%200L64%2032L32%2064Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M32%2019c-3.2%203.6-3.8%207.6-1.6%2012.6h3.2c2.2-5%201.6-9-1.6-12.6zM30.6%2032.4c-1.8-4.6-5.4-6.6-8.4-5.2c-1%202.8%201.2%205.4%204.4%205.2c-1.6-1-2.2-2.2-1.6-3.2c2-.2%203.8%201.2%205.6%203.2zM33.4%2032.4c1.8-4.6%205.4-6.6%208.4-5.2c1%202.8-1.2%205.4-4.4%205.2c1.6-1%202.2-2.2%201.6-3.2c-2-.2-3.8%201.2-5.6%203.2zM26.8%2033.2h10.4v1.8H26.8zM30.6%2035.6h2.8c.2%202.4%201.4%204%203%205.2h-8.8c1.6-1.2%202.8-2.8%203-5.2z%22%20fill%3D%22black%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%2264%22%20cy%3D%220%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%2264%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%221.8%22%2F%3E%3C%2Fsvg%3E") 0 0 / 64px 64px repeat, radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, black 85%);
  -webkit-mask-composite: source-in;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M0%2032L32%200L64%2032L32%2064Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M32%2019c-3.2%203.6-3.8%207.6-1.6%2012.6h3.2c2.2-5%201.6-9-1.6-12.6zM30.6%2032.4c-1.8-4.6-5.4-6.6-8.4-5.2c-1%202.8%201.2%205.4%204.4%205.2c-1.6-1-2.2-2.2-1.6-3.2c2-.2%203.8%201.2%205.6%203.2zM33.4%2032.4c1.8-4.6%205.4-6.6%208.4-5.2c1%202.8-1.2%205.4-4.4%205.2c1.6-1%202.2-2.2%201.6-3.2c-2-.2-3.8%201.2-5.6%203.2zM26.8%2033.2h10.4v1.8H26.8zM30.6%2035.6h2.8c.2%202.4%201.4%204%203%205.2h-8.8c1.6-1.2%202.8-2.8%203-5.2z%22%20fill%3D%22black%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%2264%22%20cy%3D%220%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%2264%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%2264%22%20cy%3D%2264%22%20r%3D%221.8%22%2F%3E%3C%2Fsvg%3E") 0 0 / 64px 64px repeat, radial-gradient(ellipse 70% 90% at 50% 50%, transparent 35%, black 85%);
  mask-composite: intersect;
}

/* ---------- Slotblok homepage: lid worden of contact ---------- */
.contact-blok { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.contact-blok .knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.contact-blok .knop--licht { margin-left: 0; }
.contact-kaart {
  font-style: normal; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 28px 32px;
}
.contact-kaart h3 { margin-bottom: .6em; }
.contact-kaart p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .contact-blok { grid-template-columns: 1fr; gap: 32px; } }
.knoppen-rij { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Het gilde: embleem ---------- */
.embleem-lijst { display: grid; gap: 16px; margin: 0; }
.embleem-lijst dt { font-family: var(--kop); color: var(--teal); font-size: 1.1rem; }
.embleem-lijst dd { margin: 2px 0 0; color: var(--tekst-zacht); }
.embleem-groot { display: flex; justify-content: center; }
.embleem-groot img { width: min(320px, 80%); box-shadow: none; border-radius: 0; }
.kenmerken { margin-top: 32px; }
