/* Readable theme override for the recovered frontend bundle. */
:root {
  --canvas: #f8fcff;
  --ink: #122c40;
  --ink-secondary: #385468;
  --muted: #5c7282;
  --primary-green: #176bd1;
  --hero-green: #e3f3ff;
  --pale-green: #edf7ff;
  --media-pale: #e1f0fa;
  --line: #dce9f2;
  --soft-green: #e3f2fc;
  --soft-green-2: #eaf6ff;
  --district-max: 76rem;
  --district-copy: 68rem;
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
}
.site-shell { font-size: clamp(1rem, .35vw + .92rem, 1.1875rem); }
.site-shell h1 { font-size: clamp(2.125rem, 4vw, 3.75rem); letter-spacing: -.045em; }
.site-shell h2 { font-size: clamp(2rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.site-shell h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.site-shell :focus-visible { outline: 3px solid #176bd1; outline-offset: 3px; }
.site-shell button, .site-shell a { min-height: 44px; }
.district-passport { max-width: var(--district-max); margin: 0 auto var(--space-7); }
.district-passport > section, .district-passport > div > section { margin-block: var(--space-7); }
.district-passport h2 { margin: 0 0 var(--space-4); }
.district-profile-card, .district-grid article, .district-stats article { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(29,77,109,.06); }
.district-profile-card { display: grid; gap: var(--space-4); padding: clamp(1.5rem,3vw,3rem); background: linear-gradient(125deg,#edf8ff,#fff); }
.district-profile-card p, .district-grid p { max-width: var(--district-copy); line-height: 1.65; color: var(--ink-secondary); }
.district-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,20rem),1fr)); gap: var(--space-3); }
.district-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-4); }
.district-grid h3 { margin: 0; }
.district-grid strong { color: var(--ink-secondary); }
.district-grid a:not(.button) { color: #135cae; font-weight: 650; text-decoration-thickness: 1.5px; }
.district-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(12rem,1fr)); gap: var(--space-3); }
.district-stats article { display: grid; grid-template-rows: auto auto auto 1fr; align-content: start; gap: var(--space-2); min-height: 15.5rem; padding: clamp(1.25rem,2vw,1.75rem); }
.district-stats article > span:first-child { color: var(--ink-secondary); font-size: .95rem; font-weight: 700; letter-spacing: .01em; }
.district-stat-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: .18em; margin-top: .1rem; font-size: clamp(2rem,3.1vw,2.7rem); color: var(--ink); line-height: 1.05; letter-spacing: -.035em; }
.district-stat-value span { font-size: .58em; font-weight: 650; letter-spacing: -.01em; color: var(--ink-secondary); }
.district-stats small, .district-source { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.district-source { margin: auto 0 0; padding-top: var(--space-2); }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.civic-hero { background: #dcefff; }
.civic-hero-image { object-position: center 52%; }
.civic-hero-overlay {
  background: linear-gradient(90deg, rgba(231,246,255,.94) 0%, rgba(231,246,255,.78) 32%, rgba(231,246,255,.16) 68%, rgba(231,246,255,.05) 100%);
}
.problem-detail p { white-space: pre-wrap; overflow-wrap: anywhere; }
.problem-summary p { line-height: 1.7; }
.civic-hero-content { align-content:start; padding-top:clamp(4.5rem,6vw,6.25rem); }
.civic-hero-content h1 { font-size:clamp(3rem,4.4vw,4rem); line-height:1.02; }
.civic-hero-content p { font-size:clamp(1.0625rem,.5vw + .95rem,1.125rem); line-height:1.5; }
.daily-dashboard { display:none; }
.daily-greeting { display:grid; align-content:center; gap:.25rem; padding:.85rem 1rem; border-radius:14px; background:#122c40; color:#fff; }
.daily-greeting strong { font-size:clamp(1rem,1.2vw,1.25rem); }
.daily-greeting span,.daily-facts span { font-size:.82rem; line-height:1.35; }
.daily-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--line); }
.daily-facts a { display:grid; gap:.2rem; align-content:center; min-height:68px; padding:.75rem .85rem; background:#fff; color:var(--ink); text-decoration:none; }
.daily-facts a:hover { background:#edf7ff; }.daily-facts b { font-size:1rem; white-space:nowrap; }
.daily-notice { grid-column:1/-1; display:grid; gap:.15rem; padding:.75rem 1rem; border-radius:12px; color:var(--ink); text-decoration:none; border:1px solid #cdddec; background:#edf7ff; }.daily-notice-warning { background:#fff8e4; border-color:#efd692; }.daily-notice-critical { background:#fff0ee; border-color:#e9b6af; }
.home-presentation .civic-hero { min-height:clamp(28rem,48vw,38rem); }.home-presentation .home-section { margin-block:clamp(2.5rem,5vw,4.5rem); }.home-presentation .home-section-heading { margin-bottom:1.25rem; }.home-presentation .home-section-subtitle { margin-block:.4rem 1.1rem; }.home-news-copy,.district-card,.home-event-card>div { padding:clamp(1rem,1.8vw,1.5rem); }.listing-page { padding-block:clamp(1.5rem,3vw,3rem); }.page-header { min-height:0; padding-block:clamp(2rem,4vw,4rem) 1.25rem; }.filter-bar { margin-block:0 1.25rem; }
@media (max-width:900px){.daily-dashboard{grid-template-columns:1fr}.daily-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 760px) {
  .civic-hero-image { object-position: 62% center; }
  .civic-hero-overlay { background: rgba(230,245,255,.78); }
  .district-passport { padding-inline: 1rem; }
  .district-passport > section, .district-passport > div > section { margin-block: var(--space-6); }
  .district-stats article { min-height: 0; }
  .civic-hero-content { padding-top:4.5rem; }.home-presentation .civic-hero{min-height:30rem}
}
