/* ========== 新闻栏目页 / 文章详情页 共用样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: #111; background: #fff;
}
a { text-decoration: none; color: inherit; }

/* 顶部导航 */
.sub-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid #f0f0f0;
}
.sub-header .logo {
  font-size: 22px; font-weight: 800; letter-spacing: 2px;
  color: #111; font-style: italic;
}
.sub-header .back { font-size: 14px; color: #4b5563; transition: color .2s; }
.sub-header .back:hover { color: #111; }

/* ---------- 新闻栏目页 ---------- */
.page-hero {
  text-align: center; padding: 72px 20px 48px;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}
.page-hero h1 { font-size: 34px; font-weight: 700; }
.page-hero p { margin-top: 12px; font-size: 15px; color: #6b7280; }

.news-list { max-width: 860px; margin: 0 auto; padding: 20px 20px 90px; }
.news-row {
  display: flex; gap: 24px; padding: 26px 6px;
  border-bottom: 1px solid #ececec; align-items: center;
  transition: background .2s;
}
.news-row:hover { background: #fafbfc; }
.news-row .thumb {
  flex: none; width: 220px; aspect-ratio: 16 / 9;
  border-radius: 12px; object-fit: cover; border: 1px solid #f0f0f0;
}
.news-row .info { flex: 1; min-width: 0; }
.news-row .date { font-size: 12.5px; color: #9ca3af; }
.news-row .title {
  margin-top: 6px; font-size: 18px; font-weight: 600; color: #111; line-height: 1.5;
}
.news-row .excerpt {
  margin-top: 8px; font-size: 14px; color: #6b7280; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row .more { display: inline-block; margin-top: 10px; font-size: 13.5px; color: #2563eb; }

/* ---------- 文章详情页 ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 56px 20px 90px; }
.article-wrap .crumb { font-size: 13.5px; color: #9ca3af; }
.article-wrap .crumb a { color: #6b7280; }
.article-wrap .crumb a:hover { color: #111; }
.article-title { margin-top: 18px; font-size: 32px; font-weight: 700; line-height: 1.4; }
.article-meta { margin-top: 14px; font-size: 13.5px; color: #9ca3af; display: flex; gap: 16px; }
.article-cover {
  margin-top: 28px; width: 100%; border-radius: 16px;
  border: 1px solid #eef0f3; display: block;
}
.article-body { margin-top: 34px; font-size: 16px; line-height: 2; color: #374151; }
.article-body h3 { margin: 34px 0 12px; font-size: 20px; color: #111; }
.article-body p { margin-bottom: 16px; }
.article-body ul { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; }
.article-nav {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid #ececec;
  display: flex; justify-content: space-between; font-size: 14.5px;
}
.article-nav a { color: #2563eb; }
.article-nav a:hover { text-decoration: underline; }

/* 底部版权栏 */
.footer { background: #0d0d0d; padding: 26px 20px; text-align: center; }
.footer .copy {
  color: #8a8a8a; font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;
}
.footer .copy a { color: #8a8a8a; }
.footer .copy a:hover { color: #d4d4d4; }
.footer .sep { color: #3f3f46; }

/* 响应式 */
@media (max-width: 640px) {
  .sub-header { padding: 14px 20px; }
  .page-hero { padding: 52px 20px 36px; }
  .page-hero h1 { font-size: 26px; }
  .news-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .news-row .thumb { width: 100%; }
  .article-title { font-size: 25px; }
  .article-nav { flex-direction: column; gap: 12px; }
}
