/* 新闻中心页面样式 */

.page-banner {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.88), rgba(15, 76, 129, 0.75));
    z-index: -1;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
}

.banner-content h1 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 22px;
    opacity: 0.95;
}

.filter-section {
    padding: 50px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--bg-light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 35px;
    background: var(--bg-light);
    border: none;
    border-radius: 30px;
    color: var(--dark-text);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.news-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-body {
    padding: 30px;
}

.news-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 25px;
    font-size: 13px;
    margin-right: 12px;
}

.news-date {
    font-size: 13px;
    color: var(--light-text);
}

.news-title {
    font-size: 22px;
    color: var(--dark-text);
    margin: 18px 0 15px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: var(--accent-gold);
}

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

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

    .news-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

