/*!
|--------------------------------------------------------------------------
| Call To Action
|--------------------------------------------------------------------------
*/

.mathb-cta {

    position: relative;

    padding: 80px 0;

    background: var(--mathb-color-surface);

    color: var(--mathb-color-text-light);

    overflow: hidden;

}

.mathb-cta-inner {

    display: grid;

    grid-template-columns: 2fr 1.5fr auto;

    gap: 60px;

    align-items: center;

}

/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/

.mathb-cta-title {

    margin: 0 0 20px;

    color: var(--mathb-color-primary);

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.2;

}

.mathb-cta-text {

    color: var(--mathb-color-text-light);

    opacity: .85;

    line-height: 1.8;

}

.mathb-cta-text p:last-child {

    margin-bottom: 0;

}
/*
|--------------------------------------------------------------------------
| Actions
|--------------------------------------------------------------------------
*/

.mathb-cta-actions {

    display: flex;

    justify-content: flex-end;

    align-items: center;

}

.mathb-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 220px;

    padding: 16px 34px;

    border: 2px solid var(--mathb-color-primary);

    border-radius: var(--mathb-border-radius);

    background: var(--mathb-color-primary);

    color: var(--mathb-color-background);

    font-size: 1rem;

    font-weight: 600;

    text-decoration: none;

    transition: all .25s ease;

}

.mathb-cta-button:hover {

    background: transparent;

    color: var(--mathb-color-primary);

    border-color: var(--mathb-color-primary);

    transform: translateY(-2px);

}

.mathb-cta-button:focus {

    outline: none;

    box-shadow: 0 0 0 4px rgba(214, 177, 106, .20);

}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 992px) {

    .mathb-cta {

        padding: 60px 0;

    }

    .mathb-cta-inner {

        grid-template-columns: 1fr;

        gap: 30px;

        text-align: center;

    }

    .mathb-cta-actions {

        justify-content: center;

    }

}

@media (max-width: 768px) {

    .mathb-cta {

        padding: 50px 0;

    }

    .mathb-cta-title {

        margin-bottom: 16px;

    }

    .mathb-cta-button {

        width: 100%;

        max-width: 320px;

    }

}

@media (max-width: 576px) {

    .mathb-cta {

        padding: 40px 0;

    }

    .mathb-cta-inner {

        gap: 24px;

    }

    .mathb-cta-title {

        font-size: 2rem;

    }

}