:root {
    --primary: #3245ff;
    --primary-hover: #2a3bde;
    --text-primary: #111;
    --text-secondary: #666;
    --text-light: #999;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-light: #e9ecef;
    --border-radius: 8px;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, .08);
    --transition: all .3s ease;
}

.case-detail-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-header {
    margin-bottom: 40px;
    text-align: center;
}

.case-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 14px;
    flex-wrap: wrap;
}

.case-date {
    color: var(--text-light);
}

.case-client {
    color: var(--text-secondary);
    font-weight: 500;
}

.case-category {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    background-color: var(--primary);
    color: #fff;
}

.case-header h1 {
    font-size: 36px;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.case-excerpt {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 30px;
    padding: 0;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 12px;
    color: var(--text-light);
    font-weight: normal;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-primary);
    font-weight: 500;
}

.case-content {
    background-color: var(--background-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 40px;
}

.case-content h2 {
    font-size: 28px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

.case-content h2:first-child {
    margin-top: 0;
}

.case-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 30px 0 15px;
}

.case-content h4 {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 20px 0 10px;
}

.case-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-content ul,
.case-content ol {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 24px;
}

.case-content li {
    margin-bottom: 10px;
}

.case-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.case-content a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.case-content a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.case-cover-image {
    text-align: center;
    margin-bottom: 40px;
}

.case-cover-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.case-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

.prev-case,
.next-case {
    display: flex;
    flex-direction: column;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.prev-case:hover,
.next-case:hover {
    color: var(--primary);
}

.prev-case span:first-child,
.next-case span:first-child {
    font-size: 14px;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .case-detail-section {
        padding: 60px 0;
    }
    .case-header h1 {
        font-size: 28px;
    }
    .case-excerpt {
        font-size: 16px;
    }
    .case-meta {
        flex-direction: column;
        gap: 10px;
    }
    .case-content {
        padding: 24px;
    }
    .case-content h2 {
        font-size: 24px;
    }
    .case-content h3 {
        font-size: 20px;
    }
    .case-navigation {
        flex-direction: column;
        gap: 20px;
    }
    .breadcrumb {
        margin-bottom: 20px;
    }
    .breadcrumb ol {
        font-size: 13px;
    }
    .breadcrumb li:not(:last-child)::after {
        margin: 0 8px;
    }
}

