/* 新闻列表容器 */
.news-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 新闻筛选器 */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid rgba(0,156,235);
    color: rgba(0,156,235);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0,156,235);
    color: white;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

/* 新闻列表项 */
.news-list-item {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-list-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    background: #e8f0fe;
    color: rgba(0,156,235);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    align-self: flex-start;
}

.news-list-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-read-more {
    color: rgba(0,156,235);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    align-self: flex-start;
}

.news-read-more:hover {
    color: #164a8d;
    text-decoration: underline;
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-nav,
.page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-width: 40px;
}

.page-nav:hover,
.page-number:hover {
    background: #f8f9fa;
    border-color: rgba(0,156,235);
}

.page-number.active {
    background: rgba(0,156,235);
    color: white;
    border-color: rgba(0,156,235);
}

.page-nav.disabled {
    color: #999;
    cursor: not-allowed;
    border-color: #eee;
}

.page-nav.disabled:hover {
    background: white;
    border-color: #eee;
}

.page-ellipsis {
    color: #666;
    padding: 0 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-image {
        flex: 0 0 200px;
    }
    
    .news-list-content {
        padding: 20px;
    }
    
    .news-list-content h3 {
        font-size: 1.3rem;
    }
    
    .news-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .news-list-container {
        padding: 0 15px;
    }
    
    .news-list-content h3 {
        font-size: 1.1rem;
    }
    
    .news-filters {
        justify-content: flex-start;
    }
}