.courses-highlight .carousel-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.courses-highlight h2 {
    color: var(--text-color-dark);
    font-family: var(--font-family-base);
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 46.8px */
    letter-spacing: -0.684px;
    text-align: center;
    width: 100%;
    margin-bottom: 64px;
}

.courses-highlight .swiper {
    margin: 0 8px;
}

.courses-highlight button svg {
    color: var(--text-color-white);
}

.courses-highlight .swiper-slide {
    width: auto;
}

.courses-highlight .swiper-wrapper {
    max-width: 1160px;
    padding-bottom: 16px;
}

.courses-highlight .courses-highlight-next-button,
.courses-highlight .courses-highlight-prev-button {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.courses-highlight-mobile {
    display: none;
}

@media screen and (min-width: 1024px) and (max-width: 1300px) {
    .courses-highlight {
        max-width: 960px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 1024px) {
    .courses-highlight.desktop {
        display: none;
    }
    .courses-highlight {
        padding: 0;
        overflow: hidden;
    }
    .courses-highlight h2 {
        text-align: center;
        padding: 0 36px;
    }

    .courses-highlight p {
        padding: 0 36px;
        text-align: center;
    }
    .courses-highlight-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .courses-highlight .swiper-wrapper {
        align-items: flex-start;
        justify-content: flex-start;
        padding-bottom: 24px;
    }

    .swiper-slide .course-card {
        min-width: 250px;
        width: 100%;
    }

    .courses-highlight-carousel {
        display: flex;
        width: 100%;
        margin-left: 36px;
    }

    .courses-highlight-carousel.swiper {
        margin-left: 24px;
    }

    .courses-highlight-carousel__controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 25px;
    }

    .courses-highlight-carousel__controls button svg {
        color: var(--text-color);
    }

    .courses-highlight .carousel-buttons {
        display: flex;
        gap: 16px;
    }

    .courses-highlight .courses-highlight-prev-button,
    .courses-highlight .courses-highlight-next-button {
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #e4e7ec;
        background-color: #fff;
    }

    #dots-courses-highlight .swiper-pagination-bullet {
        transition: all 0.3s ease, width 0.3s ease;
    }

    #dots-courses-highlight .swiper-pagination-bullet-active {
        background-color: var(--primary-color);
        width: 56px;
        border-radius: 10px;
    }

    #dots-courses-highlight {
        margin: 0;
        width: fit-content;
        position: static;
    }
}

@media screen and (max-width: 576px) {
    .courses-highlight p {
        display: none;
    }

    .courses-highlight h2 {
        color: var(--text-color-dark);
        color: #123164;
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%; /* 31.2px */
        letter-spacing: -0.456px;
        text-align: left;
        width: 100%;
        margin-bottom: 32px;
    }
}

@media screen and (max-width: 360px) {
    #dots-courses-highlight {
        width: 50%;
    }
}
