.specialist-card {
    display: grid;
    grid-template-columns: 1fr;
}

.specialist-card--two {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 60px;
}

@media (max-width: 767px) {
    .specialist-card--two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .specialist-card--two {
        row-gap: 40px;
    }
}

.specialist-card--not-page .c-card-specialist {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1199.98px) {
    .c-card-specialist {
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .c-card-specialist__photo {
        height: auto;
    }
}

@media (max-width: 1000px) {
    .specialist-card--not-page .c-card-specialist {
        max-width: 700px;
    }
    .c-card-specialist {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

@media (max-width: 1000px) {
    .c-card-specialist__photo {
        height: 61vw;
    }
}

@media (max-width: 767.98px) {
    .c-card-specialist__photo {
        height: 100vw;
        max-height: 600px;
    }
}

.c-card-specialist__params {
    margin-bottom: 30px;
}

@media (min-width: 1530px) and (max-width: 1750px) {
    .specialist-card--two .c-card-specialist__info {
        padding: 25px;
    }

    .specialist-card--two .c-card-specialist__mark img {
        height: 30px;
    }

    .specialist-card--two .c-card-specialist__rating {
        margin-bottom: 16px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .specialist-card--two .c-card-specialist__mark img {
        height: 30px;
    }

    .c-card-specialist__rating {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-box-align: start;
        align-items: flex-start;
    }
}


@media (max-width: 420px) {
    .specialist-card--two .c-card-specialist__mark img {
        height: 30px;
    }

    .c-card-specialist__rating {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-box-align: start;
        align-items: flex-start;
    }
}


@media (max-width: 1199.98px) {
    #s-specialists .c-card-specialist.is-transform-xl .c-card-specialist__info {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;

    }

    .c-card-specialist__buttons {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-box-align: center;
        align-items: center;
    }

    .c-card-specialist__buttons .t-button-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
}