/* 新闻中心页面样式 */

/* 新闻列表区域 */
.news-list {
    padding: 60px 0;
}

.news-list .news-grid {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 新闻卡片样式 */
.news-item {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.news-item img {
    width: 40%;
    object-fit: cover;
    height: 280px;
}

.news-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.news-header h3 {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
    margin: 0;
}

.news-date {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    padding-top: 2px;
}

.news-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 25px 0;
    flex: 1;
}

.news-link {
    font-size: 14px;
    color: #1a4b94;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-start;
    padding: 0;
    background: none;
    border-radius: 0;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.news-link::after {
    content: '→';
    margin-left: 6px;
    transition: transform 0.3s;
}

.news-link:hover {
    color: #0d3b7a;
    text-decoration: none;
}

.news-link:hover::after {
    transform: translateX(4px);
}

/* 加载更多按钮 */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.load-more-btn {
    padding: 15px 50px;
    background: #1a4b94;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: #0d3b7a;
}

/* 时间线样式 */
.timeline {
    margin-top: 30px;
}

.timeline-item {
    padding: 20px 0;
    padding-left: 30px;
    border-left: 2px solid #1a4b94;
    position: relative;
    margin-bottom: 10px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 25px;
    width: 14px;
    height: 14px;
    background: #1a4b94;
    border-radius: 50%;
}

.timeline-item h3 {
    font-size: 18px;
    color: #1a4b94;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 14px;
    color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-list {
        padding: 40px 0;
    }
    
    .news-list .news-grid {
        width: 100%;
        padding: 0 15px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item img {
        width: 100%;
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-header h3 {
        font-size: 18px;
    }
    
    .news-content p {
        font-size: 14px;
    }
    
    .load-more-btn {
        padding: 12px 40px;
        font-size: 14px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
    
    .timeline-item h3 {
        font-size: 16px;
    }
    
    .timeline-item p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-list {
        padding: 30px 0;
    }
    
    .news-item img {
        height: 180px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-header h3 {
        font-size: 16px;
    }
    
    .news-content p {
        font-size: 13px;
    }
    
    .load-more-btn {
        padding: 10px 30px;
        font-size: 13px;
    }
    
    .timeline-item h3 {
        font-size: 15px;
    }
    
    .timeline-item p {
        font-size: 12px;
    }
}
