/* ========================================
   新闻样式
   ======================================== */

/* 新闻区块（首页） */
.news-section {
    padding: 80px 0;
    background: #fff;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.news-category {
    display: inline-block;
    background: linear-gradient(135deg, #0066ff, #00c9ff);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.news-date {
    font-size: 13px;
    color: #999;
}
.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-title a {
    color: inherit;
    transition: color 0.2s;
}
.news-title a:hover {
    color: #0066ff;
}
.news-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}
.news-more {
    font-size: 14px;
    color: #0066ff;
    font-weight: 500;
}
.news-more:hover {
    color: #ff4757;
}

/* 新闻列表页 */
.news-page {
    padding: 60px 0 80px;
    background: #f8f9ff;
    min-height: 60vh;
}
.page-title {
    font-size: 32px;
    font-weight: 800;
    color: #0d1b3e;
    margin-bottom: 32px;
    text-align: center;
}
.news-list-page {
    max-width: 800px;
    margin: 0 auto;
}
.news-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.news-item-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}
.news-item-category {
    background: #e8f0ff;
    color: #0066ff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
.news-item-date {
    font-size: 13px;
    color: #999;
}
.news-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.news-item-title a {
    color: inherit;
}
.news-item-title a:hover {
    color: #0066ff;
}
.news-item-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}
.news-item-link {
    font-size: 14px;
    color: #0066ff;
    font-weight: 500;
}

/* 新闻详情页 */
.news-detail {
    padding: 60px 0 80px;
    background: #fff;
    min-height: 60vh;
}
.news-detail-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}
.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #999;
}
.news-detail-category {
    background: linear-gradient(135deg, #0066ff, #00c9ff);
    color: #fff;
    padding: 4px 14px;
    border-radius: 12px;
    font-weight: 500;
}
.news-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: #0d1b3e;
    line-height: 1.4;
}
.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: #333;
}
.news-detail-content p {
    margin-bottom: 20px;
}
.news-detail-content h2,
.news-detail-content h3 {
    margin: 32px 0 16px;
    color: #0d1b3e;
}
.news-detail-content ul,
.news-detail-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.news-detail-content li {
    margin-bottom: 8px;
}
.news-detail-footer {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.btn-outline {
    background: transparent;
    border: 2px solid;
}

/* 响应式 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-detail-title {
        font-size: 24px;
    }
    .news-detail-content {
        font-size: 15px;
    }
}
