/* 成功案例页面样式 */
@import 'reset.css';
@import 'index.css';
@import 'common.css';

.cases-header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('../images/banner/cases-banner.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}
.cases-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cases-header .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}


/* 案例列表部分 */
.cases-section {
    padding: 60px 0;
    background: #fff;
}

.cases-list {
    max-width: 1200px;
    margin: 0 auto;
}

.case-item {
    display: flex;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.case-item:last-child {
    border-bottom: none;
}

.case-image {
    flex: 0 0 250px;
    margin-right: 24px;
}

.case-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.case-content {
    margin-top: 10px;
    flex: 1;
    position: relative;
}

.case-content h2 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.case-info {
    height: 50px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.case-date {
    color: #999;
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cases-header {
        padding: 60px 0;
    }

    .cases-header h1 {
        font-size: 2rem;
    }

    .cases-header .subtitle {
        font-size: 1.1rem;
    }

    .cases-section {
        padding: 40px 0;
    }

    .case-item {
        flex-direction: column;
        padding: 20px 0;
    }

    .case-image {
        flex: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .case-image img {
        height: 200px;
    }

    .case-content h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cases-header h1 {
        font-size: 1.75rem;
    }

    .cases-header .subtitle {
        font-size: 1rem;
    }

    .case-image img {
        height: 180px;
    }

    .case-info {
        font-size: 0.875rem;
    }

    .case-item {
        padding: 16px 0;
    }
}