/*
Theme Name: Elmas
Theme URI: https://www.stichtingelmas.nl
Author: Stichting Elmas
Description: Professioneel maatwerkthema voor Stichting Elmas Arnhem. Toont uw bestaande pagina's, menu en teksten in een nieuwe vormgeving; voegt zelf geen inhoud toe.
Version: 1.8.2
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later (PHP-code, vereist door WordPress)
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: Vormgeving, teksten, logo en afbeeldingen (c) Stichting Elmas. Alle rechten voorbehouden.
Text Domain: elmas
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready, accessibility-ready
*/

:root {
	--elmas-primary: #0f3d4c;
	--elmas-primary-dark: #0a2a35;
	--elmas-accent: #e0a526;
	--elmas-accent-dark: #b9861a;
	--elmas-soft: #eef5f6;
	--elmas-sand: #faf6ee;
	--elmas-text: #1d2a30;
	--elmas-muted: #5b6b72;
	--elmas-border: #dbe4e7;
	--elmas-white: #ffffff;
	--elmas-success: #1f7a4d;
	--elmas-radius: 14px;
	--elmas-shadow: 0 10px 30px rgba(15, 61, 76, .10);
	--elmas-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--elmas-font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
	--elmas-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--elmas-font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--elmas-text);
	background: var(--elmas-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--elmas-primary); text-underline-offset: 3px; }
a:hover { color: var(--elmas-accent-dark); }
h1, h2, h3, h4 { font-family: var(--elmas-font-head); color: var(--elmas-primary-dark); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 3px solid var(--elmas-accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--elmas-max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--soft { background: var(--elmas-soft); }
.section--sand { background: var(--elmas-sand); }
.section--dark { background: var(--elmas-primary); color: #dbe9ec; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--elmas-accent-dark); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--elmas-accent); transform: rotate(45deg); }
.lead { font-size: 1.15rem; color: var(--elmas-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--elmas-accent); color: var(--elmas-primary-dark); }
.btn--accent:hover { background: var(--elmas-accent-dark); color: #fff; }
.btn--primary { background: var(--elmas-primary); color: #fff; }
.btn--primary:hover { background: var(--elmas-primary-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--block { width: 100%; }

/* Topbar + header */
.topbar { background: var(--elmas-primary-dark); color: #b9cfd5; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span + span { margin-left: 18px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--elmas-border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.site-branding { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--elmas-primary-dark); }
.site-branding .custom-logo { max-height: 56px; width: auto; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text strong { display: block; font-family: var(--elmas-font-head); font-size: 1.35rem; line-height: 1.1; }
.brand-text small { color: var(--elmas-muted); font-size: .78rem; letter-spacing: .04em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--elmas-text); font-weight: 600; border-radius: 8px; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--elmas-primary); background: var(--elmas-soft); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; box-shadow: var(--elmas-shadow); border-radius: 10px; padding: 8px; flex-direction: column; align-items: stretch; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 10px 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--elmas-primary); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; background: linear-gradient(120deg, var(--elmas-primary-dark) 0%, var(--elmas-primary) 60%, #17607a 100%); color: #dcebef; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border: 60px solid rgba(224,165,38,.14); transform: rotate(45deg); }
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,42,53,.94) 0%, rgba(15,61,76,.75) 55%, rgba(15,61,76,.35) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { font-size: 1.2rem; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero .btn--ghost { color: #fff; }

.stats { position: relative; z-index: 2; margin-top: -54px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--elmas-radius); box-shadow: var(--elmas-shadow); overflow: hidden; }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--elmas-border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--elmas-font-head); font-size: 2.2rem; color: var(--elmas-primary); }
.stat span { color: var(--elmas-muted); font-size: .92rem; }

/* Cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--elmas-border); border-radius: var(--elmas-radius); padding: 30px; transition: box-shadow .2s, transform .2s; height: 100%; }
.card:hover { box-shadow: var(--elmas-shadow); transform: translateY(-3px); }
.card-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--elmas-soft); color: var(--elmas-primary); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; text-decoration: none; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split-media { border-radius: var(--elmas-radius); overflow: hidden; min-height: 380px; background: linear-gradient(135deg, var(--elmas-soft), #d6e8ec); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--elmas-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2a35' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--elmas-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }

/* Donation */
.donate-box { background: #fff; border-radius: var(--elmas-radius); box-shadow: var(--elmas-shadow); padding: 36px; color: var(--elmas-text); }
.donate-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--elmas-soft); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.donate-tabs label { text-align: center; padding: 10px; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--elmas-muted); }
.donate-tabs input { position: absolute; opacity: 0; }
.donate-tabs input:checked + span { color: var(--elmas-primary-dark); }
.donate-tabs label:has(input:checked) { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.amounts button { padding: 14px 0; border: 2px solid var(--elmas-border); background: #fff; border-radius: 10px; font-weight: 800; font-size: 1.05rem; cursor: pointer; color: var(--elmas-primary-dark); font-family: inherit; }
.amounts button.is-active, .amounts button:hover { border-color: var(--elmas-accent); background: #fff8e8; }
.impact { background: var(--elmas-sand); border-left: 4px solid var(--elmas-accent); padding: 12px 16px; border-radius: 6px; font-size: .95rem; margin: 14px 0 18px; }
.pay-logos { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: .8rem; color: var(--elmas-muted); }
.pay-logos span { border: 1px solid var(--elmas-border); padding: 4px 10px; border-radius: 6px; font-weight: 700; }
.iban-box { background: var(--elmas-soft); border-radius: 10px; padding: 18px 20px; font-size: .95rem; }
.iban-box code { font-size: 1.05rem; font-weight: 700; color: var(--elmas-primary-dark); background: none; letter-spacing: .04em; }

/* Forms */
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label.lbl { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
	width: 100%; padding: 13px 15px; border: 1.5px solid var(--elmas-border); border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--elmas-text);
}
input:focus, select:focus, textarea:focus { border-color: var(--elmas-primary); outline: none; box-shadow: 0 0 0 3px rgba(15,61,76,.12); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 6px; }
.notice { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; }
.notice--ok { background: #e5f4ec; color: var(--elmas-success); }
.notice--err { background: #fdecec; color: #a12a2a; }
.hp { position: absolute; left: -9999px; }

/* Pricing */
.price-card { text-align: center; position: relative; }
.price-card.featured { border: 2px solid var(--elmas-accent); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--elmas-accent); color: var(--elmas-primary-dark); font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.price { font-family: var(--elmas-font-head); font-size: 2.8rem; color: var(--elmas-primary); line-height: 1; margin: 12px 0 4px; }
.price small { font-family: var(--elmas-font); font-size: 1rem; color: var(--elmas-muted); }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--elmas-radius); overflow: hidden; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--elmas-border); }
.table th { background: var(--elmas-primary); color: #fff; font-weight: 700; }

/* FAQ */
.faq details { border: 1px solid var(--elmas-border); border-radius: 12px; background: #fff; margin-bottom: 12px; }
.faq summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--elmas-accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--elmas-muted); }

/* CTA band */
.cta-band { background: var(--elmas-accent); color: var(--elmas-primary-dark); border-radius: var(--elmas-radius); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; }

/* Page header + content */
.page-hero { background: var(--elmas-primary); color: #cfe2e7; padding: 70px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 8%; bottom: -80px; width: 200px; height: 200px; border: 34px solid rgba(224,165,38,.18); transform: rotate(45deg); }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.breadcrumbs { font-size: .88rem; margin-bottom: 12px; }
.breadcrumbs a { color: #fff; }
.entry-content { max-width: 780px; }
.entry-content.wide { max-width: none; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul { padding-left: 1.2em; }
.entry-content .wp-block-image { margin: 2em 0; }
.post-grid .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-grid .card-body { padding: 24px; flex: 1; }
.post-grid .thumb { aspect-ratio: 16/10; background: var(--elmas-soft); }
.post-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.meta { font-size: .85rem; color: var(--elmas-muted); }
.pagination { margin-top: 40px; display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--elmas-border); border-radius: 8px; text-decoration: none; }
.pagination .current { background: var(--elmas-primary); color: #fff; }

/* Footer */
.site-footer { background: var(--elmas-primary-dark); color: #a9c0c7; padding: 70px 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-family: var(--elmas-font); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #e3eef1; text-decoration: none; }
.site-footer a:hover { color: var(--elmas-accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.anbi-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 8px; color: #fff; font-weight: 700; font-size: .85rem; margin-top: 10px; }

/* Alignment / WP core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: var(--elmas-max); }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--elmas-muted); }
.sticky, .bypostauthor { }

/* Responsive */
@media (max-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.header-cta .btn--primary { display: none; }
}
@media (max-width: 860px) {
	.menu-toggle { display: block; }
	.main-nav { position: fixed; inset: 78px 0 0 0; background: #fff; padding: 20px; transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
	.main-nav.is-open { transform: none; }
	.main-nav ul { flex-direction: column; align-items: stretch; }
	.main-nav .sub-menu { display: flex; position: static; box-shadow: none; padding-left: 16px; }
	.grid-2, .grid-3, .split { grid-template-columns: 1fr; }
	.split { gap: 36px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--elmas-border); }
	.section { padding: 60px 0; }
	.form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.grid-4, .footer-grid { grid-template-columns: 1fr; }
	.amounts { grid-template-columns: repeat(2, 1fr); }
	.donate-box, .cta-band { padding: 26px; }
	.topbar .hide-sm { display: none; }
	.header-cta .btn { padding: 9px 14px; font-size: .9rem; }
	.hero .container { padding-top: 70px; padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.btn svg, .anbi-badge svg { width: 18px; height: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-list .card-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-list .card-icon svg { width: 22px; height: 22px; }
.alert-bar { background: #fff3d6; border: 1px solid #f0d390; border-radius: 10px; padding: 14px 18px; font-size: .95rem; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--elmas-border); }
.anbi-table th { width: 38%; background: var(--elmas-soft); color: var(--elmas-primary-dark); }
.footer-grid.footer-grid--3 { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid.footer-grid--3 { grid-template-columns: 1fr; } }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content td, .entry-content th { padding: 12px 16px; border-bottom: 1px solid var(--elmas-border); text-align: left; vertical-align: top; }
.entry-content td:first-child { width: 38%; }
.entry-content iframe { width: 100%; max-width: 100%; border: 0; border-radius: var(--elmas-radius); }
.main-nav { margin-left: auto; }

/* v1.2 – mooiere homepage en doneren */
.header-cta { margin-left: 8px; }
.hero h1 { text-wrap: balance; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hero .container { padding-top: 120px; padding-bottom: 130px; }
.hero::before { content: ""; position: absolute; left: -80px; bottom: -140px; width: 300px; height: 300px; border: 40px solid rgba(255,255,255,.05); transform: rotate(45deg); }
.hero.has-image::before { left: 0; bottom: 0; width: auto; height: auto; border: 0; transform: none; }
.home-content { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.home-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--elmas-radius); background: var(--elmas-sand); color: var(--elmas-text); }
.home-aside strong { font-family: var(--elmas-font-head); font-size: 1.15rem; color: var(--elmas-primary-dark); }
.home-aside a { font-weight: 700; text-decoration: none; margin-top: 6px; }
.entry-content--home { max-width: 760px; }
.entry-content--home > p:first-child { font-family: var(--elmas-font-head); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.5; color: var(--elmas-primary-dark); margin-bottom: 1.4em; }
.entry-content--home ul { list-style: none; padding: 0; margin: 1.6em 0 2em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.entry-content--home ul li { position: relative; padding: 16px 18px 16px 46px; background: var(--elmas-soft); border-radius: 12px; line-height: 1.45; }
.entry-content--home ul li::before { content: ""; position: absolute; left: 19px; top: 22px; width: 10px; height: 10px; background: var(--elmas-accent); transform: rotate(45deg); }
.anbi-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.anbi-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--elmas-border); border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--elmas-primary-dark); transition: border-color .15s, transform .15s; }
.anbi-link svg { width: 18px; height: 18px; color: var(--elmas-accent-dark); flex: none; }
.anbi-link:hover { border-color: var(--elmas-accent); transform: translateY(-2px); color: var(--elmas-primary-dark); }
.donate-band .split { align-items: center; }
.donate-band .checklist li { color: #dbe9ec; }
.donate-box h3 { margin-bottom: 16px; }
.amounts button[aria-pressed="true"] { border-color: var(--elmas-accent); background: #fff8e8; }
.donate-anbi { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: .85rem; color: var(--elmas-muted); }
.donate-anbi svg { width: 16px; height: 16px; }
.site-footer .btn--accent { color: var(--elmas-primary-dark); }
@media (max-width: 860px) {
	.home-content { grid-template-columns: 1fr; gap: 28px; }
	.home-aside { position: static; }
	.entry-content--home ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .header-cta .btn { padding: 8px 14px; } }

/* v1.3 – QR-code voor doneren */
.donate-qr { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 20px; padding: 16px; border: 1.5px dashed var(--elmas-border); border-radius: 12px; }
.donate-qr[hidden] { display: none; }
.donate-qr__code { width: 132px; height: 132px; background: #fff; border-radius: 8px; overflow: hidden; }
.donate-qr__code svg { width: 100%; height: 100%; display: block; }
.donate-qr__text { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; color: var(--elmas-muted); }
.donate-qr__text strong { color: var(--elmas-primary-dark); font-size: 1rem; }
.donate-qr__amount { font-weight: 700; color: var(--elmas-primary); }
@media (max-width: 400px) { .donate-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
@media print { .donate-qr { border-style: solid; } }

/* v1.4 – blog en activiteiten */
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; max-width: none; }
.section-head--row h2 { margin-bottom: 0; }
.btn--ghost { color: var(--elmas-primary); }
.hero .btn--ghost, .section--dark .btn--ghost { color: #fff; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs a { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--elmas-border); text-decoration: none; font-weight: 700; color: var(--elmas-text); font-size: .95rem; }
.tabs a[aria-current="page"], .tabs a:hover { background: var(--elmas-primary); border-color: var(--elmas-primary); color: #fff; }

.activity-list { display: grid; gap: 16px; }
.activity-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.activity-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; background: #fff; border: 1px solid var(--elmas-border); border-radius: var(--elmas-radius); padding: 20px; transition: box-shadow .2s, transform .2s; }
.activity-card:hover { box-shadow: var(--elmas-shadow); transform: translateY(-2px); }
.activity-date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 80px; border-radius: 12px; background: var(--elmas-primary); color: #fff; text-decoration: none; line-height: 1; position: relative; overflow: hidden; }
.activity-date::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 24px; height: 24px; background: var(--elmas-accent); transform: rotate(45deg); }
.activity-date__day { font-family: var(--elmas-font-head); font-size: 2rem; font-weight: 700; }
.activity-date__month { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; color: var(--elmas-accent); }
.activity-body h3 { margin: 0 0 8px; font-size: 1.2rem; }
.activity-body h3 a, .card h3 a, .post-featured h2 a { color: var(--elmas-primary-dark); text-decoration: none; }
.activity-body h3 a:hover, .card h3 a:hover, .post-featured h2 a:hover { color: var(--elmas-accent-dark); }
.activity-meta { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 4px; font-size: .92rem; color: var(--elmas-muted); }
.activity-meta svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--elmas-accent-dark); }
.activity-excerpt { margin: 10px 0 0; font-size: .95rem; }
.activity-aside { height: auto; position: sticky; top: 110px; }
.activity-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.split--content { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }

.empty-state { text-align: center; padding: 56px 20px; border: 1.5px dashed var(--elmas-border); border-radius: var(--elmas-radius); color: var(--elmas-muted); }
.empty-state svg { width: 40px; height: 40px; color: var(--elmas-accent-dark); margin-bottom: 12px; }
.empty-state p { margin: 0; }

.post-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 48px; }
.post-featured__media { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--elmas-radius); overflow: hidden; background: linear-gradient(135deg, var(--elmas-primary), #17607a); display: grid; place-items: center; }
.post-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.post-featured__media .brand-mark, .post-grid .thumb .brand-mark { width: 72px; height: 72px; opacity: .9; }
.post-featured h2 { margin-bottom: 8px; }
.post-grid .thumb { display: grid; place-items: center; background: linear-gradient(135deg, var(--elmas-soft), #d6e8ec); }
.rounded-img { border-radius: var(--elmas-radius); margin-bottom: 32px; width: 100%; }
.post-article { margin-left: auto; margin-right: auto; }
.post-nav { margin-top: 40px; }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--elmas-border); padding-top: 24px; }
.post-nav .nav-links a { display: flex; flex-direction: column; text-decoration: none; font-weight: 700; }
.post-nav .nav-next { text-align: right; margin-left: auto; }

@media (max-width: 1024px) { .activity-list--3 { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
	.post-featured, .split--content { grid-template-columns: 1fr; gap: 24px; }
	.activity-aside { position: static; }
}
@media (max-width: 400px) { .activity-card { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 16px; } .activity-date { height: 66px; } .activity-date__day { font-size: 1.6rem; } }

/* v1.5 – contactformulier */
.contact-form-wrap { margin-top: 48px; padding: 32px; background: #fff; border: 1px solid var(--elmas-border); border-radius: var(--elmas-radius); box-shadow: var(--elmas-shadow); max-width: 780px; }
.contact-form-wrap h2 { margin-top: 0; }
.contact-form-wrap .btn svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .contact-form-wrap { padding: 22px; } }

/* v1.6 – afdelingen, partners, social media */
.grid-1 { grid-template-columns: 1fr; }
.dept-card h3 { margin-bottom: 8px; }
.partners { padding: 48px 0; border-top: 1px solid var(--elmas-border); }
.partners__label { text-align: center; color: var(--elmas-muted); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px; }
.partners__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 48px; }
.partners__logos img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partners__logos img:hover { filter: none; opacity: 1; }
.partners__logos .wp-block-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 48px; margin: 0; }
.partners__logos figure { margin: 0; }
.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.social a:hover { background: var(--elmas-accent); border-color: var(--elmas-accent); color: var(--elmas-primary-dark); }
.social svg { width: 18px; height: 18px; }

/* v1.7 – overzichtelijker op mobiel (alleen kleine schermen) */
.submenu-toggle { display: none; }
@media (max-width: 860px) {
	/* Kop: compact, één regel */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.site-header .container { min-height: 64px; gap: 10px; }
	.site-branding { gap: 10px; min-width: 0; }
	.site-branding .brand-mark { width: 34px; height: 34px; }
	.site-header .brand-text strong { font-size: 1.1rem; white-space: nowrap; }
	.site-header .brand-text small { display: none; }
	.header-cta { margin-left: auto; gap: 6px; }
	.header-cta .btn { padding: 8px 14px; font-size: .9rem; }
	.menu-toggle { padding: 10px; margin-right: -10px; }

	/* Menu: schermvullend paneel met grote, duidelijke regels */
	.main-nav { top: var(--elmas-header-bottom, 64px); inset-inline: 0; bottom: 0; padding: 8px 20px 32px; box-shadow: inset 0 1px 0 var(--elmas-border); }
	.main-nav > ul > li { border-bottom: 1px solid var(--elmas-border); }
	.main-nav a { padding: 16px 4px; font-size: 1.1rem; border-radius: 0; }
	.main-nav a:hover, .main-nav .current-menu-item > a { background: none; color: var(--elmas-accent-dark); }
	.main-nav li { display: flex; flex-wrap: wrap; align-items: center; }
	.main-nav li > a { flex: 1; }
	.submenu-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: var(--elmas-soft); border: 0; border-radius: 10px; color: var(--elmas-primary); cursor: pointer; }
	.submenu-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
	.main-nav li.is-open > .submenu-toggle svg { transform: rotate(180deg); }
	.main-nav .sub-menu { display: none; flex-basis: 100%; padding: 0 0 12px 12px; margin: 0; border-left: 3px solid var(--elmas-accent); border-radius: 0; }
	.main-nav li.is-open > .sub-menu { display: flex; }
	.main-nav .sub-menu a { padding: 11px 8px; font-size: 1rem; font-weight: 500; }

	/* Ruimte en lettergroottes */
	.section { padding: 44px 0; }
	.hero .container { padding-top: 44px; padding-bottom: 52px; }
	.hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); margin-bottom: .4em; }
	.hero p { font-size: 1.05rem; margin: 0; }
	.hero::after { width: 260px; height: 260px; right: -140px; top: -90px; border-width: 34px; }
	.hero::before { display: none; }
	.page-hero { padding: 40px 0 34px; }
	.page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
	.page-hero::after { display: none; }
	.breadcrumbs { font-size: .8rem; }
	.section-head { margin-bottom: 24px; }

	/* Homepage: tekst eerst, adreskaart eronder */
	.home-content { display: flex; flex-direction: column; gap: 24px; }
	.home-aside { order: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 18px; }
	.home-aside .card-icon { width: 40px; height: 40px; margin: 0; }
	.home-aside .card-icon svg { width: 20px; height: 20px; }
	.home-aside span { flex-basis: 100%; }
	.entry-content--home > p:first-child { font-size: 1.2rem; }
	.entry-content--home ul li { padding: 12px 14px 12px 38px; }
	.entry-content--home ul li::before { left: 15px; top: 18px; width: 8px; height: 8px; }

	/* Lijsten en kaarten compacter */
	.anbi-links { grid-template-columns: 1fr; gap: 8px; }
	.anbi-link { padding: 14px 16px; }
	.card { padding: 22px; }
	.cta-band { padding: 26px; }
	.tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
	.tabs a { white-space: nowrap; }
	.section-head--row .btn { padding: 10px 16px; }

	/* Tabellen (ANBI) leesbaar op smal scherm */
	.entry-content table, .entry-content tbody, .entry-content tr, .entry-content td { display: block; width: 100% !important; }
	.entry-content tr { border-bottom: 1px solid var(--elmas-border); padding: 10px 0; }
	.entry-content td { border: 0; padding: 2px 0; }
	.entry-content td:first-child { font-weight: 700; color: var(--elmas-primary-dark); }

	/* Footer */
	.site-footer { padding-top: 44px; }
	.footer-grid { gap: 28px; }
	.footer-bottom { margin-top: 28px; flex-direction: column; }
}
@media (max-width: 380px) {
	.site-header .brand-text strong { font-size: 1rem; }
	.header-cta .btn svg { display: none; }
}

/* v1.8 – huiswerkbegeleiding en onderdelen aan/uit */
.hw-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hw-facts { position: relative; background: #fff; border: 1px solid var(--elmas-border); border-radius: var(--elmas-radius); padding: 28px; box-shadow: var(--elmas-shadow); overflow: hidden; }
.hw-facts::after { content: ""; position: absolute; right: -26px; top: -26px; width: 72px; height: 72px; background: var(--elmas-accent); transform: rotate(45deg); opacity: .9; }
.hw-facts__icon { width: 54px; height: 54px; border-radius: 12px; background: var(--elmas-primary); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.hw-facts__icon svg { width: 28px; height: 28px; }
.hw-facts dl { margin: 0; display: grid; gap: 16px; }
.hw-fact dt { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--elmas-accent-dark); }
.hw-fact dt svg { width: 16px; height: 16px; }
.hw-fact dd { margin: 4px 0 0; font-weight: 600; color: var(--elmas-primary-dark); }
.hw-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.hw-aside .btn svg { width: 18px; height: 18px; }
.hw-aside__note { margin: 0; text-align: center; }
.hw-content > p:first-child { font-family: var(--elmas-font-head); font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.5; color: var(--elmas-primary-dark); }
.hw-content ul { list-style: none; padding: 0; margin: 1.2em 0 2em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hw-content ul li { position: relative; padding: 16px 18px 16px 46px; background: var(--elmas-soft); border-radius: 12px; line-height: 1.45; }
.hw-content ul li::before { content: ""; position: absolute; left: 19px; top: 22px; width: 10px; height: 10px; background: var(--elmas-accent); transform: rotate(45deg); }
.hw-content ol { list-style: none; padding: 0; margin: 1.2em 0 0; counter-reset: hw; display: grid; gap: 12px; }
.hw-content ol li { counter-increment: hw; position: relative; padding: 14px 16px 14px 62px; border: 1px solid var(--elmas-border); border-radius: 12px; min-height: 56px; display: flex; align-items: center; }
.hw-content ol li::before { content: counter(hw); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--elmas-primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.admin-off-notice { background: #fff3d6; color: #5b4a1c; border-bottom: 1px solid #f0d390; padding: 10px 20px; text-align: center; font-size: .9rem; font-weight: 600; }
@media (max-width: 860px) {
	.hw-aside { position: static; order: -1; }
	.hw-aside__note { display: none; }
	.hw-content ul { grid-template-columns: 1fr; }
	.hw-facts { padding: 22px; }
	.hw-actions .btn { flex: 1 1 auto; }
}

/* v1.8 – groter logo */
.site-header .container { min-height: 88px; }
.site-branding { gap: 14px; }
.site-header .brand-mark { width: 56px; height: 56px; }
.site-header .brand-text strong { font-size: 1.6rem; letter-spacing: -.01em; }
.site-header .brand-text small { font-size: .82rem; margin-top: 2px; display: block; white-space: nowrap; }
.site-header .brand-text strong { white-space: nowrap; }
.site-branding .custom-logo { max-height: 72px; }
.site-footer .brand-mark { width: 48px; height: 48px; }
.site-footer .brand-text strong { font-size: 1.4rem; }
.activity-aside, .home-aside, .hw-aside { top: 120px; }
@media (max-width: 860px) {
	.site-header .container { min-height: 70px; }
	.site-header .brand-mark { width: 44px; height: 44px; }
	.site-header .brand-text strong { font-size: 1.25rem; }
	.site-header .brand-text small { display: none; }
	.site-branding .custom-logo { max-height: 52px; }
}
@media (max-width: 380px) {
	.site-header .brand-mark { width: 38px; height: 38px; }
	.site-header .brand-text strong { font-size: 1.08rem; }
}

/* v1.8 – tussenmaten (tablet / kleine laptop) */
@media (min-width: 1025px) and (max-width: 1240px) {
	.site-header .brand-text small { display: none; }
	.site-header .brand-mark { width: 48px; height: 48px; }
	.site-header .brand-text strong { font-size: 1.4rem; }
	.main-nav a { padding: 10px 8px; font-size: .96rem; }
	.header-cta .btn { padding: 10px 18px; }
}
@media (min-width: 861px) and (max-width: 1024px) {
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.header-cta { margin-left: auto; }
	.menu-toggle { display: block; }
	.main-nav { position: fixed; top: var(--elmas-header-bottom, 88px); left: 0; right: 0; bottom: 0; margin: 0; background: #fff; padding: 8px 40px 32px; transform: translateX(100%); transition: transform .25s; overflow-y: auto; box-shadow: inset 0 1px 0 var(--elmas-border); }
	.main-nav.is-open { transform: none; }
	.main-nav ul { flex-direction: column; align-items: stretch; }
	.main-nav > ul > li { border-bottom: 1px solid var(--elmas-border); }
	.main-nav li { display: flex; flex-wrap: wrap; align-items: center; }
	.main-nav li > a { flex: 1; padding: 16px 4px; font-size: 1.1rem; border-radius: 0; }
	.main-nav a:hover, .main-nav .current-menu-item > a { background: none; color: var(--elmas-accent-dark); }
	.submenu-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: var(--elmas-soft); border: 0; border-radius: 10px; color: var(--elmas-primary); cursor: pointer; }
	.submenu-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
	.main-nav li.is-open > .submenu-toggle svg { transform: rotate(180deg); }
	.main-nav .sub-menu { display: none; position: static; box-shadow: none; flex-basis: 100%; padding: 0 0 12px 12px; margin: 0; border-left: 3px solid var(--elmas-accent); border-radius: 0; flex-direction: column; }
	.main-nav li.is-open > .sub-menu, .main-nav li:hover > .sub-menu:not(:only-child) { display: none; }
	.main-nav li.is-open > .sub-menu { display: flex; }
	.main-nav .sub-menu a { padding: 11px 8px; font-size: 1rem; font-weight: 500; }
}
