/*
Theme Name: MARSCHO
Theme URI: https://marscho.org/
Author: MARSCHO ASBL
Author URI: https://marscho.org/
Description: Custom multilingual corporate theme for MARSCHO ASBL — Culture, Youth, Inclusion & Europe.
Version: 27.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: marscho
License: GPL-2.0-or-later
*/

:root{
  --green:#009b48;
  --green-dark:#007b39;
  --ink:#0b0d0c;
  --muted:#66706a;
  --paper:#ffffff;
  --soft:#f4f7f5;
  --line:#dfe6e1;
  --max:1320px;
  --radius:22px;
  --shadow:0 20px 60px rgba(11,13,12,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(223,230,225,.7)}
.header-inner{min-height:104px;display:flex;align-items:center;gap:24px;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px;min-width:290px;flex:0 0 290px}
.brand img{width:290px;height:auto;object-fit:contain;display:block;max-width:100%}
.brand-text{font-weight:800;letter-spacing:.08em;font-size:.95rem}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:25px;align-items:center}
.main-nav a{font-size:.9rem;font-weight:650;color:#2d3530}
.main-nav a:hover{color:var(--green)}
.header-actions{display:flex;align-items:center;gap:12px}
.lang-switcher{display:flex;gap:4px;padding:4px;background:var(--soft);border-radius:999px}
.lang-switcher a{padding:6px 9px;font-size:.72rem;font-weight:800;border-radius:999px;display:inline-flex;align-items:center;gap:5px}
.lang-switcher a.active{background:var(--ink);color:#fff}
.menu-toggle{display:none;border:0;background:var(--ink);color:#fff;border-radius:10px;padding:9px 11px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 20px;font-weight:800;font-size:.9rem;transition:.2s ease;border:1px solid transparent}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-dark);transform:translateY(-1px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-ghost{border-color:var(--line);background:#fff}
.hero{padding:88px 0 80px;overflow:hidden;background:
  radial-gradient(circle at 80% 20%,rgba(0,155,72,.13),transparent 32%),
  linear-gradient(180deg,#fff 0%,#f8fbf9 100%)}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.15em;font-size:.72rem;font-weight:850;color:var(--green);margin-bottom:18px}
.eyebrow:before{content:none}.eyebrow-location{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 17px}
.hero h1{font-size:clamp(3.1rem,6.3vw,6.6rem);line-height:.92;letter-spacing:-.065em;margin:0 0 28px;max-width:780px}
.hero h1 span{color:var(--green)}
.hero-lead{font-size:1.12rem;color:#4f5b53;max-width:650px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-art{position:relative;min-height:510px}
.hero-card{position:absolute;inset:20px 0 0 0;background:var(--ink);border-radius:34px;overflow:hidden;box-shadow:var(--shadow)}
.hero-card img{width:100%;height:100%;object-fit:cover;opacity:.9}
.hero-card:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,155,72,.2),transparent 50%,rgba(0,0,0,.45))}
.hero-badge{position:absolute;left:-18px;bottom:35px;z-index:2;background:#fff;border-radius:20px;padding:18px 20px;box-shadow:var(--shadow);max-width:250px}
.hero-badge strong{display:block;font-size:1.5rem;line-height:1.1}
.section{padding:105px 0}
.section-soft{background:var(--soft)}
.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:44px}
.section-head h2{font-size:clamp(2.1rem,4vw,4.2rem);line-height:.98;letter-spacing:-.045em;margin:0;max-width:700px}
.section-head p{max-width:460px;color:var(--muted);margin:0}
.kicker{font-size:.72rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:var(--green);margin-bottom:12px}
.story{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.story h3{font-size:2rem;line-height:1.1;margin:0 0 20px}
.story p{color:#536058}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:22px;overflow:hidden}
.stat{background:#fff;padding:28px}
.stat strong{font-size:2.6rem;line-height:1;display:block;letter-spacing:-.05em}
.stat span{display:block;color:var(--muted);font-size:.88rem;margin-top:8px}
.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.card{border:1px solid var(--line);border-radius:var(--radius);padding:28px;background:#fff;transition:.2s ease}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:rgba(0,155,72,.35)}
.card-number{font-weight:900;color:var(--green);font-size:.8rem}
.card h3{font-size:1.35rem;line-height:1.15;margin:50px 0 12px}
.card p{color:var(--muted);font-size:.92rem}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.project-card{border-radius:24px;background:var(--ink);color:#fff;min-height:360px;padding:28px;display:flex;flex-direction:column;justify-content:end;position:relative;overflow:hidden}
.project-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.8) 100%)}
.project-card>*{position:relative}
.project-meta{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#9ee5bc;font-weight:800}
.project-card h3{font-size:1.65rem;line-height:1.05;margin:10px 0}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.team-card{border-top:2px solid var(--green);padding-top:18px}
.team-card h3{margin:0 0 5px;font-size:1.15rem}
.team-card p{margin:0;color:var(--muted);font-size:.86rem}
.cta{background:var(--green);color:#fff;border-radius:32px;padding:62px;display:flex;justify-content:space-between;align-items:end;gap:35px}
.cta h2{font-size:clamp(2.2rem,4.5vw,4.5rem);line-height:.95;letter-spacing:-.05em;margin:0;max-width:760px}
.cta p{max-width:480px;color:#d7f7e3}
.site-footer{background:var(--ink);color:#fff;padding:65px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.footer-brand{font-size:1.5rem;font-weight:900}
.footer-grid h4{margin:0 0 14px;font-size:.78rem;text-transform:uppercase;letter-spacing:.13em;color:#9ee5bc}
.footer-grid a,.footer-grid p{color:#aeb8b1;font-size:.9rem;display:block;margin:7px 0}
.footer-bottom{border-top:1px solid #242a26;margin-top:45px;padding-top:18px;color:#7f8982;font-size:.78rem;display:flex;justify-content:space-between;gap:15px}
.page-hero{padding:85px 0 65px;background:var(--soft)}
.page-hero h1{font-size:clamp(3rem,6vw,5.8rem);line-height:.92;letter-spacing:-.06em;margin:0;max-width:900px}
.content{padding:70px 0}
.content-narrow{max-width:820px}
.content h2{font-size:2rem;line-height:1.1}
.content p,.content li{color:#4f5b53}
.post-card{border-top:1px solid var(--line);padding:25px 0}
.notice{padding:18px 20px;background:#eff9f3;border-left:4px solid var(--green);border-radius:8px}
@media(max-width:980px){
  .main-nav{display:none}
  .menu-toggle{display:block}
  .hero-grid,.story{grid-template-columns:1fr}
  .hero-art{min-height:420px}
  .cards{grid-template-columns:repeat(3,1fr)}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .project-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .header-inner{min-height:70px}
  .brand{min-width:235px;flex-basis:235px}.brand img{width:235px;height:auto;max-width:100%}
  .brand-text{font-size:.82rem}
  .hero{padding:55px 0}
  .hero h1{font-size:3.25rem}
  .hero-art{min-height:310px}
  .hero-badge{left:10px;bottom:10px}
  .section{padding:70px 0}
  .section-head{display:block}
  .section-head p{margin-top:18px}
  .cards,.project-grid,.team-grid,.stats{grid-template-columns:1fr}
  .cta{padding:35px 25px;display:block}
  .cta .btn{margin-top:24px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{display:block}
}

.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.news-card{border:1px solid var(--line);border-radius:22px;padding:25px;background:#fff}
.news-card .meta{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--green);font-weight:850}
.news-card h3{font-size:1.35rem;line-height:1.1;margin:12px 0}
.news-card p{color:var(--muted);font-size:.9rem}
.event-list{display:grid;gap:12px}
.event-item{display:grid;grid-template-columns:110px 1fr auto;gap:22px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:18px 20px;background:#fff}
.event-date{font-weight:900;color:var(--green)}
.event-item h3{margin:0;font-size:1.1rem}
.event-item p{margin:3px 0 0;color:var(--muted);font-size:.86rem}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.media-card{border-radius:22px;background:var(--ink);color:#fff;padding:28px;min-height:220px;display:flex;flex-direction:column;justify-content:end}
.media-card .media-type{color:#9ee5bc;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;font-weight:850}
.join-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.join-card{padding:30px;border-radius:24px;background:#fff;border:1px solid var(--line)}
.join-card h3{font-size:1.5rem;margin:0 0 10px}
.join-card p{color:var(--muted)}
.join-card .btn{margin-top:12px}
@media(max-width:980px){.news-grid,.archive-grid,.join-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.header-inner{min-height:86px}.brand{min-width:0;flex-basis:auto}.brand img{width:190px;height:auto;max-width:100%}.news-grid,.archive-grid,.join-grid{grid-template-columns:1fr}.event-item{grid-template-columns:1fr}.event-item .btn{justify-self:start}}

/* CMS-managed content */
.cms-media{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cms-media-card{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff}
.cms-media-thumb{aspect-ratio:16/10;background:var(--soft);display:flex;align-items:center;justify-content:center;overflow:hidden}
.cms-media-thumb img{width:100%;height:100%;object-fit:cover}
.cms-media-body{padding:22px}
.cms-media-body h3{margin:5px 0 8px;font-size:1.2rem}
.cms-media-type{font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;color:var(--green);font-weight:850}
.form-wrap{max-width:760px}
.marscho-form{display:grid;gap:16px}
.marscho-form label{font-weight:750;font-size:.9rem}
.marscho-form input,.marscho-form textarea,.marscho-form select{width:100%;margin-top:6px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;font:inherit;background:#fff}
.marscho-form textarea{min-height:140px;resize:vertical}
.form-success{padding:16px 18px;border-left:4px solid var(--green);background:#eff9f3;border-radius:8px;margin-bottom:20px}
.admin-note{font-size:.8rem;color:var(--muted)}
@media(max-width:980px){.cms-media{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.cms-media{grid-template-columns:1fr}.brand img{width:180px;height:auto;max-width:100%}}


/* Landing page media/icon customization */
.card-icon,.join-icon,.project-card-top{color:var(--green);display:flex;align-items:center;justify-content:center}
.card-icon{width:58px;height:58px;margin-bottom:18px;border:1px solid var(--line);border-radius:18px;background:#fff}
.home-icon-svg{width:32px;height:32px;display:block}.home-icon-img{width:34px;height:34px;object-fit:contain;display:block}
.project-card-top{min-height:120px;margin:-24px -24px 20px;padding:20px;background:var(--soft);position:relative;overflow:hidden}
.project-card-top .home-icon-svg,.project-card-top .home-icon-img{position:relative;z-index:2;width:42px;height:42px}
.project-card-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22}
.section-head-with-media{align-items:start}.section-inline-image{width:180px;max-height:110px;object-fit:cover;border-radius:14px;margin-top:12px}
.news-image{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:16px 16px 0 0;margin:-24px -24px 18px}.news-image img{width:100%;height:100%;object-fit:cover;display:block}
.section-more{margin-top:24px}.news-placeholder-icon{margin-bottom:12px;color:var(--green)}
.team-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px;margin-bottom:14px}
.join-icon{width:54px;height:54px;border-radius:16px;background:var(--soft);margin-bottom:16px}
.news-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.contact-form{max-width:760px}.contact-form .btn{justify-self:start}
@media(max-width:980px){.news-archive-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.news-archive-grid{grid-template-columns:1fr}.section-inline-image{width:100%;max-height:220px}.card-icon{margin-bottom:14px}}

.lang-flag{width:18px;height:12px;display:inline-block;object-fit:cover;border-radius:1px;box-shadow:0 0 0 1px rgba(0,0,0,.14);flex:0 0 auto}.che-flag{display:none!important}
.home-icon-svg{color:var(--green);stroke:currentColor}.home-icon-img{background:#fff}.card-icon,.join-icon{overflow:hidden}.card-icon .home-icon-img,.join-icon .home-icon-img{width:32px;height:32px}.project-card-top .home-icon-img{background:transparent}.media-type-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;color:var(--green);border:1px solid var(--line);border-radius:16px;background:#fff;margin-bottom:14px}.media-type-icon .home-icon-svg{width:30px;height:30px}.media-type-icon .home-icon-img{width:30px;height:30px}.media-placeholder-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;color:var(--green);border:1px solid var(--line);border-radius:16px;background:#fff;margin-bottom:14px}.media-placeholder-icon .home-icon-svg{width:30px;height:30px}
.cards{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1100px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.cards{grid-template-columns:1fr}}

/* v24 */
.footer-grid-modern{align-items:start}.footer-logo-link{display:inline-block;margin-bottom:20px}.footer-logo-link img{width:220px;height:auto;display:block;filter:brightness(0) invert(1)}.footer-intro p{max-width:360px}.footer-place{color:#9ee5bc!important;font-weight:700}.footer-socials{display:flex;gap:9px;margin-top:18px}.footer-socials a{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;box-sizing:border-box;border:1px solid #39433d;border-radius:50%;display:inline-flex!important;align-items:center;justify-content:center;color:#fff!important;font-weight:400!important;margin:0!important;flex:0 0 38px}.footer-socials a:hover{background:var(--green);border-color:var(--green)}.footer-contact-btn{margin-top:18px!important;display:inline-flex!important;border:1px solid #39433d;padding:10px 15px;border-radius:999px;color:#fff!important}.footer-contact-btn:hover{background:var(--green);border-color:var(--green)}

/* v25 footer polish */
.site-footer .footer-grid > div:first-child p{white-space:nowrap;font-size:.95rem;letter-spacing:-.01em}
.footer-socials a svg{width:20px;height:20px;display:block;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.site-footer .footer-grid > div:first-child p{white-space:normal}}

/* Final footer + homepage location polish */
.eyebrow-location{width:16px;height:16px;flex:0 0 16px;display:block}
.eyebrow-location .pin-shape{fill:#e53935;stroke:none}
.eyebrow-location .pin-dot{fill:#fff;stroke:none}
.footer-menu{list-style:none;margin:0;padding:0}
.footer-menu li{margin:0}
.footer-menu a{display:block;margin:7px 0;color:#aeb8b1;font-size:.9rem}
.footer-socials a svg{width:20px!important;height:20px!important;display:block!important;fill:none!important;stroke:#fff!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important}
.footer-socials a svg rect,.footer-socials a svg circle,.footer-socials a svg path{stroke:#fff!important;fill:none!important}
.footer-socials a[aria-label="LinkedIn"] svg rect{fill:#fff!important;stroke:#fff!important}
.footer-socials a[aria-label="LinkedIn"] svg path{stroke:#0b0d0c!important;stroke-width:2.2!important}
