/* 新闻页面样式 */
.page-header {
    background-color: #f5f5f5;
    padding: 3rem 5%;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 2rem;
    color: #2c5530;
}

/* 分类筛选 */
.category-filter {
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: 2px solid #2c5530;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 20px;
    color: #2c5530;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #2c5530;
    color: #fff;
}

/* 新闻卡片 */
.news-container {
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: #e8f5e9;
    color: #2c5530;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-content h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #333;
}

.news-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.read-more {
    color: #2c5530;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    gap: 0.5rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: #2c5530;
    color: #fff;
    border-color: #2c5530;
}

.page-dots {
    color: #666;
} 