/* =========================================================================
   学托帮 · SEO 内容专题页共享样式
   URL: /articles/*.html  （静态可爬取，搜索引擎友好）
   ========================================================================= */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  color: #2b3440;
  background: #f3f7f4;
  line-height: 1.9;
  font-size: 16px;
}
a { color: #0e7a45; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ---------- 顶栏 ---------- */
.site-bar {
  background: #fff;
  border-bottom: 1px solid #e3ece6;
  position: sticky; top: 0; z-index: 10;
}
.site-bar-inner {
  max-width: 860px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: #123524; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #22C55E, #15803D);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 800; flex: none;
}
.site-cta {
  font-size: 13.5px; color: #0e7a45; font-weight: 600;
  border: 1px solid #22C55E; padding: 7px 16px; border-radius: 999px; background: #f1fbf5;
  transition: all .2s;
}
.site-cta:hover { background: #22C55E; color: #fff; text-decoration: none; }

/* ---------- 正文卡片 ---------- */
.wrap { max-width: 860px; margin: 0 auto; padding: 26px 20px 64px; }
article.card {
  background: #fff; border: 1px solid #e6eee9; border-radius: 16px;
  padding: 40px 48px 48px; box-shadow: 0 6px 28px rgba(20, 60, 40, .06);
}
h1 { font-size: 29px; line-height: 1.45; margin: 6px 0 14px; color: #123524; letter-spacing: .5px; }
.meta { font-size: 13px; color: #7c8a81; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed #dfe9e2; margin-bottom: 22px; }
.meta .tag {
  background: #e6f6ec; color: #0e7a45; border-radius: 6px; padding: 2px 9px; font-size: 12px;
}
h2 { font-size: 21px; margin: 34px 0 12px; color: #174a2e; padding-left: 12px; position: relative; }
h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, #22C55E, #15803D); }
h3 { font-size: 17px; margin: 22px 0 8px; color: #23422f; }
p { margin: 10px 0; }
ul, ol { margin: 10px 0; padding-left: 24px; }
li { margin: 6px 0; }
strong { color: #174a2e; }
.tip {
  background: #f1faf5; border: 1px solid #d3ecdc; border-left: 4px solid #22C55E;
  border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: 15px;
}
.tip .t-label { font-weight: 700; color: #0e7a45; margin-right: 4px; }

/* ---------- 文末 CTA ---------- */
.cta-bar {
  margin: 34px 0 0; border-radius: 16px; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #16A34A, #15803D);
  padding: 26px 30px; text-align: center;
}
.cta-bar h2 { color: #fff; margin: 0 0 8px; font-size: 21px; padding: 0; }
.cta-bar h2::before { display: none; }
.cta-bar p { margin: 6px auto 16px; max-width: 560px; font-size: 14.5px; color: #eafff2; }
.cta-btn {
  display: inline-block; background: #fff; color: #15803D !important; font-weight: 700;
  padding: 11px 30px; border-radius: 999px; font-size: 15px; text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.cta-sub { font-size: 12.5px; color: #d5f5e1; margin-top: 10px !important; }

/* ---------- 相关专题 ---------- */
.more-title { font-size: 17px; font-weight: 700; color: #2b3a30; margin: 40px 0 12px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.more-grid a {
  display: block; background: #fff; border: 1px solid #e3ece6; border-radius: 12px;
  padding: 12px 16px; font-size: 14px; color: #2b3a30; text-decoration: none; transition: all .2s;
}
.more-grid a:hover { border-color: #22C55E; color: #0e7a45; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20,80,50,.08); }

/* ---------- 页脚 ---------- */
.site-footer {
  max-width: 860px; margin: 0 auto; padding: 22px 20px 40px;
  color: #8ba093; font-size: 12.5px; text-align: center; line-height: 2;
}
.site-footer a { color: #0e7a45; }

@media (max-width: 640px) {
  body { font-size: 15px; }
  article.card { padding: 26px 20px 34px; border-radius: 12px; }
  h1 { font-size: 23px; }
  h2 { font-size: 18.5px; }
  .wrap { padding: 14px 12px 40px; }
  .site-bar-inner { padding: 10px 14px; }
}
