/*------------------------------------*\
    CTA
\*------------------------------------*/

.cta-section {
    padding: var(--fx-section-spacing-y) 0;
    position: relative;
    z-index: 1;
}

.cta-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 22;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(43, 123, 198, 0.85), rgba(43, 123, 198, 0.85));
}

.cta-section--bg-light-blue:before {
    background: linear-gradient(0deg, rgba(238, 245, 251, 0.85) 0%, rgba(238, 245, 251, 0.85) 100%);
}

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

.cta-section__container {
    margin: 0 -3.25rem;
}

.cta-section__inner {
    margin: 0 auto;
    padding: 0 calc(var(--fx-container-gutter-x) + 3.25rem);
    max-width: var(--fx-container-max-width);
    position: relative;
    z-index: 33;
    border-width: 10px 0;
    border-style: solid;
    border-color: var(--fx-color-light-sky-dark);
    border-radius: 31.25rem;
    text-align: center;
    background-color: var(--fx-color-light-sky);
    box-shadow: var(--fx-box-shadow);
}

.cta-section--bg-light-blue .cta-section__inner {
    border-color: var(--fx-color-white);
    background-color: var(--fx-color-sky-blue);
}

.cta-section__content {
    margin: 0 auto;
    padding: 4.1875rem 0;
    max-width: 65.125rem;
}

.cta-section__content .btn-group {
    flex-direction: row;
    justify-content: center;
}

.cta-section__content .subheading {
    margin-bottom: 0;
}

.cta-section__content :where(h1, h2, h3, h4, h5, h6, p:not(.subheading), ul, ol) {
    margin-bottom: 0.75rem;
}

.cta-section__content .btn-group {
    margin-top: 0;
}

@media (min-width: 768px) {
    .cta-section__container {
        margin: 0 auto;
        padding: 0 var(--fx-container-gutter-x);
    }

    .cta-section__inner {
        padding: 0 calc(5.83333333vw + 3.75rem);
    }

    .cta-section__content {
        padding: 3.25rem 0;
    }

    .cta-section__content .subheading {
        margin-bottom: 0.25rem;
    }

    .cta-section__content :where(h1, h2, h3, h4, h5, h6, p:not(.subheading), ul, ol) {
        margin-bottom: 1rem;
    }
}

@media (min-width: 1200px) {
    .cta-section__container {
        max-width: var(--fx-container-max-width);
    }

    .cta-section__content .subheading {
        margin-bottom: 0.5rem;
    }

    .cta-section__content :where(h1, h2, h3, h4, h5, h6, p:not(.subheading), ul, ol) {
        margin-bottom: 1.25rem;
    }
}