/* 页面标题区域 */
.page-header {
    margin-top: 80px;
    background: url("../images/performance_bg.png") no-repeat;
    padding: 80px 0 60px;
    text-align: center;
    background-size: cover
}

.page-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--light-green);
}

.page-subtitle {
    color: #fff;
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 18px;
    line-height: 1.8;
}

/* 新闻分类筛选 */
.news-categories {
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.categories-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    background-color: var(--lighter-green);
    color: var(--text-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 500;
}

.category-btn:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.category-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
}

/* 新闻列表区域 */
.news-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.news-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background-color: var(--white);
   
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.news-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 14px !important;
    color: gray !important;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.news-date i {
    margin-right: 8px;
}

.news-card-title {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.4;
    transition: var(--transition);
    flex-grow: 1;
}

.news-card:hover .news-card-title {
    color: var(--primary-green);
}

.news-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-top: auto;
}

.news-card-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-card-link:hover i {
    transform: translateX(5px);
}

/* 分页样式 */
.pagination-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 10px;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-item:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.pagination-item.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 侧边栏 */
.news-sidebar {
    background-color: var(--white);
    padding: 40px;
}

.sidebar-title {
    font-size: 24px;
    color: var(--dark-green);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lighter-green);
}

.sidebar-categories {
    list-style: none;
    margin-bottom: 40px;
}

.sidebar-categories li {
    margin-bottom: 15px;
}

.sidebar-categories a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.sidebar-categories a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.sidebar-categories a.active {
    color: var(--primary-green);
    font-weight: 500;
}

.category-count {
    background-color: var(--lighter-green);
    color: var(--primary-green);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.recent-news {
    list-style: none;
}

.recent-news-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-news-item:last-child {
    border-bottom: none;
}

.recent-news-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.recent-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-news-content {
    flex-grow: 1;
}

.recent-news-title {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 5px;
    transition: var(--transition);
}

.recent-news-title:hover {
    color: var(--primary-green);
}

.recent-news-date {
    font-size: 14px;
    color: var(--text-light);
}
   
        /* 新闻详情区域 - 调整宽度与首页一致 */
        .news-detail-section {
            padding: 80px 0;
            background-color: var(--white);
        }
        
        .news-detail-container {
            max-width: 1400px; /* 新闻内容区域宽度 */
            margin: 0 auto;
        }
        
        .news-detail-header {
            text-align: center;
        }
        
        .news-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 25px;
        }
        
        .news-date, .news-category, .news-views {
            display: flex;
            align-items: center;
            color: var(--text-light);
            font-size: 16px;
        }
        
        .news-date i, .news-category i, .news-views i {
            margin-right: 8px;
            color: var(--light-green);
        }
        
        .news-category-tag {
            background-color: var(--primary-green);
            color: var(--white);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
        }
        
        .news-title {
            font-size: 36px;
            color: var(--text-dark);
            line-height: 1.4;
            margin-bottom: 20px;
        }
        
        .news-subtitle {
            font-size: 20px;
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 30px;
            font-weight: 400;
        }
        
        .news-cover-image {
            width: 100%;
            height: 500px;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 40px;
            box-shadow: var(--shadow);
        }
        
        .news-cover-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .news-cover-image:hover img {
            transform: scale(1.02);
        }
        
        /* 新闻内容 */
        .news-content {
            font-size: 18px;
            line-height: 1.8;
            color: var(--text-dark);
            margin-bottom: 60px;
        }
        
        .news-content h2 {
            font-size: 28px;
            color: var(--dark-green);
            margin: 40px 0 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--lighter-green);
        }
        
        .news-content h3 {
            font-size: 24px;
            color: var(--dark-green);
            margin: 30px 0 15px;
        }
        
        .news-content p {
            margin-bottom: 20px;
            text-align: justify;
        }
        
        .news-content ul, .news-content ol {
            margin-bottom: 20px;
            padding-left: 30px;
        }
        
        .news-content li {
            margin-bottom: 10px;
        }
        
        .news-content blockquote {
            border-left: 4px solid var(--light-green);
            padding-left: 20px;
            margin: 30px 0;
            font-style: italic;
            color: var(--text-light);
            background-color: var(--lighter-green);
            padding: 20px;
            border-radius: 0 8px 8px 0;
        }
        
        .news-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 30px 0;
            box-shadow: var(--shadow);
        }
        
        /* 语音播报悬浮按钮 */
        .voice-player-container {
            position: fixed;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 999;
        }
        
        .voice-player-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: var(--primary-green);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: var(--shadow-hover);
            transition: var(--transition);
            position: relative;
            z-index: 1001;
        }
        
        .voice-player-btn:hover {
            background-color: var(--dark-green);
            transform: scale(1.1);
        }
        
        .voice-player-panel {
            position: absolute;
            right: 0;
            top: -100px;
            background-color: var(--white);
            width: 350px;
            border-radius: 12px;
            box-shadow: var(--shadow-hover);
            padding: 25px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: var(--transition);
            z-index: 1000;
        }
        
        .voice-player-panel.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .voice-player-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .voice-player-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--dark-green);
        }
        
        .voice-player-close {
            background: none;
            border: none;
            font-size: 20px;
            color: var(--text-light);
            cursor: pointer;
            transition: var(--transition);
        }
        
        .voice-player-close:hover {
            color: var(--primary-green);
        }
        
        .voice-player-progress {
            margin-bottom: 20px;
        }
        
        .progress-time {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 14px;
            color: var(--text-light);
        }
        
        .progress-bar {
            height: 6px;
            background-color: var(--lighter-green);
            border-radius: 3px;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background-color: var(--light-green);
            width: 0%;
            border-radius: 3px;
            transition: width 0.3s ease;
        }
        
        .voice-player-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .player-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--lighter-green);
            color: var(--primary-green);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }
        
        .player-btn:hover {
            background-color: var(--primary-green);
            color: var(--white);
        }
        
        .play-btn {
            width: 60px;
            height: 60px;
            background-color: var(--primary-green);
            color: var(--white);
        }
        
        .play-btn:hover {
            background-color: var(--dark-green);
        }
        
        .voice-player-volume {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .volume-icon {
            color: var(--text-light);
            font-size: 20px;
        }
        
        .volume-slider {
            flex-grow: 1;
            height: 6px;
            background-color: var(--lighter-green);
            border-radius: 3px;
            position: relative;
            cursor: pointer;
        }
        
        .volume-fill {
            height: 100%;
            background-color: var(--light-green);
            width: 80%;
            border-radius: 3px;
        }
        
        .volume-handle {
            position: absolute;
            right: 20%;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            background-color: var(--primary-green);
            border-radius: 50%;
            cursor: grab;
        }
        
        /* 上一篇/下一篇导航 */
        .news-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 60px;
            padding-top: 40px;
            border-top: 1px solid #eee;
        }
        
        .nav-item {
            flex: 0 0 48%;
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--text-dark);
            transition: var(--transition);
            padding: 20px;
            border-radius: 8px;
            background-color: var(--lighter-green);
        }
        
        .nav-item:hover {
            background-color: var(--primary-green);
            color: var(--white);
            transform: translateY(-5px);
        }
        
        .nav-item:hover .nav-title {
            color: var(--white);
        }
        
        .nav-icon {
            font-size: 24px;
            margin: 0 15px;
        }
        
        .nav-content {
            flex-grow: 1;
        }
        
        .nav-label {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 5px;
        }
        
        .nav-item:hover .nav-label {
            color: rgba(255, 255, 255, 0.8);
        }
        
        .nav-title {
            font-size: 18px;
            font-weight: 500;
            line-height: 1.4;
            color: var(--text-dark);
            transition: var(--transition);
        }
        
        /* 相关新闻 */
        .related-news {
            margin-top: 80px;
            padding-top: 60px;
            border-top: 1px solid #eee;
        }
        
        .related-title {
            font-size: 28px;
            color: var(--dark-green);
            margin-bottom: 40px;
            text-align: center;
            position: relative;
        }
        
        .related-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--light-green);
        }
        
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
        
        .related-card {
            background-color: var(--white);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .related-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }
        
        .related-card-img {
            height: 200px;
            overflow: hidden;
        }
        
        .related-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .related-card:hover .related-card-img img {
            transform: scale(1.05);
        }
        
        .related-card-content {
            padding: 20px;
        }
        
        .related-card-date {
            font-size: 14px;
            color: var(--light-green);
            margin-bottom: 10px;
        }
        
        .related-card-title {
            font-size: 18px;
            color: var(--text-dark);
            line-height: 1.4;
            transition: var(--transition);
        }
        
        .related-card:hover .related-card-title {
            color: var(--primary-green);
        }
        



/* 响应式设计 */
@media (max-width: 1200px) {


    .news-list-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .page-title {
        font-size: 40px;
    }

    .news-list-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {


    .page-header {
        margin-top: 70px;
        padding: 60px 0 40px;
    }

    .page-title {
        font-size: 32px;
    }

    .news-list-container {
        grid-template-columns: 1fr;
    }

    .language-switcher {
        margin-right: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .categories-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .category-btn {
        white-space: nowrap;
    }

    .pagination-item {
        width: 35px;
        height: 35px;
    }
}

      
        @media (max-width: 1200px) {
            .news-detail-container {
                max-width: 800px;
            }
            
            .voice-player-panel {
                width: 320px;
            }
        }
        
        @media (max-width: 992px) {
            
            
            .page-title {
                font-size: 40px;
            }
            
            .news-title {
                font-size: 32px;
            }
            
            .news-detail-container {
                max-width: 700px;
            }
            
            .voice-player-container {
                right: 20px;
            }
        }
        
        @media (max-width: 768px) {
           
            
            
            .page-title {
                font-size: 32px;
            }
            
            .news-title {
                font-size: 28px;
            }
            
            .news-cover-image {
                height: 350px;
            }
            
            .news-detail-container {
                max-width: 100%;
            }
            
            .voice-player-container {
                right: 15px;
            }
            
            .voice-player-panel {
                width: 280px;
                right: -10px;
            }
            
            .news-navigation {
                flex-direction: column;
                gap: 20px;
            }
            
            .nav-item {
                width: 100%;
            }
            
            .related-grid {
                grid-template-columns: 1fr;
            }
            
            .language-switcher {
                margin-right: 10px;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
          
            
            .news-cover-image {
                height: 250px;
            }
            
            .news-meta {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
            
            .voice-player-container {
                right: 10px;
            }
            
            .voice-player-panel {
                width: 250px;
                right: -30px;
            }
            
            .news-content {
                font-size: 16px;
            }
        }