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

.wp-block-table table,
table.ltk {
    border: 1px solid var(--wp--preset--color--so-gray-20);
    border-collapse: separate !important;
    border-radius: 4px;
    overflow: hidden;
    border-spacing: 0;
}

table.ltk {
    width: 100%;
}

.wp-block-table thead,
.wp-block-table th,
.wp-block-table td,
table.ltk thead,
table.ltk th,
table.ltk td {
    border-color: var(--wp--preset--color--so-gray-20) !important;
}

.wp-block-table thead,
table.ltk thead {
    background-color: var(--wp--preset--color--so-dusk-blue-10);
}

/* 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),
table.ltk th:not(:last-child),
table.ltk td:not(:last-child) {
    border-right: 1px solid var(--wp--preset--color--so-gray-20);
}

/* 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),
table.ltk>thead>tr>th,
table.ltk>thead>tr>td,
table.ltk>tbody>tr:not(:last-child)>th,
table.ltk>tbody>tr:not(:last-child)>td,
table.ltk>tfoot>tr:not(:last-child)>th,
table.ltk>tfoot>tr:not(:last-child)>td,
table.ltk>tr:not(:last-child)>td,
table.ltk>tr:not(:last-child)>th,
table.ltk>thead:not(:last-child),
table.ltk>tbody:not(:last-child),
table.ltk>tfoot:not(:last-child) {
    border-bottom: 1px solid var(--wp--preset--color--so-gray-20);
}

table.ltk td,
table.ltk th {
    padding: 8px;
}

/* Lists */
.wp-block-list,
ul {
    padding-inline-start: 18px;
}

/* Roundup Cards */
.roundup-card__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 8px;
}

.roundup-card__container .wp-block-buttons {
    width: 100%;
    display: block;
}

.roundup-card__container .wp-block-buttons .wp-block-button {
    width: 100% !important;
}

.roundup-card__container .wp-block-buttons .wp-block-button__link {
    padding: 16px 32px;
}

@media screen and (min-width: 620px) {
    .roundup-card__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px 8px;
    }
}

/* Paid Roundup Image & Text Icon */
.paid-roundup.p4-blocks-image-and-text__wrapper--icon .p4-blocks-image-and-text__icon--vertical .p4-blocks-image-and-text__icon--single-wrapper {
    align-items: flex-start;
}