.cta {
    position: relative;
    background: rgb(64, 192, 192);
    background: linear-gradient(90deg, rgba(64, 192, 192, 1) 0%, rgba(25, 40, 70, 1) 100%);
    color: #fff;
}

.cta.faded-teal {
    background: rgb(64, 192, 192);
    background: linear-gradient(90deg, rgba(64, 192, 192, 1) 0%, rgba(25, 40, 70, 1) 100%);
    color: #fff;
}

.cta-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.cta-content {
    padding: 44px 0 48px;
    position: relative;
    z-index: 1;
}

.cta h2,
.cta .cta-content-left .animated-text {
    color: #fff;
}

.cta-content-right {
    margin-top: 16px;
}

.cta .btn-primary {
    background-color: #fff;
    color: #30638E;
}

.text-cta {
    padding: 48px 0 114px;
    position: relative;
}

.text-cta:before {
    content: "";
    position: absolute;
    -webkit-clip-path: polygon(0 20%, 100% 0, 100% 80%, 0% 100%);
    clip-path: polygon(0 20%, 100% 0, 100% 80%, 0% 100%);
    background-color: #1593FF;
    width: 178px;
    height: 38px;
    left: 0;
    bottom: 19px;
    z-index: 3;
}

.text-cta.teal-blue:before {
    background-color: var(--teal);
}

.text-cta:after {
    content: "";
    position: absolute;
    -webkit-clip-path: polygon(0 20%, 100% 0, 100% 80%, 0% 100%);
    clip-path: polygon(0 20%, 100% 0, 100% 80%, 0% 100%);
    background-color: #192846;
    width: 115px;
    height: 35px;
    left: 0;
    bottom: 30px;
    z-index: 3;
}

.text-cta.hide-pattern::before,
.text-cta.hide-pattern::after,
.text-cta::before,
.text-cta::after {
    display: none;
}

.text-cta.pattern-light-blue::before {
    background-color: var(--lightblue);
}

.text-cta-content {
    padding-bottom: 32px;
}

.cta .cta-content-left p a {
    color: #fff;
}

.cta .cta-content-left p a {
    color: #fff;
}

.cta .cta-content-left p a:hover {
    color: #000;
}

@media(min-width: 768px) {
    .cta {
        background: linear-gradient(90deg, var(--teal) 0%, rgba(25, 40, 70, 1) 100%);
    }
    .cta-content {
        padding: 50px 0 54px;
    }
    .text-cta {
        padding: 64px 0 94px;
    }
    .text-cta:before {
        bottom: 0;
        left: -10px;
    }
    .text-cta:after {
        bottom: 11px;
        left: -10px;
    }
    .text-cta .btn {
        font-size: 18px;
        line-height: 1.5;
    }
    .text-cta--inner {
        margin-bottom: 50px;
    }
}

@media(min-width: 1200px) {
    .cta-content-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .cta-content-left {
        width: 709px;
    }
    .cta-content-right {
        width: 30%;
        margin: 0;
        text-align: right;
    }
    .cta-content-right .btn+.btn {
        margin-top: 15px;
    }
    .cta-content {
        padding: 96px 0;
    }
    .cta .btn-primary:hover {
        background: var(--teal);
        color: #fff;
    }
    .text-cta-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .text-cta-content {
        padding-bottom: 0;
        width: 65%;
        max-width: 710px;
        margin-right: 100px;
        flex-shrink: 0;
    }
    .text-cta:before {
        bottom: -20px;
        left: 0;
        width: 315px;
        height: 65px;
        -webkit-clip-path: polygon(0 30%, 100% 0, 100% 70%, 0% 100%);
        clip-path: polygon(0 30%, 100% 0, 100% 70%, 0% 100%);
    }
    .text-cta:after {
        bottom: -4px;
        left: 0;
        -webkit-clip-path: polygon(0 30%, 100% 0, 100% 70%, 0% 100%);
        clip-path: polygon(0 30%, 100% 0, 100% 70%, 0% 100%);
        width: 276px;
        height: 65px;
    }
    .text-cta--inner {
        margin-bottom: 90px;
    }
}

@media(min-width: 1600px) {
    .cta-content-right {
        width: 35%;
        max-width: 502px;
    }
    .cta-content-left {
        width: 60%;
        max-width: 1037px;
    }
    .text-cta-content {
        max-width: 920px;
    }
}

.teal-blue+.teal-blue,
.text-cta+.image-buttons-grid-popup {
    padding-top: 0;
}