/* SEO + GEO 整合优化专题，以及 /seo.html、/geo.html 区块页共用的子导航卡 */
.sg-hub,.sg-compare,.sg-platforms,.sg-promise,.sg-services{margin-left:auto;margin-right:auto}
.sg-page>section.wrap{margin-left:auto;margin-right:auto}

/* ---------- 三项子服务入口卡（base.html.twig 全局引入，区块页也要能用） ---------- */
.sg-hub{padding:52px 0 6px}
.sg-hub-head{max-width:780px;margin-bottom:24px}
.sg-hub-kicker{display:inline-block;font-size:11px;font-weight:700;letter-spacing:3px;color:#4d7ba8;text-transform:uppercase}
.sg-hub-head h2{margin:10px 0 8px;font-size:27px;line-height:1.4;color:#10204b}
.sg-hub-head p{margin:0;font-size:14px;line-height:1.9;color:#61718e}
.sg-hub-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sg-hub-card{position:relative;display:block;min-width:0;padding:22px 20px 24px;border:1px solid #dceafa;border-radius:18px;background:linear-gradient(160deg,#fff,#f4faff);box-shadow:0 12px 30px #164e8f12;color:inherit;transition:transform .2s,box-shadow .2s,border-color .2s}
.sg-hub-card:hover{transform:translateY(-3px);border-color:#a8d2fa;box-shadow:0 18px 38px #164e8f20}
.sg-hub-card.is-current{border-color:#7fb9f6;background:linear-gradient(160deg,#eaf5ff,#fff);box-shadow:0 14px 34px #1f6fd124}
.sg-hub-no{display:block;font:italic 700 26px/1 Georgia,serif;color:#a9cdf1;margin-bottom:14px}
.sg-hub-card.is-current .sg-hub-no{color:#0b63e5}
.sg-hub-card strong{display:block;font-size:17px;color:#10204b;margin-bottom:8px}
.sg-hub-card small{display:block;font-size:13px;line-height:1.8;color:#61718e;padding-right:16px}
.sg-hub-card i{position:absolute;right:18px;bottom:18px;font-style:normal;color:#4f94ff;font-size:15px}

/* ---------- 专题页 hero 右侧：一份底稿，两个出口 ---------- */
.sg-art{display:grid;place-items:center}
.sg-art-source{position:relative;z-index:2;padding:12px 22px;border-radius:14px;background:linear-gradient(130deg,#0b63e5,#52a8ff);color:#fff;font-size:14px;font-weight:700;box-shadow:0 14px 30px #1a6fd83d}
.sg-art-split{display:flex;gap:14px;margin:18px 0}
.sg-art-split span{padding:7px 18px;border-radius:20px;background:#fff;border:1px solid #b8dcff;color:#1a5aa6;font-size:12px;font-weight:700}
.sg-art-out{padding:9px 20px;border-radius:12px;background:#fff;border:1px dashed #9ec8f2;color:#4d7ba8;font-size:13px}
.sg-art-outs{display:flex;gap:16px}

/* ---------- /seo.html、/geo.html 区块页末尾的互链引导 ---------- */
.sg-intro{max-width:900px;margin:0 auto;padding:8px 0 30px}
.sg-intro h2{margin:0 0 12px;font-size:24px;line-height:1.5;color:#10204b}
.sg-intro p{margin:0;font-size:14px;line-height:2;color:#61718e}
.sg-intro p a{color:#0b63e5;text-decoration:underline;text-decoration-color:#a8cdf5;text-underline-offset:3px}

/* ---------- 对比 / 选型表格 ---------- */
.sg-compare{margin-top:12px;margin-bottom:26px}
.sg-compare h2{margin:0 0 8px;font-size:27px;color:#10204b}
.sg-compare>p{max-width:860px;font-size:14px;line-height:1.9;color:#61718e;margin:0 0 20px}
.sg-compare-scroll{overflow-x:auto;border:1px solid #dceafa;border-radius:16px;background:#fff;box-shadow:0 12px 30px #164e8f0f}
.sg-compare table{width:100%;min-width:620px;border-collapse:collapse;font-size:13.5px;color:#61718e}
.sg-compare th,.sg-compare td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid #e8f2fc;line-height:1.75}
.sg-compare thead th{background:linear-gradient(#f2f9ff,#e6f3ff);color:#10204b;font-size:14px;font-weight:700;white-space:nowrap}
.sg-compare tbody th{color:#10204b;font-weight:700;white-space:nowrap;background:#fbfdff}
.sg-compare tbody tr:last-child th,.sg-compare tbody tr:last-child td{border-bottom:0}
.sg-compare a{color:#0b63e5;text-decoration:underline;text-decoration-color:#a8cdf5;text-underline-offset:3px}

/* ---------- 服务模块右侧小图 ---------- */
.sg-services{padding-top:24px}
.sg-services>h2{font-size:30px;line-height:1.45;color:#10204b;margin-bottom:10px}
.sg-services>.sg-lead{max-width:860px;font-size:14px;line-height:1.9;color:#61718e;margin:0 0 26px}
.sg-visual{display:grid;place-items:center;min-height:180px;padding:22px;border-radius:18px;background:linear-gradient(160deg,#f4faff,#e9f4ff);border:1px solid #e0eefc}
.sg-visual-in{width:100%;max-width:250px}
.sg-visual-in b{display:block;font-size:12px;letter-spacing:2px;color:#4d7ba8;text-transform:uppercase;margin-bottom:12px}
.sg-visual-in span{display:inline-block;margin:0 6px 8px 0;padding:6px 12px;border-radius:10px;background:#fff;border:1px solid #c6e2fb;color:#1a5aa6;font-size:12px;font-weight:600}
.sg-visual-in em{display:block;font-style:normal;font-size:12px;color:#7b93b0;line-height:1.8;margin-top:6px}
.sg-editorial .seo-service-copy h3{font-size:21px;color:#10204b}
.sg-editorial .seo-service-copy p{font-size:14px;line-height:1.9;color:#61718e}

/* ---------- 覆盖入口 ---------- */
.sg-platforms{margin-top:8px;margin-bottom:30px;padding:28px 30px;border:1px solid #dceafa;border-radius:20px;background:linear-gradient(165deg,#fff,#f2f9ff)}
.sg-platforms h2{margin:0 0 8px;font-size:25px;color:#10204b}
.sg-platforms>p{font-size:14px;line-height:1.9;color:#61718e;margin:0 0 20px}
.sg-platform-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:start;padding:12px 0;border-top:1px dashed #dceafa}
.sg-platform-row:first-of-type{border-top:0}
.sg-platform-row strong{font-size:14px;color:#10204b;padding-top:5px}
.sg-platform-tags{display:flex;flex-wrap:wrap;gap:8px}
.sg-platform-tags span{padding:6px 13px;border-radius:20px;background:#fff;border:1px solid #cfe6fb;color:#2c5f96;font-size:12.5px}
.sg-platform-note{font-size:12.5px;line-height:1.9;color:#7b93b0;margin:14px 0 0}

/* ---------- 可交付 / 不承诺 ---------- */
.sg-promise{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:10px;margin-bottom:34px}
.sg-promise-card{min-width:0;padding:24px 26px;border:1px solid #dceafa;border-radius:18px;background:#fff;box-shadow:0 10px 26px #164e8f0d}
.sg-promise-card.no{background:linear-gradient(160deg,#fff8f5,#fff);border-color:#f4dfd4}
.sg-promise-card h3{margin:0 0 14px;font-size:19px;color:#10204b}
.sg-promise-card ul{margin:0;padding-left:20px}
.sg-promise-card li{font-size:13.5px;line-height:2;color:#61718e}
.sg-promise-card.no h3{color:#a8542f}

/* ---------- FAQ 补充 ---------- */
.sg-page .seo-faq h2{font-size:27px;color:#10204b}
.sg-page .seo-related a{color:#0b63e5}

@media(max-width:980px){
  .sg-hub-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sg-hub{padding-top:36px}
  .sg-platform-row{grid-template-columns:1fr;gap:6px}
}
@media(max-width:680px){
  .sg-hub-nav,.sg-promise{grid-template-columns:1fr;gap:12px}
  .sg-hub-head h2,.sg-services>h2,.sg-compare h2{font-size:22px}
  .sg-hub-card{padding:16px 18px 18px}
  .sg-hub-no{font-size:20px;margin-bottom:8px}
  .sg-platforms{padding:20px 18px}
  .sg-visual{min-height:130px;padding:16px}
  .sg-art-outs{flex-direction:column;gap:8px}
}
