/* Shared primary navigation for every static city landing page. */
.city-page .topbar {
  max-width: none;
  margin: 52px 56px 0;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 18px 46px rgba(77, 86, 139, 0.10), 0 1px 0 rgba(255, 255, 255, 0.74) inset;
}

.city-page .topbar .brand {
  grid-column: 1;
  justify-self: start;
  margin: 0;
  color: #11131d;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.city-page .topbar nav {
  grid-column: 2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.6vw, 42px);
  flex-wrap: nowrap;
}

.city-page .topbar nav a {
  color: rgba(17, 19, 29, 0.68);
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, transform 0.18s ease;
}

.city-page .topbar nav a:hover,
.city-page .topbar nav a:focus-visible {
  color: #11131d;
  outline: none;
  transform: translateY(-1px);
}

.city-page .topbar-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.city-page .topbar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(17, 19, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #11131d;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.city-page .topbar-action--primary {
  border-color: #11131d;
  background: #11131d;
  color: #fff;
}

@media (max-width: 1180px) {
  .city-page .topbar {
    margin: 34px 32px 0;
    grid-template-columns: auto 1fr;
  }

  .city-page .topbar nav {
    grid-column: 2;
    justify-self: end;
    gap: clamp(14px, 2vw, 26px);
  }

  .city-page .topbar-actions {
    display: none;
  }
}

@media (max-width: 780px) {
  .city-page .topbar {
    margin: 18px;
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 24px;
  }

  .city-page .topbar .brand,
  .city-page .topbar nav {
    grid-column: 1;
    justify-self: start;
  }

  .city-page .topbar nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .city-page .topbar nav a {
    font-size: 14px;
  }
}
