/*------------------------------------*\
    
    WebFX WYSIWYG Customizations - Global styling for all ACF WYSIWYG's

    Add custom WYSIWYG styling to this file if it should be applied to all ACF WYSIWYG's on the site
    Otherwise, put your block-specific styles in individual block stylesheets

\*------------------------------------*/

.wysiwyg {
    position: relative;
}

.wysiwyg__wrapper {
    margin: 0 auto;
    max-width: var(--content-max-width);
}

.wysiwyg p+h3,
.wysiwyg p+h4,
.wysiwyg p+h5,
.wysiwyg p+h6 {
    margin-top: 20px;
}

/* Tables */
.table-panel {
    margin: 0 0 20px;
    background: #FFFFFF;
    font-size: 15px;
    line-height: 1.73;
    color: #005140;
    overflow-x: auto;
}

.table-panel:not(.table-panel--simple) {
    padding: 35px;
    border-radius: 35px;
    border: 1px solid #F0F0F0;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.table-panel table {
    table-layout: fixed;
    width: 100%;
}

.table-panel tr:not(:first-child) {
    border-top: 1px solid #F0F0F0;
}

.table-panel :where(th, td) {
    padding: 12px 18px;
    text-align: left;
}

.table-panel :where(th, td):first-child {
    padding-left: 0;
}

.table-panel :where(th, td):last-child {
    padding-right: 0;
}

.table-panel th {
    color: #4B4790;
    font-weight: 800;
}

.table-panel td {
    color: #000;
    font-weight: 800;
}

@media (min-width: 768px) {
    .table-panel {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .table-panel {
        font-size: 18px;
    }

    .wysiwyg p+h3,
    .wysiwyg p+h4,
    .wysiwyg p+h5,
    .wysiwyg p+h6 {
        margin-top: 40px;
    }
}