/* Баннер «Математика становится понятной» — на всю ширину экрана */
.free-lesson-section.free-lesson-section--math {
    background-image: none;
    background-color: #fff;
    padding: 0 0 36px;
    height: auto;
    overflow: visible;
    width: 100%;
}

.free-lesson-section.free-lesson-section--math.green-bg,
.free-lesson-section.free-lesson-section--math.blue-bg,
.free-lesson-section.free-lesson-section--math.red-version {
    background-image: none;
    background-color: #fff;
}

.free-lesson-section--math .container {
    width: 100% !important;
    max-width: none !important;
    height: auto;
    overflow: visible;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.free-lesson-math {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
}

.free-lesson-math__media {
    display: block;
    width: 100%;
    max-width: none;
    line-height: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.free-lesson-math__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.free-lesson-math__cta {
    text-align: center;
    padding: 0 16px;
}

.free-lesson-section--math .free-lesson-math__cta .yellow-btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .free-lesson-section.free-lesson-section--math {
        padding: 0 0 24px;
    }

    .free-lesson-math {
        gap: 16px;
    }

    .free-lesson-section--math .free-lesson-math__cta .yellow-btn {
        font-size: 13px;
        padding: 10px 22px;
        line-height: normal;
    }
}
