.city-directory, .city-page {
  padding-bottom: clamp(24px, 4vw, 48px);
}
.city-intro h1 {
  max-width: 24ch;
}
.city-route-list, .city-directory-list, .city-locations > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.city-route-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
}
.city-route-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 650;
  line-height: 1.3;
}
.city-route-list a:hover {
  background: var(--brand-light);
  text-decoration: underline;
}
.city-route-list a[aria-current="page"] {
  background: var(--brand-strong);
  color: var(--surface);
}
.city-navigation {
  margin-bottom: clamp(16px, 3vw, 26px);
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}
.city-filter {
  display: grid;
  grid-template-columns: minmax(0, 420px) auto;
  align-items: end;
  gap: .75rem 1.1rem;
  margin: .25rem 0 1.35rem;
}
.city-filter [role="status"] {
  margin: 0 0 .65rem;
  color: var(--muted);
}
.city-directory-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: .5rem 1.3rem;
  align-items: center;
  border-block-start: 1px solid var(--line);
  padding-block: 1rem;
}
.city-directory-entry h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
}
.city-directory-place p, .city-source-note {
  color: var(--muted);
  margin-top: .35rem;
}
.city-fee-panel, .city-online {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 3.5vw, 42px);
  align-items: center;
  padding: clamp(18px, 3vw, 36px);
  border-radius: 14px;
  background: var(--brand-light);
}
.city-fee-panel h2, .city-payment-tools h2, .city-page .city-locations h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
}
.city-fee-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1em .45em;
  margin: .25rem 0 .6rem;
  font-weight: 650;
  color: var(--brand-strong);
}
.city-fee-amount strong {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -.065em;
}
.city-fee-actions, .city-place-actions {
  display: grid;
  gap: .75rem;
  justify-items: start;
}
.city-calculator input {
  max-width: 10ch;
}
.city-calculator :is(p, output) {
  font-weight: 730;
}
.city-calculator output {
  margin-inline-start: .35em;
  color: var(--brand-strong);
}
.city-online {
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--paper);
}
.city-online .button {
  justify-self: start;
}
.city-online p, .city-locator p, .city-guidance > p, .city-reference > p {
  max-width: 70ch;
}
.city-online p, .city-locator h2 + p {
  margin-top: .5rem;
}
.city-locator {
  padding: clamp(16px, 3vw, 30px) 0 0;
  max-width: 55rem;
}
.city-locator form {
  display: grid;
  gap: .8rem;
  margin-block: 1rem .75rem;
}
.city-locator form label {
  max-width: 32rem;
}
.city-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.city-map-actions + [role="status"]:empty {
  display: none;
}
.city-place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .6fr);
  align-items: center;
  gap: .85rem 1.3rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.city-place h3 {
  font-size: 1.15rem;
}
.city-place p {
  margin-top: .3rem;
  max-width: 66ch;
}
.city-address {
  font-weight: 680;
  color: var(--brand-strong);
}
.city-page > .city-locations {
  background: var(--paper);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 36px);
}
.city-page > .city-locations .city-place:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.city-editorial {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  margin-top: clamp(27px, 5vw, 48px);
}
.city-editorial > section, .city-end {
  max-width: 67rem;
}
.city-editorial section > h2 + p, .city-guidance > p + p, .city-editorial section > h2 + ul {
  margin-top: .7rem;
}
.city-guidance {
  border-inline-start: 3px solid var(--brand);
  padding-inline-start: clamp(14px, 2vw, 24px);
}
.city-table {
  max-width: 38rem;
}
.city-table table {
  min-width: 0;
}
.city-faq {
  margin: 0;
  max-width: 49rem;
}
.city-references ul {
  padding-inline-start: 1.3rem;
}
.city-feature {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: clamp(14px, 3vw, 29px);
  align-items: center;
  max-width: 62rem;
  background: var(--paper);
  border-radius: 14px;
  padding: clamp(14px, 3vw, 28px);
}
.city-feature img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.city-feature figcaption {
  margin-top: .3rem;
  color: var(--muted);
}
.city-feature :is(p, .button) {
  margin-top: .65rem;
}
.city-end {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.city-end .city-route-list {
  margin-block: .55rem;
}
.city-page .passport-planner {
  width: 100%;
}
.city-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  padding-block: 1rem;
  margin-block: 1rem;
  border-block: 1px solid var(--line);
}
.city-overview :is(h2, p) {
  margin: 0;
}
.city-overview h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
}

@media (prefers-reduced-motion: no-preference) {
  .city-route-list a, .city-place-actions a, .city-overview a {
    transition: background-color .18s ease, box-shadow .22s ease, color .18s ease, transform .2s ease;
  }
  .city-route-list a:hover, .city-place-actions a:hover, .city-overview a:hover {
    transform: translateY(-2px);
  }
  .city-route-list a:hover {
    box-shadow: var(--lift);
  }
}
@media (max-width: 720px) {
  .city-directory-entry, .city-fee-panel, .city-online, .city-place, .city-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .city-route-list {
    gap: .25rem .4rem;
  }
  .city-route-list a {
    padding-inline: .55rem;
  }
}
@media (max-width: 420px) {
  .city-filter {
    grid-template-columns: minmax(0, 1fr);
    gap: .25rem;
  }
  .city-filter [role="status"] {
    margin-bottom: 0;
  }
  .city-directory-entry .city-route-list, .city-navigation .city-route-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media print {
  .city-intro, .city-navigation, .city-editorial, .city-overview {
    display: none !important;
  }
}
