/*
Theme Name: Election Data Lab
Theme URI: https://electiondatalab.com/
Author: Election Data Lab
Description: An election-night public data theme designed for the Election Data Lab plugin and WordPress Multisite subsites.
Version: 1.0.4
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: election-data-lab-theme
*/

:root{color-scheme:dark;--navy:#061329;--navy-2:#0a2041;--panel:#0e2b52;--blue:#38bdf8;--blue-2:#2563eb;--red:#f43f5e;--gold:#f8c451;--green:#22c55e;--ink:#f8fbff;--muted:#9db4ca;--line:rgba(159,188,218,.2);--shadow:0 22px 60px rgba(0,0,0,.3);--max:1240px}
*{box-sizing:border-box}html{max-width:100%;overflow-x:clip;scroll-behavior:smooth}body{max-width:100%;margin:0;overflow-x:clip;background:radial-gradient(circle at 72% 0,rgba(37,99,235,.17),transparent 30%),var(--navy);color:var(--ink);font:16px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.edl-site-shell{width:100%;max-width:100%;min-height:100vh;display:flex;overflow-x:clip;flex-direction:column}.edl-site-header{position:sticky;z-index:20;top:0;border-bottom:1px solid var(--line);background:rgba(6,19,41,.91);backdrop-filter:blur(14px)}body.admin-bar .edl-site-header{top:32px}.edl-header-inner{width:min(calc(100% - 40px),var(--max));height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.edl-brand{display:flex;align-items:center;gap:11px;text-decoration:none}.edl-brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,var(--blue),var(--blue-2) 53%,var(--red));font-size:22px;font-weight:950;box-shadow:0 8px 22px rgba(0,0,0,.25)}.edl-brand-name{display:block;font-size:16px;font-weight:900;line-height:1.05;letter-spacing:.015em;text-transform:uppercase}.edl-brand-tag{display:block;color:var(--muted);font-size:10px;letter-spacing:.06em}.edl-nav{display:flex;align-items:center;gap:8px}.edl-nav a{padding:8px 11px;border-radius:8px;color:#c8d9e9;text-decoration:none;font-size:14px;font-weight:650}.edl-nav a:hover{background:rgba(56,189,248,.1);color:#fff}.edl-nav .edl-lab-link{border:1px solid #3580b0;background:#103b66;color:#dff4ff}.edl-menu-button{display:none;border:1px solid #325274;border-radius:8px;background:#0a2343;color:#fff;padding:8px 10px}.edl-site-main{min-width:0;max-width:100%;flex:1}.edl-container{width:min(calc(100% - 40px),var(--max));max-width:100%;margin:auto}.edl-live-strip{border-bottom:1px solid var(--line);background:#081a35;color:#a9bdd2}.edl-live-strip .edl-container{min-height:34px;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.edl-live-indicator{display:flex;align-items:center;gap:7px}.edl-live-indicator i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(34,197,94,.13)}
.edl-hero{position:relative;overflow:hidden;padding:100px 0 82px;border-bottom:1px solid var(--line)}.edl-hero:before{content:"";position:absolute;width:720px;height:720px;right:-240px;top:-350px;border:110px solid rgba(56,189,248,.035);border-radius:50%}.edl-hero-grid{position:relative}.edl-hero-copy{max-width:920px}.edl-kicker{color:var(--blue);font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.edl-hero h1{max-width:800px;margin:12px 0 22px;font-size:clamp(3.3rem,7vw,6.7rem);line-height:.91;letter-spacing:-.065em}.edl-hero h1 em{color:transparent;background:linear-gradient(90deg,#70ddff,#5591ff 55%,#ff6079);background-clip:text;-webkit-background-clip:text;font-style:normal}.edl-hero-copy>p{max-width:720px;color:#b4c7da;font-size:19px}.edl-hero-actions{display:flex;gap:10px;margin-top:32px}.edl-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;border:1px solid #3a668e;border-radius:11px;background:#0b294c;color:#e9f7ff;text-decoration:none;font-weight:800}.edl-button:hover{border-color:var(--blue);transform:translateY(-1px)}.edl-button-primary{border-color:#267eb5;background:linear-gradient(90deg,#1787c8,#285bd4)}
.edl-section{padding:72px 0}.edl-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.edl-section-head h2{margin:5px 0 0;font-size:clamp(2rem,4vw,3.4rem);line-height:1}.edl-section-head p{max-width:520px;color:var(--muted)}.edl-briefing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.edl-briefing-card{display:flex;min-height:320px;flex-direction:column;padding:23px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#0f2c53,#091d3b);text-decoration:none;box-shadow:0 14px 36px rgba(0,0,0,.16);transition:.2s}.edl-briefing-card:hover{transform:translateY(-4px);border-color:#419fce}.edl-card-top{display:flex;justify-content:space-between;align-items:center}.edl-live-pill{padding:4px 7px;border-radius:5px;background:#12603a;color:#bffbd6;font-size:9px;font-weight:950;letter-spacing:.09em}.edl-card-date{color:#7792ac;font-size:11px}.edl-briefing-card h3{margin:54px 0 12px;font-size:24px;line-height:1.15;letter-spacing:-.02em}.edl-briefing-card p{color:#9db2c7}.edl-card-meta{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:20px;border-top:1px solid var(--line);color:#87a4be;font-size:12px}.edl-card-open{color:#64cfff;font-weight:800}.edl-empty-public{grid-column:1/-1;padding:58px;border:1px dashed #385a7a;border-radius:18px;text-align:center;color:#9db3c8}.edl-method{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#081a35}.edl-method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.edl-method-card{padding:24px 0}.edl-method-number{color:var(--blue);font-size:12px;font-weight:900}.edl-method-card h3{margin:12px 0 7px}.edl-method-card p{color:var(--muted)}
.edl-single{padding:65px 0}.edl-single .edl-analysis-view{max-width:1100px;margin:auto}.edl-back{display:inline-flex;margin-bottom:25px;color:#8ecff1;text-decoration:none}.edl-site-footer{border-top:1px solid var(--line);background:#041023}.edl-footer-inner{min-height:150px;display:flex;align-items:center;justify-content:space-between;gap:20px}.edl-footer-copy p{margin:5px 0;color:#7f9ab5;font-size:13px}.edl-footer-copy .edl-data-credit{margin-top:12px;color:#c0d4e7;font-weight:750}.edl-footer-copy .edl-site-credit{margin-top:4px;color:#9bb3cd}.edl-site-credit a{color:#68d0ff;font-weight:800;text-decoration:none}.edl-site-credit a:hover,.edl-site-credit a:focus{text-decoration:underline}.edl-footer-links{display:flex;gap:7px}.edl-footer-links a{padding:7px 9px;color:#91a9c0;text-decoration:none;font-size:12px}.edl-not-found{min-height:60vh;display:grid;place-items:center;text-align:center}.edl-not-found h1{font-size:clamp(3rem,7vw,6rem);margin:0}.edl-not-found p{color:var(--muted)}
@media(max-width:960px){.edl-briefing-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){body.admin-bar .edl-site-header{top:46px}.edl-header-inner{height:68px}.edl-menu-button{display:block}.edl-nav{display:none;position:absolute;left:20px;right:20px;top:74px;flex-direction:column;align-items:stretch;padding:12px;border:1px solid var(--line);border-radius:12px;background:#071a35}.edl-nav.is-open{display:flex}.edl-hero{padding:70px 0 58px}.edl-hero h1{font-size:3.7rem}.edl-briefing-grid,.edl-method-grid{grid-template-columns:1fr}.edl-section-head,.edl-footer-inner{align-items:flex-start;flex-direction:column}.edl-footer-inner{padding:34px 0}.edl-live-strip .edl-container span:last-child{display:none}.edl-hero-actions{align-items:stretch;flex-direction:column}.edl-container,.edl-header-inner{width:min(calc(100% - 28px),var(--max))}}
html,body,.edl-site-shell{overflow-x:hidden;overflow-x:clip}
