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

.wp-block-table table {
    border: 1px solid var(--wp--preset--color--dark-green-70);
    border-collapse: separate !important;
    border-radius: 12px;
    overflow: hidden;
    border-spacing: 0;
}

.wp-block-table thead,
.wp-block-table th,
.wp-block-table td {
    border-color: var(--wp--preset--color--dark-green-70) !important;
}

.wp-block-table thead {
    background-color: var(--wp--preset--color--dark-green-90);
    color: var(--wp--preset--color--soft-green-5);
}

.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--dark-green-70);
}

/* 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--dark-green-70);
}

/* Featured Column Variant */
.wp-block-table.is-style-featured-column tr td:first-of-type {
    background-color: var(--wp--preset--color--dark-green-90);
    color: var(--wp--preset--color--soft-green-5);
    font-weight: 700;
}