/* 新闻详情页 */
.news-detail { max-width: 860px; margin: 0 auto; }

/* 面包屑 */
.news-breadcrumb {
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 32px; display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}
.news-breadcrumb a { color: var(--text-secondary); }
.news-breadcrumb a:hover { color: var(--accent); }
.news-breadcrumb .current { color: var(--text-primary); max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 文章 */
.news-article {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px;
    margin-bottom: 32px;
}
.news-article-header { margin-bottom: 28px; }
.news-article-header h1 {
    font-size: 28px; font-weight: 700; line-height: 1.4;
    margin-bottom: 16px; color: var(--text-primary);
}
.news-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    font-size: 13px; color: var(--text-muted);
}
.news-meta-summary { color: var(--text-secondary); }

.news-article-cover {
    margin-bottom: 28px; border-radius: var(--radius-sm);
    overflow: hidden;
}
.news-article-cover img {
    width: 100%; max-height: 400px; object-fit: cover;
    display: block;
}

.news-article-body {
    font-size: 15px; line-height: 1.9; color: var(--text-secondary);
}
.news-article-body p { margin-bottom: 16px; }
.news-article-body h2 {
    font-size: 20px; font-weight: 600; color: var(--text-primary);
    margin: 28px 0 12px;
}
.news-article-body h3 {
    font-size: 17px; font-weight: 600; color: var(--text-primary);
    margin: 20px 0 10px;
}
.news-article-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }
.news-article-body a { color: var(--accent); text-decoration: underline; }
.news-article-body ul, .news-article-body ol {
    padding-left: 20px; margin-bottom: 16px;
}
.news-article-body li { margin-bottom: 6px; list-style: disc; }
.news-article-body ol li { list-style: decimal; }
.news-article-body blockquote {
    border-left: 3px solid var(--accent); padding: 12px 20px;
    margin: 16px 0; background: var(--accent-glow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-primary);
}

/* 上下篇导航 */
.news-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.news-nav-item {
    display: flex; flex-direction: column; gap: 6px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    transition: all var(--transition);
    text-decoration: none;
}
.news-nav-item:hover {
    border-color: var(--accent); box-shadow: var(--shadow-accent);
}
.news-nav-item.news-nav-empty { background: none; border: none; }
.news-nav-label {
    font-size: 12px; color: var(--text-muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
}
.news-nav-title {
    font-size: 14px; color: var(--text-primary);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.5;
}
.news-nav-item:hover .news-nav-title { color: var(--accent); }

.news-nav-next { text-align: right; }

/* Mobile */
@media (max-width: 768px) {
    .news-article { padding: 24px; }
    .news-article-header h1 { font-size: 22px; }
    .news-article-body { font-size: 14px; line-height: 1.8; }
    .news-article-cover img { max-height: 280px; }
    .news-breadcrumb { margin-bottom: 20px; font-size: 12px; }
    .news-nav { grid-template-columns: 1fr; gap: 12px; }
    .news-nav-next { text-align: left; }
}

@media (max-width: 480px) {
    .news-article { padding: 18px; }
    .news-article-header h1 { font-size: 20px; line-height: 1.35; }
    .news-article-body { font-size: 13px; }
    .news-article-body h2 { font-size: 17px; }
    .news-article-body h3 { font-size: 15px; }
    .news-article-cover img { max-height: 220px; }
    .news-nav-item { padding: 14px; }
    .news-nav-title { font-size: 13px; }
}

@media (max-width: 360px) {
    .news-article { padding: 14px; }
    .news-article-header h1 { font-size: 18px; }
    .news-article-body { font-size: 12px; }
}
