@charset "UTF-8";
.cv-town-distances {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cv-town-distances__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.cv-town-distances__table caption {
  caption-side: top;
  padding: 0 0 8px;
  text-align: left;
  font-size: 0.875rem;
  color: #555;
}
.cv-town-distances__table th,
.cv-town-distances__table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  white-space: nowrap;
}
.cv-town-distances__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f3f4f6;
  padding: 0;
}
.cv-town-distances__table thead th button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.cv-town-distances__table thead th button::after {
  content: "↕";
  opacity: 0.35;
  font-size: 0.8em;
}
.cv-town-distances__table thead th button:focus-visible {
  outline: 2px solid #1a4e7c;
  outline-offset: -2px;
}
.cv-town-distances__table thead th[aria-sort=ascending] button::after {
  content: "▲";
  opacity: 1;
}
.cv-town-distances__table thead th[aria-sort=descending] button::after {
  content: "▼";
  opacity: 1;
}
.cv-town-distances__table tbody th,
.cv-town-distances__table thead th:first-child {
  position: sticky;
  left: 0;
  background: #fff;
}
.cv-town-distances__table thead th:first-child {
  z-index: 3;
  background: #f3f4f6;
}
.cv-town-distances__table tbody th {
  z-index: 1;
  font-weight: 600;
}
.cv-town-distances__table tbody tr:nth-child(even) td,
.cv-town-distances__table tbody tr:nth-child(even) th {
  background: #fafafa;
}
