/* =============================================================
   SHOW.CSS — 文章详情页专属样式
   ============================================================= */

/* ====== 文章头部 ====== */
.article-header { margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid #e8ecf0; }
.article-cat {
  display: inline-block; background: var(--c-coral); color: #fff;
  font-size: 0.72rem; padding: 0.15rem 0.7rem; border-radius: 30px;
  font-weight: 600; margin-bottom: 0.6rem;
}
.article-title {
  font-size: 1.5rem; font-weight: 800; color: var(--c-ink);
  line-height: 1.4; margin-bottom: 0.6rem;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  font-size: 0.78rem; color: var(--c-ink-40);
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.article-meta span i { font-size: 0.85rem; }

/* ====== 文章正文 ====== */
.article-body { font-size: 0.9rem; color: var(--c-ink-60); line-height: 2; }
.article-body p { margin-bottom: 1rem; text-indent: 2em; }
.article-body p.no-indent { text-indent: 0; }
.article-body h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--c-ink);
  margin: 1.8rem 0 0.8rem; padding-left: 0.7rem; border-left: 3px solid var(--c-teal-300);
}
.article-body img {
  width: 100%; border-radius: var(--radius-round); margin: 1.2rem 0;
  box-shadow: var(--shadow-s);
}
.article-body blockquote {
  background: var(--c-ice); border-left: 3px solid var(--c-teal-300);
  padding: 0.8rem 1.2rem; margin: 1.2rem 0; border-radius: 0 var(--radius-round) var(--radius-round) 0;
  font-size: 0.85rem; color: var(--c-ink-60); font-style: italic;
}
.article-body blockquote p { text-indent: 0; margin-bottom: 0; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body ul li, .article-body ol li { margin-bottom: 0.4rem; }
.article-body strong { color: var(--c-ink); }
.article-body table { width: 100%; font-size: 0.82rem; margin: 1rem 0; border-collapse: collapse; }
.article-body table th { background: var(--c-teal-500); color: #fff; padding: 0.6rem 0.8rem; text-align: left; font-weight: 600; }
.article-body table td { padding: 0.6rem 0.8rem; border-bottom: 1px solid #e8ecf0; color: var(--c-ink-60); }

/* ====== 文章图片说明 ====== */
.article-body .img-caption {
  text-align: center; font-size: 0.75rem; color: var(--c-ink-40);
  margin-top: -0.6rem; margin-bottom: 1.2rem; text-indent: 0;
}

/* ====== 文章底部：标签 + 分享 ====== */
.article-footer {
  margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid #e8ecf0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.article-tags .at-label { font-size: 0.78rem; color: var(--c-ink-40); margin-right: 0.3rem; }
.article-tags a {
  font-size: 0.75rem; color: var(--c-ink-60); background: var(--c-ice);
  padding: 0.2rem 0.7rem; border-radius: 30px; transition: 0.2s;
}
.article-tags a:hover { background: var(--c-teal-500); color: #fff; }
.article-share { display: flex; gap: 0.4rem; align-items: center; }
.article-share .as-label { font-size: 0.78rem; color: var(--c-ink-40); margin-right: 0.3rem; }
.article-share a {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #fff; transition: 0.2s;
}
.article-share a:hover { transform: translateY(-2px); }
.article-share .as-wechat { background: #07c160; }
.article-share .as-weibo { background: #e6162d; }
.article-share .as-link { background: var(--c-teal-500); }

/* ====== 上下篇导航 ====== */
.article-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; padding: 1.2rem; background: var(--c-ice);
  border-radius: var(--radius-round);
}
.article-nav .an-item { flex: 1; }
.article-nav .an-item:last-child { text-align: right; }
.article-nav .an-label { font-size: 0.72rem; color: var(--c-ink-40); display: block; margin-bottom: 0.2rem; }
.article-nav .an-item a { font-size: 0.82rem; color: var(--c-ink-60); font-weight: 600; transition: 0.2s; }
.article-nav .an-item a:hover { color: var(--c-teal-500); }

/* ====== 响应式 ====== */
@media (max-width: 991px) {
  .article-title { font-size: 1.2rem; }
  .article-footer { flex-direction: column; align-items: flex-start; }
}
