/* Content helpers shared by articles and pages. Linked site-wide from base.html. */

/* Wide tables (border crossings, price tables) scroll inside their own box
   on narrow screens instead of pushing the whole page sideways. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-scroll table {
  margin: 0;
  min-width: 34rem;
  border: 0;
}
.table-scroll th:first-child,
.table-scroll td:first-child { border-left: 0; }
.table-scroll th:last-child,
.table-scroll td:last-child { border-right: 0; }
.table-scroll tr:first-child th { border-top: 0; }
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll a { white-space: nowrap; }
