.cta.bg-blue {
    background-color: #E8F2F1;
}

.cta.bg-yellow {
    background-color: #FFFADF;
}

.cta.bg-white {
    background-color: var(--pure-white);
}

.cta .boxed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 140px;
    padding-bottom: 140px;
}

.cta .boxed > div {
    border-radius: 8px;
    padding: 80px 70px;
}

.cta .boxed .quote {
    background-color: var(--pure-white);
}

.cta.bg-white .boxed .quote {
    background-color: #F9FBFB;
}

.cta .boxed .quote .quote-container > span {
    color: var(--deep-teal);
    font-family: CrimsonPro-400, sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.9px;
}

.cta .boxed .quote .quote-container {
    position: relative;
    left: 50px;
}

.cta .boxed .quote > .quote-container::before {
    position: absolute;
    left: -50px;
    top: -30px;
    content: url("images/quotes.svg");
}

.cta .boxed .quote .author-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 55px;
}

.cta .boxed .quote .author-info > div > img {
    width: 73px;
    height: 73px;
    border-radius: 8px;
    object-fit: cover;
}

.cta .boxed .quote .author-info > div.media {
    position: relative;
    z-index: 1;
}

.cta .boxed .quote .author-info > div.media::after {
    content: url("images/image-background.png");
    position: absolute;
    left: -17px;
    bottom: -17px;
    z-index: -1;
}

.cta .boxed .quote .author-info > div.author {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted-green);
    font-size: 14px;
    font-family: Opensans-400, sans-serif;
}

.cta .boxed .quote .author-info > div.author > .caption {
    font-weight: 700;
}

.cta .boxed .form {
    background-color: var(--deep-teal);
}

.cta .boxed .form > h2.heading {
    color: var(--pure-white);
}

.cta .boxed .form > .content > p {
    color: var(--minty-green);
    margin-bottom: 30px;
}

.cta .boxed .form .form-container {
    position: relative;
    max-width: max-content;
}

.cta .boxed .form .form-container .form-caption {
    position: absolute;
    right: 20px;
    top: 100px;
    color: white;
}

.cta .boxed .form .form-container .form-caption > span {
    color: var(--minty-green);
    font-size: 14px;
    line-height: 36px;
    font-family: Opensans-400, sans-serif;
}

.cta .boxed .form .wpforms-container.inline-fields .wpforms-form {
    display: flex;
    gap: 4px;
    justify-content: start;
}

.cta .boxed .form .wpforms-container.inline-fields .wpforms-field-container {
    width: auto;
}

.cta .boxed .form .wpforms-container.inline-fields .wpforms-submit {
    background-color: var(--vibrant-orange);
    color: var(--deep-teal);
    font-family: Inter-Regular, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.cta .boxed .form .wpforms-container.inline-fields input.wpforms-field-medium {
    height: 50px;
}

.cta .boxed .form .wpforms-container.inline-fields .wpforms-submit::after {
    top: 3px;
    position: relative;
    padding-left: 10px;
    content: url("/wp-content/themes/generatepress_child/images/white-arrow.svg");
}

.cta .boxed .form .wpforms-container .wpforms-form .wpforms-field-label {
    color: var(--pure-white);
    font-family: Opensans-400, sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 12px;
}

.cta .boxed .form div.wpforms-container-full .wpforms-required-label {
    display: none;
}

@media only screen and (max-width: 768px) {
    .cta .boxed {
        padding-top: 60px;
        padding-bottom: 60px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .cta .boxed > div {
        padding: 20px 40px 20px 20px;
    }

    .cta .boxed .quote .quote-container > span {
        font-size: 22px;
    }

    .cta .boxed .quote .quote-container {
        left: 10px;
    }

    .cta .boxed .quote > .quote-container::before {
        left: -15px;
        top: -25px;
    }
}