:root {
  --navy: #071d33;
  --blue: #0d4774;
  --sky: #cfe8f7;
  --paper: #f7f4ee;
  --ink: #102033;
  --muted: #566577;
  --amber: #f0ae3c;
  --white: #ffffff;
  --rule: #ccd6df;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: var(--blue); }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  padding: .75rem 1rem;
  background: var(--white);
}

.skip-link:focus { left: 1rem; }

.site-header {
  color: var(--white);
  background: var(--navy);
  border-bottom: 3px solid var(--amber);
}

.nav {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .015em;
}

.brand span {
  display: block;
  color: var(--sky);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nav-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.nav-links a { color: #eaf4fb; text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--amber); }

.hero {
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), #0c385c 72%, #16587d);
}

.hero-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--amber);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { margin: 0 0 .55rem; font-size: 1.35rem; }

.hero-copy { max-width: 63ch; color: #dce9f2; font-size: 1.12rem; }
.hero-image { width: 100%; height: auto; border: 1px solid rgba(255,255,255,.24); box-shadow: 0 24px 55px rgba(0,0,0,.32); }

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  color: #f6fbff;
  background: rgba(255,255,255,.08);
  border-left: 4px solid var(--amber);
  font-size: .96rem;
}

.section { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-intro { max-width: 72ch; color: var(--muted); font-size: 1.06rem; }

.schedule {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.date-card, .info-card {
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--blue);
}

.participation-panel {
  margin: 1rem 0 1.25rem;
  padding: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  color: var(--white);
  background: var(--navy);
  border-left: 5px solid var(--amber);
  box-shadow: 0 14px 34px rgba(7,29,51,.16);
}

.participation-panel .eyebrow { margin-bottom: .35rem; color: var(--amber); }
.participation-panel h3 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.participation-panel p:not(.eyebrow) { max-width: 70ch; margin: .55rem 0 0; color: #d8e4ec; }
.participation-actions { min-width: 245px; display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.participation-actions .button { text-align: center; }
.dark-link { color: #f2c34a; text-align: center; }

.primary-documents-home { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.primary-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0 1.5rem; }
.primary-document-card { display: grid; grid-template-columns: minmax(150px, .72fr) 1.45fr; min-width: 0; background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--blue); box-shadow: 0 12px 30px rgba(7,29,51,.08); }
.primary-document-card > div { padding: 1.25rem; }
.document-preview { min-height: 100%; overflow: hidden; background: #e7e9e8; border-right: 1px solid var(--rule); }
.document-preview img { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: top center; transition: transform .2s ease; }
.document-preview:hover img { transform: scale(1.02); }
.document-kicker { color: #8c5a11; font-size: .72rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.primary-document-card h3 { margin: .45rem 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.15; }
.primary-document-card p { color: var(--muted); }
.document-actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: 1.15rem; }
.document-actions > a:not(.button) { font-weight: 800; }

.date-card strong { display: block; font-size: 1.15rem; }
.date-card span, .meta { color: var(--muted); font-size: .92rem; }

.facts {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.tag {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .2rem .55rem;
  color: var(--navy);
  background: var(--sky);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.button-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  text-decoration: none;
  font-weight: 750;
}
.button.secondary { color: var(--navy); background: transparent; border-color: var(--navy); }
.button.light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button.outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.7); }
.button:hover { transform: translateY(-1px); }

.site-footer { color: #dfeaf2; background: var(--navy); }
.footer-inner { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0; }
.footer-inner p { max-width: 78ch; margin: .35rem 0; }

.page-hero {
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), #104c76);
}

.page-hero .section { padding-top: clamp(2.8rem, 6vw, 5rem); padding-bottom: clamp(2.8rem, 6vw, 5rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .section-intro { color: #dce9f2; }

.two-col {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  background: #fff8e9;
  border-left: 4px solid var(--amber);
}

.callout strong { color: var(--navy); }

.timeline {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  margin-left: .6rem;
  padding: 0 0 2rem 2rem;
  border-left: 2px solid #aec2d2;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: .25rem;
  width: 14px;
  height: 14px;
  background: var(--amber);
  border: 3px solid var(--paper);
  border-radius: 50%;
}

.timeline time {
  display: block;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .035em;
}

.timeline p { margin: .35rem 0 0; max-width: 74ch; }

.source-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.source-card {
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--rule);
}

.source-card h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.06rem; line-height: 1.35; }
.source-card p { margin: .45rem 0; }
.source-card a { overflow-wrap: anywhere; }

.status {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .15rem .45rem;
  color: #18324b;
  background: #dceaf4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status.primary { color: #153c25; background: #dcefe3; }
.status.pending { color: #6a4510; background: #fff0c9; }
.status.commentary { color: #55235f; background: #f0dff4; }

.script-box {
  margin: 1.5rem 0;
  padding: 1.25rem;
  color: #f2f7fb;
  background: #102a43;
  border-left: 4px solid var(--amber);
  white-space: pre-wrap;
  font: 1rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.checklist { padding-left: 1.25rem; }
.checklist li { margin: .65rem 0; }
.small { color: var(--muted); font-size: .92rem; }

.advocacy-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(240,174,60,.2), transparent 28rem),
    linear-gradient(120deg, #06172a 0%, var(--navy) 48%, #104c76 100%);
}

.advocacy-hero .hero-grid {
  padding-top: clamp(3rem, 7vw, 6.5rem);
  padding-bottom: clamp(3rem, 7vw, 6.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .72fr);
}

.legal-note {
  max-width: 66ch;
  margin: 1.35rem 0 0;
  color: #c7d8e5;
  font-size: .9rem;
}

.source-figure { margin: 0; }

.hero-cutout-wrap {
  width: min(100%, 540px);
  align-self: end;
  justify-self: end;
  margin-bottom: calc(clamp(3rem, 7vw, 6.5rem) * -1);
}

.hero-cutout {
  display: block;
  width: 100%;
  height: auto;
}

.source-figure figcaption {
  margin-top: .6rem;
  color: #c8dae7;
  font-size: .78rem;
}

.deadline-bar {
  width: min(var(--max), calc(100% - 2rem));
  margin: -1.3rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: stretch;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--amber);
  box-shadow: 0 14px 40px rgba(7,29,51,.13);
  isolation: isolate;
  overflow: hidden;
}

.deadline-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/hearing-calendar-background.png") center 48% / cover no-repeat;
  opacity: .0325;
  pointer-events: none;
}

.deadline-bar div {
  position: relative;
  z-index: 1;
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--rule);
}

.deadline-bar span,
.deadline-bar strong { display: block; }
.deadline-bar span { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.deadline-bar strong { margin-top: .2rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.deadline-bar > a { position: relative; z-index: 1; display: flex; align-items: center; padding: 1rem 1.4rem; color: var(--white); background: var(--blue); text-decoration: none; font-weight: 800; }

.feature-band {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--navy);
}

.feature-band .section-intro { color: #d4e2ec; }
.text-link { color: var(--amber); font-weight: 800; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--white); }

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.source-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.authority-card {
  margin: 1.8rem 0 2rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 235px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 5px solid #29495b;
}
.authority-card img { display: block; width: 100%; max-height: 82px; object-fit: contain; object-position: left center; }
.authority-card strong { display: block; color: var(--navy); font-size: 1.08rem; }
.authority-card p { margin: .25rem 0 0; color: var(--muted); font-size: .92rem; }
.authority-links { display: flex; flex-direction: column; gap: .35rem; }
.authority-links a { font-weight: 800; white-space: nowrap; }

.source-browser-mockup { margin: 0; }
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #dce3e8; border-radius: 10px 10px 0 0; }
.browser-bar span { width: 10px; height: 10px; background: #8a9aa6; border-radius: 50%; }
.browser-bar small { margin-left: 8px; color: #536675; font-weight: 800; }
.browser-page { padding: 1.1rem; color: var(--ink); background: var(--white); }
.browser-page .jccf-logo { display: block; width: 76%; height: 70px; object-fit: contain; object-position: left center; }
.browser-page p { margin: .65rem 0 .2rem; color: #8c4f16; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.browser-page strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; line-height: 1.15; }
.browser-photo { display: block; width: 100%; aspect-ratio: 16 / 7; margin-top: 1rem; object-fit: cover; }
.source-browser-mockup figcaption { margin-top: .6rem; color: #c8dae7; font-size: .78rem; }

.official-heading { margin-bottom: 2.2rem; padding: 1rem 1.15rem; display: flex; align-items: center; gap: 1.25rem; background: var(--white); border: 1px solid var(--rule); }
.official-heading img { display: block; width: 250px; max-height: 78px; object-fit: contain; }
.official-heading span, .official-heading strong { display: block; }
.official-heading span { color: var(--blue); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.official-heading strong { margin-top: .25rem; color: var(--navy); }

.municipal-context { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.municipal-photo { position: relative; }
.municipal-photo > img { display: block; width: 100%; min-height: 410px; object-fit: cover; box-shadow: 0 18px 45px rgba(7,29,51,.16); }
.municipal-photo > span { position: absolute; left: 0; bottom: 0; padding: .55rem .75rem; color: white; background: rgba(7,29,51,.82); font-size: .75rem; }
.town-mark { display: inline-block; margin-bottom: 1.2rem; }
.town-mark img { display: block; width: 170px; height: 105px; object-fit: contain; object-position: left center; }
.support-logo { display: inline-block; margin-bottom: 1rem; padding: .8rem 1rem; background: white; }
.support-logo img { display: block; width: min(380px, 100%); height: 78px; object-fit: contain; object-position: left center; }

.timeline-page-hero { background: linear-gradient(115deg, #071d33, #0d4774 58%, #08705b); }
.organization-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.organization-strip a { min-height: 145px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; color: var(--navy); background: var(--white); border: 1px solid var(--rule); text-decoration: none; font-weight: 850; }
.organization-strip a:hover { border-color: var(--blue); box-shadow: 0 10px 26px rgba(7,29,51,.08); }
.organization-strip img { width: 100%; height: 75px; object-fit: contain; object-position: left center; }
.organization-strip span { color: var(--blue); }
.separation-note { margin: 1.5rem 0 2rem; padding: 1rem 1.2rem; display: grid; grid-template-columns: 180px 1fr; gap: 1rem; background: #fff1ce; border-left: 6px solid var(--amber); }
.separation-note strong { color: #79500f; }
.timeline-feature { margin: 0; }
.timeline-feature img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); box-shadow: 0 20px 50px rgba(7,29,51,.14); }
.timeline-feature figcaption { margin-top: .65rem; color: var(--muted); font-size: .82rem; }
.timeline-feature a { display: block; }
.approved-timeline img { border-color: #8ca2b1; }
.approved-track-summary { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.approved-track-summary article { padding: 1.25rem; background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--amber); }
.approved-track-summary article + article { border-top-color: var(--teal); }
.approved-track-summary span { display: block; margin-bottom: .4rem; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.approved-track-summary strong { display: block; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; }
.approved-track-summary p { margin-bottom: 0; color: var(--muted); }
.timeline-gallery { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.timeline-gallery.refinement-grid { grid-template-columns: repeat(2, 1fr); }
.timeline-gallery a { color: var(--ink); background: var(--white); border: 1px solid var(--rule); text-decoration: none; }
.timeline-gallery a:hover { border-color: var(--blue); box-shadow: 0 10px 26px rgba(7,29,51,.1); }
.timeline-gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.timeline-gallery strong, .timeline-gallery span { display: block; padding-left: 1rem; padding-right: 1rem; }
.timeline-gallery strong { margin-top: .9rem; color: var(--navy); font-size: 1.05rem; }
.timeline-gallery span { padding-bottom: 1rem; color: var(--muted); font-size: .88rem; }
.organization-source-section { padding-top: 2rem; }

.approved-timeline-home { padding: clamp(.75rem, 2vw, 1.5rem); background: linear-gradient(125deg, #071d33, #0a3150); }
.approved-timeline-preview { display: block; color: white; text-decoration: none; }
.approved-timeline-preview img { display: block; width: 100%; height: auto; border: 1px solid rgba(255,255,255,.28); }

.story-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.story-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--rule);
}

.story-card > div { padding: 1.3rem; }
.story-card img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.story-card a { font-weight: 800; }

.support-panel,
.newsletter {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 2rem;
  align-items: center;
}

.support-panel {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  color: var(--ink);
  background: #fff2d8;
  border: 1px solid #e7c986;
}

.support-panel p { max-width: 70ch; }
.button-stack { display: flex; flex-direction: column; gap: .75rem; }
.button-stack .button { justify-content: center; text-align: center; }

.newsletter {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--rule);
}

.signup-preview label { display: block; margin-bottom: .4rem; font-weight: 800; }
.signup-preview > div { display: flex; }
.signup-preview input,
.signup-preview button { min-height: 48px; padding: .7rem .85rem; font: inherit; }
.signup-preview input { width: 100%; border: 1px solid var(--rule); }
.signup-preview button { color: #66717c; background: #e7ebee; border: 1px solid #c9d1d7; font-weight: 800; }

.help-hero { background: linear-gradient(125deg, #071d33, #104c76 68%, #b57416); }

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.action-card {
  position: relative;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--amber);
}

.action-card > span { color: #9a6616; font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.action-card h2 { margin-top: .65rem; font-size: 1.75rem; }
.action-card a { font-weight: 800; }
.large-checklist { max-width: 78ch; }
.faq { max-width: 900px; }
.faq details { margin: .75rem 0; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--rule); }
.faq summary { cursor: pointer; color: var(--navy); font-weight: 850; font-size: 1.05rem; }

.media-hero { background: linear-gradient(120deg, #071d33, #0d4774 66%, #805210); }

.hub-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--rule);
}

.hub-summary div { padding: 1.25rem; border-right: 1px solid var(--rule); }
.hub-summary div:last-child { border-right: 0; }
.hub-summary strong { display: block; color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1; }
.hub-summary span { display: block; margin-top: .45rem; color: var(--muted); font-size: .86rem; }

.featured-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.featured-media-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-media-three .media-card { grid-template-columns: 1fr; }
.featured-media-three .media-card img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }

.media-card {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) 1fr;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  text-decoration: none;
}

.media-card:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(7,29,51,.1); }
.media-card img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.media-card > div { display: flex; flex-direction: column; justify-content: center; padding: 1rem; }
.media-card span { color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.media-card strong { margin-top: .35rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; line-height: 1.18; }
.media-card small { margin-top: .7rem; color: var(--muted); }

.source-section h2 { margin-bottom: 1.6rem; }
.source-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.source-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--rule);
}
.source-list strong { display: block; color: var(--navy); }
.source-list p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.source-list a { min-width: 92px; font-weight: 800; text-align: right; }
.source-id { color: #7d551b; font: 800 .75rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; }
.pending-label { color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; }

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.article-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--blue);
  box-shadow: 0 10px 25px rgba(7,29,51,.06);
}

.article-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}

.article-card:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(7,29,51,.13); transform: translateY(-2px); }
.article-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e9ecee; }
.article-card img.contain-image { padding: 1.2rem; object-fit: contain; }
.article-card > a > div { display: flex; min-height: 190px; flex: 1; flex-direction: column; padding: 1.15rem; }
.article-card span { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.article-card h3 { margin: .55rem 0 .75rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; line-height: 1.2; }
.article-card p { margin: auto 0 0; color: var(--muted); font-size: .88rem; }
.video-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .hero-grid, .facts, .two-col, .source-grid, .split-feature, .support-panel, .newsletter, .municipal-context { grid-template-columns: 1fr; }
  .schedule { grid-template-columns: 1fr; }
  .hero-image { max-width: 650px; }
  .hero-cutout-wrap { justify-self: center; margin-bottom: calc(clamp(3rem, 7vw, 6.5rem) * -1); }
  .deadline-bar { grid-template-columns: 1fr 1fr; }
  .deadline-bar div:nth-child(2) { border-right: 0; }
  .deadline-bar > a { justify-content: center; }
  .story-grid { grid-template-columns: 1fr; }
  .hub-summary { grid-template-columns: 1fr 1fr; }
  .hub-summary div:nth-child(2) { border-right: 0; }
  .featured-media { grid-template-columns: 1fr; }
  .featured-media-three, .article-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .authority-card { grid-template-columns: 190px 1fr; }
  .authority-links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: .5rem 1rem; }
  .organization-strip, .timeline-gallery, .timeline-gallery.refinement-grid, .approved-track-summary, .primary-document-grid { grid-template-columns: 1fr; }
  .participation-panel { grid-template-columns: 1fr; gap: 1rem; }
  .participation-actions { min-width: 0; align-items: flex-start; }
}

@media (max-width: 520px) {
  .nav-links { gap: .35rem .8rem; }
  h1 { font-size: clamp(2.35rem, 14vw, 3.4rem); }
  .deadline-bar, .hub-summary, .action-grid { grid-template-columns: 1fr; }
  .deadline-bar div, .hub-summary div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .media-card { grid-template-columns: 1fr; }
  .media-card img { height: auto; aspect-ratio: 16 / 9; }
  .source-list li { grid-template-columns: 1fr; gap: .35rem; }
  .source-list a { text-align: left; }
  .signup-preview > div { flex-direction: column; }
  .authority-card { grid-template-columns: 1fr; }
  .authority-card img { max-width: 250px; }
  .primary-document-card { grid-template-columns: 1fr; }
  .document-preview { border-right: 0; border-bottom: 1px solid var(--rule); }
  .document-preview img { min-height: 0; max-height: 420px; object-fit: contain; }
  .official-heading { align-items: flex-start; flex-direction: column; }
  .official-heading img { width: min(250px, 100%); }
  .separation-note { grid-template-columns: 1fr; }
  .featured-media-three, .article-card-grid, .video-card-grid { grid-template-columns: 1fr; }
}


/* LAA live notes feed */
.live-notes-page {
  background: #07131b;
  color: #edf7f5;
}
.live-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}
.live-hero {
  margin-bottom: 18px;
}
.live-status-card {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.08);
  color: #bdf7ff;
}
.live-status-card.warn {
  border-color: rgba(255, 190, 90, 0.45);
  background: rgba(255, 190, 90, 0.1);
  color: #ffe2ac;
}
.live-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}
.live-controls button,
.live-controls a {
  border: 1px solid rgba(0, 210, 255, 0.45);
  background: rgba(2, 25, 36, 0.88);
  color: #dffcff;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.live-controls .active {
  background: #00d2ff;
  color: #07131b;
}
.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 16px;
  align-items: start;
}
.live-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}
.live-panel h2 {
  margin-top: 0;
}
.live-line,
.post-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  margin: 10px 0;
}
.line-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #91e7d8;
  font-size: 0.9rem;
}
.line-meta span {
  color: #b7c7d2;
  text-align: right;
}
.detail-only {
  display: none;
  grid-column: 1 / -1;
}
.show-detail .detail-only {
  display: block;
}
#auditDetails {
  white-space: pre-wrap;
  overflow: auto;
  max-height: 60vh;
  color: #cde9ef;
}
@media (max-width: 860px) {
  .live-grid {
    grid-template-columns: 1fr;
  }
  .line-meta {
    flex-direction: column;
  }
  .line-meta span {
    text-align: left;
  }
}

.live-panel code { display:block; white-space:pre-wrap; background:rgba(0,0,0,.25); padding:10px; border-radius:8px; }
.delete-row { display:flex; gap:12px; align-items:flex-start; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04); padding:12px; border-radius:10px; margin:8px 0; }

.meeting-card { border:1px solid rgba(29,220,116,.35); background:rgba(255,255,255,.04); padding:16px; margin:12px 0; border-radius:12px; }
.meeting-card h3 { margin: 6px 0 8px; }
.meeting-card small { color:#91e7d8; }
