        /* 面包屑 */
        .breadcrumb-wrapper {
            background: var(--primary-light);
            padding: 12px 0;
            border-bottom: 1px solid var(--border-light);
        }
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--text-soft);
        }
        .breadcrumb a {
            color: var(--primary);
            font-weight: 500;
            transition: color 0.2s;
        }
        .breadcrumb a:hover {
            color: var(--accent);
        }
        .breadcrumb svg {
            width: 14px;
            height: 14px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            vertical-align: middle;
        }
        .breadcrumb .current {
            color: var(--text-dark);
            font-weight: 500;
        }
/* ==================================================
   casedetail.css - 案例详情页专属样式
   依赖 class.css 主题变量，适配移动端及折叠目录
================================================== */

/* ----- 案例详情主布局 ----- */
.case-detail-main {
    padding: 2rem 0 3rem;
}
.case-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}
.case-content {
    flex: 1;
    min-width: 0; /* 防止溢出 */
    margin-top: 20px;
}
.case-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* ----- 文章标题 & 元数据 ----- */
.case-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}
.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.meta-item svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: var(--accent);
    stroke-width: 1.6;
    fill: none;
}

/* ----- 简介 + 目录区域 (可折叠) ----- */
.intro-toc-wrapper {
    background: var(--primary-light);
    border-radius: 28px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}
.case-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.toc-container {
    border-top: 1px dashed var(--border-light);
    padding-top: 1.25rem;
}
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.75rem;
}
.toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}
.toc-title svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: currentColor;
}
.toc-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.toc-toggle-btn:hover {
    background: rgba(0,0,0,0.05);
}
.toggle-icon {
    width: 1.4rem;
    height: 1.4rem;
    stroke: var(--text-soft);
    transition: transform 0.25s ease;
}
.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}
.toc-list li a {
    display: inline-block;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 4px 0;
    border-bottom: 1px dashed transparent;
    transition: color 0.2s, border-color 0.2s;
}
.toc-list li a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ----- 新闻主图 ----- */
.featured-image {
    margin: 1.8rem 0 2rem;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    background: #eef2f6;
}
.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ----- 正文内容样式 ----- */
.case-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}
.case-body section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 90px; /* 避免固定头部遮挡 */
}
.case-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 1.8rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
    color: var(--primary);
}
.case-body p {
    margin-bottom: 1.2rem;
    color: var(--text-soft);
}
.case-body strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* ----- 社交分享区域 ----- */
.share-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2.5rem 0 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-light);
}
.share-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.share-buttons {
    display: flex;
    gap: 0.8rem;
}
.share-btn {
    background: var(--primary-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--primary);
}
.share-btn svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}
.share-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* ----- 相关案例推荐 (只显示标题) ----- */
.related-cases {
    background: var(--primary-light);
    border-radius: 28px;
    padding: 1.6rem 1.8rem;
    margin-top: 1rem;
    border: 1px solid var(--border-light);
}
.related-cases h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-cases h3::before {
    font-size: 1.2rem;
}
.related-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.related-list li a {
    display: block;
    padding: 0.6rem 0.8rem;
    background: var(--secondary);
    border-radius: 60px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.2s, transform 0.1s;
    border: 1px solid var(--border-light);
}
.related-list li a:hover {
    background: var(--accent);
    color: white;
    transform: translateX(4px);
}

/* ----- 右侧边栏通用组件 ----- */
.sidebar-widget {
    background: var(--secondary);
    border-radius: 28px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 12px rgba(0,0,0,0.02);
}
.widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}
.widget-title svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: var(--accent);
    fill: none;
}

/* 产品推荐列表 (图片+标题，最多5个) */
.product-recommend-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.product-recommend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-light);
    border-radius: 20px;
    padding: 0.6rem 1rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    border: 1px solid transparent;
}
.product-recommend-item:hover {
    background: var(--secondary);
    border-color: var(--accent);
    transform: translateX(3px);
}
.product-recommend-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef2f6;
}
.product-recommend-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Tags 关键词云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.tag {
    background: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.2s;
    cursor: default;
    border: 1px solid var(--border-light);
}
.tag:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.02);
}

/* ========== 移动端响应式布局 ========== */
@media screen and (max-width: 1024px) {
    .case-layout {
        gap: 2rem;
    }
    .case-sidebar {
        width: 280px;
    }
    .case-title {
        font-size: 1.9rem;
    }
}
@media screen and (max-width: 860px) {
    .case-layout {
        flex-direction: column;
    }
    .case-sidebar {
        width: 100%;
        order: 2;
    }
    .case-content {
        order: 1;
    }
    .case-title {
        font-size: 1.7rem;
    }
    .case-meta {
        gap: 1rem;
    }
}
@media screen and (max-width: 640px) {
    .case-detail-main {
        padding: 1rem 0 2rem;
    }
    .intro-toc-wrapper {
        padding: 1rem;
    }
    .case-intro {
        font-size: 0.95rem;
    }
    .toc-title {
        font-size: 1rem;
    }
    .toc-list li a {
        font-size: 0.85rem;
    }
    .case-body h2 {
        font-size: 1.35rem;
    }
    .case-body p {
        font-size: 0.95rem;
    }
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .related-cases {
        padding: 1.2rem;
    }
    .product-recommend-item img {
        width: 44px;
        height: 44px;
    }
    .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    .featured-image {
        border-radius: 20px;
        margin: 1rem 0;
    }
}
@media screen and (max-width: 480px) {
    .case-title {
        font-size: 1.5rem;
    }
    .meta-item {
        font-size: 0.75rem;
    }
    .sidebar-widget {
        padding: 1rem;
    }
    .widget-title {
        font-size: 1rem;
    }
    .toc-container {
        padding-top: 0.8rem;
    }
}