    /* ========== 案例详情页独立样式（作用域 .case-detail-page） ========== */
    .case-detail-page {
        font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
        color: #1a1a1a;
        line-height: 1.7;
        max-width: 1280px;
        margin: 0 auto;
        padding: 30px 20px;
        box-sizing: border-box;
        --brand-blue: #0d3b66;
        --brand-deep: #07273f;
        --brand-accent: #f28c38;
        --text-mid: #3d3d3d;
        --text-light: #6b6b6b;
        --border-soft: #e0e7ef;
        --bg-light: #f9fafb;
        --radius-md: 10px;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
        --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
        --transition-fast: 0.2s ease;
    }
    .case-detail-page *,
    .case-detail-page *::before,
    .case-detail-page *::after {
        box-sizing: border-box;
    }
    .case-detail-page a {
        color: var(--brand-accent);
        text-decoration: none;
        transition: color var(--transition-fast);
    }
    .case-detail-page a:hover {
        color: var(--brand-blue);
    }
    .case-detail-page img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .case-detail-page .img-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #eef3f8;
        border-radius: var(--radius-md);
    }
    .case-detail-page .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 面包屑 */
    .case-detail-page .breadcrumb {
        font-size: 0.85rem;
        color: var(--text-light);
        margin-bottom: 24px;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .case-detail-page .breadcrumb a {
        color: var(--text-light);
    }
    .case-detail-page .breadcrumb a:hover {
        color: var(--brand-accent);
    }
    .case-detail-page .breadcrumb span {
        color: var(--text-mid);
    }

    /* 案例头部 */
    .case-detail-page .case-header {
        margin-bottom: 30px;
    }
    .case-detail-page .case-header h1 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--brand-deep);
        margin-bottom: 12px;
    }
    .case-detail-page .case-header .case-meta {
        font-size: 0.9rem;
        color: #999;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        border-bottom: 1px solid var(--border-soft);
        padding-bottom: 12px;
    }

    /* 案例图片区 */
    /* ===== 案例主图优化 ===== */
.case-detail-page .case-gallery {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;          /* 图片居中 */
}

.case-detail-page .case-gallery .main-img {
    width: 100%;
    max-width: 800px;                /* 限制最大宽度，避免超大图 */
    height: auto;                    /* 高度自适应 */
    max-height: 450px;               /* 限制最大高度，防止过高 */
    aspect-ratio: auto;              /* 取消固定宽高比，由图片本身比例决定 */
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);  /* 加一点阴影，更立体 */
    border: 1px solid var(--border-soft);
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-detail-page .case-gallery .main-img img {
    width: 100%;
    height: auto;                    /* 保持原图比例 */
    max-height: 450px;               /* 和容器一致 */
    object-fit: contain;             /* 完整显示图片，不裁剪 */
    display: block;
    transition: transform 0.3s ease;
}

.case-detail-page .case-gallery .main-img:hover img {
    transform: scale(1.02);          /* 微小缩放，增加交互感 */
}
    /* 案例详细内容 */
    .case-detail-page .case-content {
        font-size: 1rem;
        color: var(--text-mid);
        line-height: 1.8;
        margin-bottom: 30px;
        word-wrap: break-word;
    }
    .case-detail-page .case-content p {
        margin-bottom: 1em;
    }

    /* 上下篇切换 */
    .case-detail-page .prev-next {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 40px;
        border-top: 1px solid var(--border-soft);
        border-bottom: 1px solid var(--border-soft);
        padding: 20px 0;
    }
    .case-detail-page .prev-next a {
        flex: 1 1 220px;
        display: block;
        padding: 14px 18px;
        background: #fff;
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
        font-size: 0.9rem;
        color: var(--text-mid);
    }
    .case-detail-page .prev-next a:hover {
        border-color: var(--brand-accent);
        box-shadow: var(--shadow-sm);
        text-decoration: none;
    }
    .case-detail-page .prev-next .label {
        font-weight: 600;
        color: var(--brand-blue);
        margin-bottom: 4px;
        font-size: 0.8rem;
    }

    /* 新闻资讯板块 */
    .case-detail-page .news-section {
        margin-top: 40px;
    }
    .case-detail-page .news-section h3 {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--brand-deep);
        margin-bottom: 18px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--brand-accent);
        display: inline-block;
    }
    .case-detail-page .news-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
    .case-detail-page .news-card {
        background: #fff;
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-md);
        padding: 16px;
        transition: all var(--transition-fast);
        text-decoration: none;
        color: inherit;
    }
    .case-detail-page .news-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }
    .case-detail-page .news-card .news-date {
        font-size: 0.75rem;
        color: #999;
        margin-bottom: 6px;
    }
    .case-detail-page .news-card h4 {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--brand-deep);
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .case-detail-page .news-card p {
        font-size: 0.82rem;
        color: var(--text-light);
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 返回列表 */
    .case-detail-page .back-link {
        text-align: center;
        margin-top: 30px;
    }
    .case-detail-page .back-link a {
        display: inline-block;
        padding: 10px 24px;
        border: 1px solid var(--border-soft);
        border-radius: 20px;
        font-size: 0.9rem;
        color: var(--text-mid);
        transition: all var(--transition-fast);
    }
    .case-detail-page .back-link a:hover {
        border-color: var(--brand-blue);
        color: var(--brand-blue);
        background: #f8fafd;
        text-decoration: none;
    }

    @media (max-width: 768px) {
        .case-detail-page .case-header h1 { font-size: 1.6rem; }
        .case-detail-page .news-list { grid-template-columns: 1fr; }
    }
