/* news.css - 最新资讯页面专用样式 */
.page-container {
    padding-top: 116px;
}

/* 容器样式 */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1400px;
}

.container-1400 {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1400px;
}

/* 英雄区域 */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    background: linear-gradient(135deg, 
        rgba(52, 150, 224, 0.85) 0%, 
        rgba(0, 68, 148, 0.8) 50%, 
        rgba(0, 168, 232, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-icon {
    margin-bottom: 24px;
}

.hero-icon .iconfont {
    font-size: 4rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 内容区块 */
.content-section {
    padding: 80px 0 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto;
}

/* 分类导航 - 纯文字版本 */
.category-navigation {
    margin-bottom: 60px;
}

.category-tabs {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-tab {
    flex: 1;
    text-align: center;
    padding: 20px 10px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.category-tab:not(:last-child) {
    border-right: 1px solid rgba(0,0,0,0.08);
}

.category-tab.active {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(0,102,204,0.05), rgba(0,168,232,0.05));
}

.category-tab.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.category-tab:hover:not(.active) {
    color: var(--primary);
    background: rgba(0,102,204,0.03);
}

/* 资讯列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

.news-items {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.news-items:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    border-left-color: var(--primary);
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.news-content img {
    max-width: 100%;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.news-date .iconfont {
    font-size: 1rem;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.news-excerpt {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-read-more:hover {
    gap: 12px;
    color: var(--secondary);
}

.news-read-more .iconfont {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.news-read-more:hover .iconfont {
    transform: translateX(3px);
}

/* 分页 */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 5px 15px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination-btn.next {
    padding: 5px 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-banner {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .news-items {
        padding: 25px 20px;
    }
    
    .news-title {
        font-size: 1.3rem;
    }
    
    .news-excerpt {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-icon .iconfont {
        font-size: 3rem;
    }
    
    .news-items {
        padding: 20px 15px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-pagination {
        gap: 5px;
    }
    
    .pagination-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}

/* 响应式分类导航 */
@media (max-width: 768px) {
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .category-tab {
        flex: 1 0 50%;
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    
    .category-tab:nth-child(odd) {
        border-right: 1px solid rgba(0,0,0,0.08) !important;
    }
}

@media (max-width: 576px) {
    .category-tab {
        flex: 1 0 100%;
        border-right: none !important;
    }
}