/* 案例分类样式 */
.case-categories {
    padding: 30px 0;
    background: #f9f9f9;
}

.category-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
}

.category-list a {
    display: inline-block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: #2ecc71;
    color: #fff;
}

/* 案例列表样式 */
.cases-list {
    padding: 60px 0;
}

.cases-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-item {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-image {
    flex: 0 0 300px;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #2ecc71;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
}

.case-content {
    flex: 1;
    padding: 30px;
}

.case-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.case-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
}

.read-more {
    color: #2ecc71;
    text-decoration: none;
    font-weight: bold;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #2ecc71;
    color: #fff;
}

/* 错误提示样式 */
.error-message {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.error-message p {
    color: #666;
    font-size: 16px;
} 