/*
Theme Name: Wijkraad Ommoord
Theme URI: https://example.com/
Author: Wijkraad Ommoord
Description: Productiethema voor Wijkraad Ommoord. Toegankelijk, responsive en beheerbaar vanuit WordPress.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: wijkraad-ommoord
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, responsive-layout
*/

:root{
 --green:#075d2d;--green-dark:#174f2a;--green-light:#eaf3e8;--lime:#78b83d;
 --ink:#121815;--muted:#555d58;--line:#e1e7e1;--cream:#f5f6ef;--white:#fff;
 --radius:12px;--shadow:0 5px 20px rgba(15,45,25,.08);--max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.55}
body.admin-bar .site-header{top:32px}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #f0b429;outline-offset:3px}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--line)}
.header-inner{min-height:88px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-weight:800;color:var(--green);flex-shrink:0}
.brand img{width:70px;height:70px;object-fit:cover;border-radius:50%}
.brand-text{font-size:20px;line-height:1.02}
.main-nav{margin-left:auto}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:30px}
.main-nav li{margin:0}
.main-nav a{text-decoration:none;font-size:16px;padding:32px 0;display:block;position:relative}
.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{color:var(--green);font-weight:700}
.main-nav .current-menu-item>a:after,.main-nav .current_page_item>a:after{content:"";position:absolute;height:3px;background:var(--green);left:0;right:0;bottom:21px}
.search-link{text-decoration:none;font-size:25px;line-height:1;margin-left:4px}
.menu-toggle{display:none;border:0;background:transparent;font-size:28px;padding:5px;cursor:pointer}
.mobile-nav{display:none;background:#fff;border-top:1px solid var(--line)}
.mobile-nav ul{list-style:none;margin:0;padding:10px 24px 18px}
.mobile-nav a{display:block;text-decoration:none;padding:12px 0;border-bottom:1px solid var(--line);font-weight:600}

.hero{background:#fff}
.hero-grid{display:grid;grid-template-columns:30% 70%;min-height:430px}
.hero-copy{padding:62px 35px 52px 0;display:flex;flex-direction:column;justify-content:center}
.hero-copy h1{font-size:50px;line-height:.98;margin:0 0 18px;color:var(--green);letter-spacing:-1.5px}
.hero-copy .lead{font-size:20px;font-weight:700;color:var(--green-dark);margin:0 0 12px}
.hero-copy p{font-size:16px;margin:0 0 22px}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 21px;border-radius:6px;border:1px solid var(--green);font-weight:700;text-decoration:none;cursor:pointer}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:#064a24}
.btn-secondary{background:#fff;color:var(--green)}
.hero-image{min-height:430px;background-position:center;background-size:cover;background-repeat:no-repeat;background-image:url('assets/images/hero.jpg')}

.section{padding:14px 0 0}
.section-title{text-align:center;color:var(--green);font-size:27px;line-height:1.2;margin:10px 0 14px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}
.card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:var(--shadow);border:1px solid #eef0ed;height:100%;display:flex;flex-direction:column}
.card-img{height:130px;width:100%;object-fit:cover}
.card-body{padding:21px 18px 19px;display:flex;flex-direction:column;flex:1}
.card-icon{width:42px;height:42px;border-radius:50%;background:var(--lime);color:#fff;display:grid;place-items:center;margin:-44px 0 11px;position:relative;border:3px solid #fff;font-size:19px}
.card h3{color:var(--green);font-size:20px;line-height:1.2;margin:0 0 7px}
.card p{font-size:14px;margin:0 0 14px}
.read-more{font-weight:700;color:var(--green);text-decoration:none;font-size:14px;margin-top:auto}
.read-more:hover{text-decoration:underline}

.three-col{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:18px;width:min(var(--max),calc(100% - 48px));margin:30px auto!important;padding-left:0;padding-right:0}
.panel{border-radius:10px;background:var(--cream);padding:24px 20px}
.panel.white{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}
.panel h2{color:var(--green);font-size:23px;line-height:1.2;margin:0 0 9px}
.panel p{margin:6px 0 13px;font-size:14px}
.news-list,.agenda-list{list-style:none;margin:0;padding:0}
.news-list li,.agenda-list li{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.news-list li:last-child,.agenda-list li:last-child{border-bottom:0}
.news-list img{width:100px;height:67px;object-fit:cover;border-radius:7px;flex:0 0 100px}
.news-list a{text-decoration:none}
.news-list strong,.agenda-list strong{color:var(--green);display:block;font-size:14px;line-height:1.3}
.news-list small,.agenda-list small{font-size:12px;color:var(--muted)}
.agenda-list .date-icon{width:38px;height:38px;border-radius:50%;background:#dfeccf;display:grid;place-items:center;flex:0 0 38px;color:var(--green-dark)}

.members{padding:0 0 35px}
.member-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:15px}
.member{text-align:center}
.member img{width:100%;aspect-ratio:1/1.12;object-fit:cover;border-radius:7px;background:#eee}
.member strong{display:block;color:var(--green);font-size:13px;margin-top:7px;line-height:1.25}
.member span{font-size:12px;color:var(--muted)}

.page-hero{background:var(--green-light);padding:42px 0}
.page-hero h1{margin:0;color:var(--green);font-size:42px;line-height:1.1}
.content-area{padding:48px 0 70px}
.content-area article{max-width:900px}
.content-area h2,.content-area h3{color:var(--green)}
.content-area p,.content-area li{font-size:17px}
.content-area a{color:var(--green)}
.post-meta{font-size:14px;color:var(--muted);margin-bottom:24px}
.featured{margin:20px 0 28px;border-radius:10px;overflow:hidden}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.post-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:var(--shadow);background:#fff}
.post-card .post-thumb{height:180px;object-fit:cover;width:100%}
.post-card-body{padding:18px}
.post-card h2{font-size:20px;margin:0 0 7px}
.post-card h2 a{text-decoration:none}
.pagination{margin-top:30px}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-field{margin-bottom:17px}
.form-field.full{grid-column:1/-1}
.form-field label{display:block;font-weight:700;margin-bottom:6px;color:var(--green-dark)}
.form-field input,.form-field textarea,.form-field select{width:100%;padding:12px;border:1px solid #bcc7be;border-radius:6px;font:inherit;background:#fff}
.form-field textarea{min-height:150px;resize:vertical}
.notice{padding:13px 16px;border-radius:7px;background:var(--green-light);border-left:4px solid var(--green);margin-bottom:20px}

.site-footer{background:var(--green-dark);color:#fff;margin-top:0}
.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1.4fr;gap:40px;padding:30px 0}
.footer-main h3{margin:0 0 8px}
.footer-main p{font-size:13px;margin:4px 0}
.footer-main a{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.25);padding:10px 0;font-size:12px;display:flex;justify-content:space-between;gap:20px}
.newsletter{display:flex;gap:8px;margin-top:8px}
.newsletter input{min-width:0;flex:1;padding:11px;border-radius:5px;border:0;font:inherit}
.newsletter button{border:0;border-radius:5px;padding:11px 16px;font-weight:700;cursor:pointer}
.footer-note{opacity:.9}

.skip-link{position:absolute;left:10px;top:-50px;background:#fff;color:#000;padding:10px 14px;z-index:2000}
.skip-link:focus{top:10px}

@media(max-width:1000px){
 .main-nav ul{gap:18px}.main-nav a{font-size:15px}
 .hero-grid{grid-template-columns:1fr}.hero-copy{padding:45px 0 30px}.hero-image{min-height:340px}
 .cards{grid-template-columns:repeat(2,1fr)}.three-col{grid-template-columns:1fr}
 .member-grid{grid-template-columns:repeat(4,1fr)}.archive-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 body.admin-bar .site-header{top:46px}
 .container{width:min(var(--max),calc(100% - 28px))}
 .header-inner{min-height:72px}.brand img{width:55px;height:55px}.brand-text{font-size:17px}
 .main-nav,.search-link{display:none}.menu-toggle{display:block;margin-left:auto}
 .mobile-nav.is-open{display:block}
 .hero-copy h1{font-size:42px}.hero-image{min-height:280px}
 .cards{grid-template-columns:1fr}.member-grid{grid-template-columns:repeat(2,1fr)}
 .footer-main{grid-template-columns:1fr}.footer-bottom{flex-direction:column}
 .form-grid,.archive-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}
 .page-hero h1{font-size:34px}.content-area{padding-top:35px}
}


/* Gutenberg / visual editor support */
.wp-block{max-width:1180px}
.wp-block[data-align="wide"]{max-width:1320px}
.wp-site-blocks{padding-top:0;padding-bottom:0}
.editor-styles-wrapper{font-family:Arial,Helvetica,sans-serif;color:#121815}
.wijkraad-home-section{padding:14px 0}
.wijkraad-home-section > .wp-block-group__inner-container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.wijkraad-hero{padding:0!important}
.wijkraad-hero .wp-block-columns{margin-bottom:0;min-height:430px}
.wijkraad-hero-copy{padding:60px 35px 52px 0}
.wijkraad-hero-image{min-height:430px;background-position:center;background-size:cover;background-repeat:no-repeat}
.wijkraad-theme-card{height:100%;border:1px solid #eef0ed;border-radius:10px;box-shadow:0 5px 20px rgba(15,45,25,.08);overflow:hidden}
.wijkraad-theme-card img{width:100%;height:130px;object-fit:cover}
.wijkraad-info-panel{height:100%;border-radius:10px;background:#f5f6ef;padding:24px 20px}
.wijkraad-info-panel.is-white{background:#fff;border:1px solid #e1e7e1;box-shadow:0 5px 20px rgba(15,45,25,.08)}
.wijkraad-members-grid img{border-radius:7px}
@media(max-width:900px){.wijkraad-hero-copy{padding:35px 0}.wijkraad-hero-image{min-height:320px}.wijkraad-home-section > .wp-block-group__inner-container{width:min(100% - 32px,1180px)}}
.wijkraad-editor-placeholder{padding:24px;border:2px dashed var(--green);border-radius:10px;background:var(--green-light);min-height:110px}
.wijkraad-editor-placeholder p{margin:.5rem 0 0;font-size:14px;color:var(--muted)}
