/* Paper Review 07: native two-column facts, with labels above values on phones. */
.wp-block-table {
    margin: 3rem 0 0;
    overflow: visible;
    color: var(--color-ink, #111826);
}
.wp-block-table > table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 4px solid var(--color-ink, #111826);
    background: var(--token-color-paper-000, #fff);
    box-shadow: 9px 9px 0 var(--token-color-red-500, #d9281f);
}
.wp-block-table th,
.wp-block-table td {
    padding: 20px 24px;
    border: 3px solid var(--color-ink, #111826);
    font-family: var(--font-body, "Atkinson Hyperlegible Next", sans-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.wp-block-table.is-style-faustdick-facts tr > :first-child {
    width: 25%;
    background: var(--token-color-yellow-300, #ffe16b);
    color: var(--color-ink, #111826);
    font-family: var(--font-body, "Atkinson Hyperlegible Next", sans-serif);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.wp-block-table.is-style-faustdick-header thead th {
    background: var(--token-color-yellow-300, #ffe16b);
    color: var(--color-ink, #111826);
    font-family: var(--font-display, "Barlow Condensed", sans-serif);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}
.wp-block-table.is-style-faustdick-stripes tbody tr:nth-child(odd) {
    background: var(--token-color-yellow-300, #ffe16b);
}
.wp-block-table a {
    color: var(--token-color-blue-500, #0b5fb8);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.wp-block-table a:hover,
.wp-block-table a:focus-visible {
    color: var(--color-ink, #111826);
}
.wp-block-table:not(.is-style-faustdick-facts) th { font-weight: 700; }
@media (max-width: 767px) {
    /* Only two-column facts stack; additional columns keep native table layout. */
    .wp-block-table.is-style-faustdick-facts:not(:has(tr > :nth-child(3))) > table {
        display: block;
        border-width: 3px;
        box-shadow: 6px 6px 0 var(--token-color-red-500, #d9281f);
    }
    .wp-block-table.is-style-faustdick-facts:not(:has(tr > :nth-child(3))) :is(thead, tbody, tfoot, tr) {
        display: block;
        width: 100%;
    }
    .wp-block-table.is-style-faustdick-facts:not(:has(tr > :nth-child(3))) :is(th, td) {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 16px 20px;
        border: 0;
        font-size: 19px;
        line-height: 28px;
    }
    .wp-block-table.is-style-faustdick-facts:not(:has(tr > :nth-child(3))) tr > :first-child {
        padding-block: 12px;
        line-height: 26px;
    }
    .wp-block-table.is-style-faustdick-facts:not(:has(tr > :nth-child(3))) tr + tr {
        border-top: 3px solid var(--color-ink, #111826);
    }
}
