/* Public-facing municipal publication theme. Loaded after the legacy layout. */
body.public-site {
  --nav-highlight: #2845a3;
  --background: #f5f7fa;
  --surface-secondary: #eef2f8;
  --text: #202b3b;
  --muted: #566374;
  --public-content-width: 1240px;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
}
body.public-site .government-brandbar { background: #0b2e4a; border-bottom: 3px solid #2845a3; }
body.public-site .government-brand-container { max-width: var(--public-content-width); padding-inline: var(--public-gutter) !important; }
body.public-site .government-brand-copy strong { white-space: normal; text-shadow: none; font-weight: 400; }
body.public-site .government-brand-copy small { display: block; font-size: .65rem; letter-spacing: .12em; }
body.public-site .government-brand-seal { box-shadow: none; }
body.public-site .government-nav-container { max-width: var(--public-content-width); margin-inline: auto; padding-inline: var(--public-gutter); }
body.public-site .site-header { box-shadow: none !important; border-bottom: 1px solid #d7deea; }
body.public-site .site-header .navbar-nav .nav-link { font-weight: 500; padding-inline: 0.55rem; border: 1px solid transparent; }
body.public-site .site-header .nav-button-dropdown .btn-danger { background: transparent; color: var(--text); border-color: transparent; box-shadow: none; font-weight: 500; }
body.public-site .site-header .nav-button-dropdown .btn-danger:is(:hover, .active, .show) { color: #2845a3; background: #edf1fb; }
body.public-site .civic-welcome {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid #d7deea;
  background: linear-gradient(90deg, rgba(8, 24, 40, .82), rgba(8, 24, 40, .65)),
    url('../images/welcome-hero.png') center / cover no-repeat;
  color: #fff;
}
body.public-site .civic-welcome :is(h1, h2, .civic-intro, .civic-quick-links a) { color: #fff; }
body.public-site .civic-welcome :is(.civic-kicker, .civic-description) { color: #e2eaf5; }
body.public-site .civic-welcome .civic-quick-links { border-top-color: #a9c5ff; }
body.public-site .civic-welcome .civic-quick-links a { border-bottom-color: rgba(255, 255, 255, .35); }
body.public-site .civic-welcome .civic-quick-links a:hover { color: #c9dcff; }
body.public-site .civic-welcome a:focus-visible { outline-color: #c9dcff; }
.civic-welcome-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.civic-kicker { color: #566374; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.civic-welcome h1 { font: 400 clamp(2.3rem, 4.5vw, 4rem)/1.08 Georgia, serif; letter-spacing: -.035em; max-width: 18ch; margin-bottom: 1.5rem; color: var(--text); }
.civic-intro { font-size: 1.1rem; line-height: 1.6; margin-bottom: .6rem; }
.civic-description { max-width: 52ch; color: var(--muted); margin: 0; }
.civic-quick-links { border-top: 3px solid #2845a3; padding-top: 1.2rem; }
.civic-quick-links h2 { font: 400 1.55rem Georgia, serif; margin-bottom: 1rem; }
.civic-quick-links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #d7deea; text-decoration: none; color: var(--text); }
.civic-quick-links a:hover { color: #2845a3; text-decoration: underline; }
body.public-site :is(.glance-header, .section-header) h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.02em; color: var(--text); }
body.public-site .section-header::after { display: none; }
body.is-home-page :is(.glance-section, .home-updates-heading, #latest-announcements, #meetings, #public-records) { background: var(--background) !important; }
body.is-home-page :is(.glance-stat-card, .glance-weather-card, .glance-map-card, .update-announcement-card, .calendar-card, .official-holiday-list, .livestream-glass-shell, .records-directory-panel) { box-shadow: none !important; border: 1px solid #d7deea; transform: none; }
body.is-home-page .glance-stat-card { background: transparent; border: 0; border-left: 1px solid #c7d2e4; padding: .5rem 1.5rem; }
body.is-home-page .glance-stat-card::before { display: none; }
body.is-home-page .glance-stat-card strong { color: #2845a3; font-family: Georgia, serif; font-weight: 400; }
body.is-home-page .glance-weather-card { background: #0b2e4a; }
body.is-home-page .home-updates-heading { max-width: var(--public-content-width); margin-inline: auto; padding-inline: var(--public-gutter); }
body.is-home-page .home-updates-heading .section-header { text-align: left !important; }
body.is-home-page .home-update-categories { justify-content: flex-start; flex-wrap: wrap; }
body.is-home-page .home-update-category-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; box-shadow: none; color: var(--muted); }
body.is-home-page .home-update-category-tab.active { border-bottom-color: #2845a3; color: #2845a3; }
body.is-home-page .update-announcement-card { border-top: 2px solid #2845a3 !important; }
body.is-home-page #public-records .records-highlight-card { min-height: 0; background: var(--surface); color: var(--text); border: 1px solid #d7deea; box-shadow: none; }
body.is-home-page #public-records .records-highlight-card::before { background: #2845a3; height: 2px; }
body.is-home-page #public-records .records-highlight-card--featured :is(h3, .public-record-eyebrow, .records-highlight-copy, .public-record-paper-label, .records-highlight-slider-controls) { color: var(--text); }
body.is-home-page #public-records .records-highlight-record { background: var(--surface-secondary); border-color: #d7deea; }
body.is-home-page #public-records .records-highlight-record :is(strong, span, small) { color: var(--text); }
body.is-home-page #public-records .records-highlight-slider-controls button { color: #2845a3; border-color: #bac9e2; background: transparent; }
body.is-home-page #public-records .records-highlight-action { background: transparent; border-color: #2845a3; color: #2845a3; }
body.public-site .site-footer { background: #0b2e4a; }
body.public-site a:focus-visible { outline: 2px solid #2845a3; outline-offset: 4px; }
/* Shared interior pages: restrained headings, surfaces, and controls. */
body.public-site main :is(.card, .contact-method, .contact-quick-panel, .resolution-filter-card, .services-note-panel, .services-step-card, .official-directory-profile, .records-directory-panel) {
  border: 1px solid #d7deea !important;
  border-radius: .35rem;
  box-shadow: none !important;
}
body.public-site main :is(.card, .official-directory-profile):hover { transform: none; }
body.public-site main :is(h1, h2) { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.025em; font-weight: 400 !important; }
body.public-site main :is(.news-hero, .services-hero, .tourism-hero, .officials-hero, .resolutions-hero, .contact-hero) {
  background: linear-gradient(90deg, rgba(8, 24, 40, .82), rgba(8, 24, 40, .65)),
    url('../images/welcome-hero.png') center / cover no-repeat;
  padding-block: clamp(2rem, 5vw, 3.75rem);
  box-shadow: none;
  border-radius: 0;
}
body.public-site main :is(.news-hero, .services-hero, .tourism-hero, .officials-hero, .resolutions-hero, .contact-hero)::after { display: none; }
body.public-site main :is(.services-count-panel, .officials-count-panel, .resolution-stats, .contact-quick-panel) { background: transparent; box-shadow: none; border-radius: .35rem; }
body.public-site main :is(.btn, .form-control, .form-select) { border-radius: .25rem; box-shadow: none; }
body.public-site .btn-primary { --bs-btn-bg: #2845a3; --bs-btn-border-color: #2845a3; background: #2845a3; border-color: #2845a3; color: #fff; }
body.public-site .btn-primary:hover { background: #203885; border-color: #203885; }
body.public-site main .btn:hover { transform: none; }
body.public-site main :is(.form-control, .form-select):focus { border-color: #2845a3; box-shadow: 0 0 0 3px rgba(40, 69, 163, .15); }
body.public-site main .table { --bs-table-border-color: #d7deea; }
body.public-site main .table thead th { background: #eef2f8; color: #202b3b; font-weight: 600; }
@media (max-width: 767.98px) {
  .civic-welcome-grid { grid-template-columns: 1fr; }
  .civic-welcome h1 { max-width: 20ch; }
  body.public-site .government-brand-copy strong { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.public-site *, body.public-site *::before, body.public-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Shared keyboard and small-screen usability. */
body.public-site :is(button, summary, input, select, textarea):focus-visible { outline: 2px solid #2845a3; outline-offset: 3px; }
body.public-site main :is(input, select, button, .btn) { min-height: 2.75rem; }
body.public-site .table-responsive { overflow-x: auto; }
body.public-site :is(.form-control, .form-select) { font-size: 1rem; }
@media (max-width: 575.98px) {
  body.public-site .record-item { flex-wrap: wrap; }
  body.public-site .record-item .item-copy { flex-basis: 70%; }
  body.public-site .site-header .navbar-nav { align-items: stretch !important; }
}
