/**
 * AEC CTA Banner.
 */

.cta-banner {
    --cta-bg: #244f5f;
    --cta-heading: #ffffff;
    --cta-text: #ffffff;
    --cta-button-bg: #95df00;
    --cta-button-text: #244f5f;

    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 92px 32px 72px;
    background: var(--cta-bg);
    color: var(--cta-text);
}

.cta-banner *,
.cta-banner *::before,
.cta-banner *::after {
    box-sizing: border-box;
}

.cta-banner__inner {
    width: min(100%, 1240px);
    margin: 0 auto;
    text-align: center;
}

.cta-banner__heading {
    margin: 0;
    color: var(--cta-heading);
    font-size: clamp(52px, 5vw, 82px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.cta-banner__text {
    margin: 52px auto 0;
    color: var(--cta-text);
    font-size: clamp(22px, 1.65vw, 30px);
    font-weight: 400;
    line-height: 1.35;
}

.cta-banner__text p {
    margin: 0;
}

.cta-banner__actions {
    display: flex;
    justify-content: center;
    margin-top: 68px;
}

.cta-banner__button {
    display: inline-flex;
    min-width: 314px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 12px 34px;
    border-radius: 5px;
    background: var(--cta-button-bg);
    color: var(--cta-button-text);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        filter 180ms ease,
        box-shadow 180ms ease;
}

.cta-banner__button:hover,
.cta-banner__button:focus-visible {
    color: var(--cta-button-text);
    text-decoration: none;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.cta-banner__button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.editor-styles-wrapper .cta-banner {
    background: var(--cta-bg);
}

@media (max-width: 700px) {
    .cta-banner {
        padding: 70px 24px 62px;
    }

    .cta-banner__heading {
        font-size: clamp(42px, 11vw, 58px);
    }

    .cta-banner__text {
        margin-top: 30px;
        font-size: 20px;
    }

    .cta-banner__actions {
        margin-top: 42px;
    }

    .cta-banner__button {
        width: 100%;
        min-width: 0;
        max-width: 360px;
    }
}

/* ======================================================
   CTA Banner Typography Adjustment
   ====================================================== */

.cta-banner__button,
.cta-banner__button:link,
.cta-banner__button:visited{
    font-size:16px;
    font-weight:700;
    text-decoration:none !important;
}

.cta-banner__button:hover,
.cta-banner__button:focus,
.cta-banner__button:active{
    text-decoration:none !important;
}

