/* 名师列表网格 */
.teacher-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 医生卡片 */
.doctor-card {
    width: 100%;
    height: 260px;
    display: flex;
    gap: 15px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    background-image: url('../assets/images/doctor_card_bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

.doctor-card:hover {
    transform: translateY(-10px);
    background-color: rgb(255, 249, 242);
    box-shadow: 0 8px 24px rgba(115, 76, 34, 0.25);
}

/* 医生照片 */
.doctor-photo {
    width: 190px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 医生信息 */
.doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* 医生头部 */
.doctor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.doctor-name {
    font-size: 18px;
    font-weight: 600;
    color: #734C22;
    margin: 0;
}

.doctor-card:hover .doctor-name {
    color: #734C22;
}

.doctor-detail-link {
    font-size: 14px;
    color: #B98751;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    cursor: pointer;
}

.doctor-detail-link:hover {
    color: #734C22;
}

/* Doctor Intro */
.doctor-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doctor-card:hover .doctor-intro {
    color: #734C22;
}
