/* 
 * Tables 
*/
.wp-block-table {
    overflow-x: auto;
    display: block;
}

.wp-block-table td,
.wp-block-table th {
    border: unset;
    padding: 8px 16px;
}

.wp-block-table table {
    border: 1px solid var(--wp--preset--color--so-blue-70);
    border-collapse: separate !important;
    border-radius: 4px;
    overflow: hidden;
    border-spacing: 0;
    min-width: 600px;
}

.wp-block-table thead,
.wp-block-table th,
.wp-block-table td {
    border-color: 1px solid var(--wp--preset--color--so-blue-70) !important;
    font-size: 16px;
    line-height: 1.7;
}

.wp-block-table thead {
    background-color: var(--wp--preset--color--so-blue-60);
    color: var(--wp--preset--color--so-white);
    font-weight: 600;
}

.wp-block-table th {
    text-align: unset;
}

/* Apply a border to the right of all but the last column */
.wp-block-table table th:not(:last-child),
.wp-block-table table td:not(:last-child) {
    border-right: 1px solid var(--wp--preset--color--so-blue-70) !important;
}

/* Apply a border to the bottom of all but the last row */
.wp-block-table table>thead>tr>th,
.wp-block-table table>thead>tr>td,
.wp-block-table table>tbody>tr:not(:last-child)>th,
.wp-block-table table>tbody>tr:not(:last-child)>td,
.wp-block-table table>tfoot>tr:not(:last-child)>th,
.wp-block-table table>tfoot>tr:not(:last-child)>td,
.wp-block-table table>tr:not(:last-child)>td,
.wp-block-table table>tr:not(:last-child)>th,
.wp-block-table table>thead:not(:last-child),
.wp-block-table table>tbody:not(:last-child),
.wp-block-table table>tfoot:not(:last-child) {
    border-bottom: 1px solid var(--wp--preset--color--so-blue-70) !important;
}

/* 
 * Featured (Stripes) table styles 
 */
/* Override stripe row backgrounds */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #fff;
}

/* Header column styling: first <td> or <th> in each row */
.wp-block-table.is-style-stripes tr td:first-child,
.wp-block-table.is-style-stripes tr th:first-child {
    background-color: var(--wp--preset--color--so-blue-60);
    color: #fff;
    font-weight: 600;
}