.cases-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cases-container h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* 筛选区域样式 */
.cases-filter {
    margin-bottom: 2rem;
}

.search-box {
    margin-bottom: 1rem;
}

.search-box input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    background: #ecf0f1;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #bdc3c7;
}

.filter-btn.active {
    background: #2c3e50;
    color: white;
}

/* 案例卡片网格布局 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.case-content p {
    color: #34495e;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background: #2980b9;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
}

#loadMoreBtn {
    padding: 0.8rem 2rem;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#loadMoreBtn:hover {
    background: #34495e;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        flex: 1 1 calc(33.333% - 1rem);
        text-align: center;
    }

    .case-card img {
        height: 180px;
    }

    .case-content h3 {
        font-size: 1.1rem;
    }
} 