/*------------------------------------*\
    
    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: #44494D;
}

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

.bg-gray {
    background: var( --gray-01 );
}

.bg-dark-blue {
    background: #0B2747;
    color: var( --gray-01 );
}

.bg-dark-blue h2,
.bg-dark-blue h3 {
    color: var( --white );
}

.bg-dark-blue h4,
.bg-dark-blue h4 span {
    color: var( --secondary-color );
}

.bg-dark-blue p a:not(.btn) {
    color: var( --secondary-color );
}

.bg-dark-blue .btn-tertiary {
    color: var( --white );
    border-color: var( --white );
}

.wysiwyg.bg-dark-blue ul li {
    color: var( --white );
}

.pattern-bg {
    position: relative;
}

.pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 776px;
    max-width: inherit;
    height: 1151px;
    object-fit: cover;
}

.pattern-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom,  rgba(255,255,255,0.8) 0%,rgba(255,255,255,1) 100%);
}

.bg-skew {
    position: relative;
    background: linear-gradient(to bottom,  rgba(217,217,217,1) 0%,rgba(229,231,232,1) 100%);
}


.bg-skew::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 115px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    background: var( --white );
}

.bg-skew::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 26px;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    background: var( --white );
    z-index: 1;
}

.wysiwyg h4 {
    padding-left: 0;
    &::before {
        display: none;
    }
}


@media (min-width: 768px) {
    .pattern {
        width: 100%;
    }

    .bg-skew::before {
        height: 208px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    }

    .bg-skew::after {
        height: 50px;
    }
}

@media (min-width: 1200px) {
    .pattern {
        height: 1259px;
    }

    .bg-skew::before {
        height: 300px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
    }

    .bg-skew::after {
        height: 123px;
    }

    .bg-dark-blue p a:hover {
        color: var( --white );
        border-color: var( --white );
    }

    .bg-dark-blue .btn-tertiary:hover {
        color: #BECFD8;
        border-color: #BECFD8;
    }

    .bg-dark-blue .btn-read-more:hover {
        color: var( --white );
        background: transparent;
    }
}


.example-btns--padding .btn {
    margin-bottom: 15px;
}

.example-btns--padding {
    margin-bottom: -15px;
}

@media(min-width: 768px) {
    .example-btns--padding .btn {
        margin-bottom: 15px;
        margin-left: 15px;
    }

    .example-btns--padding {
        margin-left: -15px;
    }
}

@media(min-width: 1200px) {
    .example-btns--padding .btn {
        margin-bottom: 0;
    }

    .example-btns--padding {
        margin-bottom: 0;
    }
}