/* ============================================================
   STATIONBRIDGE DIGITAL | SECORD TOWNSHIP
   Visual Review Edition • November 2026
   Additive enhancements; original styles and behaviors preserved.
   ============================================================ */
:root{
  --navy:#092e51;
  --navy2:#071f37;
  --blue:#1478d2;
  --sky:#edf6fd;
  --ink:#122b43;
  --muted:#50687c;
  --line:#dbe6ef;
  --shadow:0 16px 44px rgba(8,45,77,.105);
  --shadow2:0 5px 18px rgba(8,45,77,.07);
}
html{scroll-padding-top:110px}
body{background:linear-gradient(180deg,#f8fbfe 0%,#f0f5fa 100%);font-size:16px;line-height:1.58;-webkit-font-smoothing:antialiased}
::selection{background:#b8def8;color:#082f53}
a{text-underline-offset:3px}
button,input,textarea,select{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #f2b64c!important;outline-offset:3px!important}
.skip:focus{z-index:99999}
.container{max-width:1450px}
/* Header */
.demo-bar{font-size:.72rem;line-height:1.35;letter-spacing:.075em;padding:9px 16px}
.topbar{background:linear-gradient(110deg,#08243e 0%,#0c3d65 68%,#0b3558 100%);box-shadow:0 5px 24px rgba(4,25,45,.22)}
.nav-inner{min-height:84px}
.brand-copy strong{letter-spacing:-.025em}
.nav a{transition:background-color .18s ease,box-shadow .18s ease}
.nav a:hover{background:rgba(95,179,241,.24)}
.nav a.active{background:#197fc9;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.search-pill{border-color:#83bde6;background:rgba(255,255,255,.045)}
/* Hero: maintain exact photo; improve readability and editorial hierarchy */
.hero{min-height:500px;background-image:linear-gradient(90deg,rgba(3,23,42,.88) 0%,rgba(4,30,52,.67) 37%,rgba(4,30,52,.22) 75%),url('https://images.unsplash.com/photo-1439066615861-d1af74d74000?auto=format&fit=crop&w=1600&q=82');background-position:center,center 52%}
.hero-inner{padding-top:70px;padding-bottom:116px;max-width:750px}
.hero .script{color:#e5f3ff;letter-spacing:-.025em;font-size:clamp(1.75rem,3vw,2.4rem)}
.hero h1{font-size:clamp(3.3rem,5.2vw,5.25rem);line-height:1.02;text-wrap:balance;text-shadow:0 3px 18px rgba(0,0,0,.38)}
.hero p{font-size:1.12rem;max-width:500px;line-height:1.62;color:#f0f6fc}
.hero .county{color:#d9eafa;letter-spacing:.22em}
.accent-line{background:#6bc8ff;width:74px;height:4px;margin:21px 0}
.btn{min-height:46px;border-radius:11px;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
.btn.primary{background:#197dd1;border-color:#197dd1;box-shadow:0 7px 18px rgba(0,34,80,.22)}
.btn.primary:hover{background:#0b66b5;transform:translateY(-2px);box-shadow:0 11px 23px rgba(0,34,80,.24)}
.btn.ghost:hover{background:rgba(255,255,255,.18);transform:translateY(-2px)}
/* Service shortcuts */
.quick-actions{margin-top:-48px}
.quick-grid{gap:13px}
.quick-card{border:1px solid #dfeaf3;border-radius:15px;min-height:108px;padding:17px 9px 14px;box-shadow:0 9px 24px rgba(12,54,86,.10)}
.quick-card .icon{width:38px;height:38px;margin-bottom:8px}
.quick-card .icon svg{width:30px;height:30px;stroke-width:1.85}
.quick-card strong{font-size:.93rem;line-height:1.22}
.quick-card:hover{transform:translateY(-5px);box-shadow:0 16px 30px rgba(12,54,86,.16);border-color:#a7cce8}
/* Cards and public content */
.section{padding:54px 0}
.feature-grid{gap:22px}
.feature-card{border-radius:18px;box-shadow:var(--shadow2);border-color:#dce8f0;transition:transform .23s ease,box-shadow .23s ease}
.feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.feature-card .photo{height:248px}
.feature-card .photo img{transition:transform .45s ease}
.feature-card:hover .photo img{transform:scale(1.055)}
.feature-body{padding:20px 70px 24px 23px;min-height:164px;background:linear-gradient(135deg,#103f68,#092f50)}
.feature-kicker{font-size:.72rem;letter-spacing:.145em;color:#aed8f4}
.feature-body h2{font-size:clamp(1.38rem,2vw,1.75rem);line-height:1.18;margin:10px 0}
.feature-body p{font-size:.95rem;line-height:1.52;color:#e2eff8}
.feature-body .arrow{right:20px;top:auto;bottom:23px;border-color:rgba(181,226,255,.7);width:38px;height:38px}
.dashboard{gap:18px}
.panel,.card{border:1px solid #dce7ef;border-radius:17px;box-shadow:var(--shadow2)}
.panel-head{padding:17px 20px}
.panel-title{font-size:1.2rem}
.news-item,.event{padding:16px 20px}
.news-item strong,.event strong{font-size:.94rem;line-height:1.35}
.news-item p,.event p{font-size:.86rem;line-height:1.5}
.news-thumb{border-radius:9px}
.small-link{font-size:.84rem;color:#0b67a9}
.datebox{border-radius:10px;padding:9px 6px;background:#e7f3fb}
.info-line b{font-size:.9rem}
.info-line span,.info-line a{font-size:.86rem;line-height:1.45}
.map-card{border-radius:12px}
.notice-inner{padding-top:24px;padding-bottom:24px}
.notice-inner p{font-size:.95rem;line-height:1.6}
/* Supporting pages */
.page-hero{padding:79px 0 82px;background-image:linear-gradient(90deg,rgba(3,28,51,.91),rgba(5,42,70,.65)),url('https://images.unsplash.com/photo-1788699626335-906b2c4ae2d8?auto=format&fit=crop&w=1350&q=80')}
.page-hero h1{font-size:clamp(2.4rem,4.3vw,3.7rem);line-height:1.12;letter-spacing:-.02em;text-wrap:balance}
.page-hero p{font-size:1.1rem;line-height:1.7;max-width:740px}
.content{padding-top:60px;padding-bottom:68px}
.card{padding:28px}
.card h2,.card h3{color:var(--navy)}
.card p,.content p{line-height:1.7}
.content a:not(.btn):hover,.footer a:hover{text-decoration:underline}
/* Notice and archival reading */
.announcement-archive{border-radius:16px;border-color:#dce7ef;box-shadow:var(--shadow2)}
.announcement-card{padding:18px 0}
.announcement-card h2{line-height:1.35;color:#103f68}
.meeting-controls input,.meeting-controls select{min-height:45px;border-radius:9px}
.meeting-record{padding:19px 0}
/* Footer */
.footer{background:linear-gradient(145deg,#092d4b,#061b30);margin-top:60px}
.footer-grid{gap:35px;padding-top:52px;padding-bottom:44px}
.footer h3{font-size:1.12rem}
.footer p,.footer a{font-size:.91rem;line-height:1.8}
.copyright{line-height:1.6}
/* Mobile and accessible motion */
@media(max-width:1180px){.nav-inner{min-height:70px}.hero{min-height:440px}.feature-card .photo{height:210px}}
@media(max-width:980px){.quick-grid{gap:10px}.dashboard{gap:14px}.feature-grid{gap:15px}.feature-body{min-height:175px;padding-right:54px}.feature-body .arrow{right:12px}}
@media(max-width:760px){
 .container{padding-left:20px;padding-right:20px}
 .hero{min-height:400px;background-image:linear-gradient(90deg,rgba(3,23,42,.89),rgba(4,30,52,.45)),url('https://images.unsplash.com/photo-1439066615861-d1af74d74000?auto=format&fit=crop&w=1600&q=82')}
 .hero-inner{padding:55px 0 91px}
 .hero h1{font-size:clamp(3rem,10vw,4.25rem)}
 .hero p{font-size:1rem}
 .quick-actions{margin-top:-31px}.quick-card{min-height:92px;padding:12px 7px}
 .section{padding:35px 0}
 .feature-card .photo{height:210px}
 .feature-body{min-height:134px;padding:17px 60px 20px 18px}
 .feature-body h2{font-size:1.45rem}
 .page-hero{padding:55px 0}
 .page-hero p{font-size:1rem}
 .content{padding:37px 0 46px}
 .card{padding:20px}
 .footer{margin-top:40px}
}
@media(max-width:480px){
 .hero h1{font-size:3rem}
 .hero .county{font-size:.8rem;letter-spacing:.14em}
 .hero-buttons .btn{width:100%;justify-content:center}
 .feature-card .photo{height:195px}
 .quick-card strong{font-size:.8rem}
 .notice-inner{padding-left:20px;padding-right:20px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .feature-card,.feature-card .photo img,.quick-card,.btn{transition:none!important;transform:none!important}
}
@media print{
 .topbar,.community-alert,.demo-bar,.quick-actions,.footer,.search-overlay{display:none!important}
 body{background:#fff;color:#000}
 .page-hero,.hero{background:none!important;color:#000;min-height:0;padding:15px 0}
 .page-hero h1,.hero h1{color:#000;text-shadow:none}
 .card,.panel,.feature-card{box-shadow:none;break-inside:avoid}
}


/* V2 homepage feature card refinements */
.feature-grid{align-items:stretch}
.feature-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:18px}
.feature-card .photo{height:248px;flex:0 0 auto;background:#e7eef3}
.feature-card .photo img{width:100%;height:100%;object-fit:cover;display:block}
.feature-body{flex:1 1 auto;display:flex;flex-direction:column;justify-content:flex-start;min-height:168px;padding:20px 70px 24px 23px}
.feature-body p{margin-bottom:0}
.feature-body .arrow{bottom:20px}
.feature-card:nth-child(1) .photo img{object-position:center 50%;filter:saturate(0.97) contrast(0.98) brightness(1.01)}
.feature-card:nth-child(2) .photo img{object-position:center 47%;filter:saturate(1.02) contrast(1.02) brightness(1.01)}
.feature-card:nth-child(3) .photo img{object-position:center 52%}
.feature-card:hover .photo img{transform:scale(1.02)}
@media(max-width:1180px){.feature-card .photo{height:220px}.feature-body{min-height:176px}}
@media(max-width:760px){.feature-card .photo{height:210px}.feature-body{min-height:150px}}
@media(max-width:480px){.feature-card .photo{height:195px}.feature-body{min-height:142px}}


/* V3 fire image update */
.fire-hero{background-image:linear-gradient(90deg,rgba(3,28,51,.90),rgba(5,42,70,.64)),url('assets/images/fire-station-hero.jpg') !important;background-position:center 43% !important;background-size:cover !important;}
.feature-card:nth-child(2) .photo img{object-position:center 44% !important;filter:saturate(1.01) contrast(1.02) brightness(1.01) !important;}

/* StationBridge elections preview: additive, scoped styles */
.elections-hero{background:linear-gradient(115deg,#112d3a,#23546a);color:white;padding:75px 0 70px}.elections-hero h1{font-size:clamp(2.5rem,5vw,4.3rem);margin:10px 0 15px;color:#fff}.elections-hero p{max-width:700px;line-height:1.7}.eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#4a8b99}.elections-hero .eyebrow{color:#b9dce4}.review-pill{display:inline-block;border:1px solid #b8d8e0;border-radius:30px;padding:8px 15px;font-size:.8rem;margin-top:14px}.election-intro{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:35px;align-items:center}.election-intro h2,.election-panel h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.2}.election-intro p,.election-panel p{line-height:1.7}.election-side{background:#edf4f5;border-left:4px solid #4a8b99;padding:25px;border-radius:7px;color:#193644}.election-side p{margin:12px 0}.election-side small{color:#4b6670}.election-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:45px 0}.election-resource{display:block;padding:28px;border:1px solid #dbe4e7;border-radius:12px;background:#fff;color:#1c3948;text-decoration:none;box-shadow:0 8px 26px #1838470a;transition:transform .15s,box-shadow .15s}.election-resource:hover,.election-resource:focus-visible{transform:translateY(-3px);box-shadow:0 12px 30px #18384720}.election-resource span{font-size:.73rem;letter-spacing:.12em;color:#557b87;font-weight:800}.election-resource h3{font-size:1.3rem;margin:16px 0 8px}.election-resource p{line-height:1.6;min-height:75px}.election-resource b{font-size:.85rem;color:#286579}.election-panel{background:#f1f5f5;border-radius:14px;padding:32px;display:grid;grid-template-columns:1.5fr 1fr;gap:35px}.archive-preview{background:white;padding:22px;border-radius:9px}.archive-preview label{display:block;font-weight:700;margin-bottom:9px}.archive-preview select{width:100%;padding:12px;border:1px solid #9baeb5;border-radius:6px}.archive-preview p{font-size:.9rem}.election-disclaimer{margin-top:24px;color:#516671;font-size:.88rem}@media(max-width:800px){.election-intro,.election-panel{grid-template-columns:1fr}.election-cards{grid-template-columns:1fr}.elections-hero{padding:55px 0}.election-resource p{min-height:0}}

/* V5 election dashboard */
.election-browser{grid-template-columns:minmax(150px,1fr) minmax(250px,2fr);margin:28px 0}.election-browser label{display:block;font-weight:700;margin-bottom:8px}.election-browser input,.election-browser select{width:100%;padding:12px;border:1px solid #9baeb5;border-radius:6px;font:inherit}.results-list{display:grid;gap:20px}.result-card{border:1px solid #d8e3e6;background:#fff;border-radius:14px;padding:28px;box-shadow:0 7px 22px #1233440b}.result-card h3{margin:5px 0 22px;font-size:1.45rem}.result-meta{font-size:.85rem;color:#446777;font-weight:700}.contest{margin:20px 0;border-top:1px solid #dfe8eb;padding-top:12px}.contest h4{margin:6px 0 14px}.contest table{width:100%;border-collapse:collapse;text-align:left}.contest caption{text-align:left;font-size:.82rem;color:#526b77;padding-bottom:7px}.contest th,.contest td{padding:10px;border-bottom:1px solid #e1e7e9}.contest th:nth-child(n+2),.contest td:nth-child(n+2){text-align:right}.vote-bar{display:flex;height:13px;overflow:hidden;border-radius:10px;margin:16px 0}.source-line{font-size:.86rem;color:#516671}.source-line a{color:#1c637d;text-decoration:underline}@media(max-width:700px){.election-browser{grid-template-columns:1fr}.result-card{padding:18px}}
