/* Browser-stable layout for the three campaign evidence tables. */
.evidence-table-wrap,
.regional-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.evidence-data-table,
.regional-data-table {
  margin: 0;
}

/*
 * These tables scroll horizontally, not vertically. A sticky top offset on
 * their column headers creates an empty band inside the scroll container in
 * Chromium-based browsers, so the headers intentionally remain in normal
 * table flow.
 */
.evidence-data-table thead th,
.regional-data-table thead th {
  position: static;
  top: auto;
  z-index: auto;
}

.evidence-data-table caption,
.regional-data-table caption {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  white-space: nowrap;
}

@media (min-width: 821px) {
  .regional-data-table thead th:nth-child(4) {
    width: 26%;
  }

  .regional-data-table thead th:nth-child(5) {
    width: 24%;
  }

  .regional-email-link {
    white-space: nowrap;
    font-size: 0.76rem;
  }
}

@media (max-width: 820px) {
  .evidence-table-wrap,
  .regional-table-wrap {
    overflow: visible;
  }
}
