/*------------------------------------*\
    
    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;
    color: var(--color-black-100);
}

.bg {
    position: relative;
    z-index: 1;
}

.bg__img {
    position: absolute;
    width: 100%;
    height: 606px;
    object-fit: cover;
    left: 0;
    top: 200px;
    z-index: -1;
}

.wysiwyg-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: auto;
    max-width: 80px;
    width: 100%;
    transform: rotateY(-180deg);
}

.wysiwyg__bg {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
}

.wysiwyg__wrapper {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.9);
}

@media (min-width: 768px) {
    .bg__img {
        height: calc(100% + 144px);
        top: -66px;
        opacity: 0.25;
    }
    
    .bg::after {
        content: '';
        position: absolute;
        top: -66px;
        left: 0;
        width: 100%;
        height: 278px;
        background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(237,241,246,1) 100%);
        z-index: -1;
    }

    .wysiwyg__wrapper {
        background: transparent;
    }

    .wysiwyg__wrapper__overlay {
        background: var(--color-white);
        border-radius: 10px;
        padding: 40px 25px;
    }
}


@media (min-width: 1200px) {
    .bg__img {
        height: calc(100% + 221px);
        top: -121px;
    }
    
    .bg::after {
        top: -121px;
    }

    .wysiwyg-image {
        position: absolute;
        right: auto;
        left: -5px;
        bottom: 0;
        max-width: 236px;
        transform: none;
    }

    .example-btns .btn-tertiary {
        margin-left: 32px;
        margin-top: 0;
    }

    .wysiwyg__wrapper__overlay {
        background: var(--color-white);
        border-radius: 10px;
        padding: 50px 107px;
    }
}