/* 页面标题banner */
.page-banner {
    margin-top: 80px;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 18px;
}

/* 新闻分类 */
.news-categories {
    background: #f9f9f9;
    padding: 20px 0;
    margin-bottom: 30px;
}

.category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.category-item {
    padding: 10px 20px;
    border-radius: 20px;
    color: #666;
    transition: all 0.3s;
}

.category-item:hover,
.category-item.active {
    background: #2c5530;
    color: #fff;
}

/* 新闻列表 */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.news-image {
    flex: 0 0 300px;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.news-content {
    flex: 1;
}

.news-meta {
    margin-bottom: 15px;
}

.news-category {
    background: #2c5530;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 15px;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.news-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-item,
.page-next {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    transition: all 0.3s;
}

.page-item:hover,
.page-item.active {
    background: #2c5530;
    color: #fff;
    border-color: #2c5530;
}

.page-next:hover {
    background: #f5f5f5;
}

.page-dots {
    color: #666;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

    .news-image {
        flex: none;
    }

    .category-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .category-item {
        width: calc(50% - 15px);
        text-align: center;
    }
} 