.cta {
    position: relative;
    z-index: 1;
    background-color: #0063D8;
    padding: 115px 0 85px;
}

.cta.cta-balance{
    padding: 85px 0 85px;
}
.cta h3 {
    color: #fff;
}

.cta.no-wave{
   padding: 85px 0 85px;
}
.cta-wrapper:not(:has(.cta-button-right)) .cta-content-left{
    width: 100%;
    max-width: 100%;
}
.cta-wave-overlay {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.cta-overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -11;
}

.cta-content-left h2 {
    font-size: 35px;
    color: #FFFFFF;
    padding-bottom: 24px;
    padding-top: 0;
    background: none;
}

.cta-content-left p {
    font-size: 18px;
    color: #FFFFFF;
}

.cta-button-right {
    margin-top: 44px;
}

.cta-button-right .btn {
    display: block;
}

.cta-button-right .btn-secondary {
    background-color: #0093B2;
}

.cta-button-right .btn-secondary:hover {
    background-color: #48A9C5;
}

.cta-button-right  .btn::before {
    display: none;
}

.cta-button-right .btn-primary i {
    font-size: 9px;
    margin: 0 0 0 4px;
    vertical-align: middle;
    padding-bottom: 2px;
}

.cta-button-right .btn-secondary {
    margin-top: 15px;
}

.cta-button-right .btn-secondary i {
    font-size: 16px;
}

@media(min-width: 768px) {
    .cta {
        padding: 169px 0 85px;
    }

    .cta.cta-balance{
        padding: 85px 0 85px;
    }

    .cta.no-wave{
       padding: 85px 0 85px;
    }

    .cta-content-left h2 {
        font-size: 40px;
    }

    .cta-button-right {
        margin-top: 42px;
    }

    .cta-button-right .btn {
        display: inline-block;
        padding: 16px 44px 16px 44px;
    }

    .cta-button-right .btn-secondary {
        margin-top: 0;
        margin-left: 20px;
    }
}

@media(min-width: 1300px) {

    .cta {
        padding: 166px 0 112px;
    }

    .cta.no-wave{
        padding: 109px 0 109px !important;
    }


    .cta-overlay-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -11;
    }


    .cta-wave-overlay {
       
        top: -35px;
        
    }


    .wave-on .cta-wave-overlay {
       
        top: -35px;
        
    }

    .cta-content-left h2 {
        font-size: 50px;
        padding-bottom: 20px;
    }

}

@media(min-width: 1300px) {

    .cta-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        padding: 80px 0 0;
    }

    .cta-content-left {
        width: 100%;
        max-width: 844px;
    }

    .cta-button-right {
        width: calc(100% - 844px);
        padding-left: 27px;
        margin-top: 0;
        text-align: right;
    }

    .cta-button-right .btn-secondary {
        margin-left: 12px;
        padding: 16px 36px 16px 35px;
    }

    .cta-content-left p span {
        display: block;
    }
}
.cta a:not(.btn){
    color:#fff;
    text-decoration: underline;
    font-weight: normal;
}

/* Homepage refresh: seamless wave transition into the contact section above.
   Same technique as the .homepage-contact top wave: clip the CTA top edge into
   the wave shape and pull it up so it overlaps the contact section. The CTA's
   own background forms the wave peaks and the contact section shows through the
   troughs, so there is no flat fill color to match. The decorative SVG wave is
   not needed and is hidden. */
.page-template-homepage-refresh .cta {
    --cta-top-wave: calc(100vw * 192 / 1920);
    margin-top: calc(-1 * var(--cta-top-wave));

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201920%20192'%20preserveAspectRatio='none'%3E%3Cpath%20d='M1920%20160%20l-53.333%20-21.3%20c-53.333%20-21.7%20-160%20-63.7%20-266.667%20-53.4%20C1493.333%2096%201386.667%20160%201280%20160%20s-213.333%20-64%20-320%20-74.7%20C853.333%2075%20746.667%20117%20640%20133.3%20533.333%20149%20426.667%20139%20320%20144%20S106.667%20171%2053.333%20181.3%20L0%20192%20L1920%20192%20Z'%20fill='%23000'/%3E%3C/svg%3E") top / 100% var(--cta-top-wave) no-repeat,
        linear-gradient(#000, #000) bottom / 100% calc(100% - var(--cta-top-wave) + 1px) no-repeat;
    -webkit-mask-composite: source-over;
    mask:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201920%20192'%20preserveAspectRatio='none'%3E%3Cpath%20d='M1920%20160%20l-53.333%20-21.3%20c-53.333%20-21.7%20-160%20-63.7%20-266.667%20-53.4%20C1493.333%2096%201386.667%20160%201280%20160%20s-213.333%20-64%20-320%20-74.7%20C853.333%2075%20746.667%20117%20640%20133.3%20533.333%20149%20426.667%20139%20320%20144%20S106.667%20171%2053.333%20181.3%20L0%20192%20L1920%20192%20Z'%20fill='%23000'/%3E%3C/svg%3E") top / 100% var(--cta-top-wave) no-repeat,
        linear-gradient(#000, #000) bottom / 100% calc(100% - var(--cta-top-wave) + 1px) no-repeat;
    mask-composite: add;
}

.page-template-homepage-refresh .cta .cta-wave-overlay {
    display: none;
}