/* Federal Policy Foundation white paper page (federal-policy-foundation.html) */
.wp-byline { font-size: .95rem; color: var(--muted, #5b6b7d); margin-top: .75rem; max-width: 72ch; }
.wp-toc { margin: 2rem 0; }
.wp-toc ol { columns: 2 260px; column-gap: 2rem; padding-left: 1.2rem; }
.wp-toc li { margin: .25rem 0; break-inside: avoid; }
.wp-body { max-width: 980px; }
.wp-body h2 { margin-top: 2.5rem; }
.wp-body h3 { margin-top: 1.75rem; }
.wp-body p, .wp-body li { max-width: 78ch; }
.wp-table { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid rgba(14, 42, 74, .14); border-radius: 12px; background: #fff; }
.wp-table:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.wp-table table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.wp-table th, .wp-table td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid rgba(14, 42, 74, .1); }
.wp-table thead th { background: #0E2A4A; color: #fff; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
.wp-table tbody th { font-weight: 700; color: #0E2A4A; }
.wp-table tbody tr:last-child th, .wp-table tbody tr:last-child td { border-bottom: 0; }
.wp-table a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
.callout .wp-table { margin-top: 1rem; }

/* Small screens: each table row becomes a labelled card (column heading shown above each value) */
@media (max-width: 640px) {
  .wp-table { overflow-x: visible; border: 0; background: transparent; }
  .wp-table table { min-width: 0; font-size: .92rem; }
  .wp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wp-table tbody, .wp-table tr, .wp-table th, .wp-table td { display: block; width: auto; }
  .wp-table tr { background: #fff; border: 1px solid rgba(14, 42, 74, .14); border-radius: 12px; padding: .35rem .2rem; margin: 0 0 .8rem; }
  .wp-table th, .wp-table td { border-bottom: 0; padding: .4rem .75rem; }
  .wp-table tbody tr > :first-child { font-weight: 700; color: #0E2A4A; font-size: 1rem; }
  .wp-table tbody tr > :not(:first-child)[data-label]::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase; color: var(--muted, #5b6b7d); margin-bottom: .15rem; }
}
