/* ============================================================
   公众号文章统一样式  wechat-style.css
   用于 D:\hermes\work\公众号抓取\ 下所有抓取文章
   引用方式：<link rel="stylesheet" href="../assets/wechat-style.css">
   文章目录结构：
     公众号抓取/
       assets/wechat-style.css
       20260803-文章标题/
         index.html
         image2026/*.jpg|png
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #f2f2f2;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 677px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}

/* ---- 顶部账号条 ---- */
.account-bar {
  display: flex;
  align-items: center;
  padding: 16px 16px 0;
}
.account-bar .avatar {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: #07c160; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold;
  margin-right: 10px; flex-shrink: 0;
}
.account-bar .name { font-size: 16px; font-weight: 600; }
.account-bar .tag {
  font-size: 11px; color: #999;
  border: 1px solid #ddd; border-radius: 4px;
  padding: 0 4px; margin-left: 6px;
}

/* ---- 标题区 ---- */
.title-wrap { padding: 20px 16px 12px; }
h1.article-title {
  font-size: 22px; font-weight: 700; line-height: 1.4;
  color: #1a1a1a; letter-spacing: 0.5px;
}
.meta {
  padding: 10px 16px 0;
  font-size: 14px; color: #bbb;
  display: flex; align-items: center;
}
.meta .date { margin-left: 10px; }
.divider { border: 0; border-top: 1px solid #eee; margin: 14px 16px; }

/* ---- 正文 ---- */
#js_content {
  padding: 4px 16px 30px;
  font-size: 17px;
  word-break: break-word;
}
#js_content p { margin-bottom: 1.2em; }
#js_content strong, #js_content b { font-weight: 700; color: #1a1a1a; }
#js_content section { margin-bottom: 1.2em; }
#js_content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.2em auto;
  border-radius: 4px;
}
#js_content h3 { font-size: 18px; margin: 1.4em 0 0.8em; color: #1a1a1a; }
#js_content a { color: #576b95; text-decoration: none; }
#js_content blockquote {
  border-left: 3px solid #07c160;
  background: #f7f7f7;
  padding: 10px 14px;
  margin: 1.2em 0;
  color: #666;
  border-radius: 0 4px 4px 0;
}

/* 视频占位（微信视频无法离线播放） */
.video-placeholder {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 18px 16px;
  text-align: center;
  color: #888;
  font-size: 14px;
  margin: 1.2em 0;
}
.video-placeholder a { color: #07c160; font-weight: 600; }

/* ---- 底部 ---- */
.footer {
  background: #f7f7f7;
  padding: 24px 16px 40px;
  text-align: center;
}
.footer .qr {
  width: 128px; height: 128px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer .qr img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
}
.footer .qr .placeholder {
  color: #999; font-size: 12px;
}
.footer .foot-name { font-size: 15px; font-weight: 600; color: #333; }
.footer .foot-tip { font-size: 12px; color: #999; margin-top: 6px; }

@media (max-width: 677px) {
  body { background: #fff; }
}


/* ---- 相关推荐 ---- */
.related-links {
  margin: 16px 16px 0;
  padding-top: 14px;
  border-top: 1px solid #eee;
}
.related-links .rel-h {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.related-links .rel-sub {
  font-size: 13px;
  color: #888;
  margin: 10px 0 6px;
  padding-left: 8px;
  border-left: 3px solid #07c160;
}
.related-links .rel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-links .rel-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
}
.related-links .rel-list li:last-child {
  border-bottom: none;
}
.related-links .rel-list a {
  color: #576b95;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.related-links .rel-nav {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
.related-links .rel-nav a {
  color: #576b95;
  text-decoration: none;
  font-size: 13px;
  margin-right: 12px;
}
