.editorial { max-width: 68rem; margin: 2rem auto 4rem; }
.editorial h1 { max-width: 24ch; text-wrap: balance; }
.editorial h2 { margin-top: 1.8rem; }
.editorial p, .editorial ol { max-width: 72ch; }
.editorial li { margin-block: .7rem; }
.editorial .editorial-note { border-inline-start: 3px solid currentColor; padding-inline-start: .8rem; font-size: .92rem; }
.editorial .editorial-action a { display: inline-block; padding: .7rem 1rem; border: 1px solid; font-weight: 650; }
.editorial nav { padding-block: 1rem; }


/* These editorial comparisons have named rows. Directory tables use a rank-first grid. */
.editorial-table {
  display: table;
  width: 100%;
  margin-block: 1.25rem;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--surface, var(--page));
  color: var(--ink);
}
.editorial-table thead {
  display: table-header-group;
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.editorial-table tbody { display: table-row-group; }
.editorial-table tr { display: table-row; padding: 0; border: 0; }
.editorial-table th, .editorial-table tbody td {
  display: table-cell;
  padding: .95rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  text-align: start;
  vertical-align: top;
  font: 400 1rem/1.55 var(--font-body, var(--sans));
  overflow-wrap: break-word;
  word-break: normal;
}
.editorial-table thead th {
  background: var(--tint);
  border-block: 1px solid var(--strong-rule);
  font-size: .875rem;
  font-weight: 650;
}
.editorial-table tbody th { font-weight: 700; }
.editorial-table tbody tr:nth-child(even) { background: var(--page); }
.editorial-table tbody td::before { content: none; }
.editorial-table a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.editorial-table tbody td a { display: inline; padding: 0; min-height: auto; }
.editorial-table[data-columns="2"] thead th:first-child { width: 27%; }
.editorial-table[data-columns="3"] thead th:first-child { width: 25%; }
.editorial-table[data-columns="3"] thead th:last-child { width: 19%; }
.editorial-table[data-columns="4"] thead th:first-child { width: 19%; }
.editorial-table[data-columns="4"] thead th:nth-child(2) { width: 25%; }

@media screen and (max-width: 54rem) {
  .editorial-table, .editorial-table tbody { display: block; background: transparent; }
  .editorial-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .editorial-table tbody tr {
    display: block;
    margin-block: .75rem;
    padding: 1rem;
    border: 1px solid var(--rule);
    border-radius: .5rem;
  }
  .editorial-table tbody tr, .editorial-table tbody tr:nth-child(even) {
    background: var(--surface, var(--page));
  }
  .editorial-table tbody th, .editorial-table tbody td {
    display: block;
    padding: 0;
    border: 0;
  }
  .editorial-table tbody th { font-size: 1.125rem; line-height: 1.4; }
  .editorial-table tbody td { margin-top: .75rem; }
  .editorial-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin: 0 0 .15rem;
    color: var(--muted);
    font: 600 .8125rem/1.4 var(--font-body, var(--sans));
    text-transform: none;
    letter-spacing: normal;
  }
}
