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

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

.cta__wrapper__text {
    padding: 32px;
    background: var(--dark-blue);
    border-radius: 8px;
    color: var(--white);
    margin: 0 23px;
    position: relative;
}

.cta__wrapper__text:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 10px;
    border-radius: 8px;
    background: var(--primary-color);
    bottom: -5px;
    left: 50%;
    transform: translate(-50%, 0);
}

.cta__wrapper h1, 
.cta__wrapper h2, 
.cta__wrapper h3, 
.cta__wrapper h4, 
.cta__wrapper h5, 
.cta__wrapper h6, 
.cta__wrapper p,
.cta__wrapper .sub-heading {
    color: var(--white);
}
.cta__wrapper__text p a {
    background: linear-gradient(to bottom, rgba(251, 220, 24, .15) 0%, rgba(251, 220, 24, .15) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 0 0;
    color: var(--primary-color);
}
.cta__wrapper__text p a:hover {
    background-size: 4px 15px;
}
.cta--footer:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 49px;
    background: var(--gray-blue);
    z-index: -1;
}
a.btn.btn-border.btn-icon {
    color: #fff;
    border-color: #ffff;
}
.wysiwyg.bg-image {
    position: relative;
    color: white;
    overflow: hidden;
    min-height: 400px;
}

.wysiwyg.bg-image .wysiwyg__bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
}

.wysiwyg.bg-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #011627 0%, rgba(54, 74, 91, 0.80) 100%);
    z-index: 2;
}

.wysiwyg.bg-image .container {
    position: relative;
    z-index: 3;
}

.wysiwyg.bg-image a {
    background: linear-gradient(to bottom, rgba(251, 220, 24, 0.15) 0%, rgba(251, 220, 24, 0.15) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 0 0;
    color: var(--primary-color);
}
.wysiwyg.bg-image a:hover {
    background-size: 4px 15px;
}

.wysiwyg.bg-image h1, .wysiwyg.bg-image h2, 
.wysiwyg.bg-image h3, .wysiwyg.bg-image h4, 
.wysiwyg.bg-image h5, .wysiwyg.bg-image h6, 
.wysiwyg.bg-image .sub-heading, .wysiwyg.bg-image p {
    color: #fff;
}

.wysiwyg.bg-image blockquote, 
.cta__wrapper__text blockquote, 
.cta__wrapper blockquote, 
.cta__wrapper__text p blockquote {
    color: var(--white);
    background: var(--gray-blue);
  
}

.wysiwyg.bg-image .btn-secondary {
    color: var(--white);
    background: var(--gray-blue)
}

.wysiwyg.bg-image .btn-border {
    color: var(--gray-blue);
    background: transparent;
    border: 2px solid var(--gray-blue);
  
}

.wysiwyg.bg-image .btn-border {
    color: var(--white);
    border-color: var(--white)
}

.wysiwyg.bg-image .btn-white {
    background: var(--white)
}

.wysiwyg.bg-image .btn-tertiary {
    background: transparent;
    color: var(--gray-blue);
    border: none;
    border-radius: 0;
}
.wysiwyg.bg-image .btn-primary {
    color: var(--dark-blue);
    background: var(--primary-color);
}

@media(min-width: 768px) {
    .cta__wrapper__text {
        padding: 75px;
        margin: 0 89px;
    }

    .cta__wrapper__image-left {
        position: absolute;
        left: -43px;
        top: 0;
        width: 100px;
        height: 100%;
        border-radius: 8px;
        overflow: hidden;
    }

    .cta__wrapper__image-right {
        position: absolute;
        right: -43px;
        top: 0;
        width: 100px;
        height: 100%;
        border-radius: 8px;
        overflow: hidden;
    }

    .cta--footer:after {
        height: 90px;
    }
}


@media(min-width: 1200px) {
    .cta__wrapper__text {
        padding: 125px 100px;
        margin: 0 189px;
    }

    .cta__wrapper__image-left {
        left: -284px;
        width: 441px;
    }

    .cta__wrapper__image-right {
        right: -284px;
        width: 441px;
    }

    .cta--footer:after {
        height: 140px;
    }

    .cta__wrapper__text:after {
        width: 350px;
    }
}

@media(min-width: 1600px) {
    .cta__wrapper__text {
        margin: 0 306px;
    }

    .cta__wrapper__image-left {
        left: -167px;
    }

    .cta__wrapper__image-right {
        right: -167px;
    }
}