body[data-page="city"] {
  --max: 1120px;
  background: #efece4;
}

.city-mast {
  background: var(--ink);
  color: #fff;
  border-bottom: 4px solid var(--yellow);
}

.city-mast-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px 28px;
}

.city-mast .crumb {
  margin: 0 0 16px;
  color: #b8b8b8;
}

.city-mast .crumb a {
  color: #fff;
}

.city-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.city-mast h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.city-lede {
  margin: 0;
  max-width: 52ch;
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.55;
}

.city-mast-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.city-counts {
  display: flex;
  gap: 28px;
  margin: 0;
}

.city-counts div {
  min-width: 72px;
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
}

.city-counts strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.city-counts span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #b8b8b8;
}

.city-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.city-panel,
.city-side {
  background: #fff;
  border: 1px solid #d8d4c8;
}

.city-panel {
  padding: 0;
  margin-bottom: 20px;
}

.city-panel-head,
.city-side-head {
  padding: 16px 18px 14px;
  border-bottom: 1px solid #ece8dc;
}

.city-panel-head h2,
.city-side h2 {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.city-panel-head p,
.city-side-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.city-index {
  width: 100%;
  border-collapse: collapse;
}

.city-index th,
.city-index td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ece8dc;
}

.city-index thead th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7a7a;
  background: #f7f4ec;
}

.city-index tbody th {
  font-weight: 700;
}

.city-index tbody th a {
  font-size: 16px;
}

.city-index tbody th small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.city-index td {
  width: 88px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.city-index td:last-child {
  width: 64px;
  text-align: right;
}

.city-index td:last-child a {
  font-weight: 800;
  color: var(--ink);
}

.city-index tbody tr:hover {
  background: #fff8d4;
}

.city-firms {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.city-firms .firm-card {
  grid-template-columns: auto minmax(0, 1fr) max-content;
  border-radius: 4px;
  box-shadow: none;
}

.city-firms .firm-card:hover {
  transform: none;
  outline: 2px solid var(--yellow);
}

.city-firms .btn-call {
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  width: auto;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.city-prices {
  width: 100%;
  border-collapse: collapse;
}

.city-prices th,
.city-prices td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ece8dc;
  font-size: 14px;
}

.city-prices thead th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7a7a;
  background: #f7f4ec;
}

.city-prices tbody th {
  font-weight: 700;
}

.city-prices td:last-child {
  font-weight: 800;
  white-space: nowrap;
}

.city-price-note {
  margin: 0;
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 13px;
}

.city-side {
  padding: 0;
  margin-bottom: 16px;
}

aside {
  position: sticky;
  top: 16px;
}

.city-side.is-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.city-side.is-dark .city-side-head {
  border-bottom-color: #2c2c2c;
}

.city-side.is-dark h2,
.city-side.is-dark p {
  color: #fff;
}

.city-side.is-dark p {
  color: #cfcfcf;
}

.city-side-body {
  padding: 16px 18px 18px;
}

.city-urgent-trades a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ece8dc;
  text-decoration: none;
  font-size: 14px;
}

.city-urgent-trades a:hover {
  text-decoration: none;
}

.city-urgent-trades a:hover strong {
  text-decoration: underline;
}

.city-urgent-trades span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.city-urgent-list {
  margin-top: 12px;
}

.city-urgent-firm {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid #ece8dc;
}

.city-urgent-firm b {
  display: block;
  font-size: 13px;
}

.city-urgent-firm small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.city-urgent-firm .btn-call {
  justify-self: start;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  width: auto;
  max-width: 100%;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.city-grant p {
  hyphens: none;
  overflow-wrap: break-word;
}

.city-grant a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  font-size: 14px;
}

.city-vat {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.city-side.is-dark a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  margin-top: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.city-faq {
  padding: 4px 18px 10px;
}

.city-faq details {
  border-top: 1px solid #ece8dc;
  padding: 12px 0;
}

.city-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.city-faq p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.city-foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.city-foot h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.city-others {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-others a {
  display: inline-flex;
  flex-direction: column;
  min-width: 140px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #d8d4c8;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.city-others a:hover {
  outline: 2px solid var(--yellow);
  text-decoration: none;
}

.city-others em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .city-mast-row,
  .city-shell {
    grid-template-columns: 1fr;
  }

  aside {
    position: static;
  }

  .city-counts {
    padding-top: 8px;
  }
}

@media (max-width: 720px) {
  .city-mast-inner {
    padding: 18px 16px 22px;
  }

  .city-counts {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .city-counts div {
    min-width: 0;
  }
  .city-index,
  .city-index thead,
  .city-index tbody,
  .city-index tr,
  .city-prices,
  .city-prices thead,
  .city-prices tbody,
  .city-prices tr {
    display: block;
    width: 100%;
  }

  .city-index thead,
  .city-prices thead {
    display: none;
  }

  .city-index tbody tr {
    position: relative;
    padding: 12px 16px;
    border-bottom: 1px solid #ece8dc;
  }

  .city-index th,
  .city-index td,
  .city-prices th,
  .city-prices td {
    border: 0;
    width: auto;
    white-space: normal;
  }

  .city-index th {
    display: block;
    padding: 0 64px 2px 0;
  }

  .city-index td {
    display: inline;
    padding: 0;
  }

  .city-index td:nth-child(2)::after {
    content: " zaken";
  }

  .city-index td:nth-child(3)::before {
    content: " · ";
  }

  .city-index td.is-empty,
  .city-index td.is-empty::before {
    display: none;
  }

  .city-index td:last-child {
    position: absolute;
    right: 16px;
    top: 16px;
    text-align: right;
  }

  .city-prices tbody tr {
    padding: 12px 16px;
    border-bottom: 1px solid #ece8dc;
  }

  .city-prices th,
  .city-prices td {
    display: block;
    padding: 0;
  }

}
