:root {
  --bg: #f9f9fc;
  --surface: #ffffff;
  --surface-soft: #f2f7fb;
  --surface-strong: #eef3f8;
  --ink: #1a1c1e;
  --muted: #424751;
  --muted-soft: #5f6672;
  --line: #dbe3ee;
  --line-strong: #c2c6d3;
  --primary: #003e7a;
  --primary-bright: #0055a4;
  --cyan: #00c1fd;
  --teal: #0f766e;
  --amber: #b45309;
  --danger: #ba1a1a;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 6px;
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) minmax(190px, 260px) auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(249, 249, 252, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 226px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.nav a {
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
}

.nav a.is-active,
.nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--cyan);
}

.top-search {
  position: relative;
  display: flex;
  align-items: center;
}

.top-search .material-symbols-outlined {
  position: absolute;
  left: 12px;
  color: var(--muted-soft);
}

.top-search input,
.search-row input,
.newsletter input,
.business-form input,
.business-form select,
.business-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: 0;
}

.top-search input {
  padding-left: 42px;
}

.top-search input:focus,
.search-row input:focus,
.newsletter input:focus,
.business-form input:focus,
.business-form select:focus,
.business-form textarea:focus {
  border-color: var(--primary-bright);
  box-shadow: 0 0 0 3px rgba(0, 193, 253, 0.18);
}

.business-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.nav-action,
button,
.secondary-button,
.mini-card a,
.business-cta a,
.author-card a,
.author-strip a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
}

.nav-action,
button {
  padding: 0 16px;
  border: 1px solid var(--primary);
  color: #ffffff;
  background: var(--primary);
  cursor: pointer;
}

.secondary-button {
  padding: 0 14px;
  color: var(--primary);
  background: var(--surface-soft);
  border: 1px solid var(--line-strong);
}

.secondary-button:hover {
  border-color: var(--primary-bright);
}

.secondary-button:disabled,
.secondary-button.is-disabled {
  color: #4f5662;
  background: #eef3f8;
  pointer-events: none;
  opacity: 1;
}

.nav-action:hover,
button:hover {
  background: var(--primary-bright);
}

main {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: clamp(44px, 8vw, 82px) 0 clamp(34px, 6vw, 64px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.listing-hero .lead,
.article-hero .lead {
  margin-right: 0;
  margin-left: 0;
}

.search-panel {
  width: min(640px, 100%);
  margin: 30px auto 0;
  padding: 12px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  min-height: 52px;
}

.search-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted-soft);
  font-size: 14px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title-row h2 {
  margin: 0;
}

.section-title-row a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.quick-access,
.news-section,
.authors-band {
  padding: 58px 0;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-tile {
  min-height: 146px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 8px;
}

.quick-tile .material-symbols-outlined {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--primary);
  background: var(--surface);
  border-radius: 10px;
}

.quick-tile strong {
  font-size: 15px;
}

.quick-tile:hover {
  background: var(--surface);
  border-color: var(--cyan);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 0 0 54px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics-strip article {
  min-height: 126px;
  padding: 20px;
  background: var(--surface);
}

.metrics-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 30px;
  font-weight: 800;
}

.metrics-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.news-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.news-card,
.notice-panel,
.author-card,
.author-inline,
.author-strip,
.card,
.mini-card,
.fact-box,
.control-card,
.business-cta,
.neighborhoods article,
.newsletter form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-card {
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.news-card img,
.news-card-media img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--surface-strong);
}

.news-card-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface-strong);
  aspect-ratio: 1280 / 520;
}

.news-card-media img {
  height: 100%;
}

.news-card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(0, 62, 122, 0.34), rgba(15, 118, 110, 0.12) 46%, rgba(255, 255, 255, 0) 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.news-card-media--pleno::after {
  display: none;
}

.news-card-media > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #ffffff;
  background: rgba(0, 62, 122, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-media--pleno > span {
  background: rgba(0, 62, 122, 0.92);
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-bright);
  box-shadow: var(--shadow);
}

.news-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.news-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card .news-card-media > span {
  color: #ffffff;
  background: rgba(0, 62, 122, 0.92);
}

.news-card p,
.notice-panel span,
.section-heading p:not(.eyebrow),
.council-band p,
.directory-panel p,
.business-cta p,
.newsletter p,
.neighborhoods p,
.card p,
.mini-card p {
  color: var(--muted);
  line-height: 1.58;
}

.news-card h3 {
  margin-bottom: 10px;
}

.notice-panel {
  padding: 24px;
}

.notice-board {
  display: grid;
  gap: 14px;
}

.notice-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.notice-board-head h2 {
  margin: 0 0 6px;
}

.news-category-filters {
  margin-bottom: 16px;
}

.news-date-filter {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.news-date-filter select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.notice-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notice-card--with-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.notice-card__content {
  min-width: 0;
}

.notice-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 1280 / 520;
}

.notice-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notice-card--pleno {
  border-color: #b8cfe5;
  border-left: 5px solid var(--primary);
  background: linear-gradient(90deg, #f7fbff 0, #ffffff 56%);
}

.notice-card__type {
  width: fit-content;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  margin-bottom: 12px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notice-card__type .material-symbols-outlined {
  font-size: 18px;
}

.notice-card:target {
  border-color: var(--primary-bright);
  box-shadow: var(--shadow);
}

.notice-card h3 {
  margin: 12px 0 10px;
}

.notice-card p {
  max-width: 78ch;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.notice-card strong {
  color: var(--ink);
}

.notice-card__points {
  display: grid;
  gap: 10px;
  max-width: 78ch;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.notice-card__points strong {
  color: var(--ink);
}

.notice-card__points ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.notice-card__meta,
.notice-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.notice-card__meta span {
  padding: 6px 9px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.notice-card__links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.notice-card__links span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.notice-card__links a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-block iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.neighborhood-map-overview {
  background: #f8fbfa;
}

.neighborhood-search {
  margin: 22px 0;
}

.neighborhood-directory {
  background: #ffffff;
}

.directory-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--primary);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.neighborhood-directory-groups {
  display: grid;
  gap: 18px;
}

.neighborhood-zone-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.neighborhood-zone-section__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.neighborhood-zone-section__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.neighborhood-zone-section__head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.neighborhood-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.neighborhood-zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.neighborhood-zone-grid article {
  min-width: 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.neighborhood-zone-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
}

.neighborhood-zone-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.neighborhood-zone-grid a,
.neighborhood-zone-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--primary);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.neighborhood-context li span {
  max-width: 52rem;
}

.neighborhood-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.neighborhood-detail-grid article {
  min-width: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.neighborhood-detail-grid h2 {
  margin-top: 0;
}

.neighborhood-brief p,
.neighborhood-decision li {
  max-width: 78ch;
}

.actualidad-plenos-digest {
  background: #f7fbff;
  border-color: #c8dff4;
}

.pleno-digest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pleno-digest-card {
  overflow: hidden;
  display: grid;
  gap: 10px;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.pleno-digest-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-bright);
  box-shadow: var(--shadow);
}

.pleno-digest-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 520;
  object-fit: cover;
}

.pleno-digest-card span,
.pleno-digest-card strong {
  margin-right: 14px;
  margin-left: 14px;
}

.pleno-digest-card span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: var(--primary);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.pleno-digest-card strong {
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.25;
}

.notice-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-panel li {
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--primary-bright);
}

.notice-panel li:nth-child(2) {
  border-left-color: var(--teal);
}

.notice-panel li:nth-child(3) {
  border-left-color: var(--muted-soft);
  border-bottom: 0;
}

.notice-panel strong,
.notice-panel span {
  display: block;
}

.notice-panel strong {
  margin-bottom: 4px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin: 38px 0 86px;
}

.section-heading {
  position: sticky;
  top: 96px;
  align-self: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.link-card {
  color: inherit;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--primary-bright);
  box-shadow: var(--shadow);
}

.card.is-hidden,
.mini-card.is-hidden,
.quick-tile.is-hidden,
.news-card.is-hidden,
.business-card.is-hidden {
  display: none;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  margin-bottom: 18px;
}

.tag,
.score,
.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: var(--primary);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.score {
  color: var(--teal);
}

.business-cta a,
.author-card a,
.author-strip a {
  width: fit-content;
  margin-top: auto;
  padding: 0 12px;
  color: #ffffff;
  background: var(--primary);
}

.business-cta a:hover,
.author-card a:hover,
.author-strip a:hover {
  background: var(--primary-bright);
}

.card-action,
.related-link-action {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  color: var(--primary);
  font-size: 14px;
  font-weight: 850;
}

.card-action .material-symbols-outlined,
.related-link-action .material-symbols-outlined {
  font-size: 18px;
  transition: transform 160ms ease;
}

.link-card:hover .card-action .material-symbols-outlined,
.related-link-card:hover .related-link-action .material-symbols-outlined {
  transform: translateX(3px);
}

.card-author {
  margin: 4px 0 18px;
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 700;
}

.council-band,
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  margin: 0 0 86px;
  padding: clamp(30px, 5vw, 56px);
  color: #ffffff;
  background: var(--primary);
  border-radius: 8px;
}

.council-band .eyebrow,
.newsletter .eyebrow {
  color: var(--cyan);
}

.council-band h2,
.newsletter h2 {
  color: #ffffff;
}

.council-band p,
.newsletter p {
  color: #d8e7f7;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.inline-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--primary);
  background: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
}

.inline-actions a + a {
  color: var(--primary);
  background: var(--surface-soft);
  border: 1px solid var(--line-strong);
}

.council-band .inline-actions a + a,
.newsletter .inline-actions a + a {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
}

.council-list {
  display: grid;
  gap: 10px;
}

.council-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.council-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--primary);
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 800;
}

.council-list p {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  margin: 0 0 86px;
}

.directory-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.category-grid a,
.quick-links a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--primary);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.business-cta {
  min-height: 100%;
  padding: 22px;
  background: #f4faf8;
}

.neighborhoods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.neighborhoods article {
  min-height: 170px;
  padding: 22px;
}

.newsletter form {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.newsletter label {
  color: #ffffff;
}

.newsletter button {
  width: 100%;
  margin-top: 10px;
  color: var(--primary);
  background: var(--cyan);
  border-color: var(--cyan);
}

.footer {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 42px 0 58px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand img {
  display: block;
  width: 210px;
  height: auto;
  margin-bottom: 16px;
}

.footer p {
  margin: 0;
  line-height: 1.55;
}

.footer-brand p + p {
  margin-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 22px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: var(--muted);
  font-weight: 720;
  line-height: 1.35;
}

.footer-column a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  max-width: 640px;
  font-size: 13px;
}

.info-page .content-block a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listing-hero,
.article-hero {
  padding: clamp(46px, 7vw, 92px) 0 36px;
}

.listing-hero {
  max-width: 860px;
}

.article-page {
  width: min(920px, 100%);
  margin: 0 auto;
  padding-bottom: 84px;
}

.hub-page {
  width: min(1120px, 100%);
}

.hub-page .listing-hero,
.hub-page .article-hero {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs a[aria-current="page"] {
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.fact-box,
.content-block {
  margin: 0 0 22px;
}

.fact-box,
.content-block.is-highlight,
.brief-outcome,
.information-gain,
.checklist-block,
.model-summary,
.faq-block,
.editorial-method,
.neighborhood-reference-block,
.neighborhood-hard-data,
.directory-intro,
.directory-category-block,
.business-listing-block,
.directory-bottom-guide,
.related-businesses,
.form-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
}

.content-block:not(.is-highlight):not(.brief-outcome):not(.information-gain):not(.checklist-block):not(.model-summary):not(.faq-block):not(.editorial-method):not(.neighborhood-reference-block):not(.neighborhood-hard-data):not(.directory-intro):not(.directory-category-block):not(.business-listing-block):not(.directory-bottom-guide):not(.related-businesses):not(.form-block) {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.content-block:not(.is-highlight):not(.brief-outcome):not(.information-gain):not(.checklist-block):not(.model-summary):not(.faq-block):not(.editorial-method):not(.neighborhood-reference-block):not(.neighborhood-hard-data):not(.directory-intro):not(.directory-category-block):not(.business-listing-block):not(.directory-bottom-guide):not(.related-businesses):not(.form-block) h2 {
  max-width: 760px;
}

.content-block:not(.is-highlight):not(.brief-outcome):not(.information-gain):not(.checklist-block):not(.model-summary):not(.faq-block):not(.editorial-method):not(.neighborhood-reference-block):not(.neighborhood-hard-data):not(.directory-intro):not(.directory-category-block):not(.business-listing-block):not(.directory-bottom-guide):not(.related-businesses):not(.form-block) p,
.content-block:not(.is-highlight):not(.brief-outcome):not(.information-gain):not(.checklist-block):not(.model-summary):not(.faq-block):not(.editorial-method):not(.neighborhood-reference-block):not(.neighborhood-hard-data):not(.directory-intro):not(.directory-category-block):not(.business-listing-block):not(.directory-bottom-guide):not(.related-businesses):not(.form-block) ul,
.content-block:not(.is-highlight):not(.brief-outcome):not(.information-gain):not(.checklist-block):not(.model-summary):not(.faq-block):not(.editorial-method):not(.neighborhood-reference-block):not(.neighborhood-hard-data):not(.directory-intro):not(.directory-category-block):not(.business-listing-block):not(.directory-bottom-guide):not(.related-businesses):not(.form-block) ol {
  max-width: 760px;
}

.directory-intro {
  border-left: 4px solid var(--cyan);
}

.directory-intro p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.directory-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 22px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.control-page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-bottom: 84px;
}

.control-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 28px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.control-metrics article {
  min-height: 138px;
  padding: 20px;
  background: var(--surface);
}

.control-metrics strong,
.control-metrics span {
  display: block;
}

.control-metrics strong {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.control-metrics span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.control-metrics p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.control-section {
  margin: 0 0 34px;
}

.control-action-grid,
.control-card-grid {
  display: grid;
  gap: 12px;
}

.control-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.control-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.control-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.control-action-card {
  min-height: 260px;
}

.control-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.control-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--primary);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.control-status.is-ready {
  color: var(--teal);
  background: #e7f5f2;
  border-color: #b7d9d2;
}

.control-status.is-next {
  color: var(--primary);
  background: #e6f4ff;
  border-color: #b8daf4;
}

.control-status.is-strategic {
  color: var(--amber);
  background: #fff5df;
  border-color: #efd49a;
}

.control-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.control-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.control-card a {
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.control-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.control-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(180px, 1fr) minmax(100px, 0.4fr) minmax(180px, 0.9fr);
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 14px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.control-row:first-child {
  border-top: 0;
}

.control-row strong,
.control-row small {
  display: block;
}

.control-row strong {
  color: var(--ink);
}

.control-row small {
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.control-row:hover {
  background: var(--surface-soft);
}

.control-head {
  min-height: 48px;
  color: var(--primary);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.control-head:hover {
  background: var(--surface-soft);
}

.control-rules {
  background: #f7fbff;
  border-color: #c8dff4;
}

.directory-stats article {
  min-height: 92px;
  padding: 18px;
  background: var(--surface);
}

.directory-stats strong,
.directory-stats span {
  display: block;
}

.directory-stats strong {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 26px;
  line-height: 1.05;
}

.directory-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.model-summary {
  background: var(--surface-soft);
  border-color: var(--line);
  border-left: 4px solid var(--primary-bright);
  padding: clamp(20px, 4vw, 34px);
}

.brief-outcome {
  background: #f7fbff;
  border-color: #c8dff4;
  border-left: 4px solid var(--primary-bright);
}

.brief-outcome ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding-left: 20px;
}

.information-gain {
  background: #fffdf7;
  border-color: #f1dfac;
}

.information-gain h2 {
  color: var(--amber);
}

.article-hero-media {
  position: relative;
  isolation: isolate;
  width: min(100% - 32px, 1120px);
  margin: -28px auto 32px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 1280 / 520;
}

.article-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  --hero-accent: var(--primary);
  --hero-secondary: var(--teal);
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(0, 62, 122, 0.62) 0%, rgba(0, 62, 122, 0.2) 42%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

.hero-media::after {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--hero-accent) 34%, transparent) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 14px);
  opacity: 0.82;
}

.hero-media--pleno {
  --hero-accent: var(--primary);
  --hero-secondary: var(--amber);
  border-color: #a9c7e4;
}

.hero-media--civic {
  --hero-accent: var(--primary-bright);
  --hero-secondary: var(--cyan);
}

.hero-media--neighborhood {
  --hero-accent: var(--teal);
  --hero-secondary: var(--primary);
}

.hero-media--urgent {
  --hero-accent: var(--primary);
  --hero-secondary: var(--danger);
}

.hero-media--food {
  --hero-accent: var(--amber);
  --hero-secondary: var(--teal);
}

.hero-media--wellbeing {
  --hero-accent: var(--teal);
  --hero-secondary: var(--cyan);
}

.hero-media--business {
  --hero-accent: var(--primary);
  --hero-secondary: var(--teal);
}

.hero-media__brand {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 3.4vw, 34px);
  bottom: clamp(18px, 3.4vw, 34px);
  display: inline-flex;
  max-width: min(460px, calc(100% - 36px));
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 12px;
  color: #ffffff;
  background: color-mix(in srgb, var(--hero-accent) 86%, #000000 14%);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-media__brand strong,
.hero-media__brand small {
  display: block;
}

.hero-media__brand strong {
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.05;
}

.hero-media__brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-media__mark {
  flex: 0 0 auto;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: #ffffff;
  border-radius: 8px;
}

.hero-media__mark img {
  width: 30px;
  height: auto;
  object-fit: contain;
}

.checklist-block {
  border-left: 4px solid var(--cyan);
}

.editorial-method {
  background: #f7fbff;
  border-color: #c8dff4;
}

.neighborhood-reference-block {
  background: #f8fbfa;
  border-color: #c7ded9;
}

.neighborhood-hard-data {
  background: #ffffff;
  border-color: #b8d3e8;
  box-shadow: 0 12px 30px rgba(12, 44, 66, 0.06);
}

.neighborhood-hard-data__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.neighborhood-hard-data__grid article {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.neighborhood-hard-data__grid h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 15px;
}

.neighborhood-hard-data__grid ul {
  margin: 0;
  padding-left: 18px;
}

.neighborhood-hard-data__grid li + li {
  margin-top: 6px;
}

.neighborhood-reference-block ul {
  margin: 16px 0 0;
}

.reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.reference-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.reference-links a:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.business-listing-block {
  padding-top: 28px;
}

.directory-listing-head {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.directory-listing-head h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.directory-filters .filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.business-card li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--primary);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.filter-chip {
  cursor: pointer;
  font-family: inherit;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.filter-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.business-card-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.business-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.business-card > div:first-child > span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 9px;
  color: var(--teal);
  background: #e7f7f4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.business-card p {
  color: var(--muted);
  line-height: 1.58;
}

.business-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.business-rating strong {
  color: #9b5d00;
}

.business-rating > span:last-child {
  color: var(--muted);
  font-weight: 700;
}

.star-meter {
  position: relative;
  display: inline-block;
  color: #d7dde3;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
}

.star-meter span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #f2a900;
  white-space: nowrap;
}

.review-summary {
  margin: 8px 0 0;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.business-verification {
  margin: 10px 0 0;
  padding: 10px 12px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}

.business-meta {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.business-meta div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.business-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.business-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.business-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.business-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.business-actions a + a {
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--line);
}

.business-actions .material-symbols-outlined {
  font-size: 19px;
}

.business-map {
  margin-top: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.business-map summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  cursor: pointer;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.business-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.directory-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.directory-category-card {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 190px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.directory-category-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.directory-category-card p {
  max-width: 54ch;
  color: var(--muted);
}

.directory-category-card div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.directory-category-block .section-title-row {
  align-items: end;
}

.directory-category-block .section-title-row a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.directory-how-to {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}

.directory-how-to h2 {
  margin-bottom: 10px;
}

.directory-how-to p {
  max-width: 68ch;
  margin-bottom: 0;
}

.directory-how-to ul {
  margin: 0;
  padding-left: 20px;
}

.directory-hub-page .article-hero-media {
  aspect-ratio: 16 / 5;
  max-height: 340px;
}

.directory-hub-page .article-hero-media img {
  height: 100%;
  object-fit: cover;
}

.category-link-card {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.category-link-card:hover {
  transform: translateY(-1px);
  border-color: var(--primary-bright);
  box-shadow: 0 10px 22px rgba(16, 42, 67, 0.08);
}

.category-link-card .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 18px;
  transition: transform 160ms ease;
}

.category-link-card:hover .material-symbols-outlined {
  transform: translateX(3px);
}

.directory-bottom-guide {
  background: #fffdf7;
  border-color: #f1dfac;
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.advice-grid article {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #ead9aa;
  border-radius: 8px;
}

.advice-grid h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 17px;
}

.advice-grid ul {
  padding-left: 18px;
}

.related-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.related-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-bright);
  box-shadow: var(--shadow);
}

.related-link-card h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.related-link-card p {
  margin: 0;
  color: var(--muted);
}

.related-link-action {
  margin-top: 0;
  white-space: nowrap;
}

.commercial-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 0 22px;
  padding: clamp(22px, 4vw, 34px);
  color: #ffffff;
  background: var(--primary);
  border-radius: 8px;
}

.commercial-cta .eyebrow {
  color: var(--cyan);
}

.commercial-cta h2 {
  color: #ffffff;
}

.commercial-cta p {
  margin-bottom: 0;
  color: #d8e7f7;
}

.commercial-actions {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.commercial-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--primary);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 6px;
  font-weight: 800;
}

.commercial-actions a.secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.form-block {
  border-top: 4px solid var(--cyan);
}

.business-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.business-form label span,
.business-form legend {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.business-form fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-wide {
  grid-column: 1 / -1;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.checkbox-grid label,
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  padding: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkbox-grid input,
.consent-row input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
}

.checkbox-grid label span,
.consent-row span {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.lead-preview {
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  color: var(--ink);
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.business-form.was-validated input:invalid,
.business-form.was-validated select:invalid,
.business-form.was-validated textarea:invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(186, 26, 26, 0.12);
}

.fact-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  list-style: none;
}

.fact-box li {
  min-height: 92px;
  padding: 16px;
  background: var(--surface-soft);
}

.fact-box strong,
.fact-box span {
  display: block;
}

.fact-box strong {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
}

.fact-box span {
  color: var(--muted);
  line-height: 1.35;
}

.content-block ol,
.content-block ul {
  margin-bottom: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.content-block p {
  color: var(--muted);
  line-height: 1.65;
}

.direct-answer {
  border-left: 4px solid var(--cyan);
}

.direct-answer p:first-of-type {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.source-list a {
  color: var(--primary);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.listing-grid {
  margin-bottom: 86px;
}

.mini-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  color: inherit;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.mini-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--primary-bright);
  box-shadow: var(--shadow);
}

.mini-card span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  color: var(--primary);
  font-size: 14px;
  font-weight: 850;
}

.mini-card .news-status {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini-card .material-symbols-outlined {
  font-size: 18px;
  transition: transform 160ms ease;
}

.mini-card:hover .material-symbols-outlined {
  transform: translateX(3px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.process-grid article {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 17px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.author-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.author-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--surface-strong);
}

.author-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.author-card p:not(.eyebrow),
.author-inline p:not(.eyebrow),
.author-strip p:not(.eyebrow),
.author-profile p {
  color: var(--muted);
  line-height: 1.58;
}

.author-inline,
.author-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: 18px;
}

.author-inline img,
.author-strip img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.author-inline h2,
.author-strip h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.author-inline p,
.author-strip p {
  margin-bottom: 0;
}

.author-strip {
  width: min(920px, 100%);
  margin-bottom: 28px;
}

.author-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border-radius: 6px;
  font-weight: 700;
}

.author-profile {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 92px) 0 84px;
}

.author-profile header {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  margin-bottom: 28px;
}

.author-profile header img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bottom-nav {
  display: none;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .top-search {
    display: none;
  }

  .nav {
    justify-content: flex-end;
    gap: 18px;
  }
}

@media (max-width: 920px) {
  .topbar {
    min-height: 64px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 14px;
  }

  .brand-logo {
    width: 188px;
  }

  .nav,
  .nav-action {
    display: none;
  }

  main {
    width: min(100% - 28px, 1280px);
  }

  .hero {
    min-height: auto;
    padding: 24px 0 36px;
    text-align: left;
    border-bottom: 0;
  }

  .hero-copy,
  .lead {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 17px;
  }

  .search-panel {
    margin-top: 22px;
  }

  .quick-access,
  .news-section,
  .authors-band {
    padding: 34px 0;
  }

  .quick-access-grid,
  .metrics-strip,
  .control-metrics,
  .control-action-grid,
  .control-card-grid,
  .process-grid,
  .cards,
  .neighborhoods,
  .collection-grid,
  .author-grid,
  .directory-stats,
  .directory-category-grid,
  .neighborhood-card-grid,
  .neighborhood-zone-grid,
  .neighborhood-hard-data__grid,
  .business-card-grid,
  .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-outcome ul {
    grid-template-columns: 1fr;
  }

  .news-layout,
  .section-grid,
  .council-band,
  .split,
  .newsletter,
  .commercial-cta,
  .notice-card--with-media,
  .related-link-grid,
  .related-link-card,
  .pleno-digest-grid,
  .advice-grid,
  .author-profile header {
    grid-template-columns: 1fr;
  }

  .commercial-actions {
    min-width: 0;
  }

  .control-row {
    grid-template-columns: minmax(170px, 1fr) minmax(160px, 0.9fr);
  }

  .control-row span:nth-child(3),
  .control-row span:nth-child(4) {
    display: none;
  }

  .section-heading {
    position: static;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    width: min(100% - 28px, 1280px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 92px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-bottom {
    display: grid;
  }

  .bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #ffffff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
  }

  .bottom-nav a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
  }

  .bottom-nav .material-symbols-outlined {
    font-size: 22px;
  }

  .bottom-nav a.is-active {
    color: var(--primary);
  }

  .bottom-nav a.is-active .material-symbols-outlined {
    display: grid;
    width: 42px;
    height: 30px;
    place-items: center;
    color: var(--primary);
    background: var(--cyan);
    border-radius: 8px;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: 176px;
  }

  .directory-listing-head {
    display: grid;
    gap: 8px;
  }

  .directory-category-block .section-title-row {
    display: grid;
    align-items: start;
  }

  .directory-category-block .section-title-row a {
    justify-content: center;
    width: 100%;
  }

  .directory-hub-page .article-hero-media {
    aspect-ratio: 16 / 6;
  }

  .directory-how-to {
    grid-template-columns: 1fr;
  }

  .notice-board-head {
    display: grid;
    align-items: start;
  }

  .news-date-filter {
    width: 100%;
  }

  .search-row,
  .metrics-strip,
  .control-metrics,
  .control-action-grid,
  .control-card-grid,
  .cards,
  .neighborhoods,
  .category-grid,
  .collection-grid,
  .author-grid,
  .directory-stats,
    .directory-category-grid,
    .neighborhood-card-grid,
    .neighborhood-zone-grid,
    .neighborhood-detail-grid,
    .neighborhood-hard-data__grid,
    .business-card-grid,
    .form-grid,
  .checkbox-grid,
  .pleno-digest-grid,
  .notice-card--with-media,
  .fact-box ul {
    grid-template-columns: 1fr;
  }

  .form-actions {
    display: grid;
  }

  .form-actions button,
  .form-actions a {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand img {
    width: 186px;
  }

  .quick-access-grid {
    gap: 10px;
  }

  .article-hero-media {
    width: min(100% - 24px, 1120px);
    margin-top: -18px;
  }

  .related-link-action {
    justify-content: center;
    width: 100%;
  }

  .quick-tile {
    min-height: 104px;
    padding: 14px;
  }

  .news-card img {
    height: 220px;
  }

  .author-card img {
    height: 240px;
  }

  .author-inline,
  .author-strip {
    grid-template-columns: 1fr;
  }

  .author-profile header img {
    width: 150px;
    height: 150px;
  }

  .metrics-strip article,
  .control-card,
  .control-metrics article,
  .card,
  .neighborhoods article {
    min-height: auto;
  }

  .control-row {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
  }

  .control-row span:nth-child(2) {
    font-size: 14px;
  }

  .section-title-row {
    align-items: flex-end;
  }

  .council-band,
  .newsletter {
    padding: 24px;
  }
}
