/*
Theme Name: Chiro Antoontje
Theme URI: https://chiroantoontje.be/
Author: Chiro Antoontje
Description: Moderne WordPress-site voor Chiro Antoontje met afdelingen, sfeerfoto's, activiteitenkalender en contactformulier.
Version: 1.2.9
License: GPL-2.0-or-later
Text Domain: chiro-antoontje
*/
:root{--red:#c62828;--red-dark:#8e1b1b;--ink:#171717;--muted:#666;--cream:#fffaf5;--paper:#fff;--line:#e9e4df;--shadow:0 14px 40px rgba(0,0,0,.08);--radius:22px;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.6}img{max-width:100%;height:auto;display:block}a{color:inherit}.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);transition:box-shadow .3s ease,background .3s ease}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;transition:min-height .35s ease,gap .35s ease}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;letter-spacing:-.03em;font-size:1.25rem;transition:transform .35s ease,gap .35s ease}.brand .custom-logo-link{display:flex;align-items:center;justify-content:flex-start;width:auto;height:60px;max-width:230px;transition:height .35s ease,transform .35s ease}.brand .custom-logo{display:block;width:auto;height:60px;max-width:230px;max-height:60px;object-fit:contain;transition:height .35s ease,max-height .35s ease}.brand-name{font-weight:900}.brand-mark{width:46px;height:46px;border-radius:12px;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:950;transition:all .35s ease}.nav-toggle{display:none;border:0;background:var(--ink);color:#fff;border-radius:10px;padding:10px 12px;font-size:1.1rem}.site-header.is-scrolled{box-shadow:0 4px 16px rgba(0,0,0,.08)}.site-header.is-scrolled .header-inner{min-height:74px}.site-header.is-scrolled .brand .custom-logo-link{height:48px;max-height:48px}.site-header.is-scrolled .brand .custom-logo{height:48px;max-height:48px}.site-header.is-scrolled .brand{gap:9px}.site-header.is-scrolled .brand-mark{width:40px;height:40px;border-radius:10px}.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:8px}.primary-nav a{text-decoration:none;font-weight:750;padding:10px 13px;border-radius:10px;transition:background .2s ease,padding .35s ease,font-size .35s ease}.primary-nav a:hover{background:#f5f1ed}.site-header.is-scrolled .primary-nav ul{gap:6px}.site-header.is-scrolled .primary-nav a{padding:8px 11px;font-size:.96rem}
.hero{background:var(--cream);padding:76px 0 88px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px}.kicker{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:7px 11px;border-radius:999px;font-weight:800;font-size:.86rem}.kicker:before{content:"";width:8px;height:8px;background:var(--red);border-radius:50%}.hero h1{font-size:clamp(3rem,7vw,6.3rem);line-height:.92;letter-spacing:-.065em;margin:18px 0}.hero p{font-size:1.18rem;color:var(--muted);max-width:620px}.buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:850;border-radius:13px;padding:13px 18px;border:2px solid var(--ink);cursor:pointer}.button.primary{background:var(--red);border-color:var(--red);color:#fff}.button.primary:hover{background:var(--red-dark);border-color:var(--red-dark)}.button.secondary{background:#fff}.hero-photo{min-height:380px}.hero-photo-img{width:100%;height:420px;object-fit:cover;border-radius:36px;box-shadow:var(--shadow)}.hero-art{height:420px;background:var(--ink);border-radius:36px;position:relative;display:grid;place-items:center;box-shadow:var(--shadow);overflow:hidden}.hero-art:before,.hero-art:after{content:"";position:absolute;border-radius:50%;background:var(--red)}.hero-art:before{width:300px;height:300px;right:-100px;top:-100px}.hero-art:after{width:210px;height:210px;left:-80px;bottom:-90px}.hero-art-inner{position:relative;z-index:2;color:#fff;text-align:center;padding:30px}.hero-art-inner strong{display:block;font-size:clamp(4rem,9vw,7rem);line-height:.8;letter-spacing:-.08em}.hero-art-inner p{color:#fff;margin:22px 0 0;font-weight:750}
.section{padding:76px 0}.section.alt{background:var(--cream)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-head h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1;margin:0;letter-spacing:-.05em}.section-head p{color:var(--muted);max-width:560px;margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 6px 24px rgba(0,0,0,.035)}.card-photo{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;margin:-4px 0 18px}.card-icon{font-size:2rem}.card h3{font-size:1.35rem;margin:12px 0 6px}.card p{color:var(--muted);margin:0 0 10px}.muted{color:var(--muted)}.badge,.department-meta span{display:inline-block;background:#f4eee9;border-radius:999px;padding:5px 10px;font-size:.85rem;font-weight:800;color:var(--ink)}.text-link{font-weight:850;text-decoration:none}.text-link:hover{text-decoration:underline}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.info{background:var(--ink);color:#fff;border-radius:var(--radius);padding:28px}.info small{color:#cfcfcf;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.info h3{margin:8px 0 0;font-size:1.45rem}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.news-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.news-card .thumb{aspect-ratio:16/9;background:#eee;display:grid;place-items:center;font-size:2rem}.news-card .body{padding:22px}.news-card h3{margin:4px 0 8px;line-height:1.15}.news-card p{color:var(--muted);margin:0}.cta{background:var(--red);color:#fff;border-radius:32px;padding:46px}.cta h2{font-size:clamp(2rem,5vw,4rem);line-height:1;margin:0 0 12px;letter-spacing:-.05em}.cta p{max-width:650px;opacity:.92}.cta .button{background:#fff;border-color:#fff;color:var(--ink)}
.page-hero{background:var(--cream);padding:58px 0}.page-hero h1{font-size:clamp(2.8rem,6vw,5rem);line-height:.95;margin:0;letter-spacing:-.06em}.content{padding:60px 0}.content-inner{max-width:820px}.content-inner h2{font-size:2rem;margin-top:2em}.content-inner a{color:var(--red);font-weight:700}.home-intro{max-width:900px}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.photo-tile{margin:0;position:relative;overflow:hidden;border-radius:18px;background:#eee;aspect-ratio:1}.photo-tile img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.photo-tile:hover img{transform:scale(1.04)}.photo-tile figcaption{position:absolute;left:0;right:0;bottom:0;padding:28px 12px 12px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.75));font-weight:700}.department-list{display:grid;gap:28px;margin-top:48px}.department{display:grid;grid-template-columns:360px 1fr;border:1px solid var(--line);border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.04)}.department-photo{background:#eee;min-height:300px}.department-photo img{width:100%;height:100%;object-fit:cover}.department-photo span{display:grid;place-items:center;height:100%;color:var(--muted)}.department-body{padding:34px}.department-body h2{font-size:2.4rem;line-height:1;margin:14px 0 18px}.department-meta{display:flex;flex-wrap:wrap;gap:8px}.activity-list{display:grid;gap:14px;margin-top:30px}.activity{display:grid;grid-template-columns:78px 1fr;gap:18px;align-items:center;border:1px solid var(--line);border-radius:20px;padding:18px;background:#fff}.activity-date{width:66px;height:66px;border-radius:16px;background:var(--red);color:#fff;display:grid;place-items:center;align-content:center;line-height:1}.activity-date strong{font-size:1.5rem}.activity-date span{text-transform:uppercase;font-size:.75rem;font-weight:800;margin-top:4px}.activity h3,.activity h2{margin:0 0 4px}.activity p{margin:0;color:var(--muted)}.activity-large{align-items:start;padding:24px}.activity-large .activity-date{margin-top:2px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.contact-form-card{border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.contact-form-card form{display:grid;gap:9px}.contact-form-card label{font-weight:800;margin-top:8px}.contact-form-card input,.contact-form-card textarea{font:inherit;border:1px solid #d8d2cc;border-radius:12px;padding:12px 13px;width:100%}.contact-form-card input:focus,.contact-form-card textarea:focus{outline:3px solid rgba(198,40,40,.12);border-color:var(--red)}.contact-details{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.form-success,.form-error{border-radius:14px;padding:14px 16px;margin-bottom:18px;font-weight:700}.form-success{background:#eaf7ec}.form-error{background:#fff0f0;color:#8e1b1b}.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}.empty{border:2px dashed var(--line);border-radius:18px;padding:28px;color:var(--muted)}.site-footer{background:var(--ink);color:#fff;padding:48px 0 28px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:30px}.site-footer h3{margin-top:0}.site-footer a{color:#fff}.site-footer p{color:#c9c9c9}.footer-bottom{border-top:1px solid #333;margin-top:35px;padding-top:18px;color:#aaa;font-size:.9rem;display:flex;justify-content:space-between;gap:15px}
@media(max-width:850px){.site-header.is-scrolled .header-inner{min-height:52px}.site-header.is-scrolled .primary-nav{top:60px}.hero-grid{grid-template-columns:1fr}.hero-photo,.hero-art,.hero-photo-img{height:280px;min-height:280px}.cards,.info-grid,.news-grid,.contact-grid{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}.department{grid-template-columns:1fr}.department-photo{min-height:250px}.footer-grid{grid-template-columns:1fr}.primary-nav{display:none;position:absolute;left:20px;right:20px;top:98px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:var(--shadow)}.primary-nav.open{display:block}.primary-nav ul{display:block}.primary-nav a{display:block}.nav-toggle{display:block}.footer-bottom{display:block}}

/* v1.2.6: subtle logo/header shrink on scroll */
@media(max-width:850px){
 .header-inner{min-height:74px}.brand .custom-logo-link{height:48px;max-width:190px}.brand .custom-logo{height:48px;max-height:48px;max-width:190px}
 .site-header.is-scrolled .header-inner{min-height:64px}.site-header.is-scrolled .brand .custom-logo-link{height:40px;max-height:40px}.site-header.is-scrolled .brand .custom-logo{height:40px;max-height:40px}
 .site-header.is-scrolled .primary-nav{top:70px}
}

/* v1.2.9: slightly larger site logo with a subtle scroll reduction */
.brand{height:82px!important;min-height:82px!important;max-height:82px!important;overflow:hidden!important;display:flex!important;align-items:center!important;flex:0 1 300px!important;}
.brand-logo-box{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:190px!important;height:76px!important;max-width:190px!important;max-height:76px!important;overflow:hidden!important;flex:0 0 190px!important;}
.brand-logo-img{display:block!important;width:145px!important;height:145px!important;max-width:none!important;max-height:none!important;min-width:145px!important;min-height:145px!important;object-fit:contain!important;object-position:center!important;transform:scale(1.15)!important;transform-origin:center!important;transition:width .35s ease,height .35s ease,transform .35s ease!important;}
.site-header{height:auto!important;}
.header-inner{min-height:88px;}
.site-header.is-scrolled .header-inner{min-height:78px!important;}
.site-header.is-scrolled .brand{height:70px!important;min-height:70px!important;max-height:70px!important;}
.site-header.is-scrolled .brand-logo-box{width:175px!important;height:66px!important;max-width:175px!important;max-height:66px!important;flex-basis:175px!important;}
.site-header.is-scrolled .brand-logo-img{width:125px!important;height:125px!important;min-width:125px!important;min-height:125px!important;transform:scale(1.15)!important;}
@media(max-width:850px){
 .brand{height:64px!important;min-height:64px!important;max-height:64px!important;flex-basis:220px!important;}
 .brand-logo-box{width:175px!important;height:58px!important;max-width:175px!important;max-height:58px!important;flex-basis:175px!important;}
 .brand-logo-img{width:125px!important;height:125px!important;min-width:125px!important;min-height:125px!important;}
 .site-header.is-scrolled .header-inner{min-height:60px!important;}
 .site-header.is-scrolled .brand{height:56px!important;min-height:56px!important;max-height:56px!important;}
 .site-header.is-scrolled .brand-logo-box{width:160px!important;height:52px!important;max-width:160px!important;max-height:52px!important;flex-basis:160px!important;}
 .site-header.is-scrolled .brand-logo-img{width:112px!important;height:112px!important;min-width:112px!important;min-height:112px!important;}
}
