/* 新闻中心样式 */

/* 页面头部 */
.page-header {
    background: #f8f9fa;
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.breadcrumb li {
    color: #666;
    font-size: 14px;
}

.breadcrumb li:after {
    content: ">";
    margin: 0 10px;
    color: #999;
}

.breadcrumb li:last-child:after {
    display: none;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #007bff;
}

/* 新闻分类导航 */
.news-categories {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.category-nav li a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.category-nav li a:hover,
.category-nav li a.active {
    color: #007bff;
}

.category-nav li a.active:after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #007bff;
}

/* 新闻列表 */
.news-list {
    padding: 40px 0;
}

.news-item {
    background: #fff;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* 新闻日期 */
.news-date {
    flex-shrink: 0;
    text-align: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    min-width: 80px;
}

.news-date .day {
    font-size: 32px;
    font-weight: bold;
    color: #007bff;
    line-height: 1;
    margin-bottom: 5px;
}

.news-date .month-year {
    font-size: 14px;
    color: #666;
    line-height: 1;
}

/* 新闻内容 */
.news-content {
    flex: 1;
}

.news-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-title:hover {
    color: #007bff;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

/* 新闻元信息 */
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-tags {
    display: flex;
    gap: 10px;
}

.news-tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-tag:hover {
    background: #007bff;
    color: #fff;
}

.news-more {
    background: #007bff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-more:hover {
    background: #0056b3;
    transform: translateX(2px);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0;
}

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

.pagination a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination .active a {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .news-date {
        align-self: flex-start;
        min-width: 60px;
        padding: 15px;
    }
    
    .news-date .day {
        font-size: 24px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .category-nav {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

