  .cta-image {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-image.teal {
    background-color: #e0f4f7;
}

.cta-image__content {
    max-width: 600px;
    width: 50%;
    z-index: 3;
    position: relative;
}

.cta-image__content h2 {
    font-weight: 700;
    font-size: 40px;
}

.cta-image__content span.line {
    width: 110px;
    height: 2px;
    margin-bottom: 30px;
    display: block;
    background-color: #2c3d4f;
}

.cta-image__content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.cta-image__content .cta a {
    border-radius: 4px;
    background-color: #2c3d4f;
    color: white;
    font-weight: 700;
    font-size: 18px;
    min-width: 240px;
    display: block;
    max-width: max-content;
    text-align: center;
    padding: 16px 48px;
    margin-top: 56px;
    position: relative;
    text-decoration: none;
}

.cta-image__content .cta a span {
    position: relative;
    z-index: 3;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.cta-image__content .cta a::after {
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: #ffcd05;
    content: "";
    position: absolute;
    z-index: 2;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 3px;
}

.cta-image__content .cta a:hover::after {
    width: 100%;
}

.cta-image__wrapper {
}

.cta-image__image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}
.cta-image__image img {
    object-fit: cover;
    object-position: center;
    width: 605px;
    height: 100%;
}

.cta-image.reverse .cta-image__content {
    margin-left: auto;
}

.cta-image.reverse .cta-image__image {
    left: 0;
}

@media screen and (max-width: 1250px) {
    .cta-image__image img {
        width: 500px;
    }
}

@media screen and (max-width: 1024px) {
    .cta-image__content h2 {
        font-size: 36px;
    }
    .cta-image__content {
        width: 100%;
        max-width: 100%;
        padding: 50px 0;
    }
    .cta-image__wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
    .cta-image__image {
        position: relative;
    }
    .cta-image__image img {
        width: 100%;
        height: 250px;
    }
    .cta-image {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .cta-image__content {
        padding: 100px 0;
    }
    .cta-image__content h2 {
        font-size: 26px;
    }
    .cta-image__content p {
        font-size: 18px;
    }
    .cta-image__content .cta a {
        font-size: 18px;
        width: 100%;
        max-width: 360px;
        width: 100%;
        padding: 12px 28px;
    }
}
