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


/* 页面标题区域 */
.page-header {
    background-color: #F9F1E4;
    padding: 60px 0 0px;
    text-align: center;
}

/* .page-title {
    margin-bottom: 20px;
} */

.page-title-image {
    max-width: 300px;
    height: auto;
}

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

.breadcrumb a {
    color: #AA1322;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #8a0a1a;
}

.breadcrumb span {
    color: #999;
}

/* 新闻内容主区域 */
.news-main {
    background-color: #F9F1E4;
    padding: 40px 0 60px;
    min-height: 800px;
}



/* 新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 50px;
}

/* 新闻卡片链接样式 */
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 新闻卡片样式 */
.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.news-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(170, 19, 34, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.news-card-content {
    padding: 25px;
}

.news-category {
    display: inline-block;
    background-color: #f0f0f0;
    color: #AA1322;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

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

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

.read-more {
    color: #AA1322;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #8a0a1a;
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 15px;
    background-color: white;
    border: 2px solid #ddd;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    position: relative;
}

.page-btn:hover:not(:disabled) {
    border-color: #AA1322;
    color: #AA1322;
}

.page-btn.active {
    background-color: #AA1322;
    border-color: #AA1322;
    color: white;
}

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

/* 分页容器中的页码样式 */
.pagination strong {
    font-weight: bold;
    color: #fff;
    padding: 10px 15px;
    background-color:#AA1322;
    border-radius: 4px;
    font-size: 14px;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.pagination a {
    padding: 10px 15px;
    background-color: white;
    border: 1px solid #f7d5d5;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    transition: all 0.3s ease;
}

/* 当前分页链接样式 */
.pagination a.active {
    background-color: #AA1322;
    border-color: #AA1322;
    color: white;
}

.pagination a:hover {
    border-color: #AA1322;
    color: #AA1322;
    text-decoration: none;
}

.page-ellipsis {
    color: #999;
    font-size: 14px;
}

/* 新闻详情页样式 */
.news-detail-main {
    background: linear-gradient(135deg, #F9F1E4 0%, #FFF9F0 100%);
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.news-detail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #AA1322, #FF6B6B);
}

.news-detail-content {
    padding: 50px 60px;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.news-category {
    display: inline-block;
    background-color:  #AA1322;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(170, 19, 34, 0.3);
}

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

/* 新闻详情页专用标题样式 */
.news-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #AA1322;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: center;
    position: relative;
}



.news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.news-date, .news-author, .news-views {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-date::before {
    content: '📅';
    font-size: 16px;
}

.news-author::before {
    content: '👤';
    font-size: 16px;
}

.news-views::before {
    content: '👁️';
    font-size: 16px;
}

.news-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.news-body p {
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

/*.news-body p::before {*/
/*    content: '•';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    color: #AA1322;*/
/*    font-weight: bold;*/
/*    font-size: 18px;*/
/*}*/

/* 新闻引言样式 */
.news-intro {
    background: linear-gradient(135deg, #FFF9F9, #FFF0F0);
    border-left: 4px solid #AA1322;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 5px 20px rgba(170, 19, 34, 0.1);
}

.news-intro p {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.news-intro p::before {
    content: none !important;
}

/* 新闻章节样式 */
.news-section {
    margin-bottom: 50px;
    position: relative;
}

.news-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #AA1322;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
  
}

.news-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #AA1322, #FF6B6B);
}

/* 统计数据容器 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #F8F9FA, #E9ECEF);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #AA1322;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 特性列表样式 */
.feature-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #AA1322, #FF6B6B);
    border-radius: 50%;
    color: white;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.feature-content p::before {
    content: none !important;
}

/* 时间线样式 */
.timeline {
    margin: 30px 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #AA1322, #FF6B6B);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.timeline-year {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #AA1322, #FF6B6B);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(170, 19, 34, 0.3);
}

.timeline-content {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: #333;
    flex: 1;
}

.news-image {
    margin: 40px 0;
    text-align: center;
}

.news-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.image-caption {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

.news-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #F0F0F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.back-to-list {
   
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: auto;
}

.back-to-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(170, 19, 34, 0.4);
}

.nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.prev-news, .next-news {
    background: white;
  
    color: #666;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.prev-news:hover, .next-news:hover {
   
    color: #AA1322;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(170, 19, 34, 0.2);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .news-detail-content {
        padding: 40px;
    }
    
    .news-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .news-main {
        padding: 30px 0 40px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    /* 新闻详情页响应式 */
    .news-detail-content {
        padding: 30px 20px;
    }
    
    .news-detail-title {
        font-size: 22px;
    }
    
    .news-meta {
        gap: 15px;
        justify-content: flex-start;
    }
    
    .news-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nav-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .prev-news, .next-news {
        min-width: 150px;
        font-size: 13px;
    }
    
    /* 新闻详情页响应式样式 */
    .news-intro {
        padding: 20px 25px;
        margin-bottom: 30px;
    }
    
    .news-intro p {
        font-size: 16px;
    }
    
    .news-section {
        margin-bottom: 40px;
    }
    
    .news-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 14px;
        margin-right: 15px;
    }
    
    .timeline-content {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-title-image {
        max-width: 250px;
    }
    
    .news-filter {
        padding: 15px;
    }
    
    .filter-tab {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .news-card-image {
        height: 160px;
    }
    
    .news-card-content {
        padding: 15px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* 隐藏类用于筛选功能 */
.hidden {
    display: none !important;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top: 2px solid #AA1322;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}