.breadcrumb {
    padding: 16px 0;
    color: #999;
    font-size: 14px;
    line-height: 20px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2f9b75;
}

.breadcrumb span {
    margin-left: 8px;
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #999;
}

.detail-publish-time {
    margin: 12px 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #999;
    font-size: 14px;
    line-height: 22px;
}

/* 医生主页 */
.doctor-profile {
    margin-bottom: 20px;
    padding: 28px 30px;
}

.doctor-profile-main {
    display: flex;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.doctor-profile-avatar {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    margin-right: 24px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 50%;
    cursor: pointer;
}

.doctor-profile-avatar img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.doctor-profile-content {
    min-width: 0;
    flex: 1;
}

.doctor-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.doctor-name-row h1 {
    margin: 0 12px 0 0;
    color: #333;
    font-size: 26px;
    font-weight: 600;
    line-height: 36px;
}

.doctor-title {
    display: inline-block;
    padding: 3px 10px;
    color: #2f9b75;
    font-size: 13px;
    line-height: 20px;
    background: #edf8f4;
    border-radius: 3px;
}

.doctor-hospital {
    margin: 0 0 8px;
    color: #444;
    font-size: 16px;
    line-height: 24px;
}

.doctor-department {
    margin: 0;
    color: #888;
    font-size: 14px;
    line-height: 22px;
}

.doctor-info-section {
    padding-top: 24px;
}

.doctor-skill-section {
    padding-top: 20px;
}

.doctor-section-title {
    position: relative;
    margin: 0 0 12px;
    padding-left: 12px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.doctor-section-title span {
    position: absolute;
    top: 5px;
    left: 0;
    width: 4px;
    height: 17px;
    background: #2f9b75;
    border-radius: 2px;
}

.doctor-info-text {
    color: #666;
    font-size: 15px;
    line-height: 28px;
    text-align: justify;
    word-break: break-word;
}

/* 科普列表 */
.doctor-article-box {
    padding-bottom: 20px;
}

.doctor-article-list {
    margin: 0;
    padding: 0 30px;
    list-style: none;
}

.doctor-article-list li {
    border-bottom: 1px solid #eee;
}

.doctor-article-list li:last-child {
    border-bottom: 0;
}

.doctor-article-link {
    display: flex;
    align-items: center;
    padding: 22px 0;
    color: inherit;
    text-decoration: none;
}

.doctor-article-content {
    min-width: 0;
    flex: 1;
}

.doctor-article-title {
    margin: 0 0 10px;
    overflow: hidden;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.doctor-article-link:hover .doctor-article-title {
    color: #2f9b75;
}

.doctor-article-description {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: #777;
    font-size: 14px;
    line-height: 24px;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.doctor-article-meta {
    color: #aaa;
    font-size: 13px;
    line-height: 20px;
}

.doctor-article-category {
    display: inline-block;
    margin-right: 15px;
    color: #2f9b75;
}

.doctor-article-cover {
    flex: 0 0 150px;
    width: 150px;
    height: 95px;
    margin-left: 20px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 4px;
}

.doctor-article-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.doctor-article-link:hover .doctor-article-cover img {
    transform: scale(1.04);
}

/* 空状态 */
.doctor-empty {
    padding: 70px 20px;
    color: #aaa;
    font-size: 14px;
    text-align: center;
}

.doctor-empty-small {
    padding: 25px 15px;
    color: #aaa;
    font-size: 13px;
    text-align: center;
}

.doctor-article-title-row {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-bottom: 10px;
}

.doctor-article-title-row .doctor-article-title {
    min-width: 0;
    flex: 1;
    margin: 0;
}

/* 类型图标公共样式 */
.science-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    margin-right: 9px;
    border-radius: 50%;
    transition:
            transform 0.2s,
            box-shadow 0.2s;
}

.science-type-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.science-type-icon .science-icon-fill {
    fill: currentColor;
    stroke: none;
}

.doctor-article-link:hover .science-type-icon {
    transform: scale(1.08);
}

/* 语音：绿色 */
.science-type-voice {
    color: #2f9b75;
    background: #eaf7f2;
}

.doctor-article-link:hover .science-type-voice {
    box-shadow: 0 3px 10px rgba(47, 155, 117, 0.2);
}

/* 视频：红色 */
.science-type-video {
    color: #f05b5b;
    background: #fff0f0;
}

.doctor-article-link:hover .science-type-video {
    box-shadow: 0 3px 10px rgba(240, 91, 91, 0.2);
}

/* 问答：橙色 */
.science-type-question {
    color: #ee942f;
    background: #fff5e8;
}

.doctor-article-link:hover .science-type-question {
    box-shadow: 0 3px 10px rgba(238, 148, 47, 0.2);
}

/* 文章：蓝色 */
.science-type-article {
    color: #4b86d9;
    background: #edf4ff;
}

.doctor-article-link:hover .science-type-article {
    box-shadow: 0 3px 10px rgba(75, 134, 217, 0.2);
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 15px;
        font-size: 13px;
    }
    .detail-publish-time {
        margin: 10px 0 16px;
        padding-bottom: 12px;
        font-size: 13px;
    }
    .doctor-profile {
        margin-bottom: 12px;
        padding: 20px 15px;
    }

    .doctor-profile-main {
        align-items: flex-start;
        padding-bottom: 20px;
    }

    .doctor-profile-avatar {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
        margin-right: 15px;
    }

    .doctor-name-row {
        margin-bottom: 7px;
    }

    .doctor-name-row h1 {
        margin-right: 8px;
        font-size: 21px;
        line-height: 30px;
    }

    .doctor-title {
        padding: 1px 7px;
        font-size: 12px;
    }

    .doctor-hospital {
        margin-bottom: 3px;
        font-size: 14px;
    }

    .doctor-department {
        font-size: 13px;
    }

    .doctor-info-section {
        padding-top: 20px;
    }

    .doctor-section-title {
        font-size: 17px;
    }

    .doctor-info-text {
        font-size: 14px;
        line-height: 26px;
    }

    .doctor-article-list {
        padding: 0 15px;
    }

    .doctor-article-link {
        align-items: flex-start;
        padding: 17px 0;
    }

    .doctor-article-title {
        margin-bottom: 7px;
        font-size: 16px;
        line-height: 24px;
    }

    .doctor-article-description {
        margin-bottom: 8px;
        line-height: 22px;
    }

    .doctor-article-cover {
        flex-basis: 105px;
        width: 105px;
        height: 72px;
        margin-left: 12px;
    }
    .doctor-article-title-row {
        align-items: flex-start;
        margin-bottom: 7px;
    }

    .science-type-icon {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        margin-right: 7px;
    }

    .science-type-icon svg {
        width: 15px;
        height: 15px;
    }
}