/* ===== 全局重置 & 基础 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            background: #F5F7FA;
            color: #1e2a3a;
            line-height: 1.6;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        ul {
            list-style: none;
        }
        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 20px;
        }

        

        /* ============================================================
                   专家详情页主体
                   ============================================================ */

        .expert-detail-main {
            padding: 24px 0 40px;
        }

        /* ---- 面包屑 ---- */
        .breadcrumb {
            font-size: 14px;
            color: #8a9aa8;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .breadcrumb a {
            color: #4a5a6e;
            transition: color 0.2s;
        }
        .breadcrumb a:hover {
            color: #08C7A3;
        }
        .breadcrumb .sep {
            color: #d0d8e0;
        }
        .breadcrumb .current {
            color: #1e2a3a;
            font-weight: 500;
        }

        /* ============================================================
           ★★★ 专家详情 — 核心内容 ★★★
           ============================================================ */

        .expert-detail-card {
            background: #ffffff;
            border-radius: 16px;
            padding: 32px 36px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
            border: 1px solid #edf0f5;
        }

        /* ---- 顶部：头像 + 基本信息 ---- */
        .expert-profile {
            display: flex;
            gap: 32px;
            flex-wrap: wrap;
            padding-bottom: 28px;
            border-bottom: 1px solid #eef1f6;
            margin-bottom: 28px;
        }
        .expert-profile .expert-avatar-lg {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: linear-gradient(135deg, #E6F9F4, #b8e6db);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 52px;
            font-weight: 700;
            color: #08C7A3;
            flex-shrink: 0;
            border: 4px solid #f0f7f5;
            box-shadow: 0 4px 16px rgba(8, 199, 163, 0.12);
            overflow: hidden;
        }
        .expert-profile .expert-avatar-lg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .expert-profile .expert-info {
            flex: 1;
            min-width: 240px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .expert-profile .expert-info .expert-name-lg {
            font-size: 30px;
            font-weight: 700;
            color: #1e2a3a;
        }
        .expert-profile .expert-info .expert-titles-lg {
            display: flex;
            flex-wrap: wrap;
            gap: 6px 12px;
            margin-top: 2px;
        }
        .expert-profile .expert-info .expert-titles-lg span {
            background: #E6F9F4;
            color: #08C7A3;
            padding: 2px 16px;
            border-radius: 16px;
            font-size: 14px;
            font-weight: 500;
        }
        .expert-profile .expert-info .expert-hospital-dept-lg {
            font-size: 16px;
            color: #5a6a7e;
            margin-top: 4px;
        }
        .expert-profile .expert-info .expert-hospital-dept-lg i {
            color: #08C7A3;
            width: 20px;
            text-align: center;
        }
        .expert-profile .expert-info .expert-skill-brief {
            font-size: 15px;
            color: #4a5a6e;
            line-height: 1.8;
            margin-top: 6px;
            background: #f8fafc;
            padding: 12px 18px;
            border-radius: 10px;
            border-left: 4px solid #08C7A3;
        }
        .expert-profile .expert-info .expert-skill-brief .detail {
            color: #08C7A3;
            cursor: pointer;
            font-weight: 500;
        }

        /* ---- 排班表容器 ---- */
        .schedule-container {
            display: flex;
            flex-direction: column;
            gap: 32px;
            margin-bottom: 32px;
        }

        /* ===== 每个医院的排班块 ===== */
        .hospital-schedule-block {
            background: #fafcfc;
            border-radius: 16px;
            padding: 24px 28px 28px;
            border: 1px solid #edf0f5;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        }
        .hospital-schedule-block:last-child {
            margin-bottom: 0;
        }

        /* ===== 医院标题 ===== */
        .hospital-schedule-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 18px;
            font-weight: 600;
            color: #1e2a3a;
            margin-bottom: 18px;
            padding-bottom: 14px;
            border-bottom: 2px solid #f0f3f8;
        }
        .hospital-schedule-title i {
            color: #08C7A3;
            font-size: 20px;
        }
        .hospital-schedule-title .hospital-name {
            color: #1e2a3a;
        }
        .hospital-schedule-title .hospital-dept {
            color: #6a7a8e;
            font-weight: 400;
            font-size: 15px;
        }
        .hospital-schedule-title .hospital-status {
            margin-left: auto;
            font-size: 13px;
            font-weight: 500;
            padding: 2px 14px;
            border-radius: 12px;
        }
        .hospital-schedule-title .hospital-status.has-appointment {
            background: #E6F9F4;
            color: #08C7A3;
        }
        .hospital-schedule-title .hospital-status.no-appointment {
            background: #f0f2f5;
            color: #8a9aa8;
        }

        /* ===== 翻页导航 ===== */
        .schedule-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: 16px;
        }
        .schedule-nav .schedule-prev,
        .schedule-nav .schedule-next {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1.5px solid #e8ecf1;
            background: #ffffff;
            color: #4a5a6e;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s;
            flex-shrink: 0;
            font-size: 14px;
        }
        .schedule-nav .schedule-prev:hover,
        .schedule-nav .schedule-next:hover {
            border-color: #08C7A3;
            color: #08C7A3;
            background: #f0f7f5;
        }
        .schedule-nav .schedule-prev:disabled,
        .schedule-nav .schedule-next:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            border-color: #e8ecf1;
            color: #b0b8c4;
            background: #f5f7fa;
        }
        .schedule-nav .schedule-prev:disabled:hover,
        .schedule-nav .schedule-next:disabled:hover {
            border-color: #e8ecf1;
            color: #b0b8c4;
            background: #f5f7fa;
        }
        .schedule-nav .schedule-page-info {
            font-size: 14px;
            color: #6a7a8e;
            font-weight: 500;
            min-width: 50px;
            text-align: center;
        }

        /* ===== 日期卡片网格 ===== */
        .schedule-dates {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
        }

        .schedule-dates .date-card {
            background: #f8fafc;
            border-radius: 12px;
            padding: 14px 12px 16px;
            border: 1.5px solid #edf0f5;
            transition: all 0.25s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .schedule-dates .date-card:hover {
            border-color: #d0e8e0;
            box-shadow: 0 4px 12px rgba(8, 199, 163, 0.06);
        }
        .schedule-dates .date-card.today {
            border-color: #08C7A3;
            background: #f0f7f5;
        }

        /* 日期头部 */
        .schedule-dates .date-card .date-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-bottom: 8px;
            border-bottom: 1px solid #eef1f6;
            width: 100%;
        }
        .schedule-dates .date-card .date-header .date-month-day {
            font-size: 13px;
            color: #8a9aa8;
            font-weight: 500;
        }
        .schedule-dates .date-card .date-header .date-day-num {
            font-size: 28px;
            font-weight: 700;
            color: #1e2a3a;
            line-height: 1.2;
        }
        .schedule-dates .date-card .date-header .date-week {
            font-size: 13px;
            color: #6a7a8e;
        }
        .schedule-dates .date-card.today .date-header .date-day-num {
            color: #08C7A3;
        }
        .schedule-dates .date-card.today .date-header .date-week {
            color: #08C7A3;
        }

        /* 上下午预约槽 */
        .schedule-dates .date-card .slot-row {
            display: flex;
            width: 100%;
            gap: 8px;
            margin-top: 4px;
        }
        .schedule-dates .date-card .slot-row .slot-btn {
            flex: 1;
            padding: 6px 0;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.25s;
            font-family: inherit;
            text-align: center;
            min-height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .schedule-dates .date-card .slot-row .slot-btn.available {
            background: #08C7A3;
            color: #ffffff;
        }
        .schedule-dates .date-card .slot-row .slot-btn.available:hover {
            background: #06A889;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(8, 199, 163, 0.25);
        }
        .schedule-dates .date-card .slot-row .slot-btn.full {
            background: #e8ecf1;
            color: #aab4c0;
            cursor: not-allowed;
        }
        .schedule-dates .date-card .slot-row .slot-btn.full:hover {
            background: #e8ecf1;
            transform: none;
            box-shadow: none;
        }
        .schedule-dates .date-card .slot-row .slot-label-text {
            font-size: 11px;
            color: #8a9aa8;
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 28px;
            flex-shrink: 0;
        }

        /* ===== 页码指示器 ===== */
        .schedule-pagination {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-top: 18px;
        }
        .schedule-pagination .page-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #dce3ec;
            transition: all 0.3s;
            cursor: pointer;
            border: none;
            padding: 0;
        }
        .schedule-pagination .page-dot.active {
            background: #08C7A3;
            width: 24px;
            border-radius: 4px;
        }
        .schedule-pagination .page-dot:hover {
            background: #b8d8d0;
        }
        .schedule-pagination .page-dot.active:hover {
            background: #08C7A3;
        }

        /* ---- 个人简介 ---- */
        .bio-section {
            margin-bottom: 28px;
        }
        .bio-section .bio-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e2a3a;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .bio-section .bio-title i {
            color: #08C7A3;
        }
        .bio-section .bio-content {
            font-size: 15px;
            color: #4a5a6e;
            line-height: 2;
            text-align: justify;
            white-space: pre-wrap;
        }
        .bio-section .bio-content .expand-btn {
            display: inline-block;
            margin-top: 6px;
            color: #08C7A3;
            font-weight: 500;
            cursor: pointer;
            font-size: 14px;
            background: none;
            border: none;
            font-family: inherit;
        }
        .bio-section .bio-content .expand-btn:hover {
            text-decoration: underline;
        }

        /* ---- 擅长领域（详细） ---- */
        .skill-section .skill-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e2a3a;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .skill-section .skill-title i {
            color: #08C7A3;
        }
        .skill-section .skill-content {
            font-size: 15px;
            color: #4a5a6e;
            line-height: 2;
            text-align: justify;
            background: #f8fafc;
            padding: 16px 20px;
            border-radius: 10px;
            border-left: 4px solid #08C7A3;
            white-space: pre-wrap;
        }

        /* ===== 底部 ===== */
        .footer {
            background: #ffffff;
            border-top: 1px solid #e8ecf1;
            padding: 28px 0 22px;
            text-align: center;
            font-size: 13px;
            color: #8a9aa8;
            margin-top: 0;
        }
        .footer .footer-links {
            display: flex;
            justify-content: center;
            gap: 28px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }
        .footer .footer-links a {
            color: #4a5a6e;
            transition: color 0.2s;
        }
        .footer .footer-links a:hover {
            color: #08C7A3;
        }
        .footer .footer-links .report-link {
            color: #e8a87c;
            font-weight: 500;
        }
        .footer .footer-links .report-link:hover {
            color: #d4895e;
        }

        /* ===== 悬浮返回首页 ===== */
        .back-home-float {
            position: fixed;
            right: 24px;
            bottom: 100px;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #08C7A3;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            box-shadow: 0 4px 16px rgba(8, 199, 163, 0.35);
            cursor: pointer;
            z-index: 999;
            transition: all 0.3s;
            border: none;
        }
        .back-home-float:hover {
            transform: scale(1.08);
            box-shadow: 0 6px 24px rgba(8, 199, 163, 0.5);
        }
        @media (max-width: 768px) {
            .back-home-float {
                right: 16px;
                bottom: 80px;
                width: 46px;
                height: 46px;
                font-size: 18px;
            }
        }

        /* ============================================================
                    响应式
                   ============================================================ */

        @media (max-width: 992px) {
            .expert-detail-card {
                padding: 24px 20px;
            }
            .expert-profile .expert-avatar-lg {
                width: 110px;
                height: 110px;
                font-size: 40px;
            }
            .expert-profile .expert-info .expert-name-lg {
                font-size: 26px;
            }
            .hospital-schedule-block {
                padding: 20px 18px 22px;
            }
            .schedule-dates {
                gap: 10px;
            }
            .schedule-dates .date-card {
                padding: 12px 8px 14px;
            }
            .schedule-dates .date-card .date-header .date-day-num {
                font-size: 24px;
            }
            .schedule-dates .date-card .slot-row .slot-btn {
                font-size: 12px;
                padding: 5px 0;
                min-height: 30px;
            }
            .hospital-schedule-title {
                font-size: 16px;
            }
        }

        @media (max-width: 768px) {
            

            .expert-detail-main {
                padding: 16px 0 30px;
            }

            .expert-detail-card {
                padding: 18px 14px;
                border-radius: 12px;
            }

            .expert-profile {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 18px;
                padding-bottom: 20px;
            }
            .expert-profile .expert-avatar-lg {
                width: 100px;
                height: 100px;
                font-size: 36px;
            }
            .expert-profile .expert-info .expert-name-lg {
                font-size: 22px;
            }
            .expert-profile .expert-info .expert-titles-lg {
                justify-content: center;
            }
            .expert-profile .expert-info .expert-skill-brief {
                text-align: left;
                font-size: 14px;
                padding: 10px 14px;
            }

            .schedule-container {
                gap: 24px;
            }
            .hospital-schedule-block {
                padding: 16px 12px 18px;
                border-radius: 12px;
            }
            .schedule-dates {
                grid-template-columns: repeat(5, 1fr);
                gap: 8px;
            }
            .schedule-dates .date-card {
                padding: 10px 6px 12px;
                border-radius: 10px;
            }
            .schedule-dates .date-card .date-header .date-month-day {
                font-size: 11px;
            }
            .schedule-dates .date-card .date-header .date-day-num {
                font-size: 20px;
            }
            .schedule-dates .date-card .date-header .date-week {
                font-size: 11px;
            }
            .schedule-dates .date-card .slot-row {
                flex-direction: column;
                gap: 4px;
            }
            .schedule-dates .date-card .slot-row .slot-btn {
                font-size: 11px;
                padding: 4px 0;
                min-height: 26px;
                border-radius: 14px;
            }
            .schedule-dates .date-card .slot-row .slot-label-text {
                font-size: 10px;
                min-width: 20px;
            }

            .schedule-nav .schedule-prev,
            .schedule-nav .schedule-next {
                width: 32px;
                height: 32px;
                font-size: 12px;
            }
            .schedule-nav .schedule-page-info {
                font-size: 13px;
                min-width: 40px;
            }
            .schedule-pagination .page-dot {
                width: 6px;
                height: 6px;
            }
            .schedule-pagination .page-dot.active {
                width: 18px;
            }

            .hospital-schedule-title {
                font-size: 15px;
                gap: 8px;
                padding-bottom: 10px;
                margin-bottom: 14px;
                flex-wrap: wrap;
            }
            .hospital-schedule-title .hospital-dept {
                font-size: 13px;
            }
            .hospital-schedule-title .hospital-status {
                font-size: 12px;
                padding: 1px 10px;
                margin-left: 0;
            }

            .bio-section .bio-content {
                font-size: 14px;
                line-height: 1.9;
            }
            .skill-section .skill-content {
                font-size: 14px;
                padding: 14px 16px;
            }

            .breadcrumb {
                font-size: 13px;
                margin-bottom: 14px;
            }
        }

        .dept-section .more:hover { color: #08C7A3; }
        .party-item:last-child { border-bottom: none !important; }

        @media (max-width: 768px) {
            .dept-section { padding: 18px 16px 20px !important; }
            .party-list { grid-template-columns: 1fr !important; }
        }

        @media (max-width: 480px) {
            
            .expert-detail-card {
                padding: 14px 10px;
            }
            .expert-profile .expert-avatar-lg {
                width: 80px;
                height: 80px;
                font-size: 30px;
            }
            .expert-profile .expert-info .expert-name-lg {
                font-size: 20px;
            }
            .expert-profile .expert-info .expert-titles-lg span {
                font-size: 12px;
                padding: 1px 12px;
            }
            .expert-profile .expert-info .expert-hospital-dept-lg {
                font-size: 14px;
            }
            .expert-profile .expert-info .expert-skill-brief {
                font-size: 13px;
                padding: 8px 12px;
            }

            .schedule-dates {
                grid-template-columns: repeat(5, 1fr);
                gap: 6px;
            }
            .schedule-dates .date-card {
                padding: 8px 4px 10px;
                border-radius: 8px;
            }
            .schedule-dates .date-card .date-header .date-month-day {
                font-size: 10px;
            }
            .schedule-dates .date-card .date-header .date-day-num {
                font-size: 17px;
            }
            .schedule-dates .date-card .date-header .date-week {
                font-size: 10px;
            }
            .schedule-dates .date-card .slot-row .slot-btn {
                font-size: 10px;
                padding: 3px 0;
                min-height: 22px;
                border-radius: 12px;
            }
            .schedule-dates .date-card .slot-row .slot-label-text {
                font-size: 9px;
                min-width: 16px;
            }

            .hospital-schedule-title {
                font-size: 14px;
            }
            .hospital-schedule-title .hospital-dept {
                font-size: 12px;
            }

            .bio-section .bio-content {
                font-size: 13px;
            }
            .skill-section .skill-content {
                font-size: 13px;
                padding: 12px 14px;
            }

            .footer .footer-links {
                gap: 14px;
                font-size: 12px;
            }
        }
        .container h1{
             font-size:20px;font-weight:600;width: 0;overflow: hidden;height: 0;
        }