/* Keep comparison rows readable as vertical cards before their columns get cramped. */
@media (max-width: 1100px) {
  .cities-comparison-early .table-wrap,
  .fishing-guide-page .fishing-table-scroll,
  .photo-credits-page .credits-table-region {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .cities-comparison-early .simple-table,
  .fishing-guide-page .fishing-table,
  .photo-credits-page .credits-table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .cities-comparison-early thead,
  .fishing-guide-page .fishing-table thead,
  .fishing-guide-page .fishing-table-caption,
  .photo-credits-page .credits-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .cities-comparison-early tbody,
  .fishing-guide-page .fishing-table tbody,
  .photo-credits-page .credits-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
  }

  .cities-comparison-early tbody tr,
  .fishing-guide-page .fishing-table tbody tr,
  .photo-credits-page .credits-table tbody tr {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border, #d7ded8);
    border-radius: 9px;
    background: #fff;
  }

  .cities-comparison-early tbody th,
  .photo-credits-page .credits-table tbody th {
    display: block;
    min-width: 0;
    padding: .8rem .9rem;
    border-bottom: 1px solid var(--border, #d7ded8);
    background: #f7f1e5;
    overflow-wrap: anywhere;
  }

  .cities-comparison-early tbody td,
  .fishing-guide-page .fishing-table tbody td,
  .photo-credits-page .credits-table tbody td {
    display: block;
    min-width: 0;
    padding: .72rem .9rem;
    border-bottom: 1px solid var(--border, #d7ded8);
    overflow-wrap: anywhere;
  }

  .cities-comparison-early tbody td::before,
  .fishing-guide-page .fishing-table tbody td::before,
  .photo-credits-page .credits-table tbody td::before {
    display: block;
    content: attr(data-label);
    margin-bottom: .22rem;
    color: #56665d;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .03em;
    text-transform: uppercase;
  }

  .cities-comparison-early tbody td:last-child,
  .fishing-guide-page .fishing-table tbody td:last-child,
  .photo-credits-page .credits-table tbody td:last-child {
    border-bottom: 0;
  }

  .fishing-guide-page .fishing-table-scroll {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .fishing-guide-page .fishing-table tbody td:first-child {
    position: static;
    max-width: none;
    color: var(--fish-ink, #173e2f);
    background: #f4f8f7;
    font-weight: 750;
    box-shadow: none;
  }

  .fishing-guide-page .fishing-table tbody tr:nth-child(even) td:first-child {
    background: #f4f8f7;
  }

  .photo-credits-page .credits-table-region {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .photo-credits-page .credits-table tbody th {
    position: static;
    box-shadow: none;
  }

  .photo-credits-page .credits-table tbody tr:nth-child(even),
  .photo-credits-page .credits-table tbody tr:hover {
    background: #fff;
  }
}

@media (max-width: 700px) {
  .cities-comparison-early tbody,
  .fishing-guide-page .fishing-table tbody,
  .photo-credits-page .credits-table tbody {
    grid-template-columns: minmax(0, 1fr);
  }
}
