/* ============================================================
   peacm.com SEO教程栏目 css/news-seo.css
   布局概念：知识图谱卡片簇（中心+五分支虚线连接）首屏
   → 图文引入 → 勾选式检查清单表 → 文章卡+文章串 → 询价CTA
   ============================================================ */

/* ---------- 1. 首屏图谱 ---------- */
.seo-hero {
  padding: calc(var(--header-h) + 46px) 0 70px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(220, 232, 210, 0.55), transparent 65%),
    var(--cream);
}

.seo-hero-head {
  max-width: 660px;
  margin: 0 auto 50px;
  text-align: center;
}

.seo-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: #fff;
  background: var(--green-deep);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.seo-hero-head h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  margin-bottom: 14px;
}

.seo-hero-head h1 em {
  font-style: normal;
  color: var(--amber);
}

.seo-hero-sub {
  color: var(--ink-2);
  font-size: 15px;
}

.seo-hero-sub a {
  color: var(--amber-deep);
  font-weight: 700;
}

/* 图谱 */
.seo-graph {
  max-width: 900px;
  margin: 0 auto 44px;
}

.seo-graph-center {
  position: relative;
  width: 260px;
  margin: 0 auto 64px;
  background: linear-gradient(135deg, var(--green-deep), #55794F);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-lift);
}

.seo-graph-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}

.seo-graph-center h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 4px;
}

.seo-graph-center p {
  font-size: 12.5px;
  color: var(--green-1);
}

/* 五分支 */
.seo-graph-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* 横向连接线 */
.seo-graph-branches::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed var(--green-3);
}

.seo-branch {
  position: relative;
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.seo-branch:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

/* 竖向连接线 */
.seo-branch::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 50%;
  width: 2px;
  height: 44px;
  border-left: 2px dashed var(--green-3);
}

.seo-branch h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--green-deep);
}

.seo-branch p {
  font-size: 12px;
  color: var(--ink-2);
}

.seo-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 2. 图文引入 ---------- */
.seo-intro {
  background: var(--cream-2);
}

.seo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.seo-intro-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
}

.seo-intro-txt h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 16px;
}

.seo-intro-txt h2 em {
  font-style: normal;
  color: var(--amber);
}

.seo-intro-txt p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.9;
  margin-bottom: 14px;
}

.seo-intro-txt .sec-eyebrow {
  margin-bottom: 14px;
}

/* ---------- 3. 检查清单 ---------- */
.seo-checklist {
  background: var(--cream);
}

.seo-check-th {
  width: 70px;
  text-align: center;
}

.seo-check {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-1);
  color: var(--green-deeper);
  font-size: 13px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
}

.seo-checklist .table-wrap {
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- 4. 文章 ---------- */
.seo-articles {
  background: var(--cream-2);
}

.seo-article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 34px;
}

.seo-article-card {
  display: block;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.seo-article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.seo-article-card:hover img {
  transform: scale(1.05);
}

.seo-article-body {
  padding: 22px;
}

.seo-article-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.seo-article-card:hover h3 {
  color: var(--amber-deep);
}

.seo-article-body p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.seo-article-body time {
  font-size: 12px;
  color: var(--ink-3);
}

.seo-tail-list {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r-md);
  padding: 8px 28px;
  box-shadow: var(--shadow-soft);
}

.seo-tail-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.seo-tail-list li:last-child {
  border-bottom: none;
}

.seo-tail-list a {
  font-size: 14.5px;
  color: var(--ink);
}

.seo-tail-list a:hover {
  color: var(--amber-deep);
}

.seo-tail-list time {
  font-size: 12px;
  color: var(--ink-3);
  flex-shrink: 0;
}

/* ---------- 5. 询价 CTA ---------- */
.seo-quote {
  padding: 90px 0;
  background: linear-gradient(120deg, var(--amber), #D39A3E);
  text-align: center;
}

.seo-quote-in h2 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 10px;
}

.seo-quote-in h2 em {
  font-style: normal;
  color: #FFF6E3;
}

.seo-quote-in p {
  color: #FFF2D9;
  font-size: 15px;
  margin-bottom: 26px;
}

.seo-quote-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.seo-quote-more {
  font-size: 13.5px;
  color: #FFF2D9;
}

.seo-quote-more a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .seo-graph-branches {
    grid-template-columns: repeat(3, 1fr);
  }

  .seo-graph-branches::before {
    display: none;
  }

  .seo-branch::before {
    display: none;
  }

  .seo-graph-center {
    margin-bottom: 30px;
  }

  .seo-intro-grid,
  .seo-article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .seo-graph-branches {
    grid-template-columns: 1fr 1fr;
  }

  .seo-tail-list li {
    flex-direction: column;
    gap: 2px;
  }
}

/* 清单下方说明段 */
.seo-checklist-note {
  max-width: 900px;
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
  background: #fff;
  border-radius: var(--r-md);
  padding: 18px 24px;
  border-left: 5px solid var(--green-3);
  box-shadow: var(--shadow-soft);
}
