/* Tables created in the block editor or classic editor. */
:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) .wp-block-table {
    width: 100%;
    max-width: 100%;
    margin: 28px 0;
    background: #fff;
    border: 1px solid #d6dee8;
    border-top: 3px solid #d9ab45;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(7, 23, 47, .08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table {
    width: 100%;
    margin: 28px 0;
    color: #314158;
    font-family: var(--cch-font-sans, "Manrope", system-ui, sans-serif);
    font-size: 15px;
    line-height: 1.55;
    border: 1px solid #d6dee8;
    border-top: 3px solid #d9ab45;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7, 23, 47, .08);
    overflow: hidden;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) .wp-block-table table {
    min-width: 680px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table th,
:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-right: 1px solid #e1e6ec;
    border-bottom: 1px solid #e1e6ec;
    overflow-wrap: anywhere;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table tr > :last-child {
    border-right: 0;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table tbody tr:last-child > td,
:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table tfoot tr:last-child > td {
    border-bottom: 0;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table tbody tr:nth-child(even) > td {
    background: #fbf7ed;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table tbody tr:hover > td {
    background: #f7efd9;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table tbody td:first-child {
    color: #172033;
    font-weight: 700;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table th,
:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table > tbody:first-child > tr:first-child > td {
    color: #fff;
    font-weight: 800;
    background: #07172f;
    border-color: #29415f;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table a {
    color: #0c6f72;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table a:hover,
:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table a:focus-visible {
    color: #9d6a00;
}

:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table caption,
:is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) .wp-block-table figcaption {
    padding: 10px 14px;
    color: #596b80;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

@media screen and (max-width: 767px) {
    :is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) .wp-block-table,
    :is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table {
        margin-top: 22px;
        margin-bottom: 22px;
    }

    :is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table {
        font-size: 14px;
    }

    :is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table th,
    :is(.space-page-content, .cch-editorial-content, .entry-content, .editor-styles-wrapper, .mce-content-body) table td {
        padding: 12px 13px;
    }
}
