/* 新闻详情页样式 - show_news.html */

.news-detail-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }

/* 全宽布局（无左侧菜单） */
.news-detail-layout.news-detail-full { grid-template-columns: 1fr; }
.article-main.article-full-width { width: 100%; }

.article-main { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 2px 12px rgba(45, 138, 95, 0.08); }
.article-header { text-align: center; padding-bottom: 30px; border-bottom: 1px solid #e8f2ed; margin-bottom: 30px; }
.article-title { font-size: 26px; color: #1a5c3e; margin-bottom: 20px; line-height: 1.5; font-weight: 600; }
.article-meta { display: flex; justify-content: center; gap: 24px; color: #888; font-size: 14px; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; fill: #2d8a5f; }

.article-content { font-size: 16px; line-height: 2; color: #444; }
.article-content p { margin-bottom: 18px; text-align: justify; text-indent: 2em; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px auto; display: block; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-content td, .article-content th { border: 1px solid #d4e5dc; padding: 12px 16px; }
.article-content th { background: #f5f9f7; color: #1a5c3e; font-weight: 500; }
.article-content h2, .article-content h3, .article-content h4 { color: #1a5c3e; margin: 24px 0 16px; text-indent: 0; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 2em; }
.article-content li { margin-bottom: 8px; }

.article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e8f2ed; }
.article-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.article-tags .label { color: #888; font-size: 14px; }
.article-tags .tag { background: #f5f9f7; color: #2d8a5f; padding: 4px 12px; border-radius: 4px; font-size: 13px; }

.article-nav { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; }
.article-nav a { display: flex; align-items: center; gap: 8px; color: #666; font-size: 14px; transition: color 0.3s; padding: 12px 16px; background: #f9fcfa; border-radius: 8px; }
.article-nav a:hover { color: #2d8a5f; background: #f0f9f4; }
.article-nav .nav-label { color: #999; flex-shrink: 0; }
.article-nav .nav-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; }

.article-share { display: flex; align-items: center; gap: 16px; padding: 20px 0; }
.article-share .label { color: #888; font-size: 14px; }
.article-share .share-btns { display: flex; gap: 10px; }
.article-share .share-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f5f9f7; color: #2d8a5f; transition: all 0.3s; cursor: pointer; }
.article-share .share-btn:hover { background: #2d8a5f; color: #fff; }

.related-news { margin-top: 40px; }
.related-news h4 { font-size: 18px; color: #1a5c3e; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e8f2ed; display: flex; align-items: center; gap: 10px; }
.related-news h4::before { content: ''; width: 4px; height: 18px; background: #2d8a5f; border-radius: 2px; }
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f9fcfa; border-radius: 8px; transition: all 0.3s; }
.related-item:hover { background: #f0f9f4; transform: translateX(4px); }
.related-item .dot { width: 6px; height: 6px; background: #2d8a5f; border-radius: 50%; flex-shrink: 0; }
.related-item .title { flex: 1; font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-item .date { font-size: 12px; color: #999; flex-shrink: 0; }

@media (max-width: 768px) {
    .news-detail-layout { grid-template-columns: 1fr; }
    .notice-sidebar { display: none; }
    .article-main { padding: 24px; }
    .article-title { font-size: 20px; }
}
