/* Media list (/wissen/medien/): one table per publisher or line, built on glossar.css (hero, sections, notes).
   On narrow screens every row becomes a small card (the cells carry data-label), so nothing scrolls sideways. */
.md-method { font-size: 14.5px; color: var(--dim); max-width: 72ch; }
.md-method a, .md-table a, .md-intro a, .md-link a { color: var(--horizon); }
.md-group { margin: 0 0 30px; scroll-margin-top: 80px; }
.md-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 10px; }
.md-table caption { caption-side: top; text-align: left; padding: 0 0 10px; font: 600 17px/1.35 var(--f-body); color: var(--text); }
.md-n { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-left: 8px; white-space: nowrap; }
.md-table th, .md-table td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.md-table thead th { font: 600 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); overflow-wrap: normal; }
.md-table td.md-nw { white-space: nowrap; overflow-wrap: normal; }   /* numbers, years and issue counts never split */
.md-table tbody th { font-weight: 600; color: var(--text); min-width: 9em; }
.md-table td { color: var(--muted); }
.md-table tr { scroll-margin-top: 80px; }
.md-table tr:target th, .md-table tr:target td { background: rgba(255, 138, 43, 0.08); }
.md-perm { margin-left: 4px; color: var(--dim); text-decoration: none; font-weight: 400; }
.md-perm:hover, .md-perm:focus-visible, .md-table tr:hover .md-perm, .md-table tr:target .md-perm { color: var(--horizon); }
.md-intro { display: block; margin: 4px 0 0; font: 400 14px/1.5 var(--f-body); color: var(--dim); max-width: 76ch; }
.md-link { color: var(--dim); font-size: 14px; max-width: 76ch; margin: 0 0 8px; }

@media screen and (max-width: 960px) {
  .md-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .md-table, .md-table tbody, .md-table tr, .md-table th, .md-table td { display: block; }
  .md-table caption { display: block; }
  .md-table tr { padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
  .md-table th, .md-table td { border: 0; padding: 2px 0; min-width: 0; }
  .md-table td::before { content: attr(data-label); display: block; font: 600 10px/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
  .md-table tbody th { font-size: 16px; }
  .md-table td:has(> span[aria-hidden="true"]:only-child) { display: none; }
}
@media print {
  .md-perm { display: none; }
  .md-table, .md-table * { color: #000 !important; }
}
