/*
 * Homepage "An investment in knowledge..." section: replace the Swiper
 * carousel with a static 3-per-row layout so all cards show at once, with
 * no swipe/scroll needed. Flexbox (not grid) so an incomplete last row
 * centers itself instead of hugging the left edge. Scoped to
 * `.courses .courseSlider` only, since the Academy page
 * (`.swiper-container.courseSlider`) and the `.best-education-content
 * .courseSlider` instance reuse the same classes and must keep their
 * carousel behavior.
 */
.courses .courseSlider {
    overflow: visible;
}

.courses .courseSlider .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: auto;
    transform: none !important;
}

.courses .courseSlider .swiper-slide {
    flex: 0 0 calc((100% - 32px) / 3) !important;
    max-width: calc((100% - 32px) / 3);
    width: auto !important;
    height: auto;
    margin: 0 !important;
}

.courses .sliderArrowsWrap .slider-arrows-wrap {
    display: none;
}

@media (max-width: 767.98px) {
    .courses .courseSlider .swiper-slide {
        flex: 0 0 100% !important;
        max-width: 100%;
    }
}