/* Licences and notices (/notices): the reading column of the legal pages, wide enough for one ruled table. */
.legal-box.legal-box-wide { max-width: 1080px; padding: 0 var(--gutter); }
.legal-body h3.r2-label { margin: 28px 0 10px; }
.legal-notices { width: 100%; table-layout: fixed; }
.legal-notices th, .legal-notices td { vertical-align: top; font-size: var(--text-sm); overflow-wrap: anywhere; }
.legal-notices thead th:nth-child(1) { width: 24%; }
.legal-notices thead th:nth-child(2) { width: 24%; }
.legal-notices thead th:nth-child(3) { width: 20%; }
.legal-notices tbody th { font-weight: 400; text-align: left; }
.legal-notices tbody th strong { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.legal-version { display: block; text-transform: none; letter-spacing: 0; margin-top: 2px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-muted); }
.legal-notice { display: block; margin-bottom: 4px; }
.legal-own { margin: 0 0 12px 20px; padding: 0; }
.legal-own li { margin-bottom: 6px; }

@media (max-width: 760px) {
  .legal-box.legal-box-wide { padding: 0 16px; }
  .legal-notices, .legal-notices tbody, .legal-notices tr, .legal-notices th, .legal-notices td { display: block; width: auto; }
  .legal-notices thead { display: none; }
  .legal-notices tr { padding: 10px 0; border-bottom: 1px solid var(--color-text); }
  .legal-box .legal-notices > tbody > tr > :is(th, td) { padding: 3px 0; border: 0; }
  .legal-notices td::before {
    content: attr(data-label); display: block;
    font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-text-muted);
  }
}
