/*
 * SWO Spijkenisse – main stylesheet, enqueued via inc/enqueue.php.
 * style.css in the theme root is left as theme metadata only (WP requirement).
 */

/* ---------- Fonts & Variables ---------- */
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/AtkinsonHyperlegibleNext-Variable.woff2") format("woff2-variations");
}

:root {
	--swo-color-primary: #E97C1A;
	--swo-color-primary-hover: #D86D0D;
	--swo-color-primary-dark: #B35400; /* Was #B95700: op de off-white kaarten (#FCF8F3) net onder 4,5:1. */

	--swo-color-text: #353535;
	--swo-color-heading: #2B2B2B;
	--swo-color-card: #FCF8F3; /* Alle witte vlakken (kaarten, panelen, velden, randjes om iconen): een tikje warmer dan wit. Tekst op kleur blijft wit. */
	--swo-color-tegel: #FBF4EC; /* Tegels: kaarten en blokken met inhoud, net als de krantband (21-10-2026). Velden en knoppen in een tegel blijven --swo-color-card. */
	--swo-color-white: #FFFFFF;

	--swo-color-background: var(--swo-color-card);
	--swo-color-background-soft: #FBF6EF;
	--swo-color-background-warm: #F3EEE8;

	/*
	 * Licht achtergrondmotief op alle pagina's (onder .site-content en op blokken met een eigen achtergrond): ringen zoals in het SWO-logo, halve cirkels,
	 * golfjes en stipjes in zeer lichte tinten. Twee lagen met verschillende tegelmaten, zodat de herhaling niet opvalt.
	 * Gebruik: background-image: var(--swo-motif); background-size: var(--swo-motif-size); background-position: var(--swo-motif-position);
	 */
	--swo-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke-width='1.3' stroke-linecap='round'%3E%3Ccircle cx='42' cy='54' r='13' stroke='%23EEE2D3'/%3E%3Ccircle cx='304' cy='38' r='6' stroke='%23F1DCC8'/%3E%3Ccircle cx='214' cy='252' r='21' stroke='%23E6ECE2'/%3E%3Cpath d='M344 196a16 16 0 0 1 32 0' stroke='%23E5EBF1'/%3E%3Cpath d='M72 334c5-5 10-5 15 0s10 5 15 0 10-5 15 0' stroke='%23F2E9D2'/%3E%3Cpath d='M318 362c4-4 8-4 12 0s8 4 12 0' stroke='%23EEE2D3'/%3E%3Cpath d='M120 150a10 10 0 0 0 20 0' stroke='%23F3E3E8'/%3E%3C/g%3E%3Ccircle cx='152' cy='92' r='2.4' fill='%23EFE4D6'/%3E%3Ccircle cx='262' cy='142' r='1.6' fill='%23F0E3D3'/%3E%3Ccircle cx='60' cy='204' r='2.8' fill='%23F3E3E8'/%3E%3Ccircle cx='392' cy='300' r='2' fill='%23E7EDE4'/%3E%3Ccircle cx='182' cy='392' r='1.8' fill='%23EFE4D6'/%3E%3Ccircle cx='376' cy='96' r='1.4' fill='%23E6EBF2'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke-width='1.2' stroke-linecap='round'%3E%3Ccircle cx='190' cy='72' r='8' stroke='%23F0E6DA'/%3E%3Cpath d='M46 172a12 12 0 0 1 24 0' stroke='%23F1E6D8'/%3E%3Cpath d='M150 214c4-4 8-4 12 0s8 4 12 0' stroke='%23F2EAD6'/%3E%3C/g%3E%3Ccircle cx='42' cy='44' r='1.6' fill='%23F1E6D9'/%3E%3Ccircle cx='118' cy='120' r='2.2' fill='%23EEF0E8'/%3E%3Ccircle cx='226' cy='204' r='1.4' fill='%23F4E7EC'/%3E%3C/svg%3E");
	--swo-motif-size: 420px 420px, 260px 260px;
	--swo-motif-position: 0 0, 130px 90px;

	--swo-color-border: #767676;
	--swo-color-focus: #005FCC;

	--swo-color-activities: #2E7D32;
	--swo-color-living: #2F6F62;
	--swo-color-care: #8A3FA0;
	--swo-color-finance: #264E86;
	--swo-color-transport: #0067C5;
	--swo-color-caregiver: #562A78;
	--swo-color-social: #007C91;
	--swo-color-volunteer: #8A6500;
	--swo-color-rollator: #6A4FB3;
	--swo-color-jobs: #5C7A29;
	--swo-color-meals: #B35400;

	--swo-font-primary: "Atkinson Hyperlegible Next", Arial, Helvetica, sans-serif;
	--swo-content-width: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--swo-color-text); background: var(--swo-color-background); font-family: var(--swo-font-primary); font-size: 18px; line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; color: var(--swo-color-heading); font-family: var(--swo-font-primary); font-weight: 700; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.1; }
h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.15; }
h3 { font-size: 28px; line-height: 1.25; }
h4 { font-size: 24px; line-height: 1.3; }
h5 { font-size: 21px; line-height: 1.35; }
h6 { font-size: 18px; line-height: 1.4; }
p, li { font-size: 18px; }
a { color: var(--swo-color-primary-dark); text-decoration: none; }
a:hover { color: var(--swo-color-heading); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--swo-color-focus); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 99999; top: -100px; left: 16px; min-height: 44px; padding: 10px 20px; color: var(--swo-color-white); background: var(--swo-color-primary-dark); border-radius: 0 0 6px 6px; font-family: var(--swo-font-primary); font-size: 18px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 0; color: var(--swo-color-white); text-decoration: none; }

/* ---------- Layout ---------- */
.site-container { width: 100%; max-width: var(--swo-content-width); margin: 0 auto; padding: 0 24px; }
/* Achtergrondmotief onder alle pagina's (03-10); blokken met een eigen achtergrond zetten het motief zelf ook. */
.site-content { width: 100%; background-color: var(--swo-color-background-soft); background-image: var(--swo-motif); background-size: var(--swo-motif-size); background-position: var(--swo-motif-position); }
.content-area { width: 100%; max-width: 820px; margin: 0 auto; padding: 48px 24px; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 44px; min-height: 48px; padding: 10px 22px; color: var(--swo-color-heading); background: transparent; border: 2px solid transparent; border-radius: 6px; font-family: var(--swo-font-primary); font-size: 18px; line-height: 1.2; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease; }
.button:hover { text-decoration: none; transform: translateY(-2px); }
.button--primary { color: var(--swo-color-heading); background: var(--swo-color-primary); border-color: var(--swo-color-primary-dark); }
.button--primary:hover { color: var(--swo-color-heading); background: var(--swo-color-primary-hover); border-color: var(--swo-color-primary-dark); }
.button--primary:focus-visible { outline-color: var(--swo-color-heading); }
.button--secondary { color: var(--swo-color-white); background: var(--swo-color-primary-dark); border-color: var(--swo-color-primary-dark); }
.button--secondary:hover { color: var(--swo-color-white); background: var(--swo-color-heading); border-color: var(--swo-color-heading); }
.button--outline { color: var(--swo-color-primary-dark); background: transparent; border-color: var(--swo-color-primary-dark); }
.button--outline:hover { color: var(--swo-color-white); background: var(--swo-color-primary-dark); border-color: var(--swo-color-primary-dark); }
.button::after { display: block; flex: 0 0 16px; width: 16px; height: 16px; content: ""; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s ease; }
.button:hover::after { transform: translateX(4px); }

/* ---------- Responsive ---------- */
@media (max-width: 500px) {
	.site-container { padding-right: 20px; padding-left: 20px; }
	.content-area { padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---------- Wandelniveau (kleurcategorie uitstapjes), 28-09 ---------- */
.swo-mobility { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--swo-color-heading); font-size: 18px; line-height: 1.45; }
.swo-mobility__dot { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; background: #767676; border: 2px solid var(--swo-color-card); border-radius: 50%; box-shadow: 0 0 0 1px rgba(17, 17, 17, .35); }
.swo-mobility--groen .swo-mobility__dot { background: #2E7D32; }
.swo-mobility--oranje .swo-mobility__dot { background: #C75B00; }
.swo-mobility--rood .swo-mobility__dot { background: #C62828; }
.swo-mobility strong { font-weight: 800; }
.swo-mobility span:not(.swo-mobility__dot) { font-weight: 500; }
.swo-mobility--small { min-height: 30px; padding: 3px 12px 3px 6px; background: var(--swo-color-card); border: 1px solid #CFC5BA; border-radius: 999px; font-size: 16px; line-height: 1.3; }
.swo-mobility--small .swo-mobility__dot { flex-basis: 16px; width: 16px; height: 16px; }
.swo-mobility--small span:not(.swo-mobility__dot) { font-weight: 700; }
.swo-outing-terms__legend { display: grid; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.swo-outing-terms__legend .swo-mobility { display: grid; grid-template-columns: 18px auto minmax(0, 1fr); align-items: center; gap: 12px; }
.swo-outing-terms__content ul { margin: 0 0 8px; padding-left: 22px; }
.swo-outing-terms__content li { margin-bottom: 8px; font-size: 18px; line-height: 1.6; }
.swo-outing-terms__content p { font-size: 18px; line-height: 1.65; }
.swo-outing-terms__content a { color: #A34700; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.swo-outing-terms__content a:hover { color: var(--swo-color-heading); }
@media (max-width: 600px) {
	.swo-outing-terms__legend .swo-mobility { grid-template-columns: 18px minmax(0, 1fr); }
	.swo-outing-terms__legend .swo-mobility > span:last-child { grid-column: 2; }
}
@media (forced-colors: active) {
	.swo-mobility__dot { forced-color-adjust: none; }
}

/* ---------- Moeilijkheidsgraad: kleur, 1-3 oplopende balkjes en het woord (03-10) ---------- */
.swo-level { --level: #767676; --level-ink: #111111; --level-tint: #F4EFE9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 12px; color: var(--level-ink); background: var(--level-tint); border-left: 1px solid color-mix(in srgb, var(--level) 25%, #FFFFFF); text-align: center; }
.swo-level--groen { --level: #2E7D32; --level-ink: #1B5E20; --level-tint: #EAF4EA; }
.swo-level--oranje { --level: #C75B00; --level-ink: #8A3B00; --level-tint: #FDEFE2; }
.swo-level--rood { --level: #C62828; --level-ink: #A31515; --level-tint: #FCEBEB; }
.swo-level__label { color: #3A3530; font-size: 15px; font-weight: 600; line-height: 1.2; }
.swo-level__bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.swo-level__bar { display: block; width: 11px; background: #D6CCC1; border-radius: 3px; }
.swo-level__bar:nth-child(1) { height: 14px; }
.swo-level__bar:nth-child(2) { height: 24px; }
.swo-level__bar:nth-child(3) { height: 34px; }
.swo-level__bar.is-on { background: var(--level); }
.swo-level__text { font-size: 18px; font-weight: 800; line-height: 1.2; }

/* Kleine pil (regels onder "Daarna" in de kalender) */
.swo-level--compact { flex: 0 0 auto; flex-direction: row; gap: 8px; padding: 6px 14px 6px 12px; border: 0; border-radius: 999px; }
.swo-level--compact .swo-level__bars { gap: 3px; height: 22px; }
.swo-level--compact .swo-level__bar { width: 8px; }
.swo-level--compact .swo-level__bar:nth-child(1) { height: 9px; }
.swo-level--compact .swo-level__bar:nth-child(2) { height: 15px; }
.swo-level--compact .swo-level__bar:nth-child(3) { height: 22px; }
.swo-level--compact .swo-level__text { font-size: 16px; }

/* Klein tabje rechtsboven in de hoek van een kaart (activiteitenlijst, kalender, homepage) */
.swo-level--corner { position: absolute; z-index: 4; top: 0; right: 0; gap: 6px; padding: 5px 12px 6px 10px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--level) 25%, #FFFFFF); border-left: 1px solid color-mix(in srgb, var(--level) 25%, #FFFFFF); border-radius: 0 0 0 12px; pointer-events: none; }
.swo-level--corner .swo-level__bars { gap: 2px; height: 16px; }
.swo-level--corner .swo-level__bar { width: 6px; border-radius: 2px; }
.swo-level--corner .swo-level__bar:nth-child(1) { height: 7px; }
.swo-level--corner .swo-level__bar:nth-child(2) { height: 11px; }
.swo-level--corner .swo-level__bar:nth-child(3) { height: 16px; }
.swo-level--corner .swo-level__text { font-size: 15px; }
.swo-card .swo-labels .swo-mobility { display: none; }
.swo-card.has-level .swo-labels, .agenda-block__item.has-level .agenda-block__labels { padding-right: 76px; }
@container (max-width: 560px) {
	.swo-card.has-level .swo-labels { padding-right: 0; }
}
@media (max-width: 620px) {
	.swo-card.has-level .swo-labels { padding-right: 0; }
}
@media (max-width: 560px) {
	.agenda-block__item.has-level .agenda-block__labels { padding-right: 0; }
}

/* Kop van een losse activiteit: niveau als kolom helemaal rechts, naast de foto */
.swo-level--hero { position: relative; z-index: 1; gap: 8px; padding: 24px 20px; }
.swo-level--hero .swo-level__label { font-size: 16px; }
.swo-level--hero .swo-level__bars { gap: 5px; height: 46px; }
.swo-level--hero .swo-level__bar { width: 14px; border-radius: 4px; }
.swo-level--hero .swo-level__bar:nth-child(1) { height: 18px; }
.swo-level--hero .swo-level__bar:nth-child(2) { height: 32px; }
.swo-level--hero .swo-level__bar:nth-child(3) { height: 46px; }
.swo-level--hero .swo-level__text { font-size: 22px; }
.swo-activity-single__hero.has-level { grid-template-columns: minmax(0, 1fr) minmax(0, 520px) 150px; }
.swo-activity-single__hero.has-level.has-no-image { grid-template-columns: minmax(0, 1fr) 160px; }
.swo-activity-single__hero.has-level.has-no-image .swo-activity-single__hero-mark { right: 210px; }
@media (max-width: 1100px) {
	.swo-activity-single__hero.has-level { grid-template-columns: minmax(0, 1fr) minmax(0, 400px) 136px; }
}
@media (max-width: 900px) {
	.swo-activity-single__hero.has-level, .swo-activity-single__hero.has-level.has-no-image { grid-template-columns: minmax(0, 1fr); }
	.swo-activity-single__hero.has-level.has-no-image .swo-activity-single__hero-mark { right: 16px; }
	.swo-level--hero { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 20px; border-top: 1px solid color-mix(in srgb, var(--level) 25%, #FFFFFF); border-left: 0; }
	.swo-level--hero .swo-level__bars { order: -1; height: 34px; }
	.swo-level--hero .swo-level__bar { width: 11px; }
	.swo-level--hero .swo-level__bar:nth-child(1) { height: 14px; }
	.swo-level--hero .swo-level__bar:nth-child(2) { height: 24px; }
	.swo-level--hero .swo-level__bar:nth-child(3) { height: 34px; }
	.swo-level--hero .swo-level__text { font-size: 20px; }
}
@media (forced-colors: active) {
	.swo-level__bar { forced-color-adjust: none; border: 1px solid CanvasText; }
}

/* ---------- SWO Krant: band op de homepage, krantpagina en aanmeldformulier (28-09) ---------- */
/* Band onder de hero: voorpagina van de nieuwste krant, titel en editie, knoppen rechts (netter gemaakt 03-10). */
/* Lijn boven én onder: de hero erboven heeft dezelfde achtergrondkleur (15-10-2026). */
.swo-krant-band { padding: 26px 0; background: #FBF4EC; border-top: 1px solid #EADBCB; border-bottom: 1px solid #EADBCB; }
.swo-krant-band__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "cover text actions"; align-items: center; gap: 18px 28px; }
.swo-krant-band__cover { grid-area: cover; display: block; width: 70px; line-height: 0; transform: rotate(-4deg); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.swo-krant-band__cover:hover { transform: rotate(0deg) scale(1.04); }
.swo-krant-band__cover-img { display: block; width: 100%; height: auto; background: var(--swo-color-card); border: 3px solid var(--swo-color-card); border-radius: 4px; box-shadow: 0 6px 16px rgba(60, 35, 10, .22), 0 1px 3px rgba(60, 35, 10, .18); }
.swo-krant-band__cover.is-icon { display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; color: #A34700; background: var(--swo-color-card); border-radius: 50%; box-shadow: 0 3px 10px rgba(60, 35, 10, .14); transform: none; }
.swo-krant-band__cover.is-icon svg { width: 30px; height: 30px; }
.swo-krant-band__text { grid-area: text; min-width: 0; }
.swo-krant-band__eyebrow { margin: 0 0 2px; color: #A34700; font-size: 15px; font-weight: 800; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.swo-krant-band__title { margin: 0; color: var(--swo-color-heading); font-size: 24px; font-weight: 800; line-height: 1.25; }
.swo-krant-band__edition { margin: 4px 0 0; color: #394452; font-size: 18px; line-height: 1.4; }
.swo-krant-band__actions { grid-area: actions; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.swo-krant-band .swo-krant-button svg { flex: none; width: 20px; height: 20px; }
@media (max-width: 900px) {
	.swo-krant-band__inner { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "cover text" "actions actions"; }
	.swo-krant-band__actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.swo-krant-band__cover, .swo-krant-band__cover:hover { transition: none; transform: rotate(-4deg); }
	.swo-krant-band__cover.is-icon { transform: none; }
}
.swo-krant-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; color: #111111; border: 2px solid #E97C1A; border-radius: 8px; font-family: inherit; font-size: 18px; line-height: 1.25; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.swo-krant-button:hover { color: #111111; text-decoration: none; }
.swo-krant-button--primary { background: #E97C1A; }
.swo-krant-button--primary:hover { background: #D86D0D; border-color: #D86D0D; }
.swo-krant-button--secondary { background: var(--swo-color-card); border-color: #A34700; }
.swo-krant-button--secondary:hover { background: #FBF4EC; }
.swo-krant { padding: 56px 0 72px; }
.swo-krant__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
/* Beide tegels in de perzik van de tegels (21-10-2026). */
.swo-krant__main, .swo-krant__signup { padding: 32px; background: var(--swo-color-tegel); border: 1px solid #EADBCB; border-radius: 16px; }
.swo-krant__title { margin: 0 0 10px; font-size: 28px; line-height: 1.25; }
.swo-krant__intro, .swo-krant__signup > p { margin: 0 0 20px; font-size: 18px; line-height: 1.65; }
.swo-krant__latest { margin: 0 0 24px; padding: 20px; background: var(--swo-color-card); border-left: 4px solid #E97C1A; border-radius: 8px; }
.swo-krant__label { margin: 0; color: #A34700; font-size: 18px; font-weight: 700; }
.swo-krant__edition { margin: 0 0 14px; color: var(--swo-color-heading); font-size: 22px; font-weight: 800; }
.swo-krant__subtitle { margin: 0 0 12px; font-size: 22px; }
.swo-krant__year { margin: 18px 0 8px; color: #394452; font-size: 18px; line-height: 1.3; }
.swo-krant__archive { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.swo-krant__archive li { margin: 0; font-size: 18px; }
.swo-krant__archive-link { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; color: var(--swo-color-heading); background: var(--swo-color-card); border: 1px solid #DDD3C8; border-radius: 10px; font-weight: 700; line-height: 1.35; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.swo-krant__archive-link:hover { color: var(--swo-color-heading); background: #FBF6EF; border-color: #A34700; text-decoration: none; }
.swo-krant__archive-action { display: inline-flex; flex: none; align-items: center; gap: 6px; color: #A34700; font-size: 16px; white-space: nowrap; }
.swo-krant__archive-action svg { width: 18px; height: 18px; transition: transform .2s ease; }
.swo-krant__archive-link:hover .swo-krant__archive-action svg { transform: translateX(3px); }
.swo-krant__archive-item { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; color: #394452; background: #F6F2EC; border: 1px dashed #CFC5BA; border-radius: 10px; font-weight: 700; line-height: 1.35; }
.swo-krant__archive-note { flex: none; color: #5A544E; font-size: 16px; font-weight: 600; white-space: nowrap; }
.swo-krant__missing { margin: 14px 0 0; color: #394452; font-size: 16px; line-height: 1.55; }
.swo-krant__missing a { color: var(--swo-color-heading); font-weight: 800; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(163, 71, 0, .6); text-underline-offset: 3px; }
.swo-krant-form__field { margin: 0 0 16px; }
.swo-krant-form__field label { display: block; margin-bottom: 6px; color: var(--swo-color-heading); font-size: 18px; font-weight: 700; }
.swo-krant-form__optional, .swo-krant-form__required { color: #394452; font-weight: 400; }
.swo-krant-form__field input { width: 100%; min-height: 52px; padding: 10px 14px; color: var(--swo-color-heading); background: var(--swo-color-card); border: 2px solid #767676; border-radius: 8px; font-family: inherit; font-size: 18px; }
.swo-krant-form__field input:focus { border-color: #005FCC; outline: 3px solid rgba(0, 95, 204, .35); outline-offset: 1px; }
.swo-krant-form__consent { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; margin: 4px 0 20px; }
.swo-krant-form__consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: #A34700; }
.swo-krant-form__consent label { font-size: 18px; line-height: 1.5; }
.swo-krant-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.swo-krant-notice { margin: 0 0 24px; padding: 16px 20px; border-radius: 10px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.swo-krant-notice--success { color: #14532D; background: #E8F5E9; border: 2px solid #2E7D32; }
.swo-krant-notice--info { color: #1F3A5F; background: #E8F0FB; border: 2px solid #264E86; }
.swo-krant-notice--error { color: #7F1D1D; background: #FDECEC; border: 2px solid #C62828; }
/* Vraag na de afmeldlink uit de e-mail; pas de knop meldt af (inc/swo-krant.php). */
.swo-krant-afmelden { max-width: 780px; margin: 0 0 32px; padding: 28px 32px; background: #FBF4EC; border: 1px solid #EADBCB; border-left: 6px solid #E97C1A; border-radius: 16px; scroll-margin-top: 24px; }
.swo-krant-afmelden > p { margin: 0 0 22px; font-size: 18px; line-height: 1.65; }
.swo-krant-afmelden strong { color: var(--swo-color-heading); overflow-wrap: anywhere; }
.swo-krant-afmelden__acties { display: flex; flex-wrap: wrap; gap: 12px; }
.swo-krant-afmelden__acties form { margin: 0; }
/* Afmelden zonder de krantmail: afmeldlink aanvragen, onderaan het aanmeldvak (inc/swo-krant.php). */
.swo-krant-afmeldvraag { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #EADBCB; scroll-margin-top: 24px; }
.swo-krant-afmeldvraag summary { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--swo-color-heading); font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.swo-krant-afmeldvraag summary::-webkit-details-marker { display: none; }
.swo-krant-afmeldvraag summary::before { content: ""; flex: none; width: 9px; height: 9px; margin-left: 2px; border-right: 2px solid #A34700; border-bottom: 2px solid #A34700; transform: rotate(-45deg); transition: transform .38s cubic-bezier(.4, 0, .2, 1); }
.swo-krant-afmeldvraag[open] summary::before { transform: rotate(45deg); }
.swo-krant-afmeldvraag summary:hover { text-decoration: underline; text-decoration-color: rgba(163, 71, 0, .6); text-underline-offset: 3px; }
.swo-krant-afmeldvraag summary:focus-visible { outline: 3px solid #005FCC; outline-offset: 2px; border-radius: 4px; }
/* flow-root: de marge van de alinea telt mee in de hoogte tijdens de animatie. */
.swo-krant-afmeldvraag__inhoud { display: flow-root; }
.swo-krant-afmeldvraag__inhoud > p { margin: 6px 0 16px; font-size: 18px; line-height: 1.65; }
/* Open- en dichtschuiven (assets/js/main.js): alleen tijdens de animatie afsnijden, anders valt de focusrand van het veld weg. */
.swo-krant-afmeldvraag.is-openen .swo-krant-afmeldvraag__inhoud, .swo-krant-afmeldvraag.is-sluiten .swo-krant-afmeldvraag__inhoud { overflow: hidden; }
.swo-krant-afmeldvraag.is-sluiten summary::before { transform: rotate(-45deg); }
.swo-krant-afmeldvraag form { margin: 0; }
@media (max-width: 900px) {
	.swo-krant__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.swo-krant { padding: 40px 0 56px; }
	.swo-krant__main, .swo-krant__signup { padding: 22px 18px; }
	.swo-krant-afmelden { padding: 22px 18px; }
	.swo-krant-afmelden__acties { flex-direction: column; }
	.swo-krant-band__actions, .swo-krant-button { width: 100%; }
}
.swo-outing-terms__levels { margin-bottom: 28px; }
.swo-outing-terms__content > h3:first-child { margin-top: 0; }

/* ---------- Fluent Forms in de SWO-stijl (18px, AA), 28-09 ---------- */
.fluentform .ff-el-group { margin-bottom: 18px; }
.fluentform .ff-el-input--label label, .fluentform .ff-el-input--label { color: var(--swo-color-heading) !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.4; }
.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: #B3261E; }
.fluentform .ff-el-form-control { min-height: 52px; padding: 10px 14px !important; color: var(--swo-color-heading) !important; background: var(--swo-color-card) !important; border: 2px solid #767676 !important; border-radius: 8px !important; font-family: inherit !important; font-size: 18px !important; line-height: 1.4 !important; }
.fluentform textarea.ff-el-form-control { min-height: 140px; }
.fluentform .ff-el-form-control:focus { border-color: #005FCC !important; outline: 3px solid rgba(0, 95, 204, .35) !important; outline-offset: 1px; box-shadow: none !important; }
.fluentform .ff-el-tc, .fluentform .ff-el-tc label, .fluentform .ff_t_c { color: var(--swo-color-heading); font-size: 18px !important; line-height: 1.5; }
.fluentform .ff-el-tc input[type="checkbox"], .fluentform input.ff_el_checkable_photo_holders, .fluentform .ff-el-form-check-input { width: 24px !important; height: 24px !important; margin-top: 2px; accent-color: #A34700; }
.fluentform .ff-btn-submit, .fluentform .ff-btn-submit:hover { min-height: 52px; padding: 12px 28px !important; color: #111111 !important; background: #E97C1A !important; border: 2px solid #E97C1A !important; border-radius: 8px !important; font-family: inherit !important; font-size: 18px !important; font-weight: 700 !important; opacity: 1 !important; }
.fluentform .ff-btn-submit:hover { background: #D86D0D !important; border-color: #D86D0D !important; }
.fluentform .ff-btn-submit:focus-visible { outline: 3px solid #005FCC !important; outline-offset: 3px; }
.fluentform .error, .fluentform .text-danger { color: #B3261E !important; font-size: 17px !important; font-weight: 600; }
.ff-message-success { padding: 16px 20px !important; color: #14532D !important; background: #E8F5E9 !important; border: 2px solid #2E7D32 !important; border-radius: 10px; font-size: 18px !important; line-height: 1.5; box-shadow: none !important; }
.ff-message-success p { margin: 0; font-size: 18px; }
.fluentform .ff-el-form-check-label { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; }
.fluentform .ff-el-form-check-label input { flex: 0 0 24px; }

/* ---------- Kruimelpad (404, contactpagina), 28-09; de oude dienstpagina is sinds 27-10 een pagina met blokken ---------- */
.swo-dienst__breadcrumbs { margin-bottom: 18px; font-size: 18px; }
.swo-dienst__breadcrumbs p { margin: 0; }
.swo-dienst__breadcrumbs a { color: #A34700; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- AA-correcties (28-09) ---------- */
/* #B95700 reached only 4.41:1 on the beige backgrounds; #A34700 passes on white and beige. */
:root { --swo-color-primary-dark: #A34700; }

/* ---------- Fluent Forms: hulptekst en keuzelijst (28-09); contactpagina staat in page-contact.css ---------- */
.fluentform .ff-el-help-message { color: #394452 !important; font-size: 16px !important; font-style: normal !important; }
.fluentform select.ff-el-form-control { appearance: auto; }

/* ---------- Standaard zoekformulier (404, zoekpagina) in SWO-stijl, 28-09 ---------- */
.search-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; margin: 16px 0 22px; }
.search-form label { flex: 1 1 280px; margin: 0; }
.search-form .search-field { width: 100%; min-height: 52px; padding: 10px 14px; color: var(--swo-color-heading); background: var(--swo-color-card); border: 2px solid #767676; border-radius: 8px; font-family: inherit; font-size: 18px; }
.search-form .search-field:focus { border-color: #005FCC; outline: 3px solid rgba(0, 95, 204, .35); outline-offset: 1px; }
.search-form .search-submit { min-height: 52px; padding: 10px 22px; color: #111111; background: #E97C1A; border: 2px solid #E97C1A; border-radius: 8px; font-family: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.search-form .search-submit:hover { background: #D86D0D; border-color: #D86D0D; }
.search-form .search-submit:focus-visible { outline: 3px solid #005FCC; outline-offset: 3px; }

/* ---------- Mobiel (20-10-2026) ---------- */
/* Lange Nederlandse samenstellingen (Ontmoetingscentrum, Privacyverklaring, boodschappendienst) breken op een lettergreep
   met een afbreekstreepje, in plaats van een kaart of uitklapper buiten beeld te duwen. */
@media (max-width: 620px) {
	h1, h2, h3, h4, summary { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
}
/* Krantarchief op een smal scherm: "Open (pdf)" en "Niet meer online" zakken naar een tweede regel als het niet past. */
@media (max-width: 420px) {
	.swo-krant__archive-link, .swo-krant__archive-item { flex-wrap: wrap; row-gap: 2px; }
}
/* Titels die desnoods midden in een woord breken (overflow-wrap: anywhere) eerst op een lettergreep laten afbreken:
   "Privacy-reglement" in plaats van "Privacyregleme-nt". */
.blok-document__naam, .blok-boek__naam, .blok-boek__eigen-titel, .swo-card__title, .swo-zoek-item__title { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; }
