/*
 * Блок «Услуги и цены» на странице врача (шаблон «7. Специалист», сниппет doctorServicePrices).
 * Строки размечены классами прайса страниц услуг (.prices__element, .prices__cost, .table_price_end,
 * .btn.prices__btn): раскладка и мобильная версия — оттуда, здесь только поправки под список врача.
 */
.doctor-prices {
    list-style: none;
    margin: 0;
    padding: 0;
}

.doctor-prices .prices__element:last-child {
    margin-bottom: 0;
}

.doctor-prices__name {
    display: flex;
    flex-direction: column;
    flex: 1 1 415px;
    gap: 4px;
}

.doctor-prices__link {
    color: #000;
    text-decoration: none;
}

.doctor-prices__link span {
    border-bottom: 1px solid #bfbfbf;
    transition: border-color .5s;
}

.doctor-prices__link:hover span {
    border-color: transparent;
}

.doctor-prices__note {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6b6b6b;
}

.doctor-prices__cost {
    margin: 0 24px;
}

.doctor-prices__cost--ask {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    white-space: normal;
}

@media only screen and (max-width: 1023px) {
    .doctor-prices__cost {
        margin: 0 24px 0 0;
    }
}

@media (max-width: 575px) {
    .doctor-prices .table_price_end a {
        width: 100% !important;
    }
}
