:root {
  --maroon: #4a182b;
  --maroon-900: #2b0e1a;
  --maroon-700: #6f2843;
  --tan: #d9bd84;
  --tan-100: #f8f1e3;
  --gold: #b98524;
  --ink: #1d242c;
  --muted: #59636e;
  --line: #dde3e8;
  --paper: #ffffff;
  --wash: #f4f7f9;
  --teal: #0c5b62;
  --blue: #275f90;
  --focus: #1f75cb;
  --shadow: 0 16px 40px rgba(29, 36, 44, .14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

img,
video,
iframe,
embed {
  max-width: 100%;
  height: auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a[href^="tel:"] {
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a[href^="tel:"]:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a[href^="tel:"] {
  text-decoration: none;
  transition:
    color .2s ease,
    text-decoration-color .2s ease;
}

footer a[href^="tel:"]:hover,
footer a[href^="tel:"]:focus-visible {
  color: var(--tan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.announcement {
  color: #fff;
  background: var(--maroon-900);
  border-bottom: 4px solid var(--tan);
  font-size: .94rem;
  overflow: hidden;
}

.announcement__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
  max-height: 42px;
  overflow: hidden;
}

.announcement__label {
  flex: 0 0 auto;
  position: sticky;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: .55rem .85rem .55rem 0;
  color: var(--tan);
  background: var(--maroon-900);
  box-shadow: .65rem 0 .85rem var(--maroon-900);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.announcement__marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: .55rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.announcement__marquee::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.announcement__marquee-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  animation: announcement-marquee var(--announcement-marquee-duration, 36s) linear infinite;
  will-change: transform;
}

.announcement__marquee:hover .announcement__marquee-track {
  animation-play-state: paused;
}

.announcement__marquee-text {
  flex: 0 0 auto;
  padding-right: 4rem;
  line-height: 1.2;
  white-space: nowrap;
}

@keyframes announcement-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 200;
  isolation: isolate;
  overflow: visible;
}

main {
  position: relative;
  z-index: 0;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  min-height: 102px;
  overflow: visible;
}

.topbar-lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
}

.brand img {
  width: 108px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  display: block;
  min-width: 0;
  color: var(--maroon);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.15;
}

.brand-name-line {
  display: block;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: .1rem;
}

.primary-nav-toggle,
.primary-nav-close,
.primary-nav-backdrop {
  display: none;
}

.primary-nav-toggle,
.primary-nav-close {
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.primary-nav-toggle:hover,
.primary-nav-toggle:focus-visible,
.primary-nav-close:hover,
.primary-nav-close:focus-visible {
  color: var(--maroon);
  background: var(--tan-100);
  border-color: var(--tan);
}

body.nav-scroll-lock {
  overflow: hidden;
}

nav,
.primary-navigation {
  position: relative;
  overflow: visible;
}

.header-menu-panel {
  min-width: 0;
}

.primary-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: .25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav > li {
  position: relative;
  list-style: none;
}

@media (min-width: 1101px) {
  .primary-nav > li.nav-item-has-mega:hover,
  .primary-nav > li.nav-item-has-mega:focus-within,
  .primary-nav > li.nav-item-has-mega.nav-open {
    z-index: 5;
  }
}

.primary-nav > li:last-child {
  position: relative;
}

.primary-navigation a,
.mega-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem .58rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: .92rem;
}

.mega-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.primary-navigation a:hover,
.mega-trigger:hover,
.mega-trigger[aria-expanded="true"],
.nav-link--hub:hover,
.nav-item-has-mega.nav-open > .nav-link--hub {
  color: var(--maroon);
  background: var(--tan-100);
}

.nav-link {
  gap: .45rem;
}

@media (min-width: 1101px) {
  .nav-link {
    white-space: nowrap;
  }
}

.mega-menu {
  position: absolute;
  z-index: 210;
  left: 50%;
  top: 100%;
  width: min(680px, calc(100vw - 32px));
  padding: .75rem .75rem .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--maroon);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(28, 22, 18, .12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .16s ease, transform .16s ease;
}

.mega-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.primary-nav > li:hover .mega-menu,
.primary-nav > li:focus-within .mega-menu,
.primary-nav > li.nav-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1101px) {
  .primary-nav > li:hover .mega-menu,
  .primary-nav > li:focus-within .mega-menu,
  .primary-nav > li.nav-open .mega-menu {
    transform: translate(-50%, 0);
  }
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .1rem .35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mega-grid a {
  display: block;
  min-height: 0;
  padding: .32rem .45rem;
  color: var(--ink);
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.28;
  text-decoration: none;
}

.mega-grid a:hover {
  color: var(--maroon);
  background: var(--tan-100);
}

.mega-menu-wide {
  width: min(960px, calc(100vw - 24px));
  padding: .6rem .65rem .7rem;
}

.mega-menu--departments {
  width: min(1120px, calc(100vw - 24px));
}

.mega-menu--departments .mega-group--with-links .mega-group-links {
  margin-top: .15rem;
}

.mega-menu--departments .mega-group-links a {
  font-size: .78rem;
  line-height: 1.35;
  padding: .24rem .35rem;
}

.mega-menu-split {
  width: min(560px, calc(100vw - 32px));
}

@media (min-width: 1101px) {
  .primary-nav > li:last-child .mega-menu {
    top: 100%;
    left: 0;
    right: auto;
    margin-top: 8px;
    transform: translateX(var(--mega-shift-x, 0));
    max-width: calc(100vw - 16px);
    z-index: 220;
  }

  .primary-nav > li:last-child .mega-menu.mega-menu-split {
    width: max-content;
    max-width: min(560px, calc(100vw - 24px));
  }

  .primary-nav > li:last-child .mega-menu.mega-menu-split .mega-columns {
    width: max-content;
    grid-template-columns: max-content;
  }

  .primary-nav > li:last-child .mega-menu.mega-menu-wide,
  .primary-nav > li:last-child .mega-menu.mega-menu--departments {
    width: min(960px, calc(100vw - 24px));
  }

  .primary-nav > li:last-child:hover .mega-menu,
  .primary-nav > li:last-child:focus-within .mega-menu,
  .primary-nav > li:last-child.nav-open .mega-menu {
    transform: translateX(var(--mega-shift-x, 0));
  }

  .primary-nav > li:last-child .mega-menu::before {
    left: var(--mega-arrow-x, 50%);
    transform: translateX(-50%) rotate(45deg);
  }
}

.mega-menu-split .mega-group-links a {
  font-size: .82rem;
  padding: .26rem .35rem;
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(var(--mega-column-count, 1), minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.mega-group {
  min-width: 0;
  padding: 0 .55rem;
  border-right: 1px solid rgba(0, 0, 0, .07);
}

.mega-group:first-child {
  padding-left: 0;
}

.mega-group:last-child {
  padding-right: 0;
  border-right: 0;
}

.mega-group-title {
  margin: 0 0 .35rem;
  padding-bottom: .3rem;
  color: var(--maroon);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.mega-group-title a {
  color: inherit;
  text-decoration: none;
}

.mega-group-title a:hover {
  color: var(--maroon-700);
  text-decoration: underline;
}

.mega-group-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mega-group-links li + li {
  margin-top: .05rem;
}

.mega-group-links a {
  display: block;
  min-height: 0;
  padding: .22rem .35rem;
  color: var(--ink);
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.mega-group-links a:hover {
  color: var(--maroon);
  background: var(--tan-100);
}

.primary-nav__row {
  display: flex;
  align-items: stretch;
  gap: .35rem;
}

.primary-nav__toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--maroon);
  cursor: pointer;
  font-family: inherit;
}

.primary-nav__toggle:hover,
.primary-nav__toggle:focus-visible {
  background: var(--wash);
  outline: none;
}

.primary-nav__toggle-icon {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
}

.nav-link--label {
  display: inline-flex;
  align-items: center;
  cursor: default;
}

.mega-group__row {
  display: block;
}

.mega-group__link,
.mega-group__solo-link {
  color: var(--maroon);
  text-decoration: none;
}

.mega-group__link {
  display: block;
  margin: 0;
  padding-bottom: .3rem;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mega-group__link:hover {
  color: var(--maroon-700);
  text-decoration: underline;
}

.mega-group--solo .mega-group__solo-link {
  display: block;
  margin: 0 0 .35rem;
  padding-bottom: .3rem;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.mega-group--solo .mega-group__solo-link:hover {
  color: var(--maroon-700);
  text-decoration: underline;
}

.mega-group--with-links .mega-group__row {
  margin: 0 0 .35rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--line);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}

.search {
  display: flex;
  align-items: center;
  width: min(190px, 17vw);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--wash);
}

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

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

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: .68rem .75rem;
  font-size: .95rem;
  color: var(--ink);
}

.search input::placeholder {
  color: #4a4038;
  opacity: 1;
}

.search button,
.pay-water {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  padding: 0 .5rem;
  color: var(--maroon-900);
  background-color: var(--wash);
  border-left: 1px solid var(--line);
}

.search button:hover,
.search button:focus-visible {
  color: #fff;
  background-color: var(--maroon-900);
  outline: none;
}

.search button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.pay-water {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem .9rem;
  border-radius: 6px;
  color: #fff;
  background-color: #5f1b31;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(43, 14, 26, .18);
}

.pay-water:hover,
.pay-water:focus-visible {
  color: #fff;
  background-color: #4d1628;
  outline: none;
}

.pay-water svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero {
  position: relative;
  min-height: 560px;
  padding: 0;
  color: #fff;
  background: var(--maroon-900);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 14, 26, .92) 0%, rgba(43, 14, 26, .76) 38%, rgba(43, 14, 26, .3) 72%, rgba(43, 14, 26, .12) 100%),
    linear-gradient(0deg, rgba(43, 14, 26, .52), transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  padding: 2.6rem 0 1.2rem;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--tan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--tan);
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  color: #f9f4ea;
  font-size: 1.24rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.05rem;
  border: 2px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.button.primary {
  color: var(--maroon-900);
  background: var(--tan);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .08);
}

.hero-copy .button {
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.hero-copy .button.primary:hover,
.hero-copy .button.primary:focus-visible {
  color: #fff;
  background: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

.hero-copy .button.secondary:hover,
.hero-copy .button.secondary:focus-visible {
  color: var(--maroon-900);
  background: var(--tan);
  border-color: var(--tan);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin-top: 1.45rem;
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  max-width: 132px;
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
  padding: .55rem .65rem .95rem;
  color: #fff;
  background: rgba(74, 24, 43, .96);
  border: 4px solid var(--tan);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  text-align: center;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.2;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.hero-action span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  color: var(--maroon);
  background: var(--tan);
  border-radius: 999px;
  font-size: .9rem;
  transition: background-color .2s ease, color .2s ease;
}

.hero-action svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-action:hover {
  color: var(--maroon-900);
  background: var(--tan);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
}

.hero-action:hover span {
  color: #fff;
  background: var(--maroon);
  transition: background-color .2s ease, color .2s ease;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: max(16px, calc((100vw - 1180px) / 2));
  top: 50%;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: .5rem;
  transform: translateY(-50%);
}

.hero-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff;
  background: rgba(0, 0, 0, .32);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
}

.dots {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-left: .35rem;
}

.dots button {
  width: 13px;
  height: 13px;
  min-width: 13px;
  min-height: 13px;
  padding: 0;
  border: 2px solid #fff;
  background: transparent;
  border-radius: 999px;
}

.dots button[aria-current="true"] {
  background: var(--tan);
  border-color: var(--tan);
}

section {
  padding: 4.75rem 0;
  scroll-margin-top: 150px;
}

.anchor-target {
  display: block;
  height: 0;
  scroll-margin-top: 150px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.7rem;
}

.section-heading h2 {
  margin-bottom: .35rem;
  color: var(--maroon-900);
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.section-heading p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.link-more {
  display: inline-block;
  color: var(--maroon);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition:
    color .2s ease,
    transform .2s ease,
    text-decoration-color .2s ease;
}

.message-panel .link-more:hover,
.message-panel .link-more:focus-visible,
.departments .link-more:hover,
.departments .link-more:focus-visible {
  color: var(--maroon-900);
  text-decoration: underline;
  text-decoration-color: var(--maroon-900);
  transform: translateX(3px);
}

.message-panel .eyebrow,
.service-panel .eyebrow,
.cta-band .eyebrow {
  color: var(--maroon-700);
}

.message-panel .eyebrow::before,
.service-panel .eyebrow::before {
  background: var(--maroon-700);
}

.mayor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 2rem;
  align-items: stretch;
}

.message-panel {
  padding: 2.4rem;
  background: #fff;
  border-left: 8px solid var(--tan);
  box-shadow: var(--shadow);
}

.message-panel blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
}

.message-panel__body {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.message-panel__body p {
  margin: 0 0 1rem;
}

.message-panel__body p:last-child {
  margin-bottom: 0;
}

.message-panel__action {
  margin: 1.25rem 0 0;
}

.message-panel cite {
  display: block;
  margin-top: 1.2rem;
  color: var(--maroon);
  font-style: normal;
  font-weight: 800;
}

.service-panel {
  padding: 2rem;
  color: #fff;
  background: var(--maroon);
}

.service-panel h3 {
  margin-bottom: 1rem;
  color: var(--tan);
  font-size: 1.4rem;
}

.service-list {
  display: grid;
  gap: .7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: .75rem .85rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
}

.service-list a:hover {
  background: rgba(255, 255, 255, .1);
}

.departments {
  background: var(--wash);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.dept-card,
.news-card,
.location-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.dept-card {
  min-height: 210px;
  padding: 1.25rem;
  text-decoration: none;
}

.dept-card:hover {
  border-color: var(--tan);
  box-shadow: 0 10px 24px rgba(29, 36, 44, .08);
}

.dept-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
}

.dept-icon svg {
  width: 24px;
  height: 24px;
}

.dept-icon--maroon { background: var(--maroon); color: #fff; }
.dept-icon--fire { background: linear-gradient(145deg, #b83218, #e85d2a); color: #fff; }
.dept-icon--code { background: linear-gradient(145deg, #1e5a6e, #2d8aa8); color: #fff; }
.dept-icon--animal { background: linear-gradient(145deg, #2d6a3e, #4a9d5c); color: #fff; }
.dept-icon--teal { background: var(--teal); color: #fff; }
.dept-icon--blue { background: var(--blue); color: #fff; }
.dept-icon--gold { background: var(--gold); color: var(--maroon-900); }

.dept-card h3 {
  margin-bottom: .45rem;
  color: var(--maroon-900);
  font-size: 1.15rem;
}

.dept-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
}

.news-events {
  background: #fff;
  padding-block: 3.25rem;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-card {
  padding: 1.25rem;
}

.tag {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .2rem .55rem;
  color: var(--maroon);
  background: var(--tan-100);
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
}

.news-card h3 {
  margin-bottom: .35rem;
  color: var(--maroon-900);
  font-size: 1.16rem;
}

.news-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.calendar-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--wash);
}

.calendar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .75rem;
  color: #fff;
  background: var(--maroon);
}

.calendar-top-main {
  display: grid;
  gap: .5rem;
}

.calendar-top h3 {
  margin: 0;
  font-size: 1.1rem;
}

.calendar-top .calendar-top-main h3 {
  color: #fff;
  /* text-decoration: none; */
}

.calendar-view-tabs {
  display: inline-flex;
  gap: .35rem;
  padding: .2rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.calendar-view-tab {
  min-height: 34px;
  padding: .35rem .85rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.calendar-view-tab.is-active {
  color: var(--maroon);
  background: #fff;
}

.calendar-category-filter {
  margin-left: auto;
}

.calendar-top select {
  min-height: 36px;
  padding: .4rem .55rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.calendar-expired-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
}

.calendar-expired-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--maroon);
}

.calendar-count {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.calendar-panel[hidden] {
  display: none !important;
}

.calendar-empty {
  margin: 0;
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}

.calendar-no-upcoming {
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
}

.calendar-no-upcoming p {
  margin: 0 0 .5rem;
  color: var(--maroon-900);
  font-weight: 800;
}

.calendar-no-upcoming-hint {
  color: var(--muted) !important;
  font-size: .92rem;
  font-weight: 500 !important;
  line-height: 1.5;
}

.calendar-no-upcoming .button.secondary {
  margin-top: .85rem;
  color: var(--maroon);
  background: #fff;
  border-color: var(--maroon);
}

.calendar-no-upcoming .button.secondary:hover,
.calendar-no-upcoming .button.secondary:focus-visible {
  color: #fff;
  background: var(--maroon);
  border-color: var(--maroon);
}

.event-list[hidden] {
  display: none !important;
}

.event[hidden] {
  display: none !important;
}

.event-list {
  display: grid;
  gap: .6rem;
  padding: .75rem;
  margin: 0;
  list-style: none;
  max-height: 21rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.event-list::-webkit-scrollbar {
  width: 8px;
}

.event-list::-webkit-scrollbar-track {
  background: transparent;
}

.event-list::-webkit-scrollbar-thumb {
  background: rgba(74, 24, 43, .22);
  border: 2px solid var(--wash);
  border-radius: 999px;
}

.event-list::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 24, 43, .38);
}

.event {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-date {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: var(--maroon-900);
  background: var(--tan-100);
  border: 1px solid #ead9b2;
  border-radius: 8px;
  text-align: center;
  font-weight: 900;
}

.event-date span {
  display: block;
  color: var(--maroon);
  font-size: 1.8rem;
  line-height: 1;
}

.event h4 {
  margin: 0 0 .15rem;
  color: var(--maroon-900);
  font-size: 1rem;
}

.event p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.event a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .55rem .75rem;
  color: var(--maroon);
  border: 1px solid var(--tan);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.event.is-expired {
  opacity: .72;
}

.event.is-expired .event-date {
  color: var(--muted);
  background: #f3f3f3;
  border-color: #ddd;
}

.home-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.home-calendar-month {
  margin: 0;
  color: var(--maroon-900);
  font-size: .95rem;
}

.home-calendar-nav-btn {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--maroon);
  background: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.home-calendar-grid {
  padding: .65rem .75rem .75rem;
}

.home-calendar-weekdays,
.home-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .25rem;
}

.home-calendar-weekdays {
  margin-bottom: .25rem;
}

.home-calendar-weekday {
  padding: .2rem;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.home-calendar-day {
  min-height: 58px;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.home-calendar-day.is-placeholder {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-calendar-day.is-today {
  border-color: var(--maroon);
  box-shadow: inset 0 0 0 1px var(--maroon);
}

.home-calendar-day-num {
  display: block;
  margin-bottom: .25rem;
  color: var(--maroon-900);
  font-size: .82rem;
  font-weight: 800;
}

.home-calendar-day-events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-calendar-day-events li {
  margin-bottom: .2rem;
}

.home-calendar-day-events a {
  display: block;
  overflow: hidden;
  color: var(--maroon);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-calendar-more {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
}

.locations {
  background: var(--maroon-900);
  color: #fff;
}

.locations .section-heading h2,
.locations .section-heading p {
  color: #fff;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.location-card {
  padding: 1.35rem;
  color: var(--ink);
}

a.location-card {
  display: block;
  text-decoration: none;
}

a.location-card:hover {
  border-color: var(--tan);
  box-shadow: 0 10px 24px rgba(29, 36, 44, .08);
}

.location-card h3 {
  margin-bottom: .5rem;
  color: var(--maroon);
}

.location-card p {
  margin-bottom: .25rem;
  color: var(--muted);
}

.cta-band {
  padding: 3.5rem 0;
  color: #fff;
  background: var(--teal);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin-bottom: .25rem;
  font-size: 2rem;
}

.cta-inner p {
  margin-bottom: 0;
  color: #eaf7f8;
}

.cta-band .button {
  flex-shrink: 0;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.cta-band .button.primary:hover,
.cta-band .button.primary:focus-visible {
  color: #fff;
  background: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

footer {
  color: #fff;
  background: var(--maroon);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

footer img {
  width: 138px;
  margin-bottom: 1rem;
}

footer h2,
footer h3,
footer .footer-col-title {
  color: var(--tan);
  margin: 0 0 .75rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

footer ul {
  display: grid;
  gap: .45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

footer a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-grid ul a {
  display: inline-block;
  text-decoration: none;
  transition:
    color .2s ease,
    transform .2s ease,
    text-decoration-color .2s ease;
}

.footer-grid ul a:hover,
.footer-grid ul a:focus-visible {
  color: var(--tan);
  text-decoration: underline;
  text-decoration-color: var(--tan);
  text-underline-offset: 4px;
  transform: translateX(3px);
}

.footer-site-name {
  margin: .5rem 0 .35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  padding: .4rem .85rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.footer-social .social-link:hover,
.footer-social .social-link:focus-visible {
  color: var(--maroon-900);
  background: var(--tan);
  border-color: var(--tan);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(43, 14, 26, .22);
  outline: none;
}

.legal {
  padding: 1rem 0;
  color: #f6ead0;
  background: var(--maroon-900);
  font-size: .92rem;
}

.legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.legal-copy {
  margin: 0;
  flex: 1 1 220px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}

.legal-nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color .2s ease,
    transform .2s ease,
    text-decoration-color .2s ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--tan);
  text-decoration-color: var(--tan);
  transform: translateY(-1px);
  outline: none;
}

.ada-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .75rem;
  border: 2px solid #f6ead0;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  min-height: 44px;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.ada-badge:hover,
.ada-badge:focus-visible {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: var(--tan);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(43, 14, 26, .22);
  outline: none;
}

.ada-badge-text {
  display: grid;
  line-height: 1.2;
  font-size: .78rem;
}

.ada-badge-text strong {
  font-size: .88rem;
  letter-spacing: .02em;
}

.ada-badge-icon {
  display: inline-flex;
  color: #f6ead0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 1101px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .topbar-lead {
    grid-column: 1;
    min-width: 0;
  }

  .header-menu-panel {
    display: contents;
  }

  .primary-navigation {
    grid-column: 2;
    min-width: 0;
  }

  .header-menu-panel > .header-actions {
    grid-column: 3;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: #fff;
    gap: .5rem;
  }

  .header-menu-panel > .header-actions .search {
    width: min(155px, 14vw);
  }

  .header-menu-panel > .header-actions .search input {
    padding: .62rem .55rem;
    font-size: .88rem;
  }

  .header-menu-panel > .header-actions .pay-water {
    padding: .65rem .72rem;
    font-size: .88rem;
    gap: .35rem;
  }

  .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .primary-nav {
    justify-content: flex-start;
    max-width: 100%;
  }

  .mega-group.has-children > .mega-group-links,
  .mega-group.has-children > .mega-group-links[hidden] {
    display: block !important;
  }
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr;
    padding: 1rem 0;
    min-height: auto;
    min-width: 0;
    max-width: 100%;
  }

  .topbar-lead {
    width: 100%;
  }

  .brand-text {
    overflow: hidden;
  }

  header {
    z-index: 200;
  }

  .primary-nav-toggle {
    display: inline-flex;
  }

  .primary-nav-backdrop {
    display: block;
    position: fixed;
    top: var(--mobile-header-offset, 5.5rem);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    background: rgba(29, 36, 44, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .primary-nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .header-menu-panel {
    position: fixed;
    top: var(--mobile-header-offset, 5.5rem);
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: min(100%, 360px);
    max-width: 100%;
    padding: .85rem .85rem 1.25rem;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 36px rgba(29, 36, 44, .16);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, visibility .24s ease;
    box-sizing: border-box;
  }

  .header-menu-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav-close {
    display: inline-flex;
    margin: 0 0 .35rem auto;
  }

  .primary-navigation {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .primary-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: .5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .primary-nav > li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .primary-nav > li.nav-item-has-mega {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .primary-nav__row,
  .mega-group__row {
    display: flex;
    align-items: stretch;
    gap: .5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .primary-nav__toggle,
  .mega-group__toggle {
    display: inline-flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    min-width: 2.75rem;
    min-height: 48px;
    align-self: stretch;
    padding: 0;
    box-sizing: border-box;
  }

  .primary-nav__toggle[aria-expanded="true"],
  .mega-group__toggle[aria-expanded="true"] {
    background: var(--tan-100);
    border-color: var(--tan);
  }

  .nav-item-has-mega.nav-open .nav-link--hub,
  .nav-item-has-mega.nav-open .nav-link--label {
    color: var(--maroon);
    background: var(--tan-100);
    border-color: var(--tan);
  }

  .primary-navigation .nav-link,
  .primary-navigation .nav-link--label,
  .primary-nav__row > .nav-link,
  .primary-nav__row > .nav-link--label {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: .8rem .95rem;
    justify-content: flex-start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: .95rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }

  .primary-navigation > .primary-nav > li > .nav-link {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: .8rem .95rem;
    justify-content: flex-start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: .95rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }

  .primary-nav > li:hover .mega-menu,
  .primary-nav > li:focus-within .mega-menu {
    display: none;
  }

  .primary-nav > li:hover .mega-menu,
  .primary-nav > li:focus-within .mega-menu,
  .primary-nav > li.nav-open .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav > li.nav-open > .mega-menu {
    display: block;
    height: auto;
    overflow: visible;
  }

  .mega-menu,
  .mega-menu.mega-menu-wide,
  .mega-menu.mega-menu--departments,
  .mega-menu.mega-menu-split {
    position: static;
    display: none;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0;
    padding: .5rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border-radius: 8px;
    background: var(--wash);
    box-shadow: none;
    box-sizing: border-box;
    overflow: visible;
  }

  .mega-columns,
  .mega-menu--departments .mega-columns {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .mega-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    border-right: 0;
    background: transparent;
    border-radius: 0;
    box-sizing: border-box;
  }

  .mega-group.has-children {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
  }

  .mega-group--solo {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .mega-group + .mega-group {
    margin-top: .45rem;
  }

  .mega-group--with-links .mega-group__row {
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }

  .mega-group__row {
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }

  .mega-group--solo .mega-group__solo-link {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: .75rem .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }

  .mega-group__link {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: .75rem .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }

  .mega-group-links {
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: .4rem 0 0;
    padding: 0;
    list-style: none;
    gap: .4rem;
    box-sizing: border-box;
  }

  .mega-menu--departments .mega-group--with-links .mega-group-links {
    margin: .4rem 0 0;
  }

  .mega-group.has-children.is-expanded > .mega-group-links,
  .mega-group.has-children > .mega-group-links:not([hidden]) {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .mega-group-links li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mega-group-links li + li {
    margin-top: 0;
  }

  .mega-group-links a,
  .mega-menu--departments .mega-group-links a,
  .mega-menu-split .mega-group-links a {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: .75rem .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }

  .header-menu-panel nav a:not(.nav-link):not(.mega-group__link):not(.mega-group__solo-link) {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .mega-menu::before {
    display: none;
  }

  .header-menu-panel .header-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: .5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .header-menu-panel .search {
    width: 100%;
  }

  .header-menu-panel .pay-water {
    width: 100%;
  }

  .primary-nav > li:last-child {
    position: relative;
  }

  .primary-nav > li:last-child .mega-menu-wide {
    left: 0;
    right: 0;
    transform: none;
  }

  .primary-nav > li:last-child:hover .mega-menu-wide,
  .primary-nav > li:last-child:focus-within .mega-menu-wide,
  .primary-nav > li:last-child.nav-open .mega-menu-wide {
    transform: none;
  }

  .primary-nav > li:last-child .mega-menu-wide::before {
    display: none;
  }

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

  .hero,
  .hero-content {
    max-width: 100%;
    overflow-x: clip;
  }

  .hero-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    gap: .65rem;
  }

  .hero-action {
    width: 100%;
    max-width: 118px;
    height: auto;
    aspect-ratio: 1;
    justify-self: center;
    gap: .45rem;
    padding: .5rem .55rem .85rem;
    font-size: .8rem;
  }

  .mayor-layout,
  .news-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .announcement__inner {
    align-items: center;
    flex-direction: row;
    gap: .75rem;
  }

  .announcement__label {
    font-size: .72rem;
    padding-right: .65rem;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 98px;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .hero,
  .hero-content {
    max-width: 100%;
    overflow-x: clip;
  }

  .hero-content {
    align-items: start;
    padding-top: 3rem;
  }

  .hero-copy p {
    font-size: 1.05rem;
  }

  .hero-controls {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    justify-content: center;
    margin-top: .35rem;
    padding: 0 0 1.25rem;
  }

  .card-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .35rem;
    margin-top: 1.2rem;
  }

  .hero-action {
    width: 100%;
    height: auto;
    min-height: 86px;
    gap: .35rem;
    padding: .55rem .3rem .7rem;
    border-width: 3px;
    font-size: .72rem;
  }

  .hero-action span {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    font-size: .78rem;
  }

  .hero-action svg {
    width: 18px;
    height: 18px;
  }

  .mega-menu--departments .mega-columns {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .cta-inner {
    display: block;
  }

  section {
    padding: 3.25rem 0;
  }

  .message-panel,
  .service-panel {
    padding: 1.4rem;
  }

  .event {
    grid-template-columns: 68px 1fr;
  }

  .event a {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .link-more {
    white-space: normal;
  }

  .legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .legal-copy {
    flex: 0 0 auto;
  }

  .ada-badge {
    width: 100%;
    justify-content: center;
  }

  .home-calendar-day {
    min-height: 50px;
    padding: .25rem;
    font-size: .68rem;
  }

  .home-calendar-weekday {
    font-size: .62rem;
    padding: .25rem .1rem;
  }
}

@media (max-width: 400px) {
  .container {
    width: min(100% - 16px, 1180px);
  }

  .topbar {
    gap: .55rem;
    min-height: auto;
    padding: .75rem 0;
  }

  .brand {
    min-width: 0;
    gap: .55rem;
  }

  .brand-text {
    font-size: .92rem;
  }

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

  .hero,
  .hero-content {
    min-height: auto;
  }

  .calendar-view-tabs {
    width: 100%;
    justify-content: stretch;
  }

  .calendar-view-tab {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: .45rem;
    font-size: .72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
