/* Shared public design language, drawn from the election calendar. */
:root {
  --bg-primary:#f2f5fc; --bg-secondary:#e9eef9; --bg-card:#fff; --bg-card-hover:#f8faff;
  --text-primary:#17223e; --text-secondary:#465773; --text-muted:#61708b;
  --accent:#2e5cff; --accent-hover:#2046c8; --accent-light:#eaf0ff;
  --border:#dbe3f2; --border-light:#e5eaf4;
  --shadow-sm:0 2px 8px #20376806; --shadow-md:0 8px 24px #2037680a;
  --shadow-lg:0 14px 36px #20376814; --radius:10px; --radius-lg:15px;
  --article-width:800px; --header-height:72px;
}
body{font-feature-settings:'cv11','ss01';}
::selection{background:#dce5ff;color:#14274f}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6e8de8;outline-offset:4px}
[id]{scroll-margin-top:100px}
.skip-link{position:fixed;left:24px;top:-80px;z-index:1500;background:#fff;color:#2046c8;padding:12px 20px;border-radius:8px;box-shadow:var(--shadow-md)}
.skip-link:focus{top:10px}
.site-header{background:#fff;border-bottom:1px solid var(--border);backdrop-filter:none}
.site-logo{font-size:24px;letter-spacing:-.035em;color:#17223e;white-space:nowrap}
.nav-link{font-size:14px;padding:10px 14px;border-radius:7px;color:#465773;white-space:nowrap}
@media(min-width:769px) and (max-width:1100px){.mobile-menu-toggle{display:flex;width:44px;height:44px;align-items:center;justify-content:center}.main-nav{display:none;position:absolute;top:var(--header-height);left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:16px 24px;box-shadow:var(--shadow-lg)}.main-nav.is-open{display:block}.main-nav .nav-list{flex-direction:column;align-items:stretch;gap:4px}.nav-link{display:block;width:100%;padding:12px}.main-nav .dropdown-menu{position:static;box-shadow:none;width:100%;margin-top:4px}}
.nav-link:hover,.nav-link[aria-current=page]{background:#edf2ff;color:#264dd1}
.nav-link[aria-current=page]{font-weight:600}
.dropdown-menu{padding:8px;min-width:230px;border-color:var(--border)}
.dropdown-link{padding:11px 12px}
.eyebrow{font:650 11px/1.5 var(--font-main);text-transform:uppercase;letter-spacing:.13em;color:var(--text-muted)}
.home-masthead{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:30px 0 26px}
.home-masthead .eyebrow{margin-bottom:9px}
.home-masthead h1{font-size:clamp(36px,3.5vw,46px);font-weight:750;line-height:1.08;letter-spacing:-.055em}
.home-masthead h1 span{color:var(--accent)}
.home-masthead>p{font-size:14px;line-height:1.7;color:var(--text-muted);padding-bottom:3px}
.topic-navigation{display:flex;gap:27px;overflow-x:auto;scrollbar-width:thin;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:30px;padding:0 2px}
.topic-navigation a{padding:15px 0 13px;white-space:nowrap;font-size:13px;font-weight:550;color:var(--text-secondary);border-bottom:2px solid transparent}
.topic-navigation a:hover,.topic-navigation a[aria-current]{color:var(--accent);border-color:var(--accent)}
.front-desk{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.lead-story{display:flex;flex-direction:column;border-radius:15px;background:#fff;border:1px solid var(--border);overflow:hidden}
.lead-image{display:block;overflow:hidden;background:#e9eef9}
.lead-image img{width:100%;height:auto;object-fit:contain;transition:transform .35s ease}
.lead-image:hover img{transform:scale(1.015)}
.lead-body{order:-1;padding:28px 30px 25px}
.story-kicker{display:flex;align-items:center;gap:16px;font-size:11px;margin-bottom:12px}
.story-kicker>a{font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.story-kicker time{color:var(--text-muted)}
.lead-body h2{font-size:clamp(25px,2.55vw,34px);font-weight:700;letter-spacing:-.045em;line-height:1.18;margin-bottom:15px}
.lead-body h2 a{color:var(--text-primary)}
.lead-body h2 a:hover{color:var(--accent)}
.lead-body>p{font-size:15px;line-height:1.7;color:var(--text-secondary)}
.lead-byline{display:flex;gap:14px;margin-top:22px;font-size:12px;color:var(--text-muted)}
.lead-byline a{font-weight:600;color:var(--text-secondary)}
.election-rail{border:1px solid var(--border);border-radius:15px;background:#fff;overflow:hidden}
.rail-heading{background:var(--accent);color:white;padding:24px}
.rail-heading .eyebrow{color:#e0e7ff;margin-bottom:7px}
.rail-heading h2{font-size:27px;font-weight:650;letter-spacing:-.045em;line-height:1.15}
.next-election{display:flex;gap:15px;padding:19px 24px;border-bottom:1px solid var(--border-light);color:var(--text-primary)}
.next-election:hover{background:#f7f9ff}
.next-election img{margin-top:3px;object-fit:cover;width:32px;height:24px;border:1px solid #e5e9f0;border-radius:3px}
.next-election strong{display:block;font-size:15px;font-weight:650;line-height:1.4}
.next-election span{display:block;font-size:12px;color:var(--text-muted);margin-top:2px}
.next-election time{display:block;font-size:12px;font-weight:600;color:#294fb8;margin-top:7px;font-variant-numeric:tabular-nums}
.next-election small{display:block;font-size:11px;color:var(--text-muted)}
.rail-link{display:flex;justify-content:space-between;padding:19px 24px;font-size:13px;font-weight:600}
.rail-empty{font-size:14px;padding:24px;color:var(--text-secondary)}
.rail-guide{margin:0 16px 16px;padding:20px;background:#f1f5ff;border-radius:9px}
.rail-guide .eyebrow{font-size:10px;margin-bottom:8px}
.rail-guide h3{font-size:19px;letter-spacing:-.035em;color:var(--text-primary);line-height:1.3}
.rail-guide p:not(.eyebrow){font-size:12px;line-height:1.6;color:var(--text-muted);margin:8px 0 14px}
.rail-guide span{font-size:12px;font-weight:600}
.latest-section{margin-top:48px}
.section-top{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--border);padding-bottom:18px;margin-bottom:25px}
.section-top h2,.section-heading{font-size:26px;font-weight:650;letter-spacing:-.045em;color:var(--text-primary)}
.section-top>span{font-size:12px;color:var(--text-muted)}
.article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.article-card{border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
.article-card:hover{transform:none;box-shadow:none}
.article-card-image-link{height:auto;aspect-ratio:2/1;border-radius:10px;overflow:hidden;background:#e5eaf4}
.article-card-image{object-fit:contain}
.article-card:hover .article-card-image{transform:scale(1.025)}
.article-card-body{padding:17px 0 24px;border-bottom:1px solid var(--border)}
.article-card-category{font-size:10px;letter-spacing:.1em;margin-bottom:8px}
.article-card-title{display:block;overflow:visible;font-size:20px;line-height:1.3;font-weight:650;letter-spacing:-.03em;margin-bottom:11px;-webkit-line-clamp:unset}
.article-card-excerpt{font-size:14px;line-height:1.65;-webkit-line-clamp:3;margin-bottom:18px}
.article-card-footer{justify-content:flex-start;gap:15px;flex-wrap:wrap}
.article-card-date,.article-card-reading-time{font-size:11px}
.home-articles .article-card:nth-child(n+4){display:grid;grid-template-columns:140px 1fr;column-gap:18px;padding:21px 0;border-bottom:1px solid var(--border);grid-column:span 3}
.home-articles .article-card:nth-child(n+4) .article-card-body{border:0;padding:0}
.home-articles .article-card:nth-child(n+4) .article-card-title{font-size:21px;margin-bottom:8px}
.home-articles .article-card:nth-child(n+4) .article-card-excerpt{display:none}
.home-articles .article-card:nth-child(n+4) .article-card-image-link{aspect-ratio:4/3}
.home-articles .article-card:nth-child(n+4) .article-card-footer{margin-top:10px}
.newsletter-section{padding:45px 0 0}
.newsletter-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;max-width:none;background:#e6edff;border:1px solid #d6e0fb;padding:36px 40px;text-align:left}
.newsletter-inner .eyebrow{color:#3f5bb6;margin-bottom:8px}
.newsletter-heading{color:#17223e;font-size:27px;letter-spacing:-.04em;font-weight:650}
.newsletter-text{color:#536583;font-size:14px;margin:10px 0 0}
.newsletter-form{max-width:none;margin:0;gap:8px}
.newsletter-input{min-width:0;background:#fff;color:#17223e;border:1px solid #c6d3f0;font-size:14px}
.newsletter-input::placeholder{color:#687a96}
.newsletter-btn{font-size:13px;padding:12px 20px}
.newsletter-msg{margin:6px 0;min-height:0}
.newsletter-msg.success{color:#146649}.newsletter-msg.error{color:#a72f47}
.newsletter-privacy{font-size:11px;color:#536583;text-decoration:underline;text-underline-offset:3px}
.site-footer{margin-top:64px;background:#e9eef9;border-top:1px solid #dbe3f2;padding:38px 0 22px}
.footer-top{display:flex;justify-content:space-between;gap:50px;padding-bottom:30px}
.footer-brand p{max-width:280px;font-size:12px;color:var(--text-muted);line-height:1.8;margin-top:10px}
.footer-links{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;row-gap:9px;align-content:start}
.footer-links a{font-size:12px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #d4dff1;padding-top:20px;font-size:11px;color:var(--text-muted)}
.footer-bottom a{color:var(--text-secondary)}
.category-header{padding:45px 0 30px;border-bottom:1px solid var(--border);margin-bottom:30px}
.category-header .eyebrow{color:var(--accent)}
.category-header h1{font-size:clamp(32px,4vw,48px);line-height:1.15;letter-spacing:-.05em;margin:12px 0}
.category-header p{font-size:16px;max-width:650px}
.category-header .category-count{font-size:12px;margin-top:20px}
.content-layout{gap:32px}.content-layout .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.content-sidebar{width:235px}.sidebar-widget{border-radius:12px;padding:22px}.sidebar-widget-title{font-size:11px;letter-spacing:.1em}
.sidebar-categories a{font-size:13px;padding:10px 9px}.sidebar-categories .active a{color:var(--accent);background:var(--accent-light);font-weight:600}
.single-article .article-header{max-width:900px;text-align:left;margin:24px auto 32px;padding:0}
.article-breadcrumb{max-width:900px;margin:28px auto 0;display:flex;gap:12px;font-size:12px;color:var(--text-muted)}
.article-breadcrumb a{color:var(--text-muted)}
.article-category-badge{background:transparent!important;color:var(--accent)!important;padding:0;font-size:11px;margin-bottom:16px}
.article-title{font-size:clamp(30px,4vw,48px);font-weight:700;letter-spacing:-.045em;line-height:1.13;margin-bottom:24px;text-wrap:balance}
.article-meta{justify-content:flex-start;font-size:12px;gap:10px;color:var(--text-muted);flex-wrap:wrap}
.article-meta a{color:var(--text-primary)}
.article-featured-image{max-width:1000px;padding:0;margin:0 auto 36px}
.article-featured-image img{border-radius:12px;max-height:none;width:100%;height:auto;object-fit:contain}
.editorial-illustration-caption{font-size:11px;color:var(--text-muted);padding-top:9px}
.article-content{max-width:800px;font-size:18px;line-height:1.85;padding:0 24px;color:#26344c}
.article-content h2,.article-content h3{font-family:var(--font-main);color:var(--text-primary);letter-spacing:-.035em;line-height:1.3}
.article-content h2{font-size:27px;margin:40px 0 20px}.article-content h3{font-size:22px;margin:30px 0 15px}
.article-content a{color:#2451cd;text-underline-offset:3px}
.article-content p{margin-bottom:24px}
.article-content blockquote{background:#eaf0ff;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;padding:22px 26px;color:#31456c}
.article-content table{font-family:var(--font-main);font-size:14px;background:#fff}
.article-content th{background:#eaf0ff;color:#254791}
.article-content td,.article-content th{border-color:var(--border);padding:13px}
.article-content figcaption{font:12px/1.6 var(--font-main);color:var(--text-muted)}
.direct-article .legacy-prose{font:18px/1.85 var(--font-main);color:#26344c}
.direct-article .legacy-dek{font-size:20px;color:#465773;line-height:1.65}
.direct-article .legacy-data-card{border-color:var(--border);border-radius:12px;padding:26px}
.direct-article .legacy-data-number{color:#2e5cff}.direct-article .legacy-importbar span{background:#2e5cff}
.article-toc{padding:0 24px;margin:0 auto 32px;max-width:800px}
.toc-box{padding:17px 20px;background:#fff;border-color:var(--border)}
.toc-title{cursor:pointer;font-size:12px;color:#3457a6;margin:0;text-transform:none;letter-spacing:0;font-weight:600}
.toc-list{margin-top:14px}.toc-list a{font-size:13px;padding-top:6px;padding-bottom:6px}
.topic-context{border-radius:0 10px 10px 0;background:#e9effc}
.single-article>.container>aside.topic-context{max-width:752px;margin:30px auto}
.article-share{margin-top:32px;padding:25px 24px;justify-content:space-between}
.share-btn{border-radius:8px;color:#51688e}
.related-articles{padding:36px 0 0;border-top:1px solid var(--border);margin-top:32px}
.related-articles .section-heading{margin-bottom:24px}
.policy-page,.about-page{max-width:850px;margin:40px auto 0;padding:38px 44px;background:#fff;border:1px solid var(--border);border-radius:15px}
.policy-page h1,.about-page h1{font:700 clamp(30px,3.5vw,42px)/1.15 var(--font-main);letter-spacing:-.045em;margin:0 0 26px}
.policy-page h2,.about-page h2{font:650 24px/1.3 var(--font-main);letter-spacing:-.035em;margin:34px 0 15px}
.policy-page p,.about-page p{font-size:16px;line-height:1.85;color:var(--text-secondary)}
.about-page li{font-size:15px;line-height:1.75;padding:15px 0}
.policy-page .topic-eyebrow{color:var(--accent);font-size:11px;margin-bottom:12px}
.policy-page .hub-story h3{font:650 22px/1.35 var(--font-main);letter-spacing:-.025em}
.policy-page .evidence-note{font-size:14px;border-radius:0 8px 8px 0}
.policy-page table{font-size:14px}.policy-page td,.policy-page th{padding:13px 10px}
.error-page{max-width:760px;margin:45px auto;padding:60px 30px;background:#fff;border:1px solid var(--border);border-radius:15px}
.error-page h1{color:#2e5cff;font-size:90px;letter-spacing:-.08em;line-height:1.15}
.error-page h2{font-size:27px;letter-spacing:-.035em;margin:14px 0}
.error-page p{font-size:15px;max-width:440px;margin:0 auto 25px}
.error-page>a,.empty-state>a{display:inline-flex;padding:11px 18px;border:1px solid var(--border);border-radius:8px;font-size:14px}
@media(min-width:1600px){:root{--max-width:1320px}.front-desk{grid-template-columns:minmax(0,1fr) 360px}.lead-body h2{font-size:38px}}
@media(max-width:1024px){.front-desk{grid-template-columns:minmax(0,1fr) 280px;gap:22px}.lead-body{padding:23px}.next-election{padding:16px 20px}.rail-heading{padding:20px}.rail-guide{padding:16px}.article-grid{gap:22px}.content-sidebar{width:100%}.content-layout{flex-direction:column}.sidebar-categories{display:flex;flex-wrap:wrap;gap:6px}.newsletter-inner{padding:30px;gap:24px}}
@media(max-width:768px){:root{--header-height:64px}.site-logo{font-size:22px}.main-nav{background:#fff;padding:16px 24px}.main-nav .nav-list{align-items:stretch}.nav-link{padding:12px}.mobile-menu-toggle{width:44px;height:44px;align-items:center;justify-content:center}.home-masthead{padding:29px 0 24px;display:block}.home-masthead>p{margin-top:12px;font-size:13px}.home-masthead>p br{display:none}.topic-navigation{gap:24px;margin-bottom:24px}.front-desk{grid-template-columns:1fr}.lead-body{padding:24px}.lead-body h2{font-size:29px}.election-rail{display:grid;grid-template-columns:1fr 1fr}.rail-heading,.rail-link{grid-column:1/-1}.rail-heading{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.rail-heading .eyebrow{margin:0}.rail-heading h2{font-size:23px}.next-election{padding:18px;gap:10px}.next-election:nth-child(2n){border-right:1px solid var(--border-light)}.rail-guide{display:none}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-articles .article-card:nth-child(n+4){grid-column:span 2}.article-card-title{font-size:19px}.latest-section{margin-top:35px}.newsletter-inner{grid-template-columns:1fr;gap:24px;padding:27px}.newsletter-form{flex-direction:row}.footer-top{display:block}.footer-links{margin-top:26px;justify-content:start;gap:10px 25px}.footer-bottom{font-size:10px;gap:10px}.single-article .article-header{margin-top:22px}.article-title{text-wrap:pretty;font-size:34px}.article-content,.article-toc{padding:0}.article-featured-image{margin-bottom:25px}.article-meta{gap:7px}.article-share{padding:22px 0;flex-direction:row;align-items:center}.share-label{font-size:10px}.share-buttons{gap:6px}.share-btn{width:36px;height:36px}.policy-page,.about-page{margin-top:24px;padding:28px}.policy-page p,.about-page p{font-size:16px}.related-articles .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.home-masthead h1{font-size:40px}.home-masthead .eyebrow{font-size:10px}.lead-body{padding:22px 20px}.lead-body h2{font-size:27px}.lead-body>p{font-size:14px}.story-kicker{gap:12px;font-size:10px}.election-rail{grid-template-columns:1fr 1fr}.next-election{padding:16px 12px;gap:9px}.next-election img{width:25px;height:19px}.next-election strong{font-size:13px}.next-election span,.next-election time{font-size:11px}.rail-heading{padding:18px}.rail-heading .eyebrow{font-size:10px}.rail-heading h2{font-size:22px}.rail-link{padding:17px 18px}.article-grid,.content-layout .article-grid,.related-articles .article-grid{grid-template-columns:1fr}.home-articles .article-card:nth-child(n+4){grid-column:auto;grid-template-columns:90px minmax(0,1fr);column-gap:15px;padding:5px 0 20px}.home-articles .article-card:nth-child(n+4) .article-card-title{font-size:17px}.article-card-title{font-size:23px}.article-card-body{padding:17px 0 24px}.section-top h2{font-size:25px}.section-top>span{font-size:11px}.newsletter-inner{padding:24px 20px}.newsletter-heading{font-size:25px}.newsletter-form{flex-direction:column}.newsletter-input,.newsletter-btn{height:46px}.footer-top{padding-bottom:24px}.footer-links{grid-template-columns:1fr 1fr;row-gap:14px}.footer-brand .site-logo{font-size:24px}.footer-bottom{flex-wrap:wrap}.site-footer{margin-top:40px}.article-title{font-size:30px}.article-content,.direct-article .legacy-prose{font-size:17px;line-height:1.8}.article-content h2,.direct-article .legacy-prose h2{font-size:24px}.article-content h3{font-size:20px}.article-content table{font-size:12px}.article-content td,.article-content th{padding:10px 8px}.policy-page,.about-page{padding:25px 20px}.policy-page{width:calc(100% - 32px)}.policy-page h1,.about-page h1{font-size:30px}.category-header{padding:30px 0 24px}.category-header h1{font-size:37px}.article-share{gap:12px}.share-label{max-width:70px}.article-card-excerpt{-webkit-line-clamp:unset;display:block}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
