/* ------------------------------ */
/* Data Tables
/* ------------------------------ */

/* Default Table */

.wp-block-table {
    border-width: 0.5rem;
    border-color: var(--wp--preset--color--neutral-lightest);
    border-style: solid;
}

.wp-block-table table {
    /* Wide tables will scroll horizontally on small screens */
    min-width: 500px;
}

.wp-block-table th,
.wp-block-table td {
    border: 0;
    padding: var(--wp--preset--spacing--small);
}

.wp-block-table th {
    text-align: left;
    font-size: var(--wp--preset--font-size--x-large);
}

.wp-block-table thead {
    border-bottom-width: 1px;
    border-bottom-color: var(--wp--preset--color--neutral-lightest);
    border-bottom-style: solid;
}

.wp-block-table tr:not(:first-child) {
    border-top-width: 1px;
    border-top-color: var(--wp--preset--color--neutral-lightest);
    border-top-style: solid;
}

/* Stripes Table */
/* Shades every other row */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: var(--wp--preset--color--neutral-lightest);
}


/* Airy Table (space between outer table border & data) */
.wp-block-table.is-style-airy {
    padding-left: var(--wp--preset--spacing--small);
    padding-right: var(--wp--preset--spacing--small);
}


/* Column Lines Table */
/* has vertical lines separating columns */
.wp-block-table.is-style-column-lines th,
.wp-block-table.is-style-column-lines td {
    border-right-width: 1px;
    border-right-color: var(--wp--preset--color--neutral-lightest);
    border-right-style: solid;right

    &:last-child {
        border-right: 0;
    }
}
