/* ============================================
   Case Study Single Page - 专业整洁版
   ============================================ */

/* 全局样式重置 */
.case-study-single-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f5f7fa;
    padding: 40px 20px;
    margin: 0;
    min-height: 100vh;
}

/* 主容器 */
.cs-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 面包屑导航 */
.cs-breadcrumbs {
        max-width: 990px;
    margin: 10px auto;
    margin-bottom: 25px;
    padding: 0 0 15px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e8eaed;
}

.cs-breadcrumbs a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cs-breadcrumbs a:hover {
    color: #764ba2;
}

.cs-separator {
    color: #bbb;
}

.cs-current {
    color: #333;
    font-weight: 500;
}

/* 主内容布局 */
.cs-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 主内容区 */
.cs-main-content {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 850px;
}

/* 文章头部 */
.cs-article-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.cs-article-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.cs-article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.cs-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.cs-meta-item svg {
    flex-shrink: 0;
}

/* 特色图片 */
.cs-featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.cs-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 通用区块样式 */
.cs-section {
    margin-bottom: 50px;
}

.cs-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
    line-height: 1.4;
}

/* Project Brief */
.cs-project-brief {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 10px;
    padding: 25px;
}

.cs-brief-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e8eaf0;
}

.cs-brief-row:last-child {
    border-bottom: none;
}

.cs-brief-label {
    width: 140px;
    font-weight: 600;
    color: #667eea;
    font-size: 14px;
}

.cs-brief-value {
    flex: 1;
    color: #333;
    font-size: 14px;
}

/* Introduction */
.cs-intro-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.cs-intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.cs-intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.cs-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Challenge */
.cs-challenge {
    background: #fff8f5;
    border-left: 4px solid #ea543f;
    border-radius: 0 10px 10px 0;
    padding: 30px;
    margin-top: 30px;
}

.cs-challenge .cs-section-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
    color: #ea543f;
}

.cs-challenge-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.cs-challenge-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-challenge-list li {
    padding: 12px 0 12px 25px;
    position: relative;
    border-bottom: 1px solid #ffe8e0;
    font-size: 15px;
    line-height: 1.6;
}

.cs-challenge-list li:last-child {
    border-bottom: none;
}

.cs-challenge-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    background: #ea543f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Solution */
.cs-solution {
    background: #f0f9ff;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.cs-solution .cs-section-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
    color: #1e88e5;
}

.cs-solution-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.cs-solution-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cs-solution-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cs-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cs-solution-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.cs-solution-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Quote */
.cs-quote {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 10px;
    padding: 30px;
    margin: 0;
    color: white;
    position: relative;
}

.cs-quote::before {
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.15;
    font-family: Georgia, serif;
}

.cs-quote p {
    color: white;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin: 0 0 15px 0;
    padding-left: 30px;
}

.cs-quote cite {
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    opacity: 0.9;
    padding-left: 30px;
    display: block;
}

/* Results */
.cs-results {
    margin-top: 30px;
}

.cs-results-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.cs-results-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cs-stat-item {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: white;
}

.cs-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.cs-stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.cs-results-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.cs-results-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-image-caption {
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 0;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Conclusion */
.cs-conclusion {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.cs-conclusion p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* CTA 区域 */
.cs-cta-section {
    margin-top: 40px;
    padding: 45px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.cs-cta-content h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: white;
}

.cs-cta-content p {
    font-size: 1rem;
    margin: 0 0 30px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.cs-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.cs-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cs-btn-primary {
    background: #ea543f;
    color: white;
}

.cs-btn-primary:hover {
    background: #d44836;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(234, 84, 63, 0.4);
}

.cs-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.cs-btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* 侧边栏 */
.cs-sidebar {
    position: sticky;
    top: 40px;
}

.cs-sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.cs-widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

/* 相关文章列表 */
.cs-related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cs-related-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.cs-related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cs-related-item:hover {
    transform: translateX(3px);
}

.cs-related-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.cs-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-related-info {
    flex: 1;
    min-width: 0;
}

.cs-related-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.cs-related-info h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cs-related-info h4 a:hover {
    color: #667eea;
}

.cs-related-date {
    font-size: 11px;
    color: #999;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 1200px) {
    .cs-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 25px;
    }
    
    .cs-main-content {
        padding: 35px;
    }
    
    .cs-solution-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cs-results-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .cs-content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cs-sidebar {
        position: static;
    }
    
    .cs-article-title {
        font-size: 2rem;
    }
    
    .cs-intro-content {
        grid-template-columns: 1fr;
    }
    
    .cs-intro-image {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .case-study-single-page {
        padding: 20px 15px;
    }
    
    .cs-main-content {
        padding: 25px;
        border-radius: 10px;
    }
    
    .cs-article-title {
        font-size: 1.6rem;
    }
    
    .cs-article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .cs-section-title {
        font-size: 1.4rem;
    }
    
    .cs-brief-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .cs-brief-label {
        width: auto;
        font-size: 13px;
    }
    
    .cs-solution-cards {
        grid-template-columns: 1fr;
    }
    
    .cs-results-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cs-cta-section {
        padding: 30px 20px;
    }
    
    .cs-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cs-cta-buttons {
        flex-direction: column;
    }
    
    .cs-btn {
        width: 100%;
        text-align: center;
    }
    
    .cs-related-item {
        flex-direction: column;
    }
    
    .cs-related-thumb {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .cs-breadcrumbs {
        font-size: 12px;
    }
    
    .cs-article-title {
        font-size: 1.4rem;
    }
    
    .cs-sidebar-widget {
        padding: 20px;
    }
    
    .cs-results-stats {
        grid-template-columns: 1fr;
    }
    
    .cs-stat-number {
        font-size: 1.8rem;
    }
}
