/*
Theme Name: Ängssätra 2026
Theme URI: https://www.angssatra.se/
Description: Föreningens egna tema – rent, modernt och lite mer grafiskt. Startsida med snabbval och nyheter, faktarutor i inlägg och mörkt läge. Fristående tema (inget barntema).
Author: BRF Ängssätra
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: angssatra-modern
Update URI: https://www.angssatra.se/
*/

/* ---------- Typsnitt (självhostade, OFL) ---------- */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/bricolage-grotesque-latin.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:200 900;font-display:swap;src:url(fonts/source-sans-3-latin.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:italic;font-weight:200 900;font-display:swap;src:url(fonts/source-sans-3-latin-italic.woff2) format('woff2')}

/* ---------- Designtokens ---------- */
:root{
	--ground:#f5f4ef;
	--surface:#ffffff;
	--text:#1c2a30;
	--muted:#4e5f66;
	--teal:#0a6e89;
	--teal-hover:#074f63;
	--deep:#0b3a49;
	--deep-panel:rgba(7,63,80,.93);
	--tint:#e6f0f3;
	--tint-text:#bfe3ee;
	--border:#e3e6e5;
	--btn-bg:#0a6e89;
	--btn-bg-hover:#074f63;
	--shadow:0 1px 2px rgba(28,42,48,.05),0 10px 28px rgba(28,42,48,.08);
	--radius:16px;
	--font-display:'Bricolage Grotesque','Source Sans 3',ui-sans-serif,system-ui,sans-serif;
	--font-body:'Source Sans 3',ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
	--wrap:1200px;
	--gutter:clamp(16px,4vw,40px);
}
@media (prefers-color-scheme:dark){
	:root{
		--ground:#10181d;
		--surface:#17232a;
		--text:#e6edf0;
		--muted:#a3b4bb;
		--teal:#5cbcd6;
		--teal-hover:#8ad3e6;
		--deep:#0b2f3b;
		--tint:#12333e;
		--border:#26363e;
		--btn-bg:#0a6e89;
		--btn-bg-hover:#0d86a8;
		--shadow:0 1px 2px rgba(0,0,0,.3),0 10px 28px rgba(0,0,0,.35);
	}
}

/* ---------- Grund ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--ground);color:var(--text);font-family:var(--font-body);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--teal)}
a:hover{color:var(--teal-hover)}
:focus-visible{outline:3px solid var(--teal);outline-offset:2px;border-radius:4px}
h1,h2,h3,h4,.disp{font-family:var(--font-display);letter-spacing:-.01em;font-weight:700;line-height:1.1;margin:0}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.muted{color:var(--muted)}
.eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--teal)}
.eyebrow--light{color:var(--tint-text)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:1000;background:var(--surface);color:var(--teal);padding:10px 16px;border-radius:10px;font-weight:700}
.skip-link:focus{left:8px}
.ico{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.ico--sm{width:18px;height:18px}
.ico--xs{width:15px;height:15px}

/* ---------- Knappar ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 22px;border-radius:12px;font-weight:700;font-size:16px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;line-height:1;white-space:nowrap}
.btn-sm{height:44px;padding:0 18px;font-size:15px}
.btn-teal{background:var(--btn-bg);color:#fff}
.btn-teal:hover{background:var(--btn-bg-hover);color:#fff}
.btn-white{background:#fff;color:#0a6e89}
.btn-white:hover{background:#eef5f7;color:#074f63}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.45)}
.btn-ghost:hover{background:rgba(255,255,255,.22);color:#fff}
.btn-line{background:transparent;color:var(--teal);border:1.5px solid var(--teal)}
.btn-line:hover{background:var(--tint);color:var(--teal-hover)}
.more{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:15px;color:var(--teal);text-decoration:none}
.more:hover{color:var(--teal-hover)}
.more--light,.more--light:hover{color:#fff}

/* ---------- Sidhuvud ---------- */
.site-header{background:var(--surface);border-bottom:1px solid var(--border);position:relative;z-index:20}
.site-header__inner{display:flex;align-items:center;gap:32px;min-height:88px}
.site-brand{display:flex;align-items:center;flex:none}
.site-brand a{display:flex;align-items:center;text-decoration:none;color:var(--text)}
.site-brand img{height:56px;width:auto;display:block}
.site-brand__text{font-family:var(--font-display);font-weight:800;font-size:22px;color:var(--teal)}
.site-nav{display:flex;align-items:center;gap:28px;margin-left:auto}
.menu,.sub-menu,.footer-menu{list-style:none;margin:0;padding:0}
.menu{display:flex;align-items:center;gap:26px}
.menu>li{position:relative;display:flex;align-items:center;height:88px}
.menu a{color:var(--text);text-decoration:none;font-weight:600;font-size:15px;display:inline-flex;align-items:center}
.menu a:hover{color:var(--teal)}
.menu>.current-menu-item>a,.menu>.current-menu-ancestor>a,.menu>.current_page_parent>a{color:var(--teal)}
.menu>.menu-item-has-children>a::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 0 0 8px;flex:none}
.sub-menu{position:absolute;top:calc(100% - 16px);left:-12px;min-width:260px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:10px;display:none;z-index:50}
.menu>li:hover>.sub-menu,.menu>li:focus-within>.sub-menu{display:block}
.sub-menu a{display:block;padding:9px 12px;border-radius:9px;font-weight:600;font-size:15px;white-space:nowrap}
.sub-menu a:hover{background:var(--tint);color:var(--teal)}
.site-nav__actions{display:flex;align-items:center;gap:12px}
.nav-lang{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 12px;border-radius:10px;color:var(--muted);text-decoration:none;font-weight:600;font-size:15px}
.nav-lang:hover{color:var(--teal);background:var(--tint)}
.nav-toggle{display:none;margin-left:auto;align-items:center;gap:8px;height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.nav-toggle__close{display:none}
body.nav-open .nav-toggle__open{display:none}
body.nav-open .nav-toggle__close{display:block}

/* ---------- Hero ---------- */
.hero{position:relative;height:clamp(520px,58vw,640px);overflow:hidden;background:var(--deep)}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
.hero__panel{position:absolute;left:max(var(--gutter),calc((100% - var(--wrap)) / 2 + var(--gutter)));bottom:136px;width:min(640px,calc(100% - 2 * var(--gutter)));padding:44px 48px;border-radius:20px;background:var(--deep-panel);color:#fff;display:flex;flex-direction:column;gap:18px}
.hero__title{font-size:clamp(34px,4vw,50px);line-height:1.04;color:#fff}
.hero__text{margin:0;font-size:18px;line-height:1.55;color:rgba(255,255,255,.9)}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}

/* ---------- Snabbval ---------- */
.tiles-section{position:relative;z-index:2;margin-top:-64px;padding-bottom:88px}
.tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.tile{display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;text-decoration:none;color:var(--text);box-shadow:var(--shadow);min-height:176px;transition:border-color .15s,transform .15s}
.tile:hover{color:var(--text);border-color:var(--teal);transform:translateY(-2px)}
.icirc{width:44px;height:44px;border-radius:12px;background:var(--tint);color:var(--teal);display:inline-flex;align-items:center;justify-content:center;flex:none}
.icirc--light{background:rgba(255,255,255,.12);color:#fff}
.tile__title{font-size:17px;font-weight:700;display:block}
.tile__text{display:block;color:var(--muted);font-size:14px;line-height:1.4;margin-top:4px}
.tile__chev{display:none}

/* ---------- Sektioner ---------- */
.section{padding-bottom:104px}
.section--white{background:var(--surface);padding:60px 0}
.section--deep{background:var(--deep);color:#fff;padding:60px 0}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.section__title{font-size:clamp(28px,3vw,36px);margin-top:6px}
.section--deep .section__title{color:#fff}
.section__lead{margin:0;font-size:17px;max-width:420px;text-align:right;color:rgba(255,255,255,.85)}

/* ---------- Nyhetskort ---------- */
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.card{position:relative;display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;color:var(--text);overflow:hidden;min-height:330px;transition:border-color .15s}
.card:hover{border-color:var(--teal)}
.card:focus-within{outline:3px solid var(--teal);outline-offset:2px}
.card__media{margin:-24px -24px 6px;height:170px;display:block}
.card__media img{width:100%;height:100%;object-fit:cover;display:block}
.card__head{display:flex;align-items:center;gap:14px}
.card__date{color:var(--muted);font-size:14px;font-weight:600}
.card__title{font-size:21px;line-height:1.2}
.card__title a{color:inherit;text-decoration:none}
.card__title a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.card__title a:focus-visible{outline:none}
.card__excerpt{margin:0;color:var(--muted);font-size:15px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card .more{margin-top:auto}
.date-block{width:60px;height:60px;border-radius:14px;background:var(--tint);color:var(--teal);display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:none;line-height:1}
.date-block__day{font-family:var(--font-display);font-size:26px;font-weight:800}
.date-block__mon{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-top:3px}
.date-block--sm{width:44px;height:44px;border-radius:10px}
.date-block--sm .date-block__day{font-size:18px}
.date-block--sm .date-block__mon{font-size:10px;margin-top:2px}
.card--featured{grid-column:span 2;background:var(--deep);border-color:var(--deep);color:#fff;padding:36px 40px;justify-content:space-between}
.card--featured:hover{border-color:var(--teal)}
.card--featured .card__title{font-size:clamp(24px,2.4vw,32px);line-height:1.12;max-width:640px;color:#fff}
.card--featured .card__excerpt{color:rgba(255,255,255,.88);font-size:17px;max-width:620px;-webkit-line-clamp:3}
.pill{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.14);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;align-self:flex-start;color:inherit}
.pill--tint{background:var(--tint);color:var(--teal);height:32px;letter-spacing:0;text-transform:none;font-size:15px}
.news-grid--archive .card{min-height:0}

/* ---------- Om föreningen ---------- */
.about{display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:64px;align-items:center}
.about__img{width:100%;height:440px;object-fit:cover;border-radius:24px;display:block}
.about__body{display:flex;flex-direction:column;gap:20px}
.about__title{font-size:clamp(30px,3.2vw,40px);line-height:1.08}
.about__text{margin:0;font-size:17px;line-height:1.6;color:var(--muted)}
.stats{display:flex;flex-wrap:wrap;gap:44px;margin-top:8px}
.stat{display:flex;flex-direction:column;gap:6px}
.stat__num{font-family:var(--font-display);font-size:36px;font-weight:800;color:var(--teal);line-height:1}
.stat__label{color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.about__links{display:flex;flex-wrap:wrap;gap:28px;margin-top:8px}

/* ---------- Hjälp / kontakt ---------- */
.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.help-card{display:flex;flex-direction:column;gap:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:var(--radius);padding:26px;min-height:216px}
.help-card__head{display:flex;align-items:center;gap:12px}
.help-card__title{font-size:20px;color:#fff}
.help-card__text{margin:0;font-size:15px;line-height:1.5;color:rgba(255,255,255,.85)}
.help-card__lines{margin-top:auto;display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600}
.help-card__lines a,.help-card__lines span{color:#fff;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.help-card__lines a:hover{text-decoration:underline;color:#fff}

/* ---------- Sidfot ---------- */
.site-footer{border-top:1px solid var(--border);padding:48px 0 32px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px}
.footer-brand{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.footer-brand img{height:48px;width:auto}
.footer-brand p{margin:0;font-size:15px;line-height:1.6;color:var(--muted)}
.footer-col .widget-title,.footer-col__title{display:block;font-family:var(--font-body);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text);margin:0 0 12px}
.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
.footer-col a{color:var(--muted);text-decoration:none}
.footer-col a:hover{color:var(--teal)}
.footer-col .widget{margin-bottom:20px}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 20px;font-size:14px;color:var(--muted);border-top:1px solid var(--border);padding-top:20px;margin-top:40px}
.footer-menu{display:flex;flex-wrap:wrap;gap:20px}
.footer-menu a{color:var(--muted);text-decoration:none}
.footer-menu a:hover{color:var(--teal)}

/* ---------- Sidhuvud för undersidor ---------- */
.page-hero{padding:56px 0 40px}
.page-hero__inner{display:flex;flex-direction:column;gap:18px}
.breadcrumb{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted);margin:0;padding:0;list-style:none}
.breadcrumb a{color:var(--muted);text-decoration:none}
.breadcrumb a:hover{color:var(--teal)}
.page-hero__title{font-size:clamp(32px,4vw,46px);line-height:1.08;max-width:900px}
.page-hero__sub{margin:0;font-size:18px;color:var(--muted);max-width:720px}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:15px;color:var(--muted)}
.post-meta a{color:inherit}

/* ---------- Inlägg och sidor ---------- */
.content-section{background:var(--surface);padding:56px 0 72px}
.post-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:80px}
.page-layout{max-width:900px}
.entry-content{font-size:18px;line-height:1.65}
.entry-content>*{max-width:780px}
.entry-content>.alignwide,.entry-content>.alignfull,.entry-content>.facts,.entry-content>.wp-block-table,.entry-content>.wp-block-embed{max-width:none}
.entry-content h2{font-size:30px;margin:1.4em 0 .5em}
.entry-content h3{font-size:23px;margin:1.3em 0 .5em}
.entry-content h4{font-size:19px;margin:1.2em 0 .4em}
.entry-content p{margin:0 0 1.2em}
.single-post .entry-content>p:first-child{font-size:1.15em;font-weight:600;line-height:1.5}
.entry-content ul,.entry-content ol{padding-left:1.3em;margin:0 0 1.2em}
.entry-content li{margin-bottom:.35em}
.entry-content a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(10,110,137,.45)}
.entry-content a:hover{text-decoration-color:currentColor}
.entry-content img{border-radius:12px}
.entry-content figure{margin:0 0 1.4em}
.entry-content figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.entry-content blockquote{margin:0 0 1.4em;padding:12px 24px;border-left:4px solid var(--teal);background:var(--ground);border-radius:0 12px 12px 0;font-size:1.05em}
.entry-content table{width:100%;border-collapse:collapse;margin:0 0 1.4em;font-size:16px}
.entry-content th,.entry-content td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top}
.entry-content th{font-weight:700;background:var(--ground)}
.entry-content hr{border:0;border-top:1px solid var(--border);margin:2em 0}
.entry-content .wp-block-button__link,.entry-content .button{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border-radius:12px;background:var(--btn-bg);color:#fff;font-weight:700;text-decoration:none;border:0}
.entry-content .wp-block-button__link:hover{background:var(--btn-bg-hover)}
.entry-content .doc-list{list-style:none;padding:0;margin:0 0 1.6em;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;max-width:none}
.entry-content .doc-list li{margin:0}
.entry-content .doc-list a{display:flex;flex-direction:column;gap:4px;padding:16px 18px;background:var(--ground);border:1px solid var(--border);border-radius:14px;text-decoration:none;color:var(--text);height:100%}
.entry-content .doc-list a:hover{border-color:var(--teal)}
.entry-content .doc-list strong{font-size:16px}
.entry-content .doc-list span{font-size:14px;color:var(--muted)}
.entry-footer{margin-top:32px;padding-top:24px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:16px}
.post-aside{display:flex;flex-direction:column;gap:24px}
.aside-box{background:var(--ground);border-radius:var(--radius);padding:24px}
.aside-box__title{font-size:20px;margin-bottom:8px}
.rel{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--border);text-decoration:none;color:var(--text);font-size:15px;font-weight:600;line-height:1.35}
.rel:hover{color:var(--teal)}
.cta-box{background:var(--deep);color:#fff;border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.cta-box__title{font-size:20px;color:#fff}
.cta-box p{margin:0;font-size:15px;line-height:1.5;color:rgba(255,255,255,.85)}

/* ---------- Faktarutor ([faktarutor][fakta]) ---------- */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:0 0 28px;max-width:none}
.fact{display:flex;flex-direction:column;gap:6px;background:var(--ground);border:1px solid var(--border);border-radius:14px;padding:16px 18px}
.fact__icon{width:36px;height:36px;border-radius:10px;background:var(--tint);color:var(--teal);display:inline-flex;align-items:center;justify-content:center}
.fact__title{font-weight:700;font-size:16px;line-height:1.3}
.fact__text{color:var(--muted);font-size:14px;line-height:1.35}

/* ---------- Formulär ---------- */
.entry-content input[type=text],.entry-content input[type=email],.entry-content input[type=tel],.entry-content input[type=search],.entry-content input[type=number],.entry-content textarea,.entry-content select,.search-field{width:100%;max-width:100%;font:inherit;font-size:16px;padding:11px 14px;border:1.5px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}
.entry-content input:focus,.entry-content textarea:focus,.entry-content select:focus,.search-field:focus{border-color:var(--teal);outline:none;box-shadow:0 0 0 3px rgba(10,110,137,.18)}
.entry-content input[type=submit],.entry-content button[type=submit]{display:inline-flex;align-items:center;height:48px;padding:0 22px;border-radius:12px;background:var(--btn-bg);color:#fff;font:inherit;font-weight:700;border:0;cursor:pointer}
.entry-content input[type=submit]:hover,.entry-content button[type=submit]:hover{background:var(--btn-bg-hover)}
.search-form{display:flex;gap:10px;max-width:520px}
.search-form .search-field{flex:1}

/* ---------- Bläddring ---------- */
.pagination{margin-top:40px}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-decoration:none;font-weight:600}
.pagination .page-numbers.current{background:var(--btn-bg);border-color:var(--btn-bg);color:#fff}
.pagination a.page-numbers:hover{border-color:var(--teal);color:var(--teal)}
.pagination .dots{border:0;background:transparent}

/* ---------- 404 / tomt ---------- */
.empty{max-width:640px;display:flex;flex-direction:column;gap:20px}

/* ---------- Kommentarer ---------- */
.comments-area{max-width:780px;margin-top:48px}
.comment-list{list-style:none;margin:0;padding:0}
.comment-body{padding:16px 0;border-top:1px solid var(--border)}

/* ---------- Responsivt ---------- */
@media (max-width:1100px){
	.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
	.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.help-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
	.post-layout{grid-template-columns:minmax(0,1fr) 300px;gap:48px}
}
@media (max-width:960px){
	.site-header__inner{min-height:64px;gap:16px}
	.site-brand img{height:40px}
	.nav-toggle{display:inline-flex}
	.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow);padding:12px var(--gutter) 20px;flex-direction:column;align-items:stretch;gap:16px;margin:0}
	body.nav-open .site-nav{display:flex}
	.menu{flex-direction:column;align-items:stretch;gap:0}
	.menu>li{height:auto;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--border)}
	.menu>li>a{padding:14px 0;font-size:17px}
	.menu>.menu-item-has-children>a::after{margin-left:auto}
	.sub-menu{position:static;display:block;min-width:0;border:0;box-shadow:none;background:transparent;padding:0 0 10px 12px;border-radius:0}
	.sub-menu a{padding:8px 10px}
	.site-nav__actions{justify-content:space-between;padding-top:4px}
	.hero{height:460px}
	.hero__panel{left:16px;right:16px;bottom:16px;width:auto;padding:22px;border-radius:16px;gap:12px}
	.hero__title{font-size:30px}
	.hero__text{font-size:15px}
	.hero__actions .btn{flex:1;height:44px;font-size:15px;padding:0 14px}
	.tiles-section{margin-top:0;padding:24px 0}
	.tiles{grid-template-columns:1fr;gap:10px}
	.tile{flex-direction:row;align-items:center;gap:14px;padding:12px 14px;min-height:68px;border-radius:14px}
	.tile .icirc{width:40px;height:40px;border-radius:11px}
	.tile__body{flex:1;min-width:0}
	.tile__title{font-size:16px}
	.tile__text{font-size:13px;margin-top:2px}
	.tile__chev{display:block;color:var(--muted)}
	.section{padding-bottom:48px}
	.section--white,.section--deep{padding:40px 0}
	.section__head{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:16px}
	.section__lead{text-align:left}
	.news-grid{grid-template-columns:1fr;gap:14px}
	.card{min-height:0;padding:20px}
	.card__media{margin:-20px -20px 4px;height:150px}
	.card--featured{grid-column:auto;padding:24px}
	.card__title{font-size:18px}
	.about{grid-template-columns:1fr;gap:20px}
	.about__img{height:220px;border-radius:16px}
	.stats{gap:32px}
	.stat__num{font-size:28px}
	.help-grid{grid-template-columns:1fr;gap:10px}
	.help-card{min-height:0;padding:18px;border-radius:14px}
	.footer-grid{grid-template-columns:1fr 1fr;gap:28px}
	.footer-brand{grid-column:1 / -1}
	.page-hero{padding:32px 0 24px}
	.content-section{padding:32px 0 48px}
	.post-layout{grid-template-columns:1fr;gap:32px}
	.entry-content{font-size:17px}
}
@media (max-width:520px){
	.footer-grid{grid-template-columns:1fr}
	.facts{grid-template-columns:1fr}
	.hero__actions{flex-direction:column}
}
