/* CTA Banner */
.cta-banner {
    position: relative;
    overflow: hidden;
    min-height: 379px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-banner--dark {
    background-color: var(--color-blue-dark);
}

.cta-banner--blue {
    background-color: var(--color-blue);
}


.cta-banner__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    /* 15px gap between headline/body, button gets extra margin-top */
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    z-index: 1;
}

.cta-banner__headline {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-semibold);
    color: var(--color-white);
    line-height: 1.2;
    white-space: nowrap;
}

.cta-banner__body {
    font-size: var(--fs-md);
    color: var(--color-white);
    max-width: 795px;
    line-height: 1.5;
}

.cta-banner__btn {
    margin-top: 35px;
}

@media (max-width: 1023px) {
    .cta-banner {
        min-height: auto;
        padding: 60px 20px;
    }

    .cta-banner__inner {
        padding: var(--space-xl) 0;
    }

    .cta-banner__headline {
        font-size: var(--fs-3xl);
        white-space: normal;
    }

    .cta-banner__body {
        font-size: var(--fs-md);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .cta-banner {
        padding: 60px 40px;
    }
    .cta-banner__headline {
        font-size: var(--fs-4xl);
    }
}
