/* 新闻详情页面 */
.news-detail-page { margin: 22px auto; }
.news-detail {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.news-detail h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #667eea;
}

/* 新闻元信息 */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.news-date {
    color: #666;
    font-size: 0.9rem;
}
.news-hits {
    color: #888;
    font-size: 0.9rem;
}
.news-category {
    background: #667eea;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
}

/* 新闻内容 */
.news-content {
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 8px;
}

/* 标签 */
.news-tags {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}
.news-tags span {
    color: #856404;
    font-weight: 500;
    margin-right: 0.5rem;
}
.news-tag {
    display: inline-block;
    background: white;
    color: #856404;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    margin: 0.2rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.news-tag:hover {
    background: #856404;
    color: white;
}

/* 返回链接 */
.news-back {
    margin-bottom: 2rem;
}
.news-back a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}
.news-back a:hover {
    background: #5568d3;
    transform: translateX(-4px);
}

/* 上下篇导航 */
.news-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
}
.nav-prev, .nav-next {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-prev:hover, .nav-next:hover {
    background: #e9ecef;
}
.nav-prev span, .nav-next span {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.nav-prev a, .nav-next a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}
.nav-prev a:hover, .nav-next a:hover {
    color: #764ba2;
}
.nav-empty {
    opacity: 0.5;
}
.nav-empty span:last-child {
    color: #999;
    font-style: italic;
}

/* 未找到状态 */
.no-news {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.no-news h2 {
    color: #999;
    margin-bottom: 1rem;
}
.no-news p {
    color: #666;
    margin-bottom: 1.5rem;
}
.no-news a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}
.no-news a:hover {
    background: #5568d3;
}

/* 响应式 */
@media (max-width: 768px) {
    .news-detail { padding: 1.5rem; }
    .news-detail h1 { font-size: 1.8rem; }
    .news-meta { padding: 1rem; gap: 1rem; }
    .news-navigation { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 480px) {
    .news-detail { padding: 1rem; }
    .news-detail h1 { font-size: 1.5rem; }
    .news-meta { flex-direction: column; align-items: flex-start; }
    .nav-prev, .nav-next { padding: 1rem; }
}
