.card:hover .card__title {
    color: #df6435
}

.card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    justify-content:space-between;
    color: var(--color-primary);
}

.card--with-ad {
    position: relative
}

.card--with-ad::before {
    content: 'Реклама';
    position: absolute;
    top: 15px;
    left: 15px;
    background: #df6435;
    border-radius: 30px;
    width: 95px;
    height: 25px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    z-index: 1
}

.card:hover .card__picture {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.card__picture-wrapper {
    margin: 0 0 20px;
    text-align:center;
    width:370px;
    height:350px;
    overflow:hidden;
}
.card__picture {
    width: auto;
    height: auto;
    max-height:370px;
    max-width:370px;
    margin:0 auto;
    display:inline-block;
    vertical-align:middle;
    transition: all 1s;
}

.card__suptitle {
    font-weight: 600;
    font-size: 16px;
    color: #df6435;
    text-transform: uppercase;
    margin: 0 0 10px
}

.card__title {
    margin: 0 0 15px;
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
    max-height: 78px;
    overflow: hidden;
}

.card__price {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #00508b;
    margin-bottom: 20px
}

.card__description {
    margin: 0;
    font-size: 16px
}

.card__description p {
    margin: 0 0 5px
}

.card__description-paragraph {
    text-transform: uppercase
}

.card__description-paragraph--primary {
    font-weight: 600;
    color: #df6435
}

.card__more {
    margin-top: 25px
}

.card__subtitle {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase
}

.card__raiting {
    margin-top: auto;
    height: 40px
}

.card__school {
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    color: #df6435;
}
@media (max-width: 991.98px) {
    .cards .cards__list {
        -ms-grid-columns: (1fr) [ 2 ];
        grid-template-columns: repeat(2, 1fr);
    }
}
