/*!
 * CivicGov — main stylesheet.
 * Consolidated from the source design (v3–v15 style blocks) into one token-driven sheet.
 * Tokens (custom properties) are printed inline from CivicGov Options after this file.
 */

/* ---------- 0. Fallback tokens (overridden by Options) ---------- */
:root {
	--navy: #12305a; --navy2: #0c2243; --gold: #c8a43a; --gold-ink: #1d1600;
	--bg: #fff; --surf: #fff; --ink: #16243a; --mute: #566780; --line: #d9e2ee;
	--band: #f1f6fc; --tint: #e3ecf8; --card: #f8fbfe; --heading: var(--navy); --link: var(--navy); --nav: var(--ink);
	--btn: var(--navy2); --btn-hover: #1b4580; --btn-ink: #fff;
	--foot: var(--navy2); --foot-deep: #0a1b38; --foot-ink: #c9d6ea;
	--alert: #fff3d6; --alertink: #5b4300; --sos: #b3261e; --sos-tint: #fbeceb; --ok: #1e6b34; --warn: #7a5800; --err: #a3261b;
	--font-head: "Lora", Georgia, serif; --font-body: "Lora", Georgia, serif; --font-ui: "Lora", Georgia, serif;
	--fs-base: 1rem; --lh: 1.6; --lh-head: 1.15; --para: 1em; --fw-head: 700; --ls-head: 0; --fw-btn: 600; --tt-btn: none; --fs-foot: .875rem;
	--wrap: 1240px; --content: 760px; --sidebar: 280px; --gutter: 28px; --gutter-m: 18px; --section: 56px;
	--radius: 6px; --btn-radius: 6px; --bw: 1px; --seal: 102px; --logo-gap: 16px; --title-size: 2.5rem; --hd-pad: 14px; --nav-gap: 4px; --focus-w: 3px;
	--h1: 3.05rem; --h2: 2.44rem; --h3: 1.95rem; --h4: 1.56rem; --h5: 1.25rem; --h6: 1rem;
	--h1m: 2.4rem; --h2m: 2rem; --h3m: 1.7rem; --h4m: 1.4rem; --h5m: 1.2rem; --h6m: 1rem;
	--shadow-1: 0 2px 6px rgba(10, 30, 60, .12); --shadow-2: 0 8px 24px rgba(10, 30, 60, .18); --shadow-3: 0 18px 40px rgba(10, 30, 60, .25);
	--panel: rgba(244, 248, 253, .97);
	/* Elementor globals default to CivicGov tokens */
	--e-global-color-primary: var(--navy); --e-global-color-secondary: var(--navy2); --e-global-color-text: var(--ink); --e-global-color-accent: var(--gold);
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
html.a11y-text { font-size: 118.75%; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 var(--fs-base)/var(--lh) var(--font-body);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--para); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); color: var(--heading); margin: 0 0 .5em; }
h1 { font-size: var(--h1); } h2 { font-size: var(--h3); } h3 { font-size: var(--h4); } h4 { font-size: var(--h5); } h5, h6 { font-size: var(--h6); }
:focus-visible { outline: var(--focus-w) solid var(--gold); outline-offset: 2px; border-radius: 3px; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; background: var(--surf); padding: 8px 12px; z-index: 100000; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -100px; background: var(--surf); color: var(--navy); padding: 10px 16px; z-index: 1000; border: 2px solid var(--gold); border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }
a, button { transition: color .15s, background-color .15s, opacity .15s, border-color .15s, filter .2s; }
.site-main:focus { outline: none; }
.empty { color: var(--mute); padding: 18px 0; }
.empty--lg { text-align: center; padding: 48px 16px; }
.empty--lg .ico { width: 40px; height: 40px; color: var(--navy); opacity: .6; }
.admin-hint { font-size: .875rem; color: var(--mute); border-left: 3px solid var(--gold); padding: 8px 12px; background: var(--band); margin-top: 16px; }

/* ---------- 2. Buttons, links, forms ---------- */
.btn, .wp-block-button__link, .wpcf7-submit {
	display: inline-flex; align-items: center; gap: 10px; background: var(--btn); color: var(--btn-ink); font: var(--fw-btn) 0.9375rem/1.2 var(--font-ui);
	text-transform: var(--tt-btn); padding: 12px 20px; border-radius: var(--btn-radius); border: 0; cursor: pointer; text-decoration: none;
	min-height: 44px;
}
.btn:hover, .wp-block-button__link:hover, .wpcf7-submit:hover { background: var(--btn-hover); color: var(--btn-ink); }
.btn .ico { width: 18px; height: 18px; }
.btn.gold { background: var(--gold); color: var(--gold-ink); }
.btn.gold:hover { filter: brightness(.92); }
.btn.alt, .is-style-outline .wp-block-button__link { background: none; color: var(--navy); border: var(--bw) solid var(--navy); }
.btn.alt:hover { background: var(--tint); }
.btn.light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn.light:hover { background: rgba(255,255,255,.26); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.lnk { color: var(--link); font-weight: 600; }
.lnk:hover { opacity: .7; }
.in, .cg-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .cg-form select, .cg-form textarea, .filters .in {
	font: 1rem var(--font-body); padding: 10px 12px; border: var(--bw) solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); width: 100%; min-height: 44px;
}
.cg-form input:focus, .cg-form select:focus, .cg-form textarea:focus, .in:focus { outline: var(--focus-w) solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.cg-form p { margin: 0 0 14px; }
.cg-form label { display: block; font-weight: 600; font-size: .9375rem; }
.cg-form label > .wpcf7-form-control-wrap { display: block; margin-top: 4px; font-weight: 400; }
.cg-form .wpcf7-list-item { margin: 0 12px 0 0; }
.cg-form .wpcf7-acceptance label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.cg-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy); margin-top: 3px; }
.cg-form .wpcf7-not-valid { border-color: var(--err) !important; }
.cg-form .wpcf7-not-valid-tip { color: var(--err); font-size: .875rem; font-weight: 600; margin-top: 4px; }
.cg-form .wpcf7-response-output { margin: 14px 0 0 !important; padding: 12px 14px !important; border-radius: var(--radius); border-width: var(--bw) !important; font-size: .9375rem; }
.cg-form.sent .wpcf7-response-output { border-color: var(--ok) !important; color: var(--ok); background: #e3f4e8; }
.cg-form.invalid .wpcf7-response-output, .cg-form.unaccepted .wpcf7-response-output, .cg-form.failed .wpcf7-response-output, .cg-form.aborted .wpcf7-response-output, .cg-form.spam .wpcf7-response-output { border-color: var(--err) !important; color: var(--err); background: #fdecea; }
.cg-form .wpcf7-spinner { margin: 0 12px; }
.cg-form .cg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cg-form .cg-hint { font-size: .8125rem; color: var(--mute); font-weight: 400; display: block; }
.dp { font-size: .9375rem; color: var(--mute); margin: 10px 0 0; }
.dp a { color: var(--navy); font-weight: 600; }
.dp--note { font-size: .8125rem; border-left: 3px solid var(--gold); padding-left: 10px; margin-bottom: 14px; }

/* ---------- 3. Alert banner ---------- */
.alert { background: var(--alert); color: var(--alertink); font-size: .875rem; position: relative; z-index: 51; }
.alert--critical { background: var(--sos); color: #fff; }
.alert .wrap { display: flex; gap: 10px; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.alert__list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.alert__item + .alert__item { margin-top: 4px; }
.js .alert__item { display: none; }
.js .alert__item.is-on { display: block; animation: cg-fade .25s ease; }
.alert__item a { text-decoration: underline; text-underline-offset: 2px; }
.alert__item a:hover { text-decoration-thickness: 2px; }
.alert__ctl { display: flex; align-items: center; gap: 4px; }
.alert button { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; display: inline-grid; place-items: center; border-radius: 4px; min-width: 32px; min-height: 32px; }
.alert button:hover { background: rgba(0,0,0,.08); }
.alert--critical button:hover { background: rgba(255,255,255,.18); }
.alert small { opacity: .8; white-space: nowrap; }
.alert [data-alert-pause] { font-size: .8125rem; text-decoration: underline; }
@keyframes cg-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 4. Header ---------- */
.gov-banner { background: var(--band); font-size: .8125rem; color: var(--mute); border-bottom: 1px solid var(--line); }
.gov-banner .wrap { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-top: 4px; padding-bottom: 4px; }
.gov-banner summary { cursor: pointer; color: var(--link); text-decoration: underline; }
.gov-banner details div { display: grid; gap: 4px; padding: 8px 0; }
.gov-banner details p { margin: 0; }
header.site { background: var(--surf); border-bottom: var(--bw) solid var(--line); position: relative; z-index: 50; }
header.site.is-sticky { position: sticky; top: 0; }
.admin-bar header.site.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site.is-sticky { top: 0; } }
header.site.is-stuck { box-shadow: 0 6px 18px -10px rgba(10, 30, 60, .35); }
.hd { display: flex; align-items: center; gap: 16px; padding-top: var(--hd-pad); padding-bottom: calc(var(--hd-pad) - 2px); }
.brand { display: flex; align-items: center; gap: var(--logo-gap); color: var(--navy); min-width: 0; }
.brand .seal { width: var(--seal); height: var(--seal); display: block; object-fit: contain; transition: width .25s, height .25s; }
.brand .site-logo { max-height: calc(var(--seal) * .8); width: auto; }
.brand .vr { display: block; align-self: stretch; width: 1px; margin: 6px 0; background: var(--line); }
.tl { display: flex; flex-direction: column; min-width: 0; }
.ow { display: flex; align-items: center; gap: 6px; font: 500 .8125rem/1 var(--font-ui); color: var(--mute); margin: 0 0 4px; }
.mun { font: 600 var(--title-size)/.95 var(--font-head); color: var(--navy); letter-spacing: -.01em; margin: 0; transition: font-size .25s; overflow-wrap: normal; }
header.site.is-stuck.can-shrink .brand .seal { width: calc(var(--seal) * .62); height: calc(var(--seal) * .62); }
header.site.is-stuck.can-shrink .mun { font-size: calc(var(--title-size) * .72); }
header.site.is-stuck.can-shrink .hd { padding-top: 6px; padding-bottom: 4px; }
.rt { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.util { display: flex; align-items: center; gap: 14px; font: .8125rem var(--font-ui); color: var(--mute); }
.util__links { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.util__links a:hover { color: var(--ink); text-decoration: underline; }
.util__btn { display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 6px 4px; min-height: 36px; border-radius: 4px; }
.util__btn:hover { color: var(--ink); }
.util__btn[aria-expanded="true"] { color: var(--navy); }
.burger { display: none; background: var(--btn); color: var(--btn-ink); border: 0; border-radius: 8px; padding: 9px 14px; font: 500 .875rem var(--font-ui); cursor: pointer; align-items: center; gap: 8px; min-height: 44px; }
.burger[aria-expanded="true"] { background: var(--navy); }
.lw { position: relative; display: inline-flex; }
.lm { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--surf); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-3); padding: 8px; z-index: 70; color: var(--ink); }
.lm ul { list-style: none; margin: 0; padding: 0; }
.lm__title { font: 600 .75rem var(--font-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin: 4px 8px 6px; }
.lm__opt { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 10px; border: 0; border-radius: 6px; background: none; font: .9375rem var(--font-ui); color: var(--ink); text-align: left; cursor: pointer; min-height: 40px; }
.lm__opt:hover { background: var(--tint); }
.lm__opt::after { content: ""; width: 34px; height: 20px; border-radius: 10px; background: var(--line); flex: none; box-shadow: inset 0 0 0 2px var(--line); }
.lm__opt[aria-pressed="true"]::after { background: var(--navy) radial-gradient(circle at 24px 10px, #fff 6px, transparent 7px); }
.lm__opt[aria-pressed="false"]::after { background: var(--line) radial-gradient(circle at 10px 10px, #fff 6px, transparent 7px); }
#lang-menu .lm__opt::after { display: none; }
#lang-menu .lm__opt[aria-current] { font-weight: 700; color: var(--navy); }
.lm__reset { width: 100%; border: 0; border-top: 1px solid var(--line); background: none; margin-top: 6px; padding: 10px 6px 4px; color: var(--navy); font: 600 .875rem var(--font-ui); cursor: pointer; }
.lm__link { display: block; text-align: center; padding: 6px; color: var(--link); font-size: .875rem; text-decoration: underline; }

/* Main navigation */
nav.main { display: flex; align-items: center; }
.main__list { display: flex; list-style: none; margin: 0 -10px 0 0; padding: 0; gap: var(--nav-gap); }
.main__btn, .main__link { background: none; border: 0; font: 500 .875rem/1.2 var(--font-ui); color: var(--nav); padding: 9px 10px; cursor: pointer; display: flex; align-items: center; gap: 4px; border-radius: 6px; min-height: 40px; }
.main__btn .ico { width: 12px; height: 12px; transition: transform .2s; }
.main__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.main__btn:hover, .main__link:hover, .main__btn[aria-expanded="true"] { color: var(--navy); background: var(--tint); }
.main__item.is-current > .main__btn, .main__item.is-current > .main__link { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 6px 6px 0 0; }
.nav-empty { font-size: .8125rem; color: var(--mute); text-decoration: underline; }
.panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(10, 30, 60, .4); padding: 26px 0 30px; }
.panel .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.panel__title { font: var(--fw-head) var(--h4) / 1.15 var(--font-head); color: var(--navy); margin: 0 0 8px; }
.panel__title a { display: inline-flex; gap: 8px; align-items: center; }
.panel__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.panel__title .ico { width: 20px; height: 20px; }
.panel__intro p:not(.panel__title) { color: var(--mute); font-size: .875rem; margin: 0; }
.pg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; align-content: start; }
.pg__h { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font: 600 .75rem var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pg__h a:hover { color: var(--navy); }
.pg ul, .panel__list { list-style: none; margin: 0; padding: 0; }
.pg li a, .panel__list a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 6px; font-size: .9375rem; line-height: 1.3; }
.pg li a:hover, .panel__list a:hover, .pg li a[aria-current] { background: var(--tint); color: var(--navy); }
.panel--simple .wrap { display: block; }
.panel__list { columns: 3; column-gap: 28px; }
.panel__list .sub a { padding-left: 24px; color: var(--mute); }

/* Drawer */
.drawer { background: var(--surf); border-top: 1px solid var(--line); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow: auto; overscroll-behavior: contain; }
.drawer__inner { padding: 12px 0 24px; }
.drawer__search { padding: 6px var(--gutter-m) 14px; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__btn, .drawer__link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter-m); font: 600 1rem var(--font-ui); background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); min-height: 48px; }
.drawer__pm::after { content: "+"; font-size: 1.25rem; color: var(--mute); }
.drawer__btn[aria-expanded="true"] .drawer__pm::after { content: "−"; }
.drawer__panel { padding: 0 0 12px; }
.drawer__panel ul { list-style: none; margin: 0 0 6px; padding: 0; }
.drawer__panel a { display: block; padding: 9px var(--gutter-m) 9px calc(var(--gutter-m) + 16px); color: var(--mute); min-height: 40px; }
.drawer__panel a:hover, .drawer__panel a[aria-current] { color: var(--navy); background: var(--tint); }
.drawer__overview { font-weight: 600; color: var(--navy) !important; }
.dl { margin: 12px var(--gutter-m) 2px calc(var(--gutter-m) + 16px); font: 600 .75rem var(--font-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.drawer__util { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 14px var(--gutter-m) 0; margin: 0; font-size: .875rem; }

/* ---------- 5. Search & suggestions ---------- */
.search { display: flex; background: #fff; border-radius: 8px; padding: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 16px; font: 1rem var(--font-body); color: #16243a; min-height: 44px; }
.search input:focus { outline: none; }
.search:focus-within { outline: var(--focus-w) solid var(--gold); }
.search button { width: 56px; border-radius: 6px; background: var(--navy); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; min-height: 44px; }
.search button:hover { background: var(--navy2); }
.search--plain, .sgw--page .search, .sgw--dialog .search, .sgw--drawer .search { box-shadow: none; border: var(--bw) solid var(--line); background: var(--bg); }
.search--plain input, .sgw--page .search input, .sgw--dialog .search input, .sgw--drawer .search input { color: var(--ink); }
.search--plain { max-width: 520px; margin: 16px auto; }
.sgw { position: relative; flex: 1 1 440px; max-width: 480px; }
.sgw--page, .sgw--dialog, .sgw--drawer { max-width: none; }
.sg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surf); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.3); z-index: 30; overflow: hidden; text-shadow: none; text-align: left; }
.sgw--dialog .sg { position: static; margin-top: 8px; box-shadow: none; }
.sg h3 { margin: 0; padding: 10px 14px 4px; font: 600 .75rem var(--font-ui); color: var(--mute); letter-spacing: .05em; text-transform: uppercase; }
.sg ul { list-style: none; margin: 0; padding: 0 0 4px; }
.sr { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 9px 14px; font-size: .9375rem; line-height: 1.3; cursor: pointer; }
.sr small { display: block; color: var(--mute); font-size: .78rem; }
.sr[aria-selected="true"], .sr:hover { background: var(--tint); }
.sr mark { background: none; color: var(--navy); font-weight: 700; }
.bd { font: 600 .6875rem var(--font-ui); background: var(--tint); color: var(--navy); padding: 3px 9px; border-radius: 20px; white-space: nowrap; border: 1px solid var(--line); }
.sg .all { display: block; border-top: 1px solid var(--line); padding: 10px 14px; font-size: .875rem; color: var(--link); font-weight: 600; }
.sg .sg__msg { padding: 10px 14px 12px; color: var(--mute); font-size: .875rem; margin: 0; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; color: #fff; background: #2a5a7a; overflow: hidden; isolation: isolate; z-index: 5; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 70% 50%); z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 26, 54, var(--hero-overlay, .55)) 0%, rgba(8, 26, 54, calc(var(--hero-overlay, .55) * .45)) 45%, rgba(8, 26, 54, calc(var(--hero-overlay, .55) * .1)) 75%); }
.hero--center::before { background: rgba(8, 26, 54, var(--hero-overlay, .55)); }
.hero__inner { position: relative; padding-top: 64px; padding-bottom: 56px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero--compact .hero__inner { padding-top: 40px; padding-bottom: 36px; }
.hero--tall .hero__inner { padding-top: 110px; padding-bottom: 96px; }
.hero--center .hero__inner { text-align: center; }
.hero--center .rule, .hero--center .hrow { margin-left: auto; margin-right: auto; justify-content: center; }
.hero__title { color: #fff; font: 600 clamp(3rem, 8.4vw, 6.5rem)/.95 var(--font-head); letter-spacing: -.02em; margin: 0; }
.hero__title em { display: block; font-weight: 500; font-style: italic; font-size: .62em; line-height: 1.05; margin-bottom: 2px; letter-spacing: 0; }
.rule { width: 190px; height: 3px; background: var(--gold); margin: 20px 0 14px; }
.hero__tagline { font-size: clamp(1.19rem, 2.3vw, 1.69rem); margin: 0 0 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; text-shadow: none; }
.hrow { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wx { margin-left: auto; background: rgba(10, 28, 56, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 14px 20px; display: flex; gap: 16px; align-items: center; font-size: .875rem; line-height: 1.35; text-shadow: none; }
.wx b, .wx span { display: block; }
.wx b { font-size: 1rem; }
.wx .t { font-size: 2.125rem; font-weight: 600; line-height: 1; }
.wx .ico { width: 38px; height: 38px; stroke-width: 1.4; }
.wx .sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.3); }
.wx__src { display: block; font-size: .6875rem; opacity: .75; }

/* ---------- 7. Quick links ---------- */
.quick { background: var(--band); border-bottom: 1px solid var(--line); }
.quick ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: grid; grid-template-columns: repeat(var(--quick-cols, 6), minmax(0, 1fr)); }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 10px; text-align: center; font-weight: 500; line-height: 1.25; border-right: 1px solid var(--line); margin: 14px 0; height: calc(100% - 28px); justify-content: center; border-radius: 4px; }
.quick li:last-child a { border-right: 0; }
.quick a:hover, .quick a[aria-current] { background: var(--tint); color: var(--navy); }
.quick .ico { width: 34px; height: 34px; color: var(--navy); }
.quick span { max-width: 12ch; }

/* ---------- 8. Section blocks ---------- */
.blk { padding: var(--section) 0 0; }
.home .blk:last-child, .home > .exp:last-child { margin-bottom: var(--section); }
.home > .blk:last-of-type { padding-bottom: 0; }
.sh { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; min-height: 38px; }
.sh h2, .sh h3 { font-size: 1.5rem; margin: 0; }
.sh .ico { width: 28px; height: 28px; color: var(--navy); }
.more { margin-left: auto; font: 600 .8125rem var(--font-ui); color: var(--link); white-space: nowrap; }
.more:hover { opacity: .65; }
.c3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.c3 > div { display: flex; flex-direction: column; min-width: 0; }
.news, .ev, .em { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 10px; flex: 1; }
.news a, .ev li, .em li > a, .em li > div { border: var(--bw) solid var(--line); border-radius: var(--radius); background: var(--card); padding: 10px 14px; height: 100%; }
.news a { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.news__thumb { width: 84px; height: 62px; object-fit: cover; border-radius: 3px; display: block; }
.news__thumb--empty { display: grid; place-items: center; background: var(--tint); color: var(--navy); }
.news strong, .ev strong, .em strong { display: block; font-weight: 600; line-height: 1.25; color: var(--navy); }
.news time, .ev span, .em span { display: block; font-size: .8125rem; color: var(--mute); }
.news a:hover, .ev li:hover, .em a:not(.sos):hover { border-color: #9fb2cc; }
.ev li { display: flex; gap: 14px; align-items: center; position: relative; }
.ev__link::after { content: ""; position: absolute; inset: 0; }
.ev__link:focus-visible { outline: none; }
.ev li:focus-within { outline: var(--focus-w) solid var(--gold); outline-offset: 2px; }
.date { width: 54px; text-align: center; background: var(--tint); border-radius: 5px; padding: 5px 0 4px; flex: none; }
.date small { display: block; font: 600 .6875rem var(--font-ui); color: var(--navy); letter-spacing: .04em; text-transform: uppercase; }
.date b { display: block; font-size: 1.5rem; line-height: 1.05; color: var(--navy); }
.em li { display: flex; }
.em li > a, .em li > div { flex: 1; display: flex; gap: 14px; align-items: center; }
.em li > * > div { display: block; flex: 1; min-width: 0; }
.em i { width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--navy); display: grid; place-items: center; flex: none; }
.em i .ico { width: 20px; height: 20px; }
.em .sos { border-color: var(--sos); background: var(--sos-tint); }
.em .sos i { background: var(--sos); color: #fff; }
.em .sos strong { color: var(--sos); }

/* Mayor + directory */
.mdr { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.mdr--single { grid-template-columns: 1fr; }
.mrow { background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; padding: 22px; }
.mcol { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mrow .photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); display: block; }
.mcon { display: grid; gap: 6px; font-size: .78rem; color: var(--ink); overflow-wrap: anywhere; }
.mcon a { display: flex; gap: 8px; align-items: center; }
.mcon a:hover { color: var(--navy); text-decoration: underline; }
.mcon .ico { width: 14px; height: 14px; }
.mtx h2 { font-size: 1.5rem; margin: 0; }
.gr { width: 46px; height: 3px; background: var(--gold); margin: 10px 0 12px; }
.mtx__body p { font-size: .9375rem; margin: 0 0 14px; }
.msig__img { width: 120px; height: auto; display: block; margin: 2px 0 4px; }
.msig b { display: block; font-size: 1rem; line-height: 1.2; color: var(--ink); }
.msig b a:hover { text-decoration: underline; }
.msig span { display: block; font-size: .9375rem; color: var(--mute); }
.dirbox { background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; min-height: 0; }
@media (min-width: 901px) { .mdr .dirbox { contain: size; min-height: 100%; } .mdr--single .dirbox { contain: none; } }
.dirbox .sh { margin-bottom: 14px; }
.dsearch { display: flex; align-items: center; gap: 8px; border: var(--bw) solid var(--line); border-radius: var(--radius); padding: 0 12px; margin-bottom: 12px; color: var(--mute); background: var(--surf); }
.dsearch input { flex: 1; border: 0; background: none; padding: 10px 0; font: .9375rem var(--font-body); color: var(--ink); min-width: 0; min-height: 42px; }
.dsearch input:focus { outline: none; }
.dsearch:focus-within { outline: var(--focus-w) solid var(--gold); }
.dsearch--lg { max-width: 520px; margin-bottom: 24px; }
.dlist { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; min-height: 0; border: var(--bw) solid var(--line); border-radius: var(--radius); scrollbar-width: thin; scrollbar-color: #5f6670 var(--tint); }
.dlist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; font-size: .8125rem; font-weight: 600; color: var(--navy); background: var(--surf); border-bottom: 1px solid var(--line); min-height: 40px; }
.dlist li:last-child a { border-bottom: 0; }
.dlist a:hover { background: var(--band); }
.dlist small { font-weight: 400; color: var(--mute); font-size: .8125rem; white-space: nowrap; }
.dlist:focus-visible { outline: var(--focus-w) solid var(--gold); }

/* Community carousel */
.exp { background: var(--band); margin-top: var(--section); padding: 40px 0 44px; }
.exp .sh h2 { font-size: 1.5rem; }
.exp .sh::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin-left: 8px; }
.carw { position: relative; }
.car { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; list-style: none; margin: 0; padding: 0 0 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.car::-webkit-scrollbar { display: none; }
.car__item { scroll-snap-align: start; }
.tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 232/150; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8, 24, 50, .9)); z-index: -1; }
.tile:hover .tile__img { transform: scale(1.04); }
.tt { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px; font-weight: 600; font-size: 1.125rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.tt .ico { width: 22px; height: 22px; }
.car-b { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #12305a; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.25); display: grid; place-items: center; cursor: pointer; z-index: 3; }
.car-b:hover { background: #eef3fb; }
.car-b:disabled { opacity: 0; pointer-events: none; }
.prev { left: -22px; } .next { right: -22px; }
.no-js .car-b { display: none; }

/* Cards & lists */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cards.g2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards.g3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cd { border: var(--bw) solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surf); display: flex; flex-direction: column; height: 100%; }
.cd__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.cd .cb { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cd h2, .cd h3, .cd__title { margin: 0; font-size: 1.125rem; color: var(--navy); line-height: 1.3; }
.cd h2 a:hover, .cd h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.cd p { margin: 0; font-size: .9rem; color: var(--mute); }
.cd .cb > .ico { width: 30px; height: 30px; color: var(--navy); }
.cd__contact { display: grid; gap: 4px; margin-top: auto !important; padding-top: 8px; }
.cd__contact a { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-size: .875rem; }
.cd__contact a:hover { color: var(--navy); text-decoration: underline; }
.cd__contact .ico { width: 16px; height: 16px; color: var(--navy); }
.meta { font-size: .78rem; color: var(--mute); }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.svc a { display: flex; gap: 12px; align-items: center; border: var(--bw) solid var(--line); border-radius: var(--radius); padding: 13px 14px; font-weight: 500; font-size: .9375rem; line-height: 1.25; background: var(--surf); height: 100%; }
.svc a:hover { border-color: var(--navy); background: var(--band); }
.svc .ico { color: var(--navy); width: 24px; height: 24px; }
.svc b { display: block; color: var(--navy); font-weight: 600; }
.svc small { display: block; color: var(--mute); font-size: .8125rem; font-weight: 400; margin-top: 2px; }
.svc-group { margin-bottom: 28px; }
.svc-group h2 { font-size: 1.25rem; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.fcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.fcards a { display: flex; gap: 12px; align-items: center; border: var(--bw) solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--surf); height: 100%; }
.fcards a:hover { background: var(--tint); }
.fcards .ico { color: var(--navy); }
.fcards b { display: block; font-size: .9375rem; color: var(--navy); }
.fcards span span { font-size: .78rem; color: var(--mute); }
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notices li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; padding: 12px 14px; border: var(--bw) solid var(--line); border-radius: var(--radius); background: var(--surf); }
.notices a { font-weight: 600; color: var(--navy); }
.notices a:hover { text-decoration: underline; }
.notices small { color: var(--mute); margin-left: auto; }
.pl { display: inline-block; padding: 2px 10px; border-radius: 20px; font: 600 .75rem var(--font-ui); border: 1px solid var(--line); background: var(--tint); color: var(--navy); }
.pl--critical { background: var(--sos); color: #fff; border-color: var(--sos); }
.pl--warning { background: #fff3d6; color: #6b4d00; border-color: #f0dca0; }
.people { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.pc a { display: block; }
.ph2 { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--tint); display: grid; place-items: center; color: var(--navy); overflow: hidden; }
.ph2 img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph2 .ico { width: 56px; height: 56px; opacity: .5; }
.pc b { display: block; margin-top: 10px; font-size: 1.0625rem; color: var(--navy); }
.pc a:hover b { text-decoration: underline; }
.pc span { display: block; font-size: .875rem; color: var(--mute); }

/* Tables */
.tw { overflow-x: auto; border: var(--bw) solid var(--line); border-radius: var(--radius); }
.tb { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tb th { background: var(--band); text-align: left; padding: 11px 14px; font-weight: 600; color: var(--navy); white-space: nowrap; border-bottom: 1px solid var(--line); }
.tb td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tb tr:last-child td { border-bottom: 0; }
.tb tbody tr:hover { background: var(--tint); }
.doc__title { font-weight: 600; color: var(--navy); display: block; }
.doc__title:hover { text-decoration: underline; }
.doc__dl { display: inline-flex; gap: 6px; align-items: center; font-size: .8125rem; color: var(--link); margin-top: 4px; }
.doc__dl .ico { width: 15px; height: 15px; }
.fi { display: inline-grid; place-items: center; min-width: 38px; height: 22px; padding: 0 6px; border-radius: 4px; font: 700 .65rem var(--font-ui); color: #fff; background: #555; text-transform: uppercase; }
.fi--pdf { background: #b3261e; } .fi--doc, .fi--docx { background: #2c64b4; } .fi--xls, .fi--xlsx, .fi--csv { background: #1e7a45; } .fi--link { background: var(--navy); }
.dl3 { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; border: var(--bw) solid var(--line); border-radius: var(--radius); margin: 0 0 28px; overflow: hidden; }
.dl3 dt, .dl3 dd { margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.dl3 dt { background: var(--band); font-weight: 600; }
.dl3 > *:nth-last-child(-n+2) { border-bottom: 0; }
.dl3 dd a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

/* Calendar */
.cal { border: var(--bw) solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--band); }
.cal-h h2 { font-size: 1.25rem; margin: 0; }
.cal-nav { width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line); background: var(--surf); color: var(--navy); display: grid; place-items: center; }
.cal-nav:hover { background: var(--tint); }
.cal .tw { border: 0; border-radius: 0; }
.cal-g { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.cal-g th { padding: 8px; font: 600 .8125rem var(--font-ui); color: var(--mute); background: var(--surf); }
.cal-g abbr { text-decoration: none; }
.cal-g td { height: 96px; vertical-align: top; padding: 6px 8px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); font-size: .8125rem; }
.cal-g td:first-child { border-left: 0; }
.cal-g td.o { background: var(--band); }
.cal-g td > b { display: inline-grid; place-items: center; width: 26px; height: 26px; }
.cal-g .td > b { background: var(--navy2); color: #fff; border-radius: 50%; }
.ce { display: block; font-size: .72rem; line-height: 1.25; margin-top: 3px; padding: 3px 5px; border-radius: 3px; background: var(--tint); color: var(--navy); border-left: 3px solid var(--gold); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ce:hover { background: var(--line); }

/* Misc components */
.chips { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0 0 16px; padding: 0; }
.chips a, .chips button { display: inline-block; border: 1px solid var(--line); background: var(--surf); color: var(--navy); border-radius: 6px; padding: 6px 13px; font: .875rem var(--font-ui); cursor: pointer; min-height: 36px; }
.chips a:hover, .chips button:hover { background: var(--tint); }
.chips .on { background: var(--navy2); color: #fff; border-color: var(--navy2); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; margin-bottom: 16px; }
.tabs a, .tabs button { background: none; border: 0; padding: 10px 16px; font: 600 .9375rem var(--font-ui); color: var(--mute); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs .on, .tabs [aria-selected="true"] { color: var(--navy); border-color: var(--gold); }
.toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 20px; }
.toolbar .tabs { margin-bottom: 0; flex: 1; }
.toolbar .chips { margin: 0; }
.co { border-left: 4px solid var(--gold); background: var(--band); padding: 14px 18px; border-radius: 0 6px 6px 0; margin: 0 0 16px; }
.co b { display: block; color: var(--navy); margin-bottom: 2px; }
.co p { margin: 0; font-size: .9rem; }
.al { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); border: 1px solid; font-size: .9rem; margin: 0 0 10px; }
.al.i { background: #e8f1fd; border-color: #b9d3f5; color: #14407a; }
.al.s { background: #e3f4e8; border-color: #bfe3c9; color: #1e6b34; }
.al.w, .al--warning, .al--advisory { background: #fff3d6; border-color: #f0dca0; color: #6b4d00; }
.al.e, .al--critical { background: #fdecea; border-color: #f3c3bf; color: #8a1f17; }
.al--info { background: #e8f1fd; border-color: #b9d3f5; color: #14407a; }
.al p { margin: 2px 0 0; }
.alert-list { list-style: none; padding: 0; margin: 0 0 28px; }
.cg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; }
.cg-cta small { color: var(--mute); }
.cg-cta__meta { font-weight: 400; opacity: .85; }
.cg-list { margin: 0 0 28px; }
.cg-list h2 { font-size: 1.25rem; }
.cg-list li { margin-bottom: 6px; }
.cg-block { min-width: 0; }
.cg-details .cg-block { margin-bottom: 28px; }
.cc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cc p { display: flex; gap: 10px; margin: 0 0 10px; align-items: flex-start; }
.cc .ico { color: var(--navy); margin-top: 3px; }
.cc a { color: var(--link); text-decoration: underline; }
.nl-band { background: var(--navy2); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.nl-band .nl__title { color: #fff; font-size: 1.5rem; margin: 0; }
.nl-band .sub { max-width: 520px; }
.nl__consent { font-size: .78rem; opacity: .85; margin: 8px 0 0; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: 12px; align-items: end; margin-bottom: 20px; background: var(--band); padding: 16px; border-radius: var(--radius); }
.filters label span { display: block; font: 600 .8125rem var(--font-ui); margin-bottom: 4px; }
.result-count { color: var(--mute); font-size: .875rem; }

/* ---------- 9. Page structure ---------- */
.ph { background: var(--navy2); color: #fff; padding: 26px 0 30px; }
.ph h1 { color: #fff; font-size: var(--h2); margin: 8px 0 0; }
.ph__intro { color: var(--foot-ink); margin: 8px 0 0; max-width: 72ch; font-size: 1.0625rem; }
.bc ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--foot-ink); }
.bc li:not(:last-child)::after { content: "›"; margin-left: 8px; opacity: .7; }
.bc a { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,255,255,.45); }
.bc a:hover { text-decoration-color: var(--gold); }
.site-main { padding: 36px 0 var(--section); }
.home, .site-main--elementor, .site-main--canvas, .site-main--full { padding: 0; }
.site-main--full { padding-bottom: var(--section); }
.layout { display: grid; gap: 40px; align-items: start; }
.layout--side { grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.layout--rail { grid-template-columns: minmax(0, 1fr) var(--rail, 320px); gap: 48px; }
.layout__main { min-width: 0; }
.entry { max-width: var(--content); }
.layout--side .entry { max-width: none; }
.entry--narrow { max-width: var(--content); margin-left: auto; margin-right: auto; }
.entry.entry--wide { max-width: none; }
.entry--wide .entry-content { max-width: 78ch; }
.entry--wide .entry-content > .wp-block-table, .entry--wide .entry-content > table, .entry--wide .entry-content > .cg-block, .entry--wide .entry-content > .wp-block-columns, .entry--wide .entry-content > .cg-cards, .entry--wide .entry-content > figure, .entry--wide .entry-content > .wp-block-group { max-width: none; }
.wrap.entry--narrow { max-width: calc(var(--content) + 2 * var(--gutter)); }
.entry__meta { color: var(--mute); font-size: .875rem; }
.entry__meta a { color: var(--link); }
.entry__media { margin: 0 0 24px; }
.entry__media img { border-radius: var(--radius); width: 100%; }
.entry__media--portrait { max-width: 300px; }
.entry__media figcaption { font-size: .8125rem; color: var(--mute); margin-top: 6px; }
.updated { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--mute); }
.sn { border: var(--bw) solid var(--line); border-radius: var(--radius); background: var(--surf); overflow: hidden; position: sticky; top: 150px; }
.sn__title { font-size: 1rem; margin: 0; padding: 12px 16px; background: var(--band); border-bottom: 1px solid var(--line); }
.sn ul { list-style: none; margin: 0; padding: 6px 0; }
.sn ul ul { padding: 0 0 4px 14px; }
.sn a { display: block; padding: 8px 16px; border-left: 3px solid transparent; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.sn a:hover { background: var(--tint); }
.sn a[aria-current] { border-color: var(--gold); background: var(--tint); font-weight: 600; color: var(--navy); }
.layout__side .widget, .layout__rail .widget { margin-top: 24px; }
.widget-title { font-size: 1.125rem; }
.layout__rail .widget ul { padding-left: 18px; }
.cg-related { margin-top: 36px; }
.cg-related h2 { font-size: 1.25rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--navy); font-weight: 600; }
.post-nav a span { display: block; font-size: .75rem; color: var(--mute); font-weight: 400; }
.post-nav__next { text-align: right; grid-column: 2; }
.pg2 ul { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; }
.pg2 a, .pg2 span.page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; font-size: .875rem; padding: 0 10px; }
.pg2 .on { background: var(--navy2); color: #fff; border-color: var(--navy2); }
.pg2 a:hover { background: var(--tint); }
.sr2 { list-style: none; padding: 0; margin: 0; }
.sr2 li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.sr2 h2 { font-size: 1.125rem; margin: 6px 0 2px; }
.sr2 h2 a { color: var(--navy); }
.sr2 h2 a:hover { text-decoration: underline; }
.sr2 small { display: block; color: var(--mute); font-size: .8125rem; }
.sr2 p { margin: 4px 0 0; font-size: .9375rem; }
.search-page { margin-bottom: 18px; }
.err404 { text-align: center; }
.err404__code { font: 700 5rem/1 var(--font-head); color: var(--navy); margin: 0 0 8px; }
.err404 .fcards { text-align: left; margin-bottom: 28px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.form-card { border: var(--bw) solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--card); margin-top: 24px; }
.form-card h2 { font-size: 1.25rem; }
.contact-aside .cg-block { margin-bottom: 28px; }
.contact-aside .cc { grid-template-columns: 1fr; }

/* Entry content typography */
.entry-content { font-size: 1.0625rem; }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: var(--h4); margin-top: 1.6em; }
.entry-content h3 { font-size: var(--h5); margin-top: 1.4em; }
.entry-content a:not(.btn):not(.wp-block-button__link) { color: var(--link); }
.entry-content a:not(.btn):not(.wp-block-button__link):hover { text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 var(--para); }
.entry-content li { margin-bottom: .35em; }
.entry-content blockquote { margin: 0 0 1em; border-left: 3px solid var(--gold); padding-left: 16px; font: 500 1.19rem/1.5 var(--font-head); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .9375rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.entry-content th { background: var(--band); color: var(--navy); }
.entry-content figure { margin: 0 0 1.4em; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content .wp-block-buttons { margin: 0 0 1.4em; }
.entry-content--full > *:not(.alignfull):not(.elementor) { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.alignwide { max-width: min(var(--wrap), 100vw); }
.has-rail .alignfull { margin-left: 0; margin-right: 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.wp-block-details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; background: var(--surf); padding: 0; }
.wp-block-details summary { padding: 14px 16px; font-weight: 600; cursor: pointer; }
.wp-block-details > *:not(summary) { padding: 0 16px; }
.wp-block-details[open] > *:last-child { padding-bottom: 14px; }
.is-style-cg-callout { border-left: 4px solid var(--gold); background: var(--band); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.is-style-cg-card { border: var(--bw) solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--card); }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--foot); color: var(--foot-ink); font-size: var(--fs-foot); line-height: 1.55; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: #fff; }
.site-footer .ico { flex: none; }
/* Contact band */
.fband { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-bottom: 1px solid rgba(255,255,255,.1); }
.fband__in { display: grid; grid-template-columns: minmax(220px, 1.1fr) auto auto; align-items: center; gap: 28px 40px; padding-top: 34px; padding-bottom: 34px; }
.fband__lead h2 { margin: 0 0 6px; font: 700 1.5rem/1.2 var(--font-head); color: #fff; }
.fband__lead p { margin: 0; max-width: 46ch; color: var(--foot-ink); font-size: .9375rem; }
.fband__list { display: flex; flex-wrap: wrap; gap: 18px 32px; }
.fband__list li { display: flex; align-items: center; gap: 12px; }
.fband__list small { display: block; font: 600 .6875rem/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.fband__list a, .fband__list b { color: #fff; font: 600 1rem/1.35 var(--font-ui); text-decoration: none; }
.fband__list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.fband__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--gold); }
.fband__ico .ico { width: 20px; height: 20px; }
.btn.fband__btn { background: var(--gold); color: #10213d; border-color: var(--gold); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.btn.fband__btn:hover { background: #fff; color: #10213d; border-color: #fff; }
/* Main columns */
.fmain { position: relative; overflow: hidden; }
.site-footer .wm { position: absolute; right: -90px; bottom: -120px; width: 420px; height: auto; opacity: .05; filter: grayscale(1) invert(1); pointer-events: none; }
.fgrid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 48px; padding-top: 52px; padding-bottom: 48px; }
.fgrid > .fb { grid-column: span 1; }
@media (min-width: 1025px) { .fgrid { grid-template-columns: 1.35fr 1.15fr 1.15fr 1fr; } .fgrid:has(> .fcol:nth-child(3):last-child) { grid-template-columns: 1.4fr 1.3fr 1fr; } .fgrid:has(> .fcol:nth-child(2):last-child) { grid-template-columns: 1.3fr 2fr; } }
.brand--footer { color: #fff; }
.brand--footer .seal { width: 72px; height: 72px; }
.brand--footer .ow { color: var(--foot-ink); }
.brand--footer .mun { color: #fff; font-size: clamp(1.5rem, 2.1vw, 1.95rem); overflow-wrap: normal; word-break: normal; hyphens: none; }
.brand--footer .tl { min-width: 0; }
.fb__summary { margin: 16px 0 0; max-width: 34ch; color: var(--foot-ink); }
.fc { display: flex; gap: 10px; margin-top: 16px; font-style: normal; color: #fff; }
.fc .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.fh { position: relative; margin: 0 0 18px; padding-bottom: 12px; font: 700 .8125rem/1.2 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.fh::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); }
.flinks li { margin: 0 0 10px; break-inside: avoid; }
.flinks a { display: inline-block; text-decoration: none; transition: color .15s, transform .15s; }
.flinks a:hover { color: #fff; transform: translateX(3px); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
ul.two { columns: 2; column-gap: 28px; }
/* Emergency contacts */
.femg { display: grid; gap: 8px; }
.femg__item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); text-decoration: none; transition: background .15s, border-color .15s; }
a.femg__item:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.femg__ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold); flex: none; }
.femg__ico .ico { width: 16px; height: 16px; }
.femg__txt { display: grid; min-width: 0; }
.femg__label { color: #fff; font-weight: 600; line-height: 1.3; }
.femg__num { font-size: .8125rem; color: var(--foot-ink); font-variant-numeric: tabular-nums; }
.femg__item--urgent { background: #b3261e; border-color: #b3261e; }
a.femg__item--urgent:hover { background: #c62f26; border-color: #e3564c; }
.femg__item--urgent .femg__ico { background: rgba(255,255,255,.18); color: #fff; }
.femg__item--urgent .femg__num { color: #ffe1de; }
/* Get involved */
.fact li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.fact li:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.fact a { display: flex; align-items: center; gap: 12px; padding: 11px 2px; text-decoration: none; }
.fact a .ico { width: 18px; height: 18px; color: var(--gold); }
.fact a::after { content: "\2192"; margin-left: auto; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.fact a:hover { color: #fff; }
.fact a:hover::after { opacity: 1; transform: none; }
.soc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.soc li { margin: 0; }
.soc a { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.soc a:hover { background: var(--gold); border-color: var(--gold); color: #10213d; }
.soc .ico { width: 20px; height: 20px; }

.sub { display: flex; background: #fff; border-radius: 5px; padding: 3px; margin-top: 8px; }
.sub input { flex: 1; min-width: 0; border: 0; padding: 8px 10px; font: .8125rem var(--font-body); background: none; color: #16243a; min-height: 40px; }
.sub input:focus { outline: none; }
.sub:focus-within { outline: var(--focus-w) solid var(--gold); }
.sub button { background: var(--navy); color: #fff; border: 1px solid #fff; border-radius: 4px; padding: 0 12px; font: 600 .8125rem var(--font-ui); cursor: pointer; }
.fconnect .fh + .nl { margin-bottom: 22px; }
/* Legal bar */
.legal { border-top: 1px solid rgba(255,255,255,.12); background: var(--foot-deep); font-size: .8125rem; }
.legal__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; }
.legal__copy { margin: 0; color: var(--foot-ink); }
.legal__links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 auto 0 0 !important; }
.legal__links li { margin: 0 !important; }
.legal__links a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; }
.legal__links a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal__top { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; text-decoration: none; color: #fff !important; }
.legal__top:hover { border-color: var(--gold); background: rgba(255,255,255,.06); }
.legal__demo { flex-basis: 100%; margin: 2px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; color: var(--foot-ink); opacity: .85; }
@media (max-width: 1024px) { .fband__in { grid-template-columns: 1fr; gap: 20px; } .fband__btn { justify-self: start; } }
@media (max-width: 720px) { .fgrid { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; } ul.two { columns: 2; } .legal__in { flex-direction: column; align-items: flex-start; } .legal__links { margin: 0 !important; } .fband__list { flex-direction: column; gap: 14px; } }

/* ---------- 11. Dialogs & assistant ---------- */
.dlg { border: 0; border-radius: 12px; padding: 28px; width: min(600px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow: auto; background: var(--surf); color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.dlg::backdrop { background: rgba(8, 20, 40, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg h2 { font-size: 1.5rem; padding-right: 40px; }
.dlg .x { position: absolute; right: 14px; top: 14px; background: none; border: 0; color: var(--mute); cursor: pointer; padding: 8px; border-radius: 6px; display: grid; }
.dlg .x:hover { background: var(--tint); color: var(--ink); }
.chat-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--navy2); color: #fff; border: 2px solid var(--gold); border-radius: 30px; padding: 11px 18px; display: flex; gap: 8px; align-items: center; font: 600 .9375rem var(--font-ui); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.3); min-height: 48px; }
.chat-fab:hover { background: var(--navy); }
.chat { position: fixed; right: 20px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 140px); background: var(--surf); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; }
.chat:not([hidden]) { display: flex; }
.ch { background: var(--navy2); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ch h2 { color: #fff; font: 600 1rem var(--font-ui); margin: 0; }
.ch small { color: var(--foot-ink); font-size: .75rem; }
.ch button { background: none; border: 0; color: #fff; cursor: pointer; display: grid; padding: 6px; border-radius: 6px; }
.ch button:hover { background: rgba(255,255,255,.12); }
.msgs { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msgs > * { margin: 0; padding: 9px 12px; border-radius: 10px; max-width: 88%; font-size: .9rem; line-height: 1.45; }
.bot { background: var(--band); }
.bot a { color: var(--link); text-decoration: underline; }
.bot ul { margin: 6px 0 0; padding-left: 18px; }
.me { background: var(--navy2); color: #fff; align-self: flex-end; }
.chat .chips { padding: 0 14px 10px; margin: 0; }
.chat .chips button { font-size: .8125rem; padding: 5px 11px; }
.cf { display: flex; border-top: 1px solid var(--line); }
.cf input { flex: 1; border: 0; padding: 13px 14px; font: .9rem var(--font-body); background: none; color: var(--ink); min-width: 0; }
.cf input:focus { outline: none; }
.cf:focus-within { box-shadow: inset 0 0 0 var(--focus-w) var(--gold); }
.cf button { border: 0; background: none; color: var(--navy); padding: 0 14px; cursor: pointer; }

/* ---------- 12. Accessibility preference states ---------- */
html.a11y-hc { --ink: #000; --mute: #1f2b3d; --line: #5b6b85; --navy: #0a2347; --heading: #0a2347; --link: #0a2347; --band: #f2f5fa; --card: #fff; }
html.a11y-hc .hero::before { background: rgba(4, 12, 28, .78); }
html.a11y-ul a:not(.btn):not(.tile):not(.brand):not(.cg-linkcard) { text-decoration: underline !important; text-underline-offset: 2px; }
html.a11y-rm *, html.a11y-rm *::before, html.a11y-rm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.car { scroll-behavior: auto; }
}
@media (forced-colors: active) {
	.btn, .search button, .car-b, .chat-fab { border: 1px solid ButtonText; }
	.ico { forced-color-adjust: auto; }
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1180px) {
	.brand .seal { width: calc(var(--seal) * .75); height: calc(var(--seal) * .75); }
	.mun { font-size: calc(var(--title-size) * .8); }
	.main__btn, .main__link { font-size: .84rem; padding: 8px 7px; }
	.panel .wrap { grid-template-columns: 180px 1fr; gap: 24px; }
	.pg { gap: 12px 16px; }
	.c3 { grid-template-columns: 1fr 1fr; }
	.c3 > div:last-child { grid-column: 1 / -1; }
	.c3 > div:last-child .em { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
	.mdr .mrow { grid-template-columns: 140px 1fr; gap: 18px; }
	.filters { grid-template-columns: 1fr 1fr; }
	.car { grid-auto-columns: calc((100% - 32px) / 3); }
	.contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
	.layout--side, .layout--rail { grid-template-columns: 1fr; }
	.sn { position: static; }
	.layout--side .layout__side { order: 2; }
}
@media (max-width: 900px) {
	.wrap { padding: 0 var(--gutter-m); }
	h1 { font-size: var(--h1m); } .ph h1 { font-size: var(--h2m); }
	.util .lbl { display: none; }
	.util__links { display: none; }
	.util { gap: 6px; }
	.util__btn { padding: 8px; min-width: 40px; justify-content: center; }
	.quick ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px var(--gutter-m); }
	.quick a, .quick li:last-child a { border: 1px solid var(--line); margin: 0; height: 100%; background: var(--surf); padding: 18px 8px; }
	.c3 { grid-template-columns: 1fr; gap: 38px; }
	.mdr { grid-template-columns: 1fr; }
	.dlist { max-height: 340px; }
	.wx { margin: 0; }
	.sgw { flex: 1 1 100%; max-width: none; }
	.car { grid-auto-columns: calc((100% - 16px) / 2); }
	.prev { left: 6px; } .next { right: 6px; }
	.cc { grid-template-columns: 1fr; }
	.dl3 { grid-template-columns: 1fr; }
	.dl3 dt { border-bottom: 0; padding-bottom: 2px; }
	.dl3 > *:nth-last-child(2) { border-bottom: 0; }
	.tb--docs thead { display: none; }
	.tb--docs, .tb--docs tbody, .tb--docs tr, .tb--docs td { display: block; width: 100%; }
	.tb--docs tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
	.tb--docs td { border: 0; padding: 4px 14px; }
	.tb--docs td:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 600; color: var(--mute); font-size: .78rem; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
}
@media (max-width: 560px) {
	.brand .seal { width: 56px; height: 56px; }
	.brand .vr { display: none; }
	.mun { font-size: 1.6rem; }
	.ow { font-size: .6875rem; }
	.hd { gap: 10px; }
	.burger span { display: none; }
	.burger { padding: 9px 11px; }
	.hero__inner { padding-top: 40px; padding-bottom: 36px; }
	.hrow { align-items: stretch; }
	.wx { width: 100%; flex-wrap: wrap; gap: 12px; }
	.wx .sep { display: none; }
	.quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mdr .mrow { grid-template-columns: 1fr; }
	.mrow .photo { max-width: 160px; }
	.car { grid-auto-columns: 82%; }
	.tt { font-size: 1rem; padding: 12px; }
	.car-b { width: 40px; height: 40px; }
	.filters { grid-template-columns: 1fr; }
	.chat-fab span { display: none; }
	.chat-fab { padding: 13px; }
	.chat { right: 12px; left: 12px; width: auto; max-width: none; }
	.cg-form .cg-row { grid-template-columns: 1fr; }
	.dlg { padding: 22px 18px; }
}

/* ---------- 14. Print ---------- */
@media print {
	.alert, header.site, .site-footer, .chat-fab, .chat, .quick, .car-b, .dlg { display: none !important; }
	.ph { background: none; color: #000; padding: 0; }
	.ph h1 { color: #000; }
	body { font-size: 12pt; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ---------- 15. Elementor ---------- */
.site-main--elementor .elementor-widget-civicgov-hero,
.site-main--elementor .elementor-widget-civicgov-quick-services { margin-bottom: 0 !important; }
.site-main--elementor .elementor-widget-civicgov-community .exp,
.site-main--elementor .cg-community { margin: 0; }
.site-main--elementor > .elementor > .elementor-section:last-child { margin-bottom: 0; }
.elementor-widget[class*="elementor-widget-civicgov-"] .elementor-widget-container { height: 100%; }
.elementor-widget[class*="elementor-widget-civicgov-"] .mrow, .elementor-widget[class*="elementor-widget-civicgov-"] .dirbox { height: 100%; }
.hero .hero__img, .tile .tile__img, .ph2 img, .mrow .photo { height: 100%; max-width: none; }
.mrow .photo { height: auto; aspect-ratio: 4/5; max-width: 100%; }

/* ---------- 16. Inner page rail ---------- */
.rail { display: grid; gap: 20px; position: sticky; top: 24px; }
.admin-bar .rail { top: 56px; }
.rail .sn { position: static; }
.rail-card { border: var(--bw) solid var(--line); border-radius: var(--radius); background: var(--card, var(--surf)); padding: 18px 20px; }
.rail-card__title { font: 700 .8125rem/1.3 var(--font-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin: 0 0 12px; }
.rail-card__name { font: 600 1.0625rem/1.3 var(--font-head); margin: 0 0 10px; }
.rail-card__name a { color: var(--navy); }
.rail-card p { font-size: .9375rem; margin: 0 0 12px; }
.rail-facts, .rail-links, .rail-events, .toc ul { list-style: none; margin: 0; padding: 0; }
.rail-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; padding: 5px 0; overflow-wrap: anywhere; }
.rail-facts .ico { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--navy); }
.rail-links li, .toc li { border-top: 1px solid var(--line); }
.rail-links li:first-child, .toc li:first-child { border-top: 0; }
.rail-links a, .toc a { display: block; padding: 9px 0; color: var(--navy); font-size: .9375rem; line-height: 1.35; }
.rail-links a:hover, .toc a:hover { text-decoration: underline; }
.rail-count { color: var(--mute); font-size: .8125rem; }
.toc a { padding: 7px 0 7px 12px; border-left: 3px solid var(--line); }
.toc li { border-top: 0; }
.toc a:hover { border-left-color: var(--gold); text-decoration: none; background: var(--tint); }
.rail-events li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.rail-events li:first-child { border-top: 0; padding-top: 0; }
.rail-events a { color: var(--navy); font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.rail-events small { display: block; color: var(--mute); font-size: .8125rem; margin-top: 2px; }
.rail-date { flex: none; width: 46px; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: var(--band); font: 700 1.125rem/1 var(--font-head); color: var(--navy); padding: 5px 0 6px; }
.rail-date b { display: block; font: 700 .625rem/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.rail-more { display: inline-block; margin-top: 10px; font: 600 .875rem var(--font-ui); color: var(--link); }
.rail-card--help { background: var(--band); border-top: 4px solid var(--gold); }
.btn--block { display: flex; width: 100%; justify-content: center; margin-top: 12px; }
.entry-content h2[id] { scroll-margin-top: 120px; }
@media (max-width: 1024px) {
	.layout--rail { grid-template-columns: 1fr; gap: 32px; }
	.rail { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ---------- 17. Content components (link cards, stats, figures) ---------- */
.entry--wide .entry-content > .cg-linkgrid, .entry--wide .entry-content > .cg-stats, .entry--wide .entry-content > .wp-block-image { max-width: none; }
.cg-linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 28px; }
.cg-linkcard { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 16px 18px; border: var(--bw) solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); background: var(--card, var(--surf)); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cg-linkcard strong { font: 600 1.0625rem/1.3 var(--font-head); color: var(--navy); }
.cg-linkcard strong::after { content: " →"; color: var(--gold); }
.cg-linkcard span { font-size: .9375rem; color: var(--mute); line-height: 1.45; }
.cg-linkcard:hover { border-color: var(--navy); box-shadow: var(--shadow-2, 0 6px 18px rgba(10,30,60,.12)); transform: translateY(-1px); }
.cg-linkcard:focus-visible { outline: 3px solid var(--focus, var(--gold)); outline-offset: 2px; }
.cg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 22px 0 30px; border: var(--bw) solid var(--line); border-radius: var(--radius); background: var(--band); overflow: hidden; }
.cg-stat { padding: 18px 20px; border-left: 1px solid var(--line); }
.cg-stat:first-child { border-left: 0; }
.cg-stat b { display: block; font: 700 1.75rem/1.1 var(--font-head); color: var(--navy); }
.cg-stat span { display: block; margin-top: 4px; font-size: .875rem; color: var(--mute); }
.entry-content .wp-block-image { margin: 24px 0; }
.entry-content .wp-block-image img { border-radius: var(--radius); width: 100%; height: auto; }
.entry-content .wp-block-image figcaption, .entry__media figcaption { font-size: .8125rem; color: var(--mute); margin-top: 6px; }
.entry--wide .entry__media img { aspect-ratio: 21 / 9; object-fit: cover; }
.entry--cg_official .entry__media img, .entry__media--portrait img { aspect-ratio: auto; }
.entry-content .wp-block-table table { width: 100%; }
.entry-content details.wp-block-details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; margin: 8px 0; background: var(--surf); }
.entry-content details.wp-block-details summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--navy); }
.entry-content details.wp-block-details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
@media (max-width: 560px) { .cg-stat { border-left: 0; border-top: 1px solid var(--line); } .cg-stat:first-child { border-top: 0; } }
.entry-content a.cg-linkcard, .entry-content a.cg-linkcard:hover { text-decoration: none; }
.entry-content .wp-block-image img { aspect-ratio: 16 / 9; object-fit: cover; max-height: 460px; }
.entry-content .wp-block-image figcaption { text-align: left; }
.sn__title a { padding: 0; border: 0; display: inline; background: none; font-weight: 700; color: var(--navy); }

/* ---------- 18. Comments ---------- */
.comment-respond { max-width: 760px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.comment-form p { display: grid; gap: 6px; margin: 0 0 16px; }
.comment-form label { font-weight: 600; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong, #8c9bb0); border-radius: 6px; font: inherit; background: var(--surf); color: var(--ink); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .9375rem; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }
.comment-form .form-submit input { background: var(--btn); color: var(--btn-ink); border: 0; border-radius: var(--radius); padding: 12px 22px; font: 600 1rem var(--font-ui); cursor: pointer; }
.cd__img--ph { display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(120% 120% at 30% 20%, var(--navy) 0%, var(--navy2) 70%); }
.cd__img--ph .cd__seal { width: 34%; max-width: 120px; height: auto; opacity: .9; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.entry__meta a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1025px) {
	.fband__in { grid-template-columns: minmax(240px, 300px) 1fr auto; }
	.fband__list { flex-wrap: nowrap; justify-content: center; gap: 36px; }
	.fband__list li { white-space: nowrap; }
	.fgrid { grid-template-columns: 1.25fr 1.45fr 1.15fr 1fr; gap: 40px 44px; }
}
.flinks a { white-space: nowrap; }
.legal__top { margin-left: auto; }
@media (max-width: 720px) { .legal__top { margin-left: 0; } }
@media (min-width: 1025px) {
	.fband__in { grid-template-columns: minmax(0, 250px) minmax(0, 1fr) auto; column-gap: 32px; }
	.fband__list { gap: 26px; justify-content: flex-start; }
	.fband__list a, .fband__list b { font-size: .9375rem; }
	.fband__ico { width: 40px; height: 40px; }
}
@media (min-width: 1025px) and (max-width: 1240px) { .fband__list { flex-wrap: wrap; } .fband__list li { white-space: normal; } }
@media (min-width: 721px) and (max-width: 1024px) { .fgrid { grid-template-columns: 1fr 1fr; gap: 40px 48px; } }

/* ---------- 19. Contact page ---------- */
.ct { padding-bottom: 0; }
.ct-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: -36px; position: relative; z-index: 2; }
.ct-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px 22px 20px; background: var(--surf, #fff); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px -12px rgba(12, 34, 67, .22); }
.ct-card__ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 10px; background: color-mix(in srgb, var(--navy) 8%, transparent); color: var(--navy); }
.ct-card__ico .ico { width: 22px; height: 22px; }
.ct-card__title { margin: 0; font: 700 .75rem/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ct-card__value { margin: 2px 0 0; font: 700 1.375rem/1.25 var(--font-head); color: var(--navy); text-decoration: none; font-style: normal; overflow-wrap: anywhere; }
.ct-card__value--sm { font-size: 1.0625rem; line-height: 1.4; }
a.ct-card__value:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ct-card__meta { margin: 6px 0 0; font-size: .875rem; color: var(--mute); line-height: 1.5; }
.ct-card__link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--link); }
.ct-card__link .ico { width: 15px; height: 15px; }
.ct-card--urgent { background: #fdf1f0; border-color: #f2c4c0; }
.ct-card--urgent .ct-card__ico { background: #b3261e; color: #fff; }
.ct-card--urgent .ct-card__title { color: #8c1d17; }
.ct-card--urgent .ct-card__value { color: #b3261e; }
.ct-card--urgent .ct-card__meta { color: #5c2a27; }
.ct-card--urgent .ct-card__meta a { color: #8c1d17; font-weight: 600; white-space: nowrap; }

.ct-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-top: 48px; padding-bottom: 64px; }
.ct-form { padding: 36px 40px 32px; background: var(--surf, #fff); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(12, 34, 67, .05), 0 12px 32px -18px rgba(12, 34, 67, .25); }
.ct-form__head { margin-bottom: 20px; }
.ct-eyebrow { margin: 0 0 6px; font: 700 .75rem/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: #7a5f0e; }
.ct-form__head h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.2vw, 1.875rem); color: var(--navy); }
.ct-form__head p { margin: 0; color: var(--mute); max-width: 60ch; }
.ct-notice { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px; padding: 14px 16px; background: var(--band); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; font-size: .9063rem; line-height: 1.5; }
.ct-notice .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--navy); }
.ct-notice p { margin: 0; }

/* Form fields (contact form and other CivicGov-styled CF7 forms) */
.cg-form .cg-row { gap: 0 20px; }
.cg-form p { margin: 0 0 20px; }
.cg-form label { font: 600 .9375rem/1.4 var(--font-ui); color: var(--ink); }
.cg-form label br { display: none; }
.cg-form label > .wpcf7-form-control-wrap { margin-top: 8px; }
.cg-form .cg-req, .cg-form .cg-hint { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font: 600 .6875rem/1.6 var(--font-ui); letter-spacing: .03em; vertical-align: 1px; }
.cg-form .cg-req { background: color-mix(in srgb, var(--navy) 9%, transparent); color: var(--navy); }
.cg-form .cg-hint { background: var(--band); color: var(--mute); }
.cg-form .cg-hint--line { display: block; margin: 4px 0 0; padding: 0; background: none; font: 400 .8438rem/1.45 var(--font-body); letter-spacing: 0; }
.ct-form .cg-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .ct-form .cg-form select, .ct-form .cg-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #b9c4d4; border-radius: 8px; background: #fff; font: 400 1rem/1.4 var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ct-form .cg-form textarea { min-height: 160px; resize: vertical; }
.ct-form .cg-form select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2312305a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.ct-form .cg-form ::placeholder { color: #7d8898; opacity: 1; }
.ct-form .cg-form input:hover, .ct-form .cg-form select:hover, .ct-form .cg-form textarea:hover { border-color: #8c9bb0; }
.ct-form .cg-form input:focus, .ct-form .cg-form select:focus, .ct-form .cg-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 45%, transparent); }
.ct-form .cg-form .wpcf7-not-valid { border-color: var(--err) !important; background: #fffafa !important; }
.cg-form .cg-consent { margin: 4px 0 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--band); }
.cg-form .cg-consent .wpcf7-list-item { margin: 0; }
.cg-form .cg-consent label { font-weight: 400; font-size: .9375rem; }
.cg-form .cg-consent input[type=checkbox] { width: 20px; height: 20px; margin-top: 1px; flex: none; cursor: pointer; }
.cg-form .cg-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 6px; }
.cg-form .cg-submit .wpcf7-submit { min-height: 50px; padding: 0 28px; border-radius: 8px; font-size: 1rem; }
.cg-form .cg-submit .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.cg-form .cg-submit__note { font-size: .875rem; color: var(--mute); }
.cg-form .cg-submit .wpcf7-spinner { order: 3; margin: 0; }
.cg-form .wpcf7-response-output { border-radius: 8px !important; }

/* Aside panels */
.ct-aside { display: grid; gap: 24px; position: sticky; top: 110px; }
.ct-panel { padding: 24px; background: var(--surf, #fff); border: 1px solid var(--line); border-radius: 14px; }
.ct-panel__title { margin: 0 0 6px; font: 700 1.125rem/1.3 var(--font-head); color: var(--navy); }
.ct-panel__intro { margin: 0 0 14px; font-size: .875rem; color: var(--mute); }
.ct-self { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ct-self a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.ct-self a:hover { border-color: var(--navy); background: var(--band); transform: translateX(2px); }
.ct-self__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--navy); }
.ct-self__ico .ico { width: 18px; height: 18px; }
.ct-self__txt { display: grid; min-width: 0; }
.ct-self__txt b { font: 600 .9688rem/1.3 var(--font-ui); color: var(--navy); }
.ct-self__txt small { font-size: .8125rem; color: var(--mute); }
.ct-self__chev { width: 16px; height: 16px; margin-left: auto; color: var(--mute); transform: rotate(-90deg); flex: none; }
.ct-dir { list-style: none; margin: 8px 0 0; padding: 0; }
.ct-dir li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.ct-dir li:last-child { border-bottom: 0; }
.ct-dir__name { color: var(--ink); text-decoration: none; }
.ct-dir__name:hover { color: var(--navy); text-decoration: underline; }
.ct-dir__tel { flex: none; color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.ct-dir__tel:hover { text-decoration: underline; }
.ct-panel__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .9375rem; color: var(--link); }
.ct-panel__more .ico { width: 16px; height: 16px; }

/* FAQs */
.ct-more { background: var(--band); border-top: 1px solid var(--line); padding: 56px 0 64px; }
.ct-more__in { max-width: 860px; margin: 0 auto; }
.ct-more__in > h2:first-child { margin-top: 0; text-align: center; margin-bottom: 24px; }

@media (max-width: 1100px) { .ct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; } }
@media (max-width: 900px) { .ct-layout { grid-template-columns: 1fr; } .ct-aside { position: static; } }
@media (max-width: 600px) { .ct-quick { grid-template-columns: 1fr; margin-top: -24px; gap: 12px; } .ct-form { padding: 24px 18px; } .ct-layout { padding-top: 32px; } .cg-form .cg-submit .wpcf7-submit { width: 100%; } }
.page-template-template-contact .ph { padding-bottom: 76px; }
.ct.site-main { padding-top: 0; }
.ct-quick { margin-top: -48px; }
.ct-aside { position: static; }
.cg-form .cg-consent p, .cg-form .cg-submit p { margin: 0; }
.cg-form .cg-submit p { display: contents; }
.ct-card__value--sm { overflow-wrap: normal; word-break: normal; }
@media (max-width: 600px) { .ct-quick { margin-top: -40px; } }
@media (max-width: 600px) {
	.alert .wrap { flex-wrap: wrap; row-gap: 2px; }
	.alert__list { flex: 1 1 calc(100% - 40px); }
	.alert__ctl { margin-left: auto; }
	.ct-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
	.ct-card__ico { grid-row: 1 / span 4; margin: 0; }
	.ct-card > :not(.ct-card__ico) { grid-column: 2; }
	.ct-card__value { font-size: 1.25rem; }
	.ct-card__value--sm { font-size: 1rem; }
	.ct-card__link { padding-top: 6px; }
}

/* ---------- 20. Menu-item icons ---------- */
.has-mi { display: flex !important; align-items: center; gap: 12px; }
.mi { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--navy) 7%, transparent); color: var(--navy); transition: background .18s, color .18s, transform .18s; }
.mi .ico { width: 17px; height: 17px; }
.mi-t { min-width: 0; }
.pg li a.has-mi { padding: 6px 10px 6px 6px; margin: 0 -10px 2px -6px; }
.pg li a.has-mi:hover .mi, .pg li a.has-mi[aria-current] .mi, .panel__list a.has-mi:hover .mi { background: var(--navy); color: #fff; transform: scale(1.04); }
.panel__list a.has-mi { padding: 6px 10px 6px 6px; }
.drawer__panel a.has-mi { padding-left: calc(var(--gutter-m) + 8px); gap: 12px; }
.drawer__panel a.has-mi .mi { width: 30px; height: 30px; background: color-mix(in srgb, var(--navy) 8%, transparent); }
.drawer__panel a.has-mi[aria-current] .mi { background: var(--navy); color: #fff; }
html.a11y-ul a.has-mi { text-decoration: none !important; }
html.a11y-ul a.has-mi .mi-t { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 21. Menu motion ---------- */
@keyframes cg-drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes cg-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes cg-drop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px); } }
.panel:not([hidden]) { animation: cg-drop-in .22s cubic-bezier(.2, .7, .2, 1) both; transform-origin: top center; }
.panel--mega:not([hidden]) .panel__intro, .panel--mega:not([hidden]) .pg__group { animation: cg-fade-up .3s cubic-bezier(.2, .7, .2, 1) both; }
.panel--mega:not([hidden]) .pg__group:nth-child(1) { animation-delay: .04s; }
.panel--mega:not([hidden]) .pg__group:nth-child(2) { animation-delay: .08s; }
.panel--mega:not([hidden]) .pg__group:nth-child(3) { animation-delay: .12s; }
.panel--mega:not([hidden]) .pg__group:nth-child(n+4) { animation-delay: .16s; }
.panel.is-leaving, .drawer.is-leaving, .lw > .lm.is-leaving { animation: cg-drop-out .16s ease-in both; pointer-events: none; }
.drawer:not([hidden]) { animation: cg-drop-in .26s cubic-bezier(.2, .7, .2, 1) both; }
.drawer:not([hidden]) .drawer__list > li { animation: cg-fade-up .3s cubic-bezier(.2, .7, .2, 1) both; }
.drawer:not([hidden]) .drawer__list > li:nth-child(2) { animation-delay: .03s; }
.drawer:not([hidden]) .drawer__list > li:nth-child(3) { animation-delay: .06s; }
.drawer:not([hidden]) .drawer__list > li:nth-child(4) { animation-delay: .09s; }
.drawer:not([hidden]) .drawer__list > li:nth-child(5) { animation-delay: .12s; }
.drawer:not([hidden]) .drawer__list > li:nth-child(n+6) { animation-delay: .15s; }
.lw > .lm:not([hidden]) { animation: cg-drop-in .18s cubic-bezier(.2, .7, .2, 1) both; }
.main__btn .ico-chev, .drawer__pm { transition: transform .22s ease; }
.main__btn[aria-expanded="true"] .ico-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
	.panel:not([hidden]), .panel--mega:not([hidden]) .panel__intro, .panel--mega:not([hidden]) .pg__group, .drawer:not([hidden]), .drawer:not([hidden]) .drawer__list > li, .lw > .lm:not([hidden]), .panel.is-leaving, .drawer.is-leaving { animation: none !important; }
}
html.a11y-rm .panel, html.a11y-rm .panel *, html.a11y-rm .drawer, html.a11y-rm .drawer *, html.a11y-rm .lm { animation: none !important; }
.lw > .lm { transform-origin: top right; } .drawer__btn[aria-expanded="true"] .drawer__pm { transform: rotate(180deg); }
