/* BLOCK: CTA Section */

.block-cta-section .content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 0.75rem 1.875rem;
}

.block-cta-section .single-cta {
    display: flex;
    /* background-color: rgb(from var(--c-tertiary) r g b / .1); */
    background-color: #F3F4F7;
    border-radius: 4px;
    overflow: hidden;
}

.block-cta-section:not(.items-1) .single-cta {
    flex-direction: column;
}

.block-cta-section.items-1 .single-cta {
    flex-direction: row-reverse;
    align-items: center;
}

.block-cta-section.items-1 .single-cta .image-wrapper {
    flex-basis: 37%;
    align-self: stretch;
}

.block-cta-section .single-cta .image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.block-cta-section:not(.items-1) .single-cta .image-wrapper img {
    aspect-ratio: 2.575;
}

.block-cta-section.items-1 .single-cta .image-wrapper img {
    height: 100%;
    clip-path: url(#cpImageCTA);
}

.block-cta-section .single-cta .text-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.block-cta-section.items-1 .single-cta .text-wrapper {
    flex-basis: 63%;
    font-size: var(--font-21-16);
    padding: 5rem;
}

.block-cta-section.items-2 .single-cta .text-wrapper {
    padding: 3.75rem;
    font-size: var(--font-17-15);
}

.block-cta-section.items-3 .single-cta .text-wrapper {
    padding: 2.5rem;
    font-size: var(--font-13-15);
}

.block-cta-section .single-cta .text-wrapper .cta-buttons {
    gap: 0.625rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.block-cta-section:not(.items-1) .single-cta .text-wrapper .cta-buttons {
    margin-top: auto;
}

.block-cta-section.items-1 .single-cta .text-content:not(:last-child) {
    margin-bottom: 3.125rem;
}

.block-cta-section.items-1 .single-cta .text-content > * {
    margin-block: 0 2.5rem;
}

.block-cta-section.items-1 .single-cta .text-content > :where(h1, h2) {
    margin-bottom: 3.125rem;
}

.block-cta-section.items-2 .single-cta .text-content:not(:last-child) {
    margin-bottom: 2.5rem;
}

.block-cta-section.items-2 .single-cta .text-content > * {
    margin-block: 0 1.875rem;
}

.block-cta-section.items-2 .single-cta .text-content > :where(h1, h2) {
    margin-bottom: 2.5rem;
}

.block-cta-section.items-3 .single-cta .text-content:not(:last-child) {
    margin-bottom: 1.875rem;
}

.block-cta-section.items-3 .single-cta .text-content > * {
    margin-block: 0 1.5rem;
}

.block-cta-section.items-3 .single-cta .text-content > :where(h1, h2) {
    margin-bottom: 1.875rem;
}

.block-cta-section .single-cta .text-content > :last-child {
    margin-bottom: 0;
}

:where(.block-cta-section .single-cta .cta-buttons) .btn.tertiary svg {
    color: var(--c-secondary);
}

@media screen and (width <= 620px) {
    .block-cta-section.items-1 .single-cta {
        flex-direction: column;
    }
    .block-cta-section .single-cta .text-wrapper {
        padding: 1.875rem !important;
    }
    .block-cta-section .single-cta .text-content > * {
        margin-bottom: 1.5rem;
    }
    .block-cta-section .single-cta .text-content > :where(h1, h2) {
        margin-bottom: 2.5rem;
    }
    .block-cta-section .single-cta .text-content:not(:last-child) {
        margin-bottom: 1.875rem;
    }
    .block-cta-section.items-1 .single-cta .image-wrapper img {
        clip-path: url(#cpImageMobile);
    }
}