/* 新闻页面专用样式 */

/* 新闻中心横幅 */
.news-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 0;
}

.news-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.news-banner p {
    font-size: 1.2rem;
    margin: 20px 0 0 0;
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
}

.breadcrumb-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-links a {
    color: #1e3c72;
    text-decoration: none;
}

.breadcrumb-links a:hover {
    text-decoration: underline;
}

/* 新闻分类筛选区域 */
.news-filter {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.news-filter-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

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

.filter-btn {
    background: white;
    color: #666;
    border: 2px solid #ddd;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #1e3c72;
    color: #1e3c72;
}

.filter-btn.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-color: #1e3c72;
}

/* 新闻列表区域 */
.news-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 80px;
    margin-top: 30px;
}

/* 新闻卡片样式 */
.news-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-description:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

.news-description:hover .news-image {
    transform: scale(1.05);
}

.news-info {
    padding: 25px;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.read-more {
    color: #1e3c72;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    float: right;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

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

.pagination-btn {
    background: white;
    color: #666;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-btn:hover {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
}

.pagination-btn.active {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-banner h1 {
        font-size: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
}
