/* ==========================================================================
   Town of Coosada — design system
   Palette: navy #132a4c / #0d1f3a, gold #e3a824, cream #f7f5f0
   Fonts: IBM Plex Sans (body), Lora (headings)
   ========================================================================== */

:root {
    --navy: #132a4c;
    --navy-dark: #0d1f3a;
    --blue: #2457a6;
    --gold: #e3a824;
    --gold-dark: #d49a1c;
    --cream: #f7f5f0;
    --border: #e4e1da;
    --border-light: #f0eee8;
    --input-border: #d5d1c8;
    --text: #1b2230;
    --text-body: #3f4858;
    --muted: #5f6b7c;
    --gold-bg: #fbf3df;
    --gold-border: #eedcae;
    --gold-text: #9a6b07;
    --red: #b3401f;
    --red-bg: #fbe9e3;
    --green: #1f6b3a;
    --green-bg: #e6f1ea;
    --blue-bg: #e8eef8;
    --navy-text-soft: #c9d3e3;
    --serif: 'Lora', Georgia, serif;
    --sans: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

input, select, textarea, button { font: inherit; }

h1, h2, h3, .serif {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.15;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
}

.text-center { text-align: center; }
.muted { color: var(--muted); }

/* --- Kicker / eyebrow label --- */
.kicker {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-text);
    font-weight: 600;
}
.kicker--light { color: var(--gold); }
.kicker--muted { color: var(--muted); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    line-height: 1.3;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid #cfd6e0; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 10px 14px; font-size: 14px; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
    background: var(--navy-dark);
    color: var(--navy-text-soft);
    font-size: 13px;
}
.topbar .container {
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar-info { display: flex; gap: 20px; align-items: center; }
.topbar-info span { display: flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: #fff; font-weight: 500; }
.topbar-links a:hover { color: var(--gold); }

@media (max-width: 899px) {
    .topbar { display: none; }
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header > .container {
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}
.brand img { height: 40px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.brand-sub {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
    color: var(--navy);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
}
.main-nav a:hover { background: var(--border-light); }
.main-nav a.active { background: var(--border-light); }
.main-nav a.nav-contact {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1.5px solid var(--navy);
    margin-left: 8px;
}
.main-nav a.nav-contact:hover { background: var(--navy); color: #fff; }

/* Dropdown (Government submenu) */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 8px 6px 8px 2px;
    color: var(--navy);
    cursor: pointer;
    border-radius: 6px;
}
.sub-toggle:hover { background: var(--border-light); }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(13, 31, 58, .14);
    padding: 6px;
    z-index: 80;
}
.has-sub:hover .sub-menu,
.has-sub.open .sub-menu { display: flex; }
.main-nav .sub-menu a { padding: 9px 12px; white-space: nowrap; }

/* Indented submenu links in the mobile menu */
.mobile-menu > a.mobile-sub-link {
    padding-left: 28px;
    font-size: 15px;
    color: var(--text-body);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background: #fff;
    flex-direction: column;
    padding: 8px 16px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu > a {
    color: var(--navy);
    font-weight: 500;
    font-size: 17px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-light);
}
.mobile-menu > a:last-of-type { border-bottom: none; }
.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.mobile-menu-actions .btn { justify-content: center; }
.mobile-menu-note {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 899px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
}

/* ==========================================================================
   Alert banner
   ========================================================================== */
.alert-banner {
    background: var(--gold-bg);
    border-bottom: 1px solid var(--gold-border);
}
.alert-banner .container {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.alert-banner-icon { color: var(--gold-text); flex: none; margin-top: 2px; }
.alert-banner p { margin: 0; flex: 1; font-size: 14px; color: #3d3420; }
.alert-banner p a { font-weight: 600; color: var(--navy); text-decoration: underline; }
.alert-banner-close {
    flex: none;
    background: none;
    border: none;
    color: var(--gold-text);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Interior page header
   ========================================================================== */
.page-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.page-header .container {
    padding-top: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(28px, 4vw, 56px);
}
.breadcrumb {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .current { color: var(--navy); }
.page-header h1 {
    font-size: clamp(30px, 4.2vw, 46px);
    margin: 0 0 12px;
}
.page-header .intro {
    margin: 0;
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--text-body);
    max-width: 680px;
}

/* ==========================================================================
   Sections & cards
   ========================================================================== */
.section .container {
    padding-top: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(32px, 4vw, 56px);
}
.section--flush .container { padding-top: 0; padding-bottom: 0; }
.section-title {
    font-size: clamp(24px, 2.6vw, 32px);
    margin: 0 0 20px;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}
.section-head .section-title { margin: 0; }
.section-head-link {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.card--pad { padding: clamp(20px, 3vw, 32px); }

/* ==========================================================================
   Home — hero (Direction B)
   ========================================================================== */
.hero-b { background: #fff; }
.hero-b .container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding-right: 0;
}
.hero-b-copy {
    flex: 1 1 340px;
    padding: clamp(36px, 6vw, 88px) clamp(0px, 4vw, 48px) clamp(36px, 6vw, 88px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-b-seal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.hero-b-seal img { height: 56px; }
.hero-b-seal span {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.4;
}
.hero-b h1 {
    font-size: clamp(34px, 5.2vw, 58px);
    line-height: 1.08;
    margin: 0 0 18px;
}
.hero-b-copy > p {
    margin: 0 0 28px;
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--text-body);
    max-width: 520px;
}
.hero-b-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-b-photo {
    flex: 1 1 340px;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-b-photo-tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, .94);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .hero-b .container { padding-right: clamp(16px, 4vw, 40px); }
}

/* Quick actions strip (navy) */
.quick-strip { background: var(--navy); }
.quick-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.quick-strip a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.quick-strip a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.quick-strip .qs-icon { color: var(--gold); flex: none; display: flex; }
.quick-strip .qs-label { display: flex; flex-direction: column; line-height: 1.3; }
.quick-strip .qs-label strong { font-weight: 600; }
.quick-strip .qs-label span { font-size: 12px; color: var(--navy-text-soft); }

/* ==========================================================================
   Calendar (mini + full)
   ========================================================================== */
.cal-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.cal-card--lg { border-radius: 14px; padding: clamp(16px, 2.5vw, 24px); }
.cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cal-head h2 { font-size: 24px; margin: 0; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav a, .cal-nav span {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-nav span { opacity: .35; }
.cal-dow, .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.cal-dow { margin-bottom: 6px; }
.cal-dow span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
}
.cal-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
}
.cal-cell .dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.cal-cell--event { background: var(--cream); font-weight: 600; }
.cal-cell--today { background: var(--navy); color: #fff; font-weight: 600; }
.cal-cell--empty { visibility: hidden; }
.dot--event { background: var(--gold) !important; }
.dot--court { background: var(--blue) !important; }
.dot--meeting { background: var(--green) !important; }
.dot--closure { background: var(--red) !important; }
.cal-cell--court { color: var(--blue); }
.cal-cell .cal-court-icon { display: block; color: var(--blue); stroke-width: 2; }
.cal-cell--today.cal-cell--court, .cal-cell--today .cal-court-icon { color: #fff; }
/* Days whose council meeting has documents posted link to the record */
a.cal-cell--docs { color: var(--text); }
a.cal-cell--docs:hover { background: var(--green-bg); }
.cal-markers { display: flex; align-items: center; gap: 3px; }
.cal-cell .cal-doc-icon { display: block; color: var(--green); }
.cal-cell--today.cal-cell--docs { color: #fff; }
.cal-cell--today.cal-cell--docs:hover { background: var(--navy); }
.cal-cell--today .cal-doc-icon { color: #fff; }
.cal-legend {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    flex-wrap: wrap;
}
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.cal-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* Event list */
.event-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.event-row {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}
.event-row:hover { background: var(--cream); color: var(--text); }
.event-row:last-child { border-bottom: none; }
.event-date-badge {
    flex: none;
    width: 50px;
    text-align: center;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    padding: 6px 0;
    line-height: 1.1;
    align-self: flex-start;
}
.event-date-badge .mon {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .85;
}
.event-date-badge .day { display: block; font-size: 20px; font-weight: 600; }
.event-date-badge--event { background: var(--gold); color: var(--navy); }
.event-date-badge--closure { background: var(--red); }
.event-date-badge--court { background: var(--blue); }
.event-date-badge--meeting { background: var(--green); }
.event-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.event-row-body strong { font-weight: 600; color: var(--navy); }
.event-row-body span { font-size: 13px; color: var(--muted); }
.event-doc-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.event-doc-links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--green); }
.event-doc-links a:hover { text-decoration: underline; }

/* Compact event bullet list */
.event-bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.event-bullets a { display: flex; gap: 12px; align-items: center; color: var(--text); font-size: 14px; }
.event-bullets i {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
}
.event-bullets strong { font-weight: 600; color: var(--navy); }

/* ==========================================================================
   News
   ========================================================================== */
.news-list { display: flex; flex-direction: column; }
.news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.news-item-thumb {
    flex: none;
    width: 120px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    background: repeating-linear-gradient(135deg, #e9e6df 0 10px, #f2f0ea 10px 20px);
}
div.news-item-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8291;
    font: 11px/1 ui-monospace, monospace;
}
.news-item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-date {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.news-item-body strong { font-weight: 600; color: var(--navy); line-height: 1.35; }
.news-item-body .blurb { font-size: 14px; color: var(--muted); }

/* News cards (grid) */
.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
}
.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    color: var(--text);
}
.news-card:hover { border-color: var(--navy); color: var(--text); }
.news-card-img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    background: repeating-linear-gradient(135deg, #e9e6df 0 10px, #f2f0ea 10px 20px);
}
.news-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.news-card-body strong { font-weight: 600; line-height: 1.35; color: var(--navy); }
.news-card-body .blurb { font-size: 14px; color: var(--muted); }

/* Article body */
.article-body { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 760px; }
.article-body p { margin: 0 0 16px; }
.article-body img { border-radius: 12px; }

/* ==========================================================================
   Signup / notices box
   ========================================================================== */
.signup-box {
    background: var(--gold-bg);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.signup-box-copy { display: flex; flex-direction: column; gap: 2px; }
.signup-box-copy strong { font-weight: 600; color: var(--navy); }
.signup-box-copy span { font-size: 14px; color: var(--muted); }
.signup-form { display: flex; gap: 8px; flex: 1 1 260px; }
.signup-form input[type="text"], .signup-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e0cf9a;
    border-radius: 8px;
    background: #fff;
}
.signup-success {
    margin: 0;
    font-size: 14px;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* TextMyGov call-to-action */
.textmygov-cta {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 16px;
    padding: 12px 18px;
    border-radius: 10px;
}
.textmygov-cta strong { color: var(--gold); letter-spacing: .02em; }
.textmygov-cta--panel { background: var(--gold); color: var(--navy); justify-content: center; }
.textmygov-cta--panel strong { color: var(--navy); }

/* Navy signup panel (events page) */
.signup-panel {
    background: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.signup-panel h2 { font-size: 22px; margin: 0; color: #fff; }
.signup-panel input[type="text"] {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    width: 100%;
}
.signup-panel input::placeholder { color: rgba(255, 255, 255, .6); }
.signup-panel .fine-print { margin: 0; font-size: 12px; color: var(--navy-text-soft); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
}
.topic-chip.on {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--navy);
}
.signup-panel .signup-success { color: #fff; }

/* ==========================================================================
   Home — government carousel
   ========================================================================== */
.gov-band { background: #fff; border-top: 1px solid var(--border); }
.gov-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}
.mayor-quote {
    flex: 1.1 1 320px;
    background: var(--cream);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mayor-quote blockquote {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.4;
    color: var(--navy);
}
.mayor-quote .attribution { margin: 0; font-size: 14px; color: var(--muted); }

.people-carousel {
    flex: 1.6 1 380px;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.people-scroller {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.people-scroller::-webkit-scrollbar { display: none; }
.people-arrow {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.people-arrow:hover, .people-arrow:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .people-scroller { scroll-behavior: auto; }
}
.person-card {
    flex: none;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text);
    scroll-snap-align: start;
}
.person-card img, .person-card .person-placeholder {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    display: block;
}
.person-card .person-placeholder {
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
}
.person-card strong {
    font-weight: 600;
    display: block;
    font-size: 14px;
    color: var(--navy);
    line-height: 1.3;
}
.person-card span { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   Government page
   ========================================================================== */
.mayor-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.mayor-card h2 { font-size: 28px; margin: 0 0 12px; }
.mayor-card .mayor-photo {
    width: 160px;
    height: 160px;
    flex: none;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.mayor-card .mayor-body { flex: 1 1 300px; }
.mayor-card .mayor-body p { margin: 0 0 12px; color: var(--text-body); }
.mayor-card .mayor-body p:last-child { margin-bottom: 0; }

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
}
.council-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.council-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; display: block; }
.council-card .council-placeholder {
    aspect-ratio: 1;
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 600;
}
.council-card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.council-card-body .place {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.council-card-body strong { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.council-card-body .bio { font-size: 14px; color: var(--text-body); }

/* ==========================================================================
   Services page
   ========================================================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 20px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-card h2 { font-size: 24px; margin: 0; }
.service-card > p { margin: 0; color: var(--text-body); }
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon--blue { background: var(--blue-bg); color: var(--blue); }
.service-icon--red { background: var(--red-bg); color: var(--red); }
.service-icon--green { background: var(--green-bg); color: var(--green); }
.service-card dl, .fact-list {
    margin: 4px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    font-size: 15px;
    background: var(--cream);
    border-radius: 10px;
    padding: 14px;
}
.service-card dt, .fact-list dt { color: var(--muted); }
.service-card dd, .fact-list dd { margin: 0; font-weight: 600; }
.service-card dd.normal, .fact-list dd.normal { font-weight: 400; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
}
.navy-panel {
    background: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: clamp(24px, 3vw, 36px);
}
.navy-panel h2 { color: #fff; font-size: 24px; margin: 0 0 10px; }
.navy-panel p { margin: 0; color: var(--navy-text-soft); }

.dps-banner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.dps-banner-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold, #c9a13b);
}
.dps-banner-body { flex: 1; }
.dps-banner-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 14px 0 0;
    padding: 0;
    font-size: 15px;
    color: var(--navy-text-soft);
}
.dps-banner-facts strong { color: #fff; font-weight: 600; margin-right: 6px; }
.dps-banner-facts a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
@media (max-width: 640px) {
    .dps-banner { flex-direction: column; }
}

/* ==========================================================================
   Court page
   ========================================================================== */
.court-session-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.court-next {
    flex: none;
    background: var(--navy);
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    text-align: center;
}
.court-next .label {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-text-soft);
}
.court-next .day {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    margin: 6px 0 2px;
}
.court-next .mon { font-weight: 500; }
.court-session-body { flex: 1 1 260px; padding: 24px; }
.court-session-body h2 { font-size: 24px; margin: 0 0 10px; }
.court-session-body dl {
    margin: 0 0 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    font-size: 15px;
}
.court-session-body dt { color: var(--muted); }
.court-session-body dd { margin: 0; font-weight: 500; }
.court-session-body .note { margin: 0; font-size: 13px; color: var(--muted); }

.pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
}
.pay-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pay-card .pc-icon { color: var(--blue); }
.pay-card strong { font-weight: 600; color: var(--navy); }
.pay-card .pc-desc { font-size: 14px; color: var(--muted); }
.pay-card .pc-detail { font-weight: 600; }
.pay-card .pc-fine { font-size: 13px; color: var(--muted); }

/* Info tiles (sidebar boxes) */
.info-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.info-tile h3 { font-size: 18px; margin: 0 0 12px; }
.info-tile--flush { padding: 0; overflow: hidden; }
.info-tile--flush .info-tile-pad { padding: 18px 20px; }
.gold-note {
    background: var(--gold-bg);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    color: #3d3420;
    display: flex;
    gap: 10px;
}
.gold-note .gn-icon { color: var(--gold-text); flex: none; }
.gold-note a { font-weight: 600; color: var(--navy); text-decoration: underline; }
.red-note {
    background: var(--red-bg);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    color: #4a2a1f;
    display: flex;
    gap: 10px;
}
.red-note .rn-icon { color: var(--red); flex: none; }

/* ==========================================================================
   Directory page
   ========================================================================== */
.dir-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.dir-search {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 14px;
    color: var(--muted);
}
.dir-search input {
    flex: 1;
    border: none;
    padding: 13px 0;
    background: transparent;
    outline: none;
    min-width: 0;
}
.dir-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.dir-filter {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
}
.dir-filter.on { border-color: var(--navy); background: var(--navy); color: #fff; }

.dir-group h2 { font-size: 22px; margin: 0 0 12px; }
.dir-rows {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.dir-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    padding: 0 18px 0 0;
    border-bottom: 1px solid var(--border-light);
}
.dir-row:last-child { border-bottom: none; }
.dir-row img {
    width: 96px;
    height: 96px;
    border-radius: 0;
    object-fit: cover;
    object-position: top;
    flex: none;
    align-self: stretch;
}
.dir-initials {
    width: 96px;
    height: 96px;
    border-radius: 0;
    align-self: stretch;
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex: none;
}
.dir-row-name { flex: 1 1 200px; min-width: 0; }
.dir-row-name strong { font-weight: 600; display: block; color: var(--navy); }
.dir-row-name span { font-size: 14px; color: var(--muted); }
.dir-row-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 32px);
}
.contact-form-card h2 { font-size: 26px; margin: 0 0 6px; }
.contact-form-card .form-intro { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 18px;
}
.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--navy);
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
    padding: 12px 14px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
}
.form-grid textarea { resize: vertical; }
/* Anti-spam honeypot: visually removed, never shown to real visitors. */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.contact-info-rows { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.contact-info-rows > div { display: flex; gap: 12px; }
.contact-info-rows .ci-icon { color: var(--blue); flex: none; }
.contact-info-rows strong { font-weight: 600; display: block; }

.contact-tile-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 28px 20px 24px;
    background: linear-gradient(180deg, var(--navy) 0%, #14264a 100%);
    color: #fff;
}
.contact-tile-head img {
    width: 170px;
    height: 170px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.85);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.contact-tile-head strong { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.contact-tile-head span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

.contact-page.two-col { gap: clamp(24px, 3vw, 40px); }
.contact-page .contact-info-rows { gap: 12px; }

.holiday-tile { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; padding: 24px; }
.holiday-tile-intro { display: flex; gap: 12px; flex: 1 1 240px; }
.holiday-tile-intro .ci-icon { color: var(--blue); flex: none; }
.holiday-tile-intro h3 { margin: 0 0 4px; }
.holiday-tile-intro p { margin: 0; font-size: 14px; color: var(--muted); }
.holiday-list {
    flex: 3 1 480px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px 24px;
    font-size: 14px;
}

/* ==========================================================================
   Two-column layout helper
   ========================================================================== */
.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(32px, 4vw, 56px);
}
.two-col > .col-main { flex: 2 1 420px; min-width: 0; }
.two-col > .col-side {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* About page article */
.about-article { font-size: 17px; line-height: 1.65; }
.about-article h2 { font-size: 28px; margin: 0 0 12px; }
.about-article p { margin: 0 0 16px; }
.about-article ul { margin: 0 0 24px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.about-article figure { margin: 32px 0; }
.about-article figure img { width: 100%; border-radius: 12px; display: block; }
.about-article figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.callout-gold {
    background: var(--gold-bg);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}
.callout-gold h3 { font-size: 20px; margin: 0 0 8px; }
.callout-gold p { margin: 0; font-size: 16px; }

.quick-facts dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    font-size: 15px;
}
.quick-facts dt { color: var(--muted); }
.quick-facts dd { margin: 0; font-weight: 500; }
.plain-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plain-list span { color: var(--muted); }

.schedule-list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.schedule-list dt { font-weight: 600; color: var(--navy); white-space: nowrap; }
.schedule-list dd { margin: 0; color: var(--text-body); }

/* Around town cards (home) */
.around-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 16px;
}
.around-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
}
.around-card:hover { border-color: var(--navy); color: var(--text); }
.around-card .ac-icon { color: var(--blue); }
.around-card strong { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.around-card span { font-size: 14px; color: var(--muted); }

/* Veterans honor wall */
.vet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 24px;
}
.vet-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    color: var(--text);
    transition: box-shadow .15s ease, border-color .15s ease;
}
.vet-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 24px rgba(13, 31, 58, .14);
    color: var(--text);
}
.vet-card img { width: 100%; height: auto; display: block; }
.vet-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-top: 3px solid var(--gold);
}
.vet-card-body strong { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.vet-card-body span { font-size: 13px; color: var(--muted); }

/* Veterans homepage banner (shown only during the yearly display window) */
.vet-banner { background: var(--navy); }
.vet-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 14px;
    padding-bottom: 14px;
    text-align: center;
}
.vet-banner p { margin: 0; color: #fff; font-size: 15px; }
.vet-banner p strong { font-family: var(--serif); font-size: 17px; color: var(--gold); }
.vet-banner .btn { flex: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: var(--navy-text-soft); }
.site-footer a { color: var(--navy-text-soft); }
.site-footer a:hover { color: #fff; }
.footer-grid {
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 36px;
}
.footer-brand img { height: 72px; display: block; margin-bottom: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-brand .fb-name {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.footer-brand p { margin: 0; font-size: 14px; }
.footer-col { font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.footer-col .fc-title {
    margin: 0 0 4px;
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.footer-col p { margin: 0; }
.footer-col p strong { color: #fff; font-weight: 500; }
.footer-col a.gold-link { color: var(--gold); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container {
    padding-top: 18px;
    padding-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.footer-bottom p { margin: 0; }
.yesgov-link { display: flex; align-items: center; gap: 10px; }

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
/* Council records: meeting rows, legislation tabs, chips, year filter */
.meeting-row { align-items: flex-start; }
.meeting-row .event-date-badge { margin-top: 2px; }
.meeting-doc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    flex: none;
}
.year-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.year-filter a {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}
.year-filter a:hover { border-color: var(--navy); }
.year-filter a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--blue-bg);
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 500;
}
.chip:hover { background: var(--blue); color: #fff; }
.leg-tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--border-light); }
.leg-tabs a {
    padding: 10px 18px;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.leg-tabs a:hover { color: var(--navy); }
.leg-tabs a.on { color: var(--navy); border-bottom-color: var(--gold); }
.leg-tab-count { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.leg-tabs a.on .leg-tab-count { color: var(--gold-text); }

/* Search + year pills */
.leg-toolbar { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.leg-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 240px;
    min-width: 0;
}
.leg-search-icon {
    position: absolute;
    left: 12px;
    display: flex;
    color: var(--muted);
    pointer-events: none;
}
.leg-search input[type="search"] {
    width: 100%;
    padding: 9px 34px 9px 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    background: #fff;
}
.leg-search input[type="search"]:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.leg-search-clear {
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--muted);
}
.leg-search-clear:hover { background: var(--border-light); color: var(--navy); }
.leg-result-note { margin: 0; font-size: 14px; color: var(--muted); }
.leg-result-note a { margin-left: 4px; font-weight: 500; }

/* Year groups */
.leg-year { display: flex; flex-direction: column; gap: 12px; }
.leg-year-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: 24px;
}
.leg-year-head span {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
}
.leg-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.leg-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-light);
}
.leg-card:last-child { border-bottom: none; }
.leg-card:hover { background: var(--cream); }
.leg-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.leg-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.leg-number {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    background: var(--blue-bg);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}
.leg-status {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    background: var(--gold-bg);
    color: var(--gold-text);
    font-size: 12px;
    font-weight: 600;
}
.leg-card--repealed .leg-status { background: var(--red-bg); color: var(--red); }
.leg-title {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--navy);
}
.leg-summary { margin: 0; font-size: 14px; color: var(--text-body); }
.leg-meta { margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.leg-meta a { font-weight: 500; }
.leg-card-action { flex: none; padding-top: 2px; }
.leg-no-file { font-size: 13px; color: var(--muted); white-space: nowrap; }
.leg-empty {
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.leg-empty p { margin: 0; color: var(--text-body); max-width: 460px; }

/* Sidebar year navigation */
.leg-year-nav { list-style: none; margin: 0; padding: 0; }
.leg-year-nav li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
}
.leg-year-nav li:last-child { border-bottom: none; }
.leg-year-nav li a { color: var(--blue); font-weight: 500; }
.leg-year-nav li.on a { color: var(--navy); font-weight: 600; }
.leg-year-nav li span { font-size: 13px; color: var(--muted); }
.info-tile--gold { background: var(--gold-bg); border-color: var(--gold-border); }

@media (max-width: 599px) {
    .leg-card { flex-direction: column; gap: 10px; }
    .leg-card-action { padding-top: 0; }
}

/* ==========================================================================
   Council meetings
   ========================================================================== */
.next-meeting {
    background: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}
.next-meeting-date {
    flex: none;
    width: 76px;
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}
.next-meeting-date .mon { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-text-soft); }
.next-meeting-date .day { font-family: var(--serif); font-size: 32px; font-weight: 600; margin: 2px 0; }
.next-meeting-date .dow { font-size: 11px; color: var(--navy-text-soft); }
.next-meeting-body { flex: 1 1 220px; min-width: 0; }
.next-meeting-body .kicker { margin-bottom: 6px; }
.next-meeting-body h2 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.next-meeting-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--navy-text-soft);
}
.next-meeting-meta li { display: flex; align-items: center; gap: 7px; }
.next-meeting-notes { margin: 8px 0 0; font-size: 14px; color: var(--navy-text-soft); }
.next-meeting-actions { flex: none; display: flex; gap: 8px; flex-wrap: wrap; }
.next-meeting-remind { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.next-meeting-remind:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.next-meeting-pending { font-size: 13px; color: var(--navy-text-soft); align-self: center; }

.cm-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cm-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}
.cm-row:last-child { border-bottom: none; }
.cm-row:hover { background: var(--cream); }
.cm-row--past { align-items: flex-start; padding: 14px 16px; }
.cm-date {
    flex: none;
    width: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0;
    line-height: 1.1;
    color: var(--navy);
}
.cm-date .mon { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cm-date .day { font-weight: 600; font-size: 17px; }
.cm-row-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cm-row-body > strong, .cm-row-title strong { font-weight: 600; color: var(--navy); }
.cm-row-body > span, .cm-row-title span, .cm-notes { font-size: 13px; color: var(--muted); }
.cm-row-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cm-docs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cm-docs:empty { display: none; }
.cm-row-action { flex: none; }
.cm-pending { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cm-more { margin: -12px 0 0; font-size: 14px; }
.cm-row--cancelled .cm-row-title strong { color: var(--muted); text-decoration: line-through; }
.cm-cancelled { background: var(--red-bg); color: var(--red); }

.cm-past-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 16px;
    flex-wrap: wrap;
}
.cm-past-head .section-title { margin: 0; font-size: 26px; }
.body-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -10px; }
.body-filter a {
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    background: #fff;
}
.body-filter a:hover { border-color: var(--navy); }
.body-filter a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cm-month { display: flex; flex-direction: column; gap: 10px; }
.cm-month-head { margin: 0; font-size: 19px; }

@media (max-width: 599px) {
    .next-meeting { padding: 18px; gap: 16px; }
    .next-meeting-actions { width: 100%; }
    .cm-row { flex-wrap: wrap; }
    .cm-row-action { width: 100%; padding-left: 56px; }
}

/* Online PDF viewer (/document) */
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.pdf-frame {
    width: 100%;
    height: min(78vh, 1000px);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    display: block;
}

.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-32 { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Honeypot field for signup spam protection */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ==========================================================================
   Business directory
   ========================================================================== */
.biz-map {
    height: 380px;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--blue-bg);
}
.biz-map--detail { height: 320px; }

.biz-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 16px;
}
.biz-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    color: var(--text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.biz-card:hover { border-color: var(--navy); color: var(--text); }
.biz-card--flash { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 168, 36, .45); }
.biz-card-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex: none;
}
.biz-card-logo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-bg);
    color: var(--blue);
}
.biz-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.biz-card-body strong { color: var(--navy); font-weight: 600; line-height: 1.35; }
.biz-card-cat {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.biz-card-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.biz-card-meta svg { flex: none; }

.biz-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    background: var(--blue-bg);
    border-radius: 14px;
    padding: 20px 24px;
}
.biz-cta > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 2px; }
.biz-cta strong { color: var(--navy); }
.biz-cta span { font-size: 14px; color: var(--muted); }

.biz-detail-logo { max-width: 260px; border-radius: 12px; border: 1px solid var(--border); }
.biz-detail-desc p { margin: 0 0 14px; }

.biz-hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.biz-hours-table td { padding: 6px 0; border-bottom: 1px solid var(--border-light); }
.biz-hours-table tr:last-child td { border-bottom: none; }
.biz-hours-table td:last-child { text-align: right; color: var(--muted); }
.biz-hours-table tr.today td { font-weight: 600; color: var(--navy); }

/* Listing form (register page; also styled in admin.css for the portals) */
.biz-map-caption { font-size: 12px; color: var(--muted); font-weight: 400; }
.biz-map-preview {
    height: 260px;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-top: 6px;
    overflow: hidden;
}
.biz-suggest {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #cfd6e0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 24px rgba(13, 31, 58, .15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.biz-suggest button {
    text-align: left;
    padding: 10px 14px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #eef1f6;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    color: var(--text);
}
.biz-suggest button:last-child { border-bottom: none; }
.biz-suggest button:hover { background: var(--blue-bg); }

.biz-hours-grid { display: flex; flex-direction: column; gap: 6px; }
.biz-hours-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.biz-hours-row span { width: 92px; font-weight: 500; color: var(--navy); flex: none; }
.biz-hours-row em { font-style: normal; color: var(--muted); font-size: 13px; }
.biz-hours-row input[type="time"] {
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}
