body {
    margin: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #2c3e50;
    background: #fff;
}

/* 面包屑 */
.breadcrumb {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 15px;
    font-size: .9rem;
    color: #7a8a9e;
}

.breadcrumb a {
    color: #1a5e9c;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

.services-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 页面标题（H1） */
.page-heading {
    text-align: center;
    margin: 24px 0 20px;
}

.page-heading h1 {
    font-size: 2.4rem;
    color: #1a3f66;
    margin: 0 0 10px;
}

.page-heading p {
    font-size: 1.05rem;
    color: #5b7a9a;
    margin: 0;
}

/* 左右布局 */
.service-main {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin: 20px 0 10px;
}

/* 左侧科室导航 */
.dept-sidebar {
    flex: 0 0 220px;
    background: #f8fbff;
    border: 1px solid #e6eef8;
    border-radius: 16px;
    padding: 18px 14px;
    position: sticky;
    top: 20px;
}

.dept-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3f66;
    padding: 0 8px 12px;
    border-bottom: 1px solid #e6eef8;
    margin-bottom: 10px;
}

.dept-nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dept-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #33506e;
    text-decoration: none;
    font-size: .95rem;
    transition: .2s;
    border-left: 3px solid transparent;
}

.dept-nav-item:hover {
    background: #eaf2fc;
    color: #1a5e9c;
}

/* 当前选中科室高亮 */
.dept-nav-item.active {
    background: #1a5e9c;
    color: #fff;
    border-left-color: #0f3f6e;
    font-weight: 600;
}

.dept-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eaf2fc;
    color: #1a5e9c;
    font-size: .78rem;
    font-weight: 600;
}

.dept-nav-item:hover .dept-index {
    background: #1a5e9c;
    color: #fff;
}

.dept-nav-item.active .dept-index {
    background: #fff;
    color: #1a5e9c;
}

/* 右侧内容 */
.service-content {
    flex: 1;
    min-width: 0;
}

/* SEO 摘要 */
.service-summary {
    background: #f8fbff;
    border-left: 4px solid #1a5e9c;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.service-summary h2 {
    font-size: 1.3rem;
    color: #1a3f66;
    margin: 0 0 10px;
}

.service-summary p {
    font-size: .96rem;
    color: #4a5568;
    line-height: 1.8;
    margin: 0;
}

/* 富文本 */
.service-rich {
    background: #fff;
    border-radius: 16px;
    padding: 4px 0 16px;
}

.rich-content {
    line-height: 1.9;
    color: #3d4e63;
    font-size: 1.02rem;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 20px auto;
}

.rich-content h2, .rich-content h3 {
    color: #1a5e9c;
    margin: 24px 0 12px;
}

.rich-content p {
    margin: 0 0 16px;
}

.rich-content ul, .rich-content ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

.rich-content blockquote {
    margin: 20px 0;
    padding: 12px 20px;
    border-left: 4px solid #1a5e9c;
    background: #f4f8fd;
    color: #4a5568;
    border-radius: 0 8px 8px 0;
}

/* 内容标题 */
.content-title {
    font-size: 1.5rem;
    color: #1a3f66;
    margin: 6px 0 18px;
    padding-left: 12px;
    border-left: 4px solid #1a5e9c;
}

/* 项目卡片 */
.service-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    margin: 10px 0 30px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(26, 94, 156, .08);
    border: 1px solid #eaf0f8;
    transition: transform .25s, box-shadow .25s;
    scroll-margin-top: 90px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(26, 94, 156, .16);
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-img-wrap {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #eef4fb;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.05);
}

.service-info {
    padding: 14px 16px 18px;
}

.service-info h3 {
    font-size: 1.08rem;
    color: #1a3b5e;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-desc {
    font-size: .88rem;
    color: #6b7f95;
    margin: 0 0 10px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-more {
    font-size: .86rem;
    color: #1a5e9c;
    font-weight: 600;
}

/* 专家团队 */
.section-title {
    font-size: 2rem;
    color: #1e3a5f;
    text-align: center;
    margin: 50px 0 24px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: #1a5e9c;
    margin: 12px auto 0;
    border-radius: 4px;
}

.doctor-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0 40px;
}

.doctor-card {
    flex: 0 0 250px;
    text-align: center;
    background: #f9fbfe;
    border-radius: 20px;
    padding: 24px 16px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .03);
    border: 1px solid #eaf0f8;
}

.doctor-card .doc-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 18px;
    object-fit: cover;
    background: #e8eef7;
    display: block;
}

.doctor-card h3 {
    font-size: 1.2rem;
    color: #1a3b5e;
    margin: 0 0 6px;
}

.doctor-card .title {
    color: #5a7a9a;
    font-size: .9rem;
}

/* 底部 */
.footer-note {
    text-align: center;
    margin: 50px 0 20px;
    color: #7f8c9b;
    font-size: .95rem;
}

.footer-note .addr {
    font-size: .85rem;
    color: #99aab9;
}

.empty-tip {
    text-align: center;
    color: #93a2b3;
    padding: 10px 0;
}

/* 响应式 */
@media (max-width: 900px) {
    .service-main {
        flex-direction: column;
    }

    .dept-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }

    .dept-nav-vertical {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dept-nav-item {
        border-left: none;
        border-radius: 30px;
    }

    .dept-nav-item.active {
        border-left: none;
    }
}

@media (max-width: 768px) {
    .page-heading h1 {
        font-size: 1.8rem;
    }

    .doctor-card {
        flex: 0 0 45%;
    }
}