.texas-city-page {
  color: #17243a;
  background: #fff;
}

.texas-city-page [hidden] { display: none !important; }

.city-band {
  padding: 26px 0 32px;
  background: #f3f7fc;
  border-bottom: 1px solid #dbe4ee;
}

.city-band .container,
.city-directory,
.city-service-content { max-width: 1100px; }

.city-breadcrumb ol,
.city-alphabet ul,
.city-list,
.city-project-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 16px;
  font-size: .85rem;
  color: #526279;
}

.city-breadcrumb li + li::before {
  content: "/";
  color: #64748b;
  margin-right: 12px;
}

.city-band h1 {
  max-width: 22ch;
  margin: 0;
  color: #12223c;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -.045em;
}

.city-intro {
  max-width: 62ch;
  margin: 12px 0 0;
  color: #354a61;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.58;
}

.city-search {
  max-width: 720px;
  margin: 20px 0 0;
}

.city-search label { font-size: .9rem; font-weight: 750; }

.city-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
  align-items: end;
  gap: 12px;
  margin-top: 5px;
}

.city-search-input {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid #a5b8d0;
  background: white;
  border-radius: 6px;
}

.city-search-input:focus-within { outline: 2px solid #2563eb; outline-offset: 2px; }

.city-search input,
.city-search select,
.city-search button {
  min-height: 46px;
  font: inherit;
  font-size: 1rem;
  color: #17243a;
  background: #fff;
}

.city-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  outline: none;
}

.city-search input::-webkit-search-cancel-button { appearance: none; }

.city-search button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0 6px 6px 0;
  padding: 0 12px;
  color: #1d4ed8;
  font-weight: 700;
  cursor: pointer;
}

.city-search button:disabled { color: #53647a; cursor: default; }

.city-region { display: grid; gap: 5px; }
.city-search select { width: 100%; border: 1px solid #a5b8d0; border-radius: 6px; padding: 0 8px; }

.city-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.city-directory { padding-top: 20px; padding-bottom: 40px; }
.city-count { margin: 0 0 10px; color: #526279; font-size: .9rem; }

.city-alphabet ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.city-alphabet a {
  display: grid;
  min-width: 36px;
  min-height: 38px;
  place-items: center;
  border: 1px solid #dbe4ee;
  border-radius: 4px;
  color: #1e40af;
  font-size: .87rem;
  font-weight: 750;
}

.city-alphabet a:hover { background: #eff6ff; border-color: #9ab9ff; }
.city-alphabet, .city-group, #project { scroll-margin-top: 116px; }
.city-group { margin-top: 22px; }

.city-letter {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #cbdcf3;
}

.city-letter h2 { margin: 0; color: #17243a; font-size: 1.45rem; }
.city-letter a { font-size: .85rem; }
.city-group:target .city-letter { border-color: #2563eb; }
.city-group:focus, .city-alphabet:focus { outline: 2px solid #2563eb; outline-offset: 5px; }

.city-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
}

.city-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 3px 1px;
  min-height: 45px;
  border-bottom: 1px solid #e6ecf3;
}

.city-name { font-size: .96rem; }
.city-place small { display: block; }
.city-place small, .city-options small { color: #53647a; font-size: .74rem; line-height: 1.1; }
.city-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 8px; }
.city-options a { display: inline-flex; align-items: center; min-height: 38px; white-space: nowrap; font-size: .85rem; font-weight: 750; }
.city-options .city-statewide { color: #425d7d; font-weight: 600; text-decoration-thickness: 1px; }
.city-options .city-statewide + .city-statewide { padding-left: 4px; }
.city-directory a:not(.city-alphabet a),
.city-breadcrumb a,
.city-copy a, .city-project a, .city-price a, .city-related a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.city-directory .city-options .city-statewide { color: #425d7d; }

.city-empty { padding: 16px 0 20px; }
.city-empty p, .city-footer-inquiry { margin: 0; }
.city-footer-inquiry { padding-top: 22px; color: #354a61; }

.city-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.city-base { margin: 12px 0 0; color: #526279; font-size: .9rem; }

.city-service-content { padding-top: 28px; padding-bottom: 38px; }
.city-service-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: clamp(18px, 5vw, 54px); align-items: start; }
.city-copy section + section { margin-top: 24px; }
.city-service-content h2 { margin: 0 0 8px; color: #17243a; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.026em; }
.city-service-content p, .city-plan { margin: 0 0 10px; color: #354a61; line-height: 1.62; }
.city-plan { padding-left: 1.15em; }
.city-plan li + li { margin-top: 8px; }
.city-plan strong { color: #17243a; }

.city-project {
  padding: 20px;
  border: 1px solid #dbe4ee;
  border-top: 3px solid #2563eb;
  border-radius: 5px;
  background: #f8fafc;
}
.city-project .city-project-location { margin: -3px 0 12px; color: #526279; font-size: .88rem; }
.city-project-links { display: grid; gap: 7px; }

.city-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  margin-top: 26px;
  border-block: 1px solid #dbe4ee;
}
.city-next div { flex: 1 1 440px; }
.city-next .city-price { margin: 0; font-size: .9rem; }
.city-related, .city-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.city-related { margin-top: 16px; font-size: .9rem; }

@media (max-width: 860px) {
  .city-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .city-band { padding: 17px 0 22px; }
  .city-breadcrumb ol { margin-bottom: 12px; }
  .city-search { margin-top: 15px; }
  .city-service-grid { grid-template-columns: minmax(0, 1fr); }
  .city-service-content { padding-top: 22px; }
}

@media (max-width: 455px) {
  .city-band h1 { max-width: 19ch; }
  .city-search-controls { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .city-region { display: flex; align-items: center; gap: 8px; }
  .city-region select { min-height: 42px; }
  .city-options { flex: 0 0 auto; gap: 0 5px; }
  .city-options small { flex: 1 0 100%; text-align: right; margin-top: 4px; }
  .city-options a { min-height: 35px; font-size: .8rem; }
  .city-options .city-statewide + .city-statewide { padding-left: 0; }
}
