/*
Theme Name: Lähteen Vanhempainyhdistys
Description: Custom lightweight theme for Lähteen vanhempainyhdistys.
Version: 0.1.0
Text Domain: lahteen-vanhempainyhdistys
*/
:root{--brand:#0088c0;--dark:#173744;--muted:#5f747d;--soft:#f2fafc;--line:#dce8ec;--radius:18px;--container:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--dark);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:#00658e}img{max-width:100%;height:auto;display:block}.container{width:min(var(--container),calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:var(--dark);text-decoration:none;font-weight:800}.brand img{width:52px;height:52px;object-fit:contain;background:var(--brand);border-radius:12px;padding:4px}.brand-name{line-height:1.1}.brand-name small{display:block;color:var(--muted);font-size:.72rem;margin-top:4px}.site-nav ul{display:flex;list-style:none;gap:24px;margin:0;padding:0}.site-nav a{text-decoration:none;color:var(--dark);font-weight:650}.menu-toggle{display:none;border:0;background:transparent;font-size:1.6rem}
.hero{min-height:620px;display:grid;place-items:center;background:linear-gradient(90deg,rgba(4,38,52,.84),rgba(4,38,52,.48),rgba(4,38,52,.12)),url("assets/images/hero.jpg") center 38%/cover no-repeat;color:#fff}.hero-content{max-width:700px;padding:90px 0}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.8rem;font-weight:800;color:#bcefff}.hero h1{font-size:clamp(2.6rem,6vw,5rem);line-height:.98;margin:14px 0 22px;letter-spacing:-.045em}.hero p{font-size:1.2rem;max-width:600px}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;text-decoration:none;font-weight:800;border:2px solid transparent;margin:4px}.button-primary{background:var(--brand);color:#fff}.button-light{background:#fff;color:var(--dark)}
.section{padding:88px 0}.section-soft{background:var(--soft)}.section-head{max-width:720px;margin-bottom:38px}.section-head h1,.section-head h2{font-size:clamp(2rem,4vw,3rem);line-height:1.05;margin:0 0 12px;letter-spacing:-.03em}.section-head p{color:var(--muted)}.cards,.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card,.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card{padding:28px}.card-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:#dff5fc;color:#00658e;font-size:1.5rem;margin-bottom:18px}.card h3{margin:0 0 8px}.card p,.post-card p{color:var(--muted)}.post-card .thumb{aspect-ratio:16/9;background:#dff5fc;overflow:hidden}.post-card .thumb img{width:100%;height:100%;object-fit:cover}.post-card-body{padding:24px}.post-meta{color:var(--muted);font-size:.86rem;font-weight:700}.post-card h2,.post-card h3{margin:8px 0;line-height:1.2}.post-card h2 a,.post-card h3 a{color:var(--dark);text-decoration:none}.cta{border-radius:28px;background:var(--brand);color:#fff;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta h2{margin:0 0 8px}.content{padding:70px 0}.content-inner{max-width:820px;margin:auto}.content h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.05;letter-spacing:-.04em}.content p,.content li{font-size:1.08rem}.site-footer{background:#102f3a;color:#d8e9ee;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.site-footer h3{color:#fff}.site-footer a{color:#d8e9ee}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:40px;padding-top:20px;color:#9fc0c9;font-size:.9rem}
@media(max-width:820px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;left:0;right:0;top:78px;background:#fff;border-bottom:1px solid var(--line);padding:16px 20px}.site-nav.is-open{display:block}.site-nav ul{flex-direction:column;gap:14px}.cards,.news-grid,.footer-grid{grid-template-columns:1fr}.hero{min-height:560px}.cta{flex-direction:column;align-items:flex-start}}
