/*
Theme Name: Impact3780 Premium
Theme URI: https://rotarydistrict3780.org/
Author: MetaConnect Services
Description: Controlled premium hybrid theme for RI District 3780 and Impact3780 Club sites. Inspired by the Impact3780 Hub visual language and optimized for Gutenberg content publishing.
Version: 0.10.12
Requires at least: 6.5
Requires PHP: 8.3
Text Domain: impact3780-premium
*/

:root{--impact-blue:#2661d9;--impact-navy:#17458f;--impact-gold:#f7a81b;--impact-cyan:#5ed5ed;--rotary-sky:#00a2e0;--impact-bg:#f0f1f5;--impact-ink:#172033;--impact-muted:#64748b;--impact-card:#fff;--impact-radius:24px;--impact-shadow:0 18px 50px rgba(15,23,42,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--impact-ink);background:var(--impact-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}h1,h2,h3{color:var(--impact-ink);text-wrap:balance}h1{font-size:clamp(34px,4.8vw,58px);line-height:1.04;letter-spacing:-.04em}h2{font-size:clamp(27px,3.4vw,40px);line-height:1.08;letter-spacing:-.03em}h3{font-size:clamp(20px,2.1vw,25px);line-height:1.16;letter-spacing:-.018em}a{color:var(--impact-blue);text-decoration:none}a:hover{text-decoration:none}.impact-container{width:min(1200px,calc(100% - 40px));margin-inline:auto}.impact-site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(148,163,184,.22)}.impact-header-inner{min-height:78px;display:flex;align-items:center;gap:32px}.impact-brand{display:flex;align-items:center;gap:12px;min-width:0}.impact-brand img{max-height:48px;width:auto}.impact-brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--impact-blue),var(--impact-navy));box-shadow:0 10px 24px rgba(38,97,217,.25)}.impact-brand-copy strong{display:block;color:var(--impact-navy);font-size:18px;line-height:1.1}.impact-brand-copy small{display:block;color:var(--impact-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-top:4px}.impact-nav{margin-left:auto;display:flex;align-items:center;gap:24px}.impact-nav ul{display:flex;list-style:none;gap:24px;margin:0;padding:0}.impact-nav a{font-size:14px;font-weight:750;color:#475569}.impact-nav a:hover{color:var(--impact-blue)}.impact-hub-link{display:inline-flex;align-items:center;justify-content:center;background:var(--impact-blue);color:#fff!important;padding:11px 18px;border-radius:999px;box-shadow:0 10px 26px rgba(38,97,217,.22)}.impact-mobile-toggle{display:none;margin-left:auto;border:0;background:#eef2f7;border-radius:12px;padding:9px 12px;font-weight:800}.impact-hero{position:relative;overflow:hidden;padding:104px 0 84px;background:radial-gradient(circle at 85% 20%,rgba(94,213,237,.22),transparent 25%),radial-gradient(circle at 10% 0%,rgba(247,168,27,.14),transparent 22%),linear-gradient(180deg,#fff 0%,#f4f7fb 100%)}.impact-hero:after{content:"";position:absolute;right:-130px;bottom:-180px;width:520px;height:520px;border-radius:50%;border:76px solid rgba(38,97,217,.035)}.impact-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:72px}.impact-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;border:1px solid rgba(94,213,237,.65);background:rgba(94,213,237,.11);font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--impact-navy)}.impact-hero h1{font-size:clamp(40px,5.2vw,62px);line-height:.98;letter-spacing:-.055em;margin:24px 0;color:#111827}.impact-hero h1 em{font-style:normal;color:var(--impact-blue)}.impact-hero p{font-size:clamp(18px,2vw,21px);max-width:720px;color:#526174}.impact-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:32px}.impact-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 23px;border-radius:16px;font-weight:800}.impact-button-primary{background:var(--impact-blue);color:#fff;box-shadow:0 14px 30px rgba(38,97,217,.24)}.impact-button-secondary{background:#fff;color:var(--impact-navy);border:1px solid #dbe2ec}.impact-hero-card{position:relative;background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:32px;padding:28px;box-shadow:var(--impact-shadow)}.impact-hero-card:before{content:"";position:absolute;inset:16px 16px auto auto;width:9px;height:9px;border-radius:50%;background:var(--impact-gold);box-shadow:0 0 0 6px rgba(247,168,27,.13)}.impact-mini-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:22px}.impact-mini-stat{border-radius:18px;background:#f7f9fc;padding:17px}.impact-mini-stat strong{display:block;font-size:26px;color:var(--impact-navy);line-height:1}.impact-mini-stat span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#64748b}.impact-section{padding:76px 0}.impact-section-white{background:#fff}.impact-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}.impact-section-head h2{font-size:clamp(27px,3.4vw,40px);letter-spacing:-.035em;line-height:1.05;margin:8px 0}.impact-section-head p{max-width:620px;color:#64748b}.impact-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.impact-card{background:#fff;border:1px solid #e6eaf0;border-radius:var(--impact-radius);overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.045);transition:transform .22s ease,box-shadow .22s ease}.impact-card:hover{transform:translateY(-3px);box-shadow:var(--impact-shadow)}.impact-card-media{aspect-ratio:16/10;background:linear-gradient(135deg,#dbeafe,#f0f9ff);overflow:hidden}.impact-card-media img{width:100%;height:100%;object-fit:cover}.impact-card-body{padding:22px}.impact-card-meta{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:850;color:var(--impact-blue)}.impact-card h3{font-size:19px;line-height:1.18;margin:10px 0}.impact-card p{color:#64748b;font-size:14px}.impact-content-wrap{background:#fff;border:1px solid #e6eaf0;border-radius:28px;padding:clamp(24px,5vw,54px);box-shadow:0 12px 38px rgba(15,23,42,.05);margin:52px auto;min-width:0}.entry-header{margin-bottom:28px}.entry-title{font-size:clamp(32px,4.4vw,54px);line-height:1;letter-spacing:-.045em;margin:.3em 0}.entry-meta{color:#64748b;font-size:13px;font-weight:700}.entry-content{font-size:17px}.entry-content>*{max-width:820px;margin-left:auto;margin-right:auto}.entry-content>.alignwide{max-width:1100px}.entry-content>.alignfull{max-width:none}.entry-content img{border-radius:18px}.impact-site-footer{background:#0f172a;color:#cbd5e1;padding:70px 0 28px}.impact-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:46px}.impact-site-footer h3,.impact-site-footer h4{color:#fff}.impact-site-footer a{color:#cbd5e1}.impact-site-footer a:hover{color:#fff}.impact-footer-bottom{margin-top:50px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:20px;font-size:12px}.impact-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.impact-story-empty{padding:35px;background:#fff;border-radius:20px;border:1px dashed #cbd5e1;color:#64748b}.impact-club-hero{padding:82px 0 62px;background:linear-gradient(135deg,#0f2f68,#2661d9);color:#fff}.impact-club-hero h1{font-size:clamp(36px,4.8vw,56px);line-height:1.03;letter-spacing:-.04em;margin:16px 0;color:var(--rotary-sky);text-shadow:0 2px 18px rgba(0,0,0,.28)}.impact-club-hero p{font-size:18px;color:#dbeafe;max-width:720px}.impact-club-hero .impact-eyebrow{color:#fff;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.25)}.impact3780-hub-shell,.impact3780-hub-gate{background:#fff;padding:34px;border-radius:24px;border:1px solid #e5e7eb}.wp-block-button__link{border-radius:14px;font-weight:800}.wp-block-post-featured-image img{border-radius:18px}@media(max-width:960px){.impact-hero-grid{grid-template-columns:1fr}.impact-hero-card{max-width:640px}.impact-card-grid,.impact-story-grid{grid-template-columns:repeat(2,1fr)}.impact-nav ul{display:none}.impact-mobile-toggle{display:block}.impact-footer-grid{grid-template-columns:1fr 1fr}.impact-footer-grid>div:first-child{grid-column:1/-1}}@media(max-width:640px){.impact-container{width:min(100% - 28px,1200px)}.impact-hero{padding:72px 0 56px}.impact-hero h1{font-size:40px}.impact-card-grid,.impact-story-grid,.impact-mini-stat-grid,.impact-footer-grid{grid-template-columns:1fr}.impact-section{padding:54px 0}.impact-section-head{align-items:start;flex-direction:column}.impact-footer-grid>div:first-child{grid-column:auto}.impact-footer-bottom{flex-direction:column}.impact-hub-link{display:none}}


/* v0.3 Clubs + Stories */
.impact-club-hero{position:relative;isolation:isolate;background:linear-gradient(135deg,#0f2f68,#2661d9);overflow:hidden}.impact-club-hero.has-image{background-image:var(--impact-club-hero);background-size:cover;background-position:center}.impact-club-hero-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,31,67,.92),rgba(17,69,143,.52));}.impact-club-hero.has-image .impact-club-hero-overlay{background:rgba(4,20,46,var(--impact-club-overlay,.4))}.impact-club-hero-content{position:relative;z-index:2}.impact-button-light{background:#fff;color:var(--impact-navy)}.impact-button-ghost{border:1px solid rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.impact-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.impact-profile-card{border-radius:26px;padding:28px;background:#f7f9fc;border:1px solid #e8edf4}.impact-profile-card>span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--impact-blue)}.impact-profile-card h3{font-size:22px;margin:10px 0}.impact-profile-card p{color:#64748b}.impact-profile-card-blue{background:linear-gradient(145deg,#17458f,#2661d9);color:#fff;border:0}.impact-profile-card-blue>span,.impact-profile-card-blue p,.impact-profile-card-blue a{color:#dbeafe}.impact-social-row{display:flex;align-items:center;justify-content:space-between;gap:30px}.impact-social-row h2{font-size:clamp(27px,3.4vw,40px);margin:8px 0}.impact-social-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.impact-social-links a{padding:10px 15px;border-radius:999px;background:#eef4ff;border:1px solid #d8e5fb;font-weight:800;font-size:13px}.impact-club-directory{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.impact-club-directory-card{display:grid;grid-template-columns:72px 1fr;gap:18px;align-items:center;background:#fff;border:1px solid #e6eaf0;border-radius:22px;padding:22px}.impact-club-directory-logo{width:72px;height:72px;border-radius:18px;background:#eef4ff;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--impact-blue);font-size:28px;font-weight:900}.impact-club-directory-logo img{width:100%;height:100%;object-fit:contain;padding:6px}.impact-club-directory-card h3{margin:6px 0;font-size:19px}.impact-club-directory-card p{margin:0 0 5px;color:#64748b}.impact-text-link{font-weight:800;font-size:13px}.impact-story-mast{padding:76px 0 42px;background:linear-gradient(180deg,#fff,#f3f7fb)}.impact-story-mast h1{font-size:clamp(36px,5vw,60px);line-height:1;letter-spacing:-.05em;max-width:980px;margin:20px 0}.impact-story-byline{display:flex;flex-wrap:wrap;gap:10px}.impact-story-byline span,.impact-story-tax span{display:inline-flex;padding:7px 11px;border-radius:999px;background:#eaf1ff;color:var(--impact-navy);font-size:11px;font-weight:800}.impact-story-featured{margin-top:34px}.impact-story-featured img{width:100%;max-height:680px;object-fit:cover;border-radius:30px;box-shadow:var(--impact-shadow)}.impact-story-tax{max-width:none;margin:48px 0 0;border-top:1px solid #e7ebf1;padding-top:24px}.impact-story-tax h3{font-size:14px;text-transform:uppercase;letter-spacing:.1em}.impact-story-tax span{margin:4px 5px 4px 0}
@media(max-width:960px){.impact-profile-grid{grid-template-columns:1fr 1fr}.impact-profile-card-blue{grid-column:1/-1}.impact-club-directory{grid-template-columns:1fr}}@media(max-width:640px){.impact-profile-grid{grid-template-columns:1fr}.impact-profile-card-blue{grid-column:auto}.impact-social-row{align-items:flex-start;flex-direction:column}.impact-social-links{justify-content:flex-start}.impact-club-directory-card{grid-template-columns:56px 1fr}.impact-club-directory-logo{width:56px;height:56px}}
@media(max-width:960px){body.impact-nav-open .impact-nav{display:flex;position:absolute;top:78px;left:0;right:0;background:#fff;padding:18px 20px;border-bottom:1px solid #e5e7eb;box-shadow:0 14px 30px rgba(15,23,42,.08);flex-direction:column;align-items:stretch}body.impact-nav-open .impact-nav ul{display:flex;flex-direction:column;gap:12px}body.impact-nav-open .impact-nav .impact-hub-link{display:inline-flex;width:max-content}}


/* v0.3 Editorial typography and contrast */
.impact-section-white h1,.impact-section-white h2,.impact-section-white h3,.impact-content-wrap h1,.impact-content-wrap h2,.impact-content-wrap h3{color:var(--impact-ink)}
.impact-profile-card-blue h1,.impact-profile-card-blue h2,.impact-profile-card-blue h3{color:#fff}
.impact-site-footer h1,.impact-site-footer h2,.impact-site-footer h3,.impact-site-footer h4{color:#fff}
.impact-club-hero .impact-club-hero-content h1{color:#00a2e0}
@media(max-width:640px){h1{font-size:34px}h2{font-size:27px}h3{font-size:20px}.impact-club-hero h1{font-size:36px}.impact-story-mast h1{font-size:36px}}


/* v0.4 Story metadata, access request and member comments */
.impact-story-standard-meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px;color:#526174;font-size:13px;font-weight:650}.impact-story-standard-meta span{display:inline-flex;gap:5px;align-items:center}.impact-story-standard-meta strong{color:var(--impact-ink)}.impact-story-standard-meta a{font-weight:800}.impact-story-context{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.impact-story-context span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eaf1ff;color:var(--impact-navy);font-size:11px;font-weight:800}.impact-story-tax{display:grid;gap:14px}.impact-story-tax-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:12px 0;border-top:1px solid #eef1f5}.impact-story-tax-row:first-of-type{border-top:0}.impact-story-tax-row>strong{color:var(--impact-navy);font-size:12px;text-transform:uppercase;letter-spacing:.07em}.impact-story-tax-row a{display:inline-flex;margin:2px 5px 2px 0;padding:6px 10px;border-radius:999px;background:#eaf1ff;color:var(--impact-navy);font-size:12px;font-weight:800}
.impact-comments{max-width:820px;margin:54px auto 0;padding-top:34px;border-top:1px solid #e7ebf1}.impact-comments-head h2{margin:10px 0 24px;font-size:30px}.comment-list{list-style:none;padding:0;margin:0 0 30px}.comment-list .comment{margin:0 0 18px;padding:20px;border:1px solid #e7ebf1;border-radius:18px;background:#f8fafc}.comment-list .children{list-style:none;margin:16px 0 0 28px;padding:0}.comment-author{display:flex;align-items:center;gap:10px}.comment-author .avatar{border-radius:50%}.comment-metadata{margin:6px 0 12px;font-size:12px;color:var(--impact-muted)}.comment-content p:last-child{margin-bottom:0}.comment-respond{margin-top:28px}.comment-respond textarea,.comment-respond input[type="text"],.comment-respond input[type="email"],.comment-respond input[type="url"]{width:100%;border:1px solid #dbe2ec;border-radius:14px;padding:12px 14px;background:#fff}.comment-form .submit{border:0;border-radius:14px;background:var(--impact-blue);color:#fff;font-weight:800;padding:12px 20px;cursor:pointer}.impact-comment-gate{padding:20px 22px;border-radius:18px;background:#f3f7fb;border:1px solid #dfe7f2}.impact-comment-gate p{margin:5px 0 0}.impact-access-request{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:clamp(24px,4vw,40px)}.impact-access-form{display:grid;gap:18px;margin-top:24px}.impact-access-form label{display:grid;gap:7px}.impact-access-form select,.impact-access-form textarea{width:100%;border:1px solid #dbe2ec;border-radius:14px;padding:12px 14px;background:#fff;font:inherit}.impact-access-notice{margin:18px 0;padding:13px 16px;border-radius:14px;font-weight:700}.impact-access-notice.is-success{background:#ecfdf3;color:#166534}.impact-access-notice.is-error{background:#fef2f2;color:#991b1b}.impact-access-history{margin-top:30px;overflow-x:auto}.impact-access-history table{width:100%;border-collapse:collapse}.impact-access-history th,.impact-access-history td{text-align:left;padding:12px;border-bottom:1px solid #eef1f5;font-size:14px}
@media(max-width:640px){.impact-story-standard-meta{display:grid;gap:8px}.impact-story-tax-row{grid-template-columns:1fr;gap:6px}.comment-list .children{margin-left:12px}}

/* v0.5 Header controls and Club logo scale */
.impact-site-header-club .impact-header-inner{min-height:104px}
.impact-brand-club img{height:85px;max-height:85px;max-width:min(360px,34vw);width:auto;object-fit:contain}
.impact-brand-district img{max-height:48px}
.impact-header-logo-only .impact-brand-district img{max-height:64px;max-width:min(420px,38vw)}
@media(max-width:640px){.impact-site-header-club .impact-header-inner{min-height:82px}.impact-brand-club img{height:64px;max-height:64px;max-width:52vw}.impact-header-logo-only .impact-brand-district img{max-height:54px;max-width:55vw}}

/* v0.6 project content width */
.entry-content>.impact-directory-wrap,.entry-content>.impact-project-detail,.entry-content>.impact-event-detail,.entry-content>.impact-hub-projects{max-width:1100px}.impact-content-project-detail{padding-top:18px}.impact-content-project-detail .entry-content>.impact-project-detail{max-width:1100px}

/* v0.7 Event cards */
.impact-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.impact-event-card{background:#fff;border:1px solid #e6eaf0;border-radius:24px;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.045)}.impact-event-image{display:block;aspect-ratio:16/9;overflow:hidden}.impact-event-image img{width:100%;height:100%;object-fit:cover}.impact-event-card-body{padding:22px}.impact-event-card-body h3{margin:9px 0}.impact-event-card-body p{color:#64748b}@media(max-width:960px){.impact-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.impact-event-grid{grid-template-columns:1fr}}


/* v0.9.3 Root homepage hero refinement */
.impact-hero{padding:58px 0 72px}
.impact-hero-kicker{position:relative;z-index:3;display:flex;justify-content:center;text-align:center;margin:0 0 38px}
.impact-hero-kicker .impact-eyebrow{padding:8px 16px;background:rgba(255,255,255,.82);border-color:rgba(0,162,224,.34);box-shadow:0 8px 24px rgba(15,23,42,.045);font-size:11px;letter-spacing:.145em}
.impact-hero-grid{grid-template-columns:minmax(0,1.42fr) minmax(300px,.58fr);align-items:center;gap:54px}
.impact-hero-copy{padding:12px 0 8px}
.impact-hero-copy h1{max-width:760px;margin:0 0 24px}
.impact-hero-copy>p{max-width:690px;margin:0;color:#526174}
.impact-network-card{justify-self:end;width:min(100%,390px);padding:23px;border-radius:24px;box-shadow:0 16px 42px rgba(15,23,42,.075)}
.impact-network-card:before{inset:15px 15px auto auto;width:8px;height:8px;box-shadow:0 0 0 5px rgba(247,168,27,.12)}
.impact-network-card .impact-eyebrow{padding:6px 11px;font-size:9px;letter-spacing:.13em}
.impact-network-card h2{font-size:clamp(24px,2.2vw,30px);line-height:1.04;letter-spacing:-.035em;margin:18px 0 12px}
.impact-network-card>p{font-size:14.5px;line-height:1.65;margin:0;color:#5b697c}
.impact-network-card .impact-mini-stat-grid{gap:10px;margin-top:18px}
.impact-network-card .impact-mini-stat{min-height:82px;padding:14px;border-radius:15px;background:linear-gradient(180deg,#f8faff,#f3f6fa);border:1px solid #edf1f6}
.impact-network-card .impact-mini-stat strong{font-size:20px;letter-spacing:-.02em}
.impact-network-card .impact-mini-stat strong.impact-mini-stat-label{font-size:15px;line-height:1.12;letter-spacing:-.01em}
.impact-network-card .impact-mini-stat span{margin-top:7px;display:block;font-size:9px;line-height:1.25;letter-spacing:.075em}
@media(max-width:960px){.impact-hero{padding:50px 0 62px}.impact-hero-kicker{margin-bottom:30px}.impact-hero-grid{grid-template-columns:1fr;gap:34px}.impact-network-card{justify-self:start;width:min(100%,520px);max-width:520px}.impact-network-card .impact-mini-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.impact-hero-kicker{justify-content:flex-start;text-align:left}.impact-hero-kicker .impact-eyebrow{white-space:normal;line-height:1.45}.impact-network-card{width:100%}.impact-network-card .impact-mini-stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.impact-hero{padding:38px 0 50px}.impact-hero-kicker{margin-bottom:24px}.impact-hero-copy h1{font-size:38px}.impact-network-card h2{font-size:25px}}


/* Club default identity and Stories premium feature layout */
.impact-brand-home{width:58px;height:58px;display:inline-flex;align-items:center;justify-content:center;color:var(--impact-blue);flex:0 0 auto}
.impact-brand-home svg{width:52px;height:52px;display:block;fill:currentColor}
.impact-header-logo-only .impact-brand-copy{display:none!important}

.impact-stories-featured{margin:0 auto 36px;padding:28px;border-radius:30px;background:linear-gradient(145deg,#f8fbff 0%,#fff 58%,#eef8ff 100%);border:1px solid #dfe8f3;box-shadow:0 16px 46px rgba(15,23,42,.06)}
.impact-stories-featured-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:22px}
.impact-stories-featured-head h2{margin:8px 0 0;font-size:clamp(27px,3.4vw,40px)}
.impact-stories-featured-head>p{max-width:430px;color:#64748b;margin:0}
.impact-stories-featured-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.8fr);gap:18px;align-items:stretch}
.impact-featured-story-lead,.impact-featured-story-stack{min-width:0}
.impact-featured-story-media{position:relative;display:block;height:100%;min-height:460px;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,#17458f,#00a2e0)}
.impact-featured-story-media img,.impact-featured-story-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.impact-featured-story-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#17458f 0%,#2661d9 55%,#00a2e0 100%)}
.impact-featured-story-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,29,65,.05) 26%,rgba(8,29,65,.86) 100%)}
.impact-featured-story-copy{position:absolute;left:0;right:0;bottom:0;padding:30px;color:#fff;display:grid;gap:8px}
.impact-featured-story-copy strong{font-size:clamp(27px,3.1vw,42px);line-height:1.02;letter-spacing:-.035em;color:#fff}
.impact-featured-story-copy small{font-size:13px;font-weight:700;color:#dbeafe}
.impact-featured-story-category{display:inline-flex;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.92);color:#17458f;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.09em;font-weight:900}
.impact-featured-story-stack{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:14px}
.impact-featured-story-row{display:grid;grid-template-columns:132px minmax(0,1fr);gap:14px;padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.impact-featured-story-thumb{border-radius:14px;overflow:hidden;background:#eaf2fb;min-height:118px}
.impact-featured-story-row-copy{align-self:center;min-width:0}
.impact-featured-story-row-copy h3{font-size:17px;line-height:1.15;margin:8px 0 7px}
.impact-featured-story-row-copy h3 a{color:#172033}
.impact-featured-story-row-copy p{font-size:12px;color:#64748b;margin:0;font-weight:650}
@media(max-width:900px){.impact-stories-featured-grid{grid-template-columns:1fr}.impact-featured-story-media{min-height:420px}.impact-featured-story-stack{grid-template-rows:none;grid-template-columns:repeat(3,1fr)}.impact-featured-story-row{grid-template-columns:1fr}.impact-featured-story-thumb{aspect-ratio:16/10;min-height:0}.impact-stories-featured-head{align-items:start;flex-direction:column}}
@media(max-width:640px){.impact-stories-featured{padding:18px;border-radius:22px}.impact-featured-story-media{min-height:360px}.impact-featured-story-copy{padding:22px}.impact-featured-story-stack{grid-template-columns:1fr}.impact-featured-story-row{grid-template-columns:112px minmax(0,1fr)}.impact-featured-story-thumb{aspect-ratio:auto;min-height:104px}.impact-featured-story-row-copy h3{font-size:16px}}

/* 0.9.5 network/account/header consistency */
.impact-network-bar{background:linear-gradient(90deg,#123b80,#17458f);color:#fff;border-bottom:1px solid rgba(255,255,255,.14)}
.impact-network-bar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;font-weight:800;letter-spacing:.015em}
.impact-network-main-link{display:inline-flex;align-items:center;gap:7px;color:#fff!important}
.impact-network-main-link:before{content:"←";font-size:14px}
.impact-network-main-link:hover{color:#d9f6ff!important}
.impact-account-link{display:inline-flex;align-items:center;justify-content:center;background:var(--impact-blue);color:#fff!important;padding:11px 18px;border-radius:999px;box-shadow:0 10px 26px rgba(38,97,217,.22);white-space:nowrap}
.impact-account-link:hover{background:var(--impact-navy);color:#fff!important}
.impact-nav .impact-account-link{color:#fff!important}
.impact-fallback-menu{display:flex;list-style:none;gap:24px;margin:0;padding:0}
@media(max-width:960px){body.impact-nav-open .impact-fallback-menu{display:flex;flex-direction:column;gap:12px}.impact-network-bar-inner{min-height:36px}.impact-network-main-link{font-size:11px}}
@media(max-width:640px){.impact-network-bar-inner{justify-content:center;text-align:center}.impact-account-link{display:none}body.impact-nav-open .impact-nav .impact-account-link{display:inline-flex;width:max-content}.impact-fallback-menu{display:none}}


/* v0.9.6 strict logo mode + hierarchical navigation */
.impact-header-logo-only .impact-brand-copy{display:none!important}
.impact-header-logo-only .impact-brand{gap:0}
.impact-nav>ul{display:flex;align-items:center;gap:20px;list-style:none;margin:0;padding:0}
.impact-nav li{position:relative;list-style:none;margin:0;padding:0}
.impact-nav>ul>li>a{display:flex;align-items:center;min-height:44px}
.impact-nav .menu-item-has-children>a:after{content:"";width:6px;height:6px;margin-left:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.72}
.impact-nav .sub-menu{display:none;position:absolute;z-index:120;top:100%;left:-14px;min-width:230px;max-width:310px;margin:0;padding:9px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 18px 45px rgba(15,23,42,.14);gap:0!important}
.impact-nav .sub-menu li{width:100%}
.impact-nav .sub-menu a{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;border-radius:10px;line-height:1.3;white-space:normal;color:#334155;background:transparent}
.impact-nav .sub-menu a:hover,.impact-nav .sub-menu a:focus-visible{color:var(--impact-blue);background:#f1f5fb}
.impact-nav .menu-item-has-children:hover>.sub-menu,.impact-nav .menu-item-has-children:focus-within>.sub-menu{display:block}
.impact-nav .sub-menu .sub-menu{top:-9px;left:calc(100% + 6px)}
.impact-nav .sub-menu .menu-item-has-children>a:after{transform:rotate(-45deg);margin-left:12px}
.impact-submenu-toggle{display:none}

@media(max-width:960px){
  .impact-header-inner{position:relative}
  .impact-nav{display:none}
  body.impact-nav-open .impact-nav{display:flex;top:100%;z-index:110;max-height:calc(100vh - 118px);overflow:auto}
  body.impact-nav-open .impact-nav>ul{display:flex!important;flex-direction:column;align-items:stretch;gap:4px;width:100%}
  .impact-nav>ul>li>a{min-height:0;padding:11px 12px}
  .impact-nav .menu-item-has-children>a:after{display:none}
  .impact-nav .menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center}
  .impact-nav .menu-item-has-children>.sub-menu{grid-column:1/-1}
  .impact-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin-right:3px;border:0;border-radius:9px;background:#eef4ff;color:var(--impact-navy);cursor:pointer}
  .impact-submenu-toggle:before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}
  .impact-nav .is-submenu-open>.impact-submenu-toggle:before{transform:translateY(2px) rotate(225deg)}
  .impact-nav .sub-menu,.impact-nav .menu-item-has-children:hover>.sub-menu,.impact-nav .menu-item-has-children:focus-within>.sub-menu{display:none;position:static;min-width:0;max-width:none;margin:3px 0 8px 12px;padding:6px;border:0;border-left:2px solid #dbeafe;border-radius:0;box-shadow:none;background:#f8fafc}
  .impact-nav .is-submenu-open>.sub-menu{display:block}
  .impact-nav .sub-menu .menu-item-has-children{display:grid}
  .impact-nav .sub-menu .sub-menu{margin-left:10px}
  .impact-nav .sub-menu a{padding:10px 11px}
}
@media(max-width:960px){
  body.impact-nav-open .impact-nav .sub-menu{display:none!important}
  body.impact-nav-open .impact-nav .is-submenu-open>.sub-menu{display:block!important}
}

/* v0.10.0 editorial homepage + interim GML */
.impact-home-editorial-hero{padding-bottom:82px}
.impact-home-hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr);gap:52px}
.impact-governor-card{position:relative;display:grid;grid-template-columns:minmax(150px,.42fr) minmax(0,.58fr);min-height:410px;background:#fff;border:1px solid rgba(23,69,143,.12);border-radius:30px;overflow:hidden;box-shadow:0 22px 56px rgba(15,23,42,.11)}
.impact-governor-card:after{content:"";position:absolute;right:18px;top:18px;width:10px;height:10px;border-radius:50%;background:var(--impact-gold);box-shadow:0 0 0 6px rgba(247,168,27,.14)}
.impact-governor-card-portrait{display:block;min-height:410px;background:linear-gradient(160deg,#dbeafe,#e8f7fb);overflow:hidden}
.impact-governor-card-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.impact-governor-photo-placeholder{display:block;width:100%;height:100%;min-height:410px;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.96) 0 13%,transparent 13.5%),radial-gradient(circle at 50% 72%,rgba(255,255,255,.82) 0 28%,transparent 28.5%),linear-gradient(160deg,#17458f,#00a2e0)}
.impact-governor-card-copy{padding:31px 29px 28px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.impact-governor-card-copy .impact-eyebrow{align-self:flex-start;background:rgba(247,168,27,.10);border-color:rgba(247,168,27,.36);color:#7a4c00}
.impact-governor-card-copy h2{font-size:clamp(27px,2.6vw,37px);line-height:1.02;letter-spacing:-.04em;margin:20px 0 14px;color:#102242}
.impact-governor-card-excerpt{font-size:15px!important;line-height:1.68!important;color:#5a687b!important;margin:0 0 15px!important}
.impact-governor-card-meta{font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:#6b778a;margin:0 0 18px}
.impact-governor-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px 18px}
.impact-governor-card-copy a{font-size:13px;font-weight:850;color:var(--impact-blue)}
.impact-governor-archive-link{color:#6b778a!important;font-weight:750!important}

.impact-district-pulse{position:relative;padding:0 0 74px;margin-top:-20px;background:linear-gradient(180deg,#f4f7fb 0,#f8fafc 100%)}
.impact-district-pulse-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:24px}
.impact-district-pulse-head h2{margin:8px 0 0;font-size:clamp(28px,3vw,38px)}
.impact-district-pulse-head>p{max-width:470px;color:#64748b;margin:0}
.impact-district-pulse-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:18px}
.impact-pulse-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);gap:17px;padding:22px;border-radius:24px;background:#fff;border:1px solid #e3e9f2;box-shadow:0 10px 30px rgba(15,23,42,.055);overflow:hidden}
.impact-pulse-card:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--impact-blue),var(--rotary-sky),var(--impact-gold))}
.impact-pulse-gml{background:linear-gradient(145deg,#123b80 0,#17458f 68%,#1f5fb7 100%);border-color:transparent;color:#fff;box-shadow:0 15px 38px rgba(23,69,143,.2)}
.impact-pulse-gml:before{background:var(--impact-gold)}
.impact-pulse-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#e8f3ff;color:var(--impact-navy);font-size:13px;letter-spacing:.07em;font-weight:900}
.impact-pulse-gml .impact-pulse-icon{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.16)}
.impact-pulse-icon-project{background:#ecfdf5;color:#047857}.impact-pulse-icon-event{background:#fff7e6;color:#9a5f00}
.impact-pulse-copy span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:var(--impact-blue)}
.impact-pulse-gml .impact-pulse-copy span{color:#bcecff}
.impact-pulse-copy h3{font-size:20px;margin:7px 0 8px;color:#172033}
.impact-pulse-copy p{font-size:13px;line-height:1.55;color:#64748b;margin:0 0 12px}
.impact-pulse-copy a{font-size:12px;font-weight:850;color:var(--impact-blue)}
.impact-pulse-gml .impact-pulse-copy h3,.impact-pulse-gml .impact-pulse-copy p,.impact-pulse-gml .impact-pulse-copy a{color:#fff}
.impact-pulse-gml .impact-pulse-copy p{color:#dcecff}

.impact-network-band{padding:72px 0;background:radial-gradient(circle at 85% 20%,rgba(0,162,224,.22),transparent 28%),linear-gradient(135deg,#0d2d63,#17458f 62%,#123b80);color:#fff}
.impact-network-band-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);gap:52px;align-items:center}
.impact-network-band-kicker{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.16em;color:#9be8ff;margin:0 0 8px}
.impact-network-band h2{color:#fff;font-size:clamp(30px,3.8vw,46px);margin:0 0 14px}
.impact-network-band p{color:#d9e7fa;max-width:690px;font-size:16px;margin:0}
.impact-network-band-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.impact-network-band-stats>div{padding:18px;border-radius:18px;background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.13)}
.impact-network-band-stats strong{display:block;color:#fff;font-size:20px;line-height:1.15}
.impact-network-band-stats span{display:block;margin-top:7px;color:#bcd2ef;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:850}

.impact-content-editorial-page{max-width:none;background:transparent;border:0;box-shadow:none;padding-top:28px}
.impact-gml-public,.impact-governor-page{max-width:none!important}
.impact-gml-public-head{display:flex;align-items:end;justify-content:space-between;gap:34px;margin-bottom:26px}
.impact-gml-public-head h1{font-size:clamp(38px,5vw,60px);margin:11px 0 0;letter-spacing:-.05em}
.impact-gml-public-intro{max-width:440px;padding:18px 20px;border-left:4px solid var(--impact-gold);background:#fff;border-radius:0 18px 18px 0;box-shadow:0 8px 26px rgba(15,23,42,.04)}
.impact-gml-public-intro strong{display:block;color:var(--impact-navy);font-size:17px}.impact-gml-public-intro p{font-size:13px;color:#64748b;margin:6px 0 0}
.impact-gml-frame-shell{position:relative;width:100%;height:min(78vh,860px);min-height:620px;border-radius:28px;overflow:hidden;background:#0f172a;border:1px solid #d8e1ec;box-shadow:0 18px 52px rgba(15,23,42,.12)}
.impact-gml-frame-shell iframe{width:100%;height:100%;border:0;display:block;background:#fff}
.impact-gml-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}

.impact-governor-page-feature{display:grid;grid-template-columns:minmax(300px,.42fr) minmax(0,.58fr);background:#fff;border:1px solid #dfe7f0;border-radius:32px;overflow:hidden;box-shadow:0 20px 54px rgba(15,23,42,.08)}
.impact-governor-page-portrait{min-height:610px;background:linear-gradient(160deg,#17458f,#00a2e0)}
.impact-governor-page-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.impact-governor-page-copy{padding:clamp(32px,5vw,64px);display:flex;flex-direction:column;justify-content:center}
.impact-governor-page-copy h1{font-size:clamp(38px,4.7vw,58px);line-height:1.01;margin:20px 0 15px}
.impact-governor-byline{font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.075em;color:#64748b;margin:0 0 24px}
.impact-governor-excerpt{font-size:18px;line-height:1.75;color:#526174;margin:0 0 28px}
.impact-governor-archive{margin-top:68px}

@media(max-width:1020px){
  .impact-home-hero-grid{grid-template-columns:1fr;gap:34px}.impact-governor-card{max-width:760px;grid-template-columns:240px minmax(0,1fr)}
  .impact-district-pulse-grid{grid-template-columns:1fr 1fr}.impact-pulse-gml{grid-column:1/-1}
  .impact-network-band-inner{grid-template-columns:1fr}.impact-network-band-stats{max-width:720px}
}
@media(max-width:760px){
  .impact-governor-card{grid-template-columns:1fr;min-height:0}.impact-governor-card-portrait{min-height:360px;max-height:430px}.impact-governor-photo-placeholder{min-height:360px}.impact-governor-card-copy{padding:26px 24px 28px}
  .impact-district-pulse-head,.impact-gml-public-head{align-items:flex-start;flex-direction:column}.impact-district-pulse-grid{grid-template-columns:1fr}.impact-pulse-gml{grid-column:auto}
  .impact-network-band-stats{grid-template-columns:1fr 1fr}.impact-governor-page-feature{grid-template-columns:1fr}.impact-governor-page-portrait{min-height:480px}.impact-gml-frame-shell{min-height:520px;height:72vh}
}
@media(max-width:520px){
  .impact-pulse-card{grid-template-columns:48px minmax(0,1fr);padding:18px}.impact-pulse-icon{width:48px;height:48px;border-radius:14px;font-size:11px}
  .impact-network-band-stats{grid-template-columns:1fr}.impact-gml-frame-shell{min-height:440px;height:66vh}.impact-governor-page-portrait{min-height:390px}
}


/* v0.10.1 — per-story featured-image control + floating narrative images */
.entry-content::after{content:"";display:block;clear:both}
.entry-content figure.wp-block-image.is-style-impact-story-float-left,
.entry-content figure.wp-block-image.is-style-impact-story-float-right{
  width:min(38%,330px);
  max-width:330px;
  margin-top:.45rem;
  margin-bottom:1.35rem;
  position:relative;
  z-index:1;
}
.entry-content figure.wp-block-image.is-style-impact-story-float-left{
  float:left;
  margin-left:0;
  margin-right:30px;
}
.entry-content figure.wp-block-image.is-style-impact-story-float-right{
  float:right;
  margin-right:0;
  margin-left:30px;
}
.entry-content figure.wp-block-image.is-style-impact-story-float-left img,
.entry-content figure.wp-block-image.is-style-impact-story-float-right img{
  width:100%;
  height:auto;
  display:block;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(15,23,42,.12);
}
.entry-content figure.wp-block-image.is-style-impact-story-float-left figcaption,
.entry-content figure.wp-block-image.is-style-impact-story-float-right figcaption{
  margin:9px 5px 0;
  color:#64748b;
  font-size:12px;
  line-height:1.45;
  text-align:left;
}

/* Match the same visual treatment inside the block editor. */
.editor-styles-wrapper figure.wp-block-image.is-style-impact-story-float-left,
.editor-styles-wrapper figure.wp-block-image.is-style-impact-story-float-right{
  width:min(38%,330px);
  max-width:330px;
  margin-top:.45rem;
  margin-bottom:1.35rem;
}
.editor-styles-wrapper figure.wp-block-image.is-style-impact-story-float-left{float:left;margin-right:30px}
.editor-styles-wrapper figure.wp-block-image.is-style-impact-story-float-right{float:right;margin-left:30px}

@media(max-width:760px){
  .entry-content figure.wp-block-image.is-style-impact-story-float-left,
  .entry-content figure.wp-block-image.is-style-impact-story-float-right,
  .editor-styles-wrapper figure.wp-block-image.is-style-impact-story-float-left,
  .editor-styles-wrapper figure.wp-block-image.is-style-impact-story-float-right{
    float:none;
    width:100%;
    max-width:100%;
    margin:1.4rem auto;
  }
}


/* v0.10.3 — original 1200px site frame restored; optional sidebars retained; Story body alone uses full content-card width */
.impact-page-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"content";gap:32px;align-items:start}
.impact-page-layout>.impact-content-wrap{grid-area:content;width:100%;margin:48px 0}
.impact-page-layout-left{grid-template-columns:minmax(260px,320px) minmax(0,1fr);grid-template-areas:"sidebar content"}
.impact-page-layout-right{grid-template-columns:minmax(0,1fr) minmax(260px,320px);grid-template-areas:"content sidebar"}
.impact-sidebar{grid-area:sidebar;margin:48px 0;display:grid;gap:18px;align-self:start;min-width:0}
.impact-widget{background:#fff;border:1px solid #e3e8ef;border-radius:22px;padding:22px;box-shadow:0 10px 32px rgba(15,23,42,.055);overflow:hidden}
.impact-widget-title{margin:0 0 16px;font-size:18px;line-height:1.2;color:var(--impact-navy)}
.impact-widget ul,.impact-widget ol{margin:0;padding-left:20px}.impact-widget li+li{margin-top:8px}
.impact-widget a{font-weight:700}.impact-widget img{max-width:100%;height:auto;border-radius:14px}
.impact-widget input:not([type="checkbox"]):not([type="radio"]),.impact-widget select,.impact-widget textarea{width:100%;max-width:100%;border:1px solid #dbe2ec;border-radius:12px;padding:10px 12px;background:#fff;font:inherit}
.impact-widget .wp-block-search__inside-wrapper{display:flex;gap:8px}.impact-widget .wp-block-search__button{border:0;border-radius:11px;background:var(--impact-blue);color:#fff;font-weight:800;padding:9px 12px}
.impact-story-single .impact-content-wrap{overflow:visible}
.impact-story-single .entry-content{max-width:none;width:100%}
.impact-story-single .entry-content>*{max-width:none;margin-left:0;margin-right:0}
.impact-story-single .entry-content>.alignwide,.impact-story-single .entry-content>.alignfull{max-width:none}

@media(max-width:1100px){
  .impact-page-layout-left,.impact-page-layout-right{grid-template-columns:1fr;grid-template-areas:"content" "sidebar";gap:0}
  .impact-sidebar{margin:0 0 42px;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){.impact-sidebar{grid-template-columns:1fr}.impact-page-layout>.impact-content-wrap{margin:28px 0}.impact-sidebar{margin-bottom:28px}.impact-content-wrap{padding:24px 20px;border-radius:22px}}

/* v0.10.5 — screenshot-matched editorial homepage hero
 * The site frame remains unchanged. Only the District homepage hero is re-composed:
 * headline/media on the left, Governor's Message card on the right, with both columns
 * sharing the same top and bottom edges on desktop.
 */
.impact-home-editorial-hero{
  padding:58px 0 70px;
}
.impact-home-editorial-hero .impact-hero-kicker{
  margin:0 0 28px;
}
.impact-home-editorial-hero .impact-home-hero-grid{
  grid-template-columns:minmax(0,1.28fr) minmax(440px,.92fr);
  gap:28px;
  align-items:stretch;
}
.impact-home-editorial-hero .impact-home-hero-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:700px;
  padding:0;
}
.impact-home-editorial-hero .impact-home-hero-intro{
  flex:0 0 auto;
  padding:8px 0 0;
}
.impact-home-editorial-hero .impact-home-hero-intro h1{
  margin:0 0 22px;
  max-width:760px;
}
.impact-home-editorial-hero .impact-home-hero-intro>p{
  max-width:720px;
  margin:0;
}
.impact-home-editorial-hero .impact-home-hero-intro .impact-actions{
  margin-top:28px;
}
.impact-home-editorial-hero .impact-home-featured-media{
  position:relative;
  flex:1 1 0;
  min-height:300px;
  margin-top:44px;
  overflow:hidden;
  background:#28679f;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.impact-home-editorial-hero .impact-home-featured-image,
.impact-home-editorial-hero .impact-home-featured-video{
  width:100%;
  height:100%;
  min-height:300px;
  display:block;
  object-fit:cover;
  object-position:center;
}
.impact-home-editorial-hero .impact-home-featured-video{
  background:#0f172a;
}
.impact-home-editorial-hero .impact-home-featured-placeholder{
  width:100%;
  height:100%;
  min-height:300px;
  background:#28679f;
}
.impact-home-featured-media-link{
  display:block;
  width:100%;
  height:100%;
  min-height:inherit;
  color:inherit;
  text-decoration:none;
  overflow:hidden;
}
.impact-home-featured-media.is-clickable{cursor:pointer}
.impact-home-featured-media.is-clickable .impact-home-featured-image,
.impact-home-featured-media.is-clickable .impact-home-featured-video,
.impact-home-featured-media.is-clickable .impact-home-featured-placeholder{transition:transform .28s ease,filter .28s ease}
.impact-home-featured-media.is-clickable:hover .impact-home-featured-image,
.impact-home-featured-media.is-clickable:hover .impact-home-featured-video,
.impact-home-featured-media.is-clickable:hover .impact-home-featured-placeholder{transform:scale(1.018);filter:brightness(.97)}
.impact-home-featured-media-link:focus-visible{outline:4px solid rgba(0,162,224,.55);outline-offset:-4px}

/* Governor card keeps the established design but is sized to the same hero row. */
.impact-home-editorial-hero .impact-governor-card{
  align-self:stretch;
  height:100%;
  min-height:700px;
  grid-template-columns:minmax(190px,.42fr) minmax(0,.58fr);
}
.impact-home-editorial-hero .impact-governor-card-portrait{
  min-height:700px;
}
.impact-home-editorial-hero .impact-governor-photo-placeholder{
  min-height:700px;
}
.impact-home-editorial-hero .impact-governor-card-copy{
  justify-content:flex-start;
  padding:56px 30px 34px;
}
.impact-home-editorial-hero .impact-governor-card-copy .impact-eyebrow{
  max-width:220px;
  white-space:normal;
  line-height:1.5;
  padding:13px 18px;
}
.impact-home-editorial-hero .impact-governor-card-copy h2{
  margin-top:42px;
}

@media(max-width:1100px){
  .impact-home-editorial-hero .impact-home-hero-grid{
    grid-template-columns:minmax(0,1.2fr) minmax(400px,.8fr);
    gap:24px;
  }
  .impact-home-editorial-hero .impact-home-hero-copy,
  .impact-home-editorial-hero .impact-governor-card,
  .impact-home-editorial-hero .impact-governor-card-portrait,
  .impact-home-editorial-hero .impact-governor-photo-placeholder{min-height:650px}
  .impact-home-editorial-hero .impact-governor-card-copy{padding:44px 25px 30px}
}

/* At tablet widths the composition becomes a clean stack instead of squeezing both panels. */
@media(max-width:1020px){
  .impact-home-editorial-hero .impact-home-hero-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
  .impact-home-editorial-hero .impact-home-hero-copy{min-height:0}
  .impact-home-editorial-hero .impact-home-featured-media{
    flex:none;
    min-height:340px;
    aspect-ratio:16/8;
    margin-top:34px;
  }
  .impact-home-editorial-hero .impact-home-featured-image,
  .impact-home-editorial-hero .impact-home-featured-video,
  .impact-home-editorial-hero .impact-home-featured-placeholder{min-height:340px}
  .impact-home-editorial-hero .impact-governor-card{
    max-width:none;
    min-height:520px;
    grid-template-columns:minmax(240px,.42fr) minmax(0,.58fr);
  }
  .impact-home-editorial-hero .impact-governor-card-portrait,
  .impact-home-editorial-hero .impact-governor-photo-placeholder{min-height:520px}
}

@media(max-width:760px){
  .impact-home-editorial-hero{padding:42px 0 54px}
  .impact-home-editorial-hero .impact-hero-kicker{margin-bottom:24px}
  .impact-home-editorial-hero .impact-home-featured-media{
    min-height:260px;
    aspect-ratio:16/9;
    margin-top:28px;
  }
  .impact-home-editorial-hero .impact-home-featured-image,
  .impact-home-editorial-hero .impact-home-featured-video,
  .impact-home-editorial-hero .impact-home-featured-placeholder{min-height:260px}
  .impact-home-editorial-hero .impact-governor-card{
    grid-template-columns:1fr;
    min-height:0;
  }
  .impact-home-editorial-hero .impact-governor-card-portrait,
  .impact-home-editorial-hero .impact-governor-photo-placeholder{
    min-height:380px;
    max-height:460px;
  }
  .impact-home-editorial-hero .impact-governor-card-copy{padding:28px 24px 30px}
  .impact-home-editorial-hero .impact-governor-card-copy h2{margin-top:24px}
}

@media(max-width:520px){
  .impact-home-editorial-hero .impact-home-featured-media{min-height:220px}
  .impact-home-editorial-hero .impact-home-featured-image,
  .impact-home-editorial-hero .impact-home-featured-video,
  .impact-home-editorial-hero .impact-home-featured-placeholder{min-height:220px}
}

@media(prefers-reduced-motion:reduce){
  .impact-home-featured-video{display:none}
  .impact-home-featured-media-video:after{
    content:"Featured District video";
    display:flex;align-items:center;justify-content:center;
    position:absolute;inset:0;background:#28679f;color:#fff;font-weight:800
  }
}


/* v0.10.7 Global Story thumbnail focal-position support.
   Individual Story settings are emitted inline by Core/Theme and therefore
   follow the Story anywhere its Featured Image is rendered. */
.impact-card-media img,.impact-featured-story-media img,.impact-featured-story-thumb img,.impact-governor-card-portrait img,.impact-governor-page-portrait img{object-fit:cover;object-position:center center}


/* v0.10.8 compact Club header on phones */
@media(max-width:640px){
  .impact-site-header-club .impact-header-inner{min-height:68px;gap:12px}
  .impact-site-header-club .impact-brand{gap:8px;flex:1 1 auto;min-width:0}
  .impact-site-header-club .impact-brand-copy{min-width:0}
  .impact-site-header-club .impact-brand-copy strong{font-size:14px;line-height:1.08}
  .impact-site-header-club .impact-brand-copy small{font-size:9px;line-height:1.35;letter-spacing:.065em;margin-top:3px}
  .impact-site-header-club .impact-brand-home{width:41px;height:41px;flex-basis:41px}
  .impact-site-header-club .impact-brand-home svg{width:36px;height:36px}
  .impact-site-header-club .impact-brand-club img{height:45px;max-height:45px;max-width:44vw}
  .impact-site-header-club .impact-mobile-toggle{padding:8px 11px;border-radius:11px;font-size:14px;flex:0 0 auto}
}

/* v0.10.9 — footer contrast + Hub feature showcase */
.impact-site-footer .impact-eyebrow{
  color:#fff;
  background:rgba(38,97,217,.24);
  border-color:rgba(94,213,237,.46);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}

.impact-hub-home{background:#f2f5f9}
.impact-hub-hero{position:relative;overflow:hidden;padding:82px 0 72px;background:radial-gradient(circle at 78% 14%,rgba(61,131,255,.26),transparent 28%),radial-gradient(circle at 14% 8%,rgba(94,213,237,.13),transparent 25%),linear-gradient(135deg,#0e1a31 0%,#12274d 58%,#17458f 100%);color:#fff}
.impact-hub-hero:after{content:"";position:absolute;width:520px;height:520px;right:-190px;bottom:-290px;border-radius:50%;border:75px solid rgba(255,255,255,.035)}
.impact-hub-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:70px;align-items:center}
.impact-hub-hero .impact-eyebrow{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}
.impact-hub-hero-copy h1{max-width:760px;margin:22px 0 20px;color:#fff;font-size:clamp(43px,5.6vw,68px);line-height:.98;letter-spacing:-.055em}
.impact-hub-hero-copy h1 em{font-style:normal;color:#6ca3ff}
.impact-hub-hero-copy>p{max-width:720px;margin:0;color:#c8d4e8;font-size:18px;line-height:1.65}
.impact-hub-hero .impact-button-secondary{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff}
.impact-hub-hero-panel{border:1px solid rgba(255,255,255,.14);border-radius:28px;padding:28px;background:rgba(255,255,255,.075);backdrop-filter:blur(12px);box-shadow:0 30px 70px rgba(0,0,0,.16)}
.impact-hub-hero-panel>span{display:block;color:#83aef8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.16em}
.impact-hub-hero-panel>strong{display:block;margin:8px 0 2px;color:#fff;font-size:58px;line-height:1;font-weight:900}
.impact-hub-hero-panel>p{margin:8px 0 20px;color:#bdcce2;font-size:13px;line-height:1.6}
.impact-hub-hero-panel>div{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid rgba(255,255,255,.09);color:#e8eef8;font-size:12px;font-weight:700}
.impact-hub-hero-panel i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#5ed5ed;box-shadow:0 0 0 5px rgba(94,213,237,.09)}

.impact-hub-feature-section{padding:72px 0 84px;background:#f2f5f9}
.impact-hub-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:42px;margin-bottom:34px}
.impact-hub-section-head h2{margin:8px 0 0;font-size:clamp(29px,3.8vw,44px);letter-spacing:-.04em}
.impact-hub-section-head>p{max-width:600px;margin:0;color:#66758b;font-size:14px;line-height:1.65}
.impact-hub-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.impact-hub-feature-card{position:relative;min-height:245px;display:flex;flex-direction:column;padding:22px;border:1px solid #e2e7ef;border-radius:24px;background:#fff;color:inherit;box-shadow:0 8px 25px rgba(20,36,62,.04);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.impact-hub-feature-card:hover{transform:translateY(-4px);border-color:#cbd9ef;box-shadow:0 18px 42px rgba(20,60,120,.11)}
.impact-hub-feature-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}
.impact-hub-feature-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#eef4ff,#e6f7fb);border:1px solid #d8e5f8;color:#1d5bd4;font-size:12px;font-weight:950;letter-spacing:-.02em}
.impact-hub-feature-tag{padding:5px 8px;border-radius:999px;background:#f3f6fa;color:#8491a4;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}
.impact-hub-feature-card h3{margin:0 0 9px;color:#17233a;font-size:19px;letter-spacing:-.02em}
.impact-hub-feature-card p{margin:0 0 20px;color:#66758b;font-size:12.5px;line-height:1.6}
.impact-hub-feature-link{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #edf0f5;color:#2461cf;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.impact-hub-feature-link b{font-size:16px}

.impact-hub-network-band{padding:0 0 78px;background:#f2f5f9}
.impact-hub-network-band .impact-container{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:50px;align-items:center;padding:34px 38px;border-radius:28px;background:linear-gradient(135deg,#fff,#f7faff);border:1px solid #dee6f1;box-shadow:0 12px 34px rgba(20,36,62,.045)}
.impact-hub-network-band h2{margin:8px 0 9px;font-size:30px}
.impact-hub-network-band p{max-width:720px;margin:0;color:#69778c;font-size:13px}
.impact-hub-network-actions{display:grid;gap:9px;min-width:180px}
.impact-hub-network-actions a{padding:9px 0;color:#225dcc;font-size:12px;font-weight:850;border-bottom:1px solid #e6ebf2}
.impact-hub-network-actions a:last-child{border-bottom:0}

@media(max-width:1080px){
  .impact-hub-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .impact-hub-hero-inner{gap:38px}
}
@media(max-width:820px){
  .impact-hub-hero-inner{grid-template-columns:1fr}
  .impact-hub-hero-panel{max-width:620px}
  .impact-hub-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .impact-hub-section-head{align-items:flex-start;flex-direction:column;gap:14px}
  .impact-hub-network-band .impact-container{grid-template-columns:1fr}
  .impact-hub-network-actions{grid-template-columns:repeat(3,1fr);min-width:0}
}
@media(max-width:560px){
  .impact-hub-hero{padding:58px 0 52px}
  .impact-hub-hero-copy h1{font-size:39px}
  .impact-hub-hero-copy>p{font-size:16px}
  .impact-hub-feature-section{padding:52px 0 62px}
  .impact-hub-feature-grid{grid-template-columns:1fr}
  .impact-hub-feature-card{min-height:215px}
  .impact-hub-network-band .impact-container{padding:27px 22px}
  .impact-hub-network-actions{grid-template-columns:1fr}
}


/* v0.10.10 — responsive branding for every Multisite subsite/subdomain.
   Keep the subsite identity on one compact row beside the mobile menu while
   preserving the full desktop treatment. */
@media(max-width:640px){
  .impact-site-header-subsite .impact-header-inner{
    min-height:68px;
    gap:10px;
  }
  .impact-site-header-subsite .impact-brand{
    flex:1 1 auto;
    min-width:0;
    gap:8px;
  }
  .impact-site-header-subsite .impact-brand-copy{
    display:block;
    min-width:0;
    flex:1 1 auto;
    line-height:1;
  }
  .impact-site-header-subsite .impact-brand-copy strong{
    display:block;
    min-width:0;
    margin:0;
    color:var(--impact-navy);
    font-size:clamp(13px,3.7vw,15px);
    line-height:1.08;
    letter-spacing:-.015em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .impact-site-header-subsite .impact-brand-copy small{
    display:block;
    margin-top:4px;
    color:var(--impact-muted);
    font-size:8.5px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.055em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .impact-site-header-subsite .impact-brand-mark,
  .impact-site-header-subsite .impact-brand-home{
    width:40px;
    height:40px;
    flex:0 0 40px;
    border-radius:12px;
  }
  .impact-site-header-subsite .impact-brand-home svg{
    width:35px;
    height:35px;
  }
  .impact-site-header-subsite .impact-brand img{
    width:auto;
    height:auto;
    max-height:42px;
    max-width:min(42vw,190px);
    object-fit:contain;
    flex:0 1 auto;
  }
  .impact-site-header-subsite .impact-mobile-toggle{
    flex:0 0 auto;
    margin-left:0;
    padding:8px 10px;
    border-radius:11px;
    font-size:13px;
    line-height:1.1;
  }
}

/* Extra-narrow phones: preserve the identity instead of allowing the title to
   wrap into a tall two-line header. */
@media(max-width:390px){
  .impact-site-header-subsite .impact-header-inner{gap:7px}
  .impact-site-header-subsite .impact-brand{gap:7px}
  .impact-site-header-subsite .impact-brand-mark,
  .impact-site-header-subsite .impact-brand-home{width:36px;height:36px;flex-basis:36px;border-radius:11px}
  .impact-site-header-subsite .impact-brand-home svg{width:31px;height:31px}
  .impact-site-header-subsite .impact-brand-copy strong{font-size:12.5px;letter-spacing:-.02em}
  .impact-site-header-subsite .impact-brand-copy small{font-size:7.7px;letter-spacing:.04em;margin-top:3px}
  .impact-site-header-subsite .impact-mobile-toggle{padding:7px 9px;font-size:12px}
}


/* Responsive automatic YouTube embeds (URL or safe iframe input). */
.impact-youtube-embed{position:relative;width:100%;aspect-ratio:16/9;margin:1.5rem 0;background:#050b16;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(15,23,42,.12)}
.impact-youtube-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.impact-home-featured-media .impact-youtube-embed{height:100%;margin:0;border-radius:inherit;box-shadow:none;aspect-ratio:auto;min-height:260px}
.impact-home-featured-media .impact-youtube-embed iframe{width:100%;height:100%}


/* v0.10.12 — neutralize Gutenberg's own responsive-embed spacer when the
   validated Impact3780 YouTube wrapper already supplies the 16:9 ratio. */
.entry-content .wp-block-embed-youtube,
.entry-content .wp-block-embed.is-provider-youtube{margin-top:0}
.entry-content .wp-block-embed-youtube .wp-block-embed__wrapper,
.entry-content .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper{padding-top:0!important;height:auto!important}
.entry-content .wp-block-embed-youtube .wp-block-embed__wrapper::before,
.entry-content .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper::before{content:none!important;display:none!important;padding-top:0!important}
.entry-content .wp-block-embed-youtube .impact-youtube-embed,
.entry-content .wp-block-embed.is-provider-youtube .impact-youtube-embed{margin-top:0}
.entry-header + .entry-content > .impact-youtube-embed:first-child,
.entry-header + .entry-content > .wp-block-embed-youtube:first-child,
.entry-header + .entry-content > .wp-block-embed.is-provider-youtube:first-child{margin-top:0}
