.recommended-courses-item-new {
    width: calc(33.3% - 10px);
    margin-right: 10px;
    padding: 30px;
    background: radial-gradient( 117.49% 404.62% at 102.22% 0%, #8fbcff 0%, #3079d2 79.02% );
    mix-blend-mode: normal;
    border: 0.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 7px;
    color: #fff;
    margin-bottom: 20px;
}
.recommended-courses-background {
    position: absolute;
    z-index: 1;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.recommended-courses-background img {
    opacity: 0.1;
}
.recommended-courses-item-new {
    width: calc(33.3% - 10px);
    margin-right: 10px;
    padding: 30px;
    background: radial-gradient( 117.49% 404.62% at 102.22% 0%, #8fbcff 0%, #3079d2 79.02% );
    mix-blend-mode: normal;
    border: 0.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 7px;
    color: #fff;
}
.recommended-courses-background {
    position: absolute;
    z-index: 1;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.recommended-courses-background img {
    opacity: 0.1;
}
.section-courses-new{
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.catalog-courses-wrap {
    z-index: 2;
}

.catalog-courses-label {
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.catalog-courses-item {
    padding: 25px 20px 15px !important;
}

.prof-block {
    margin-bottom: 15px;
}

.catalog-courses-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Пример медиазапроса для изменения стилей на маленьких экранах */
@media screen and (min-width: 979px ) and ( max-width: 1460px) {
    .catalog-courses-container {
        flex-direction: column; /* Изменяем направление на вертикальное */
        align-items: flex-start; /* Выравниваем элементы слева */
    }

}
@media screen and (max-width: 460px) {
    .catalog-courses-container {
        flex-direction: column; /* Изменяем направление на вертикальное */
        align-items: flex-start; /* Выравниваем элементы слева */
    }

}

.catalog-card__block{
    background: linear-gradient(107.2deg, #FBFBFB 0%, #ECECEC 104.44%);
    border-radius: 15px;
}

.course-category__block{
    font-family: Wix Madefor Display;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.12px;
    color: black;
    margin-bottom: 10px;
}

.format-course{
    background: white;
    border-radius: 20px;
    border: 1px solid #093EB4;
    font-family: Wix Madefor Display;
    font-size: 10px;
    font-weight: 500;
    line-height: 15.12px;
    text-align: center;
    padding: 5px 10px;
    color: #000000;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.format-course_activ{
    background: #093EB4;
    color: white;
}

.catalog-courses-title_new{
    font-family: Wix Madefor Display;
    font-size: 26px;
    font-weight: 500;
    line-height: 32.76px;
    color: #093EB4;
    max-width: 100% !important;
    margin-top: 20px !important;
    display: block;
}

.catalog-newest-card__price_new{
    color: #093EB4;
    font-family: Wix Madefor Display;
    font-size: 20px;
    font-weight: 500;
    line-height: 25.2px;
}

.catalog-newest-card__oldprice_new{
    font-family: Wix Madefor Display;
    font-size: 20px;
    font-weight: 400;
    line-height: 25.2px;
    color: #093EB4;
    opacity: 30%;
    text-decoration: line-through;
    margin-left: 15px;
}

.course-date_text{
    font-family: Wix Madefor Display;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.12px;
    color: black;
}


.card-course_block-info{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.catalog-courses-item_new{
    padding: 30px !important;
    border: 1px solid #00000033;
    min-height: 290px;
}

.catalog-courses-container_new {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

.card-course_block-info-bt{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

@media screen and (max-width: 1588px) {
    .format-course{
        font-size: 10px;
        font-weight: 500;
        line-height: 10.08px;
        width: 100% !important;
        padding: 7px 17px;
    }
}
@media screen and (max-width: 700px) {
    .section-courses-new {
        display: grid !important;
        grid-template-columns: 1fr ;
        gap: 10px;
    }
}
@media screen and (max-width: 980px) {
    .catalog-courses-item {
        padding: 25px 20px 15px !important;
    }
    .format-course{
        font-size: 8px;
    }
    .catalog-courses-item_new {
        padding: 20px !important;
        min-height: 250px !important;
    }
    .catalog-courses-title_new {
        font-family: Wix Madefor Display;
        font-size: 18px;
        font-weight: 500;
        line-height: 21.24px;
    }

    .catalog-newest-card__oldprice_new {
        margin-left: 0px;
        font-size: 14px;
        font-weight: 400;
        line-height: 16.52px;
        order: -1;
    }
    .catalog-newest-card__price_new {
        font-family: Wix Madefor Display;
        font-size: 18px;
        font-weight: 500;
        line-height: 21.24px;
    }

    .catalog-courses-price{
        display: grid;
    }
    .course-date_text {
        font-size: 10px;
        font-weight: 500;
        line-height: 12.6px;
    }
    .card-course_block-info-bt {
        align-items: flex-end;
    }

    .catalog-courses-other_title {
        font-family: Wix Madefor Display;
        font-size: 24px;
        font-weight: 500;
        line-height: 30.24px;
    }
    .catalog-courses-other_info {
        font-family: Wix Madefor Display;
        font-size: 12px;
        font-weight: 500;
        line-height: 15.12px;
        margin: 0px !important;
    }
}
