/* 页面标题banner */
.page-banner {
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://picsum.photos/1920/300') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.banner-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 24px;
    opacity: 0.9;
}

/* 新闻导航 */
.news-nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 80px;
    z-index: 90;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li a {
    display: block;
    padding: 20px 40px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #92c95e;
    transition: width 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #92c95e;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 60%;
}

/* 新闻区域 */
.news-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
}

/* 新闻列表 */
.news-category {
    margin-bottom: 80px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.news-item {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    flex: 0 0 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    padding: 30px;
    position: relative;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.news-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: #92c95e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #7ab043;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: #92c95e;
    color: #fff;
    border-color: #92c95e;
}

.pagination .next {
    padding: 8px 20px;
}

/* 响应式布局 */
@media screen and (max-width: 992px) {
    .news-item {
        flex-direction: column;
    }

    .news-image {
        flex: 0 0 200px;
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 200px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .nav-list li a {
        padding: 15px 25px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    .nav-list {
        flex-direction: column;
    }

    .nav-list li a {
        text-align: center;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* 动画效果 */
.news-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.4s; }
.news-item:nth-child(4) { animation-delay: 0.6s; } 