/* ============================================
   HEC SERVICE DOCTORS
   отдельный вывод врачей внутри страницы услуги
   не трогает старые .hec-doctor-card
   ============================================ */

.hec-service-doctors {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hec-service-doctor {
    width: 100%;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: center;
    padding: 20px;
    background: var(--color-white, #ffffff);
    border-radius: var(--radius-md, 8px);
    box-sizing: border-box;
}

.hec-service-doctor__photo {
    width: 180px;
    height: 180px;
    border-radius: 9999px;
    overflow: hidden;
    display: block;
    background: var(--color-bg-alt, #DCE0CF);
    text-decoration: none !important;
    flex-shrink: 0;
}

.hec-service-doctor__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
}

.hec-service-doctor__placeholder {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #4E5B31);
}

.hec-service-doctor__placeholder .dashicons {
    font-size: 42px;
    width: 42px;
    height: 42px;
}

.hec-service-doctor__body {
    min-width: 0;
}

.hec-service-doctor__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
}

.hec-service-doctor__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 10px;
    border-radius: 9999px;
    background: var(--color-primary-light, #DCE0CF);
    color: var(--color-primary-dark, #212B10);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
}

.hec-service-doctor__tag--experience {
    background: var(--color-primary-light, #DCE0CF);
    color: var(--color-primary-dark, #212B10);
}

.hec-service-doctor__tag--online {
    background: var(--color-accent-light, #E2E868);
    color: var(--color-primary-dark, #212B10);
}

.hec-service-doctor__name-link {
    color: inherit;
    text-decoration: none !important;
}

.hec-service-doctor__name-link:hover {
    text-decoration: none !important;
}

.hec-service-doctor__name {
    margin: 0 0 16px;
    color: var(--color-title-card-doctor, #212121);
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
}

.hec-service-doctor__position {
    margin: 0 0 26px;
    color: var(--color-text, #212121);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.hec-service-doctor__button {
    min-width: 160px;
    min-height: 44px;
    padding: 12px 28px;
    border-radius: 9999px;
    border: 1px solid var(--color-primary, #4E5B31);
    background: var(--color-primary, #4E5B31);
    color: var(--color-white, #ffffff) !important;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hec-service-doctor__button:hover {
    background: #62713F;
    border-color: #62713F;
    color: var(--color-white, #ffffff) !important;
    text-decoration: none !important;
}

.hec-service-doctors__empty {
    margin: 0;
    color: var(--color-text, #212121);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hec-service-doctor {
        grid-template-columns: 140px 1fr;
        gap: 28px;
        padding: 26px 28px;
    }

    .hec-service-doctor__photo {
        width: 140px;
        height: 140px;
    }

    .hec-service-doctor__name {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .hec-service-doctors {
        gap: 16px;
    }

    .hec-service-doctor {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 22px;
        text-align: center;
        justify-items: center;
    }

    .hec-service-doctor__photo {
        width: 132px;
        height: 132px;
    }

    .hec-service-doctor__body {
        width: 100%;
    }

    .hec-service-doctor__tags {
        justify-content: center;
        margin-bottom: 12px;
    }

    .hec-service-doctor__name {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hec-service-doctor__position {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .hec-service-doctor__button {
        width: 100%;
        max-width: 260px;
    }
}