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

    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 {
    color: var(--body-color);
    position: relative;
}


.bg-white+.bg-white,
.bg-light-grey+.bg-light-grey,
.bg-black+.bg-black {
    padding-top: 0;
    margin-top: 0;
}


@media (min-width: 768px) {

    .bg-white+.cta,
    .cta+.bg-white {
        padding-top: 0;
        margin-top: 0;
    }

}

.bg-white {
    background: var(--white);
}

.bg-light-grey {
    background: var(--light-grey);
}

.bg-dark-grey {
    background: var(--dark-grey);
}

.bg-black {
    background: var(--black);
}

.bg-black,
.bg-dark-grey {
    color: var(--white);
}

.bg-black h1,
.bg-dark-grey h1,
.bg-black h2,
.bg-dark-grey h2,
.bg-black h3,
.bg-dark-grey h3,
.bg-black h4,
.bg-dark-grey h4,
.bg-black h5,
.bg-dark-grey h5,
.bg-black h6,
.bg-dark-grey h6,
.bg-black .sub-heading {
    color: var(--white);
}

.bg-black p a,
.bg-black li a,
.bg-dark-grey p a,
.bg-dark-grey li a {
    color: var(--white);
}

.bg-black ul li:before,
.bg-dark-grey ul li:before {
    background: var(--white);
}


@media (min-width: 1200px) {
    .wysiwyg p+ :is(h3) {
        padding-top: 16px;
    }

    .bg-black p a:hover,
    .bg-dark-grey p a:hover,
    .bg-black li a:hover,
    .bg-dark-grey li a:hover {
        color: var(--white);
        border-color: var(--white);
    }
}