/* ==========================================================================
   geo-blocks.css —— GEO 内容块视觉样式
   --------------------------------------------------------------------------
   用途：为两类 GEO 结构化内容提供与站点整体风格一致的视觉样式
         1) 官方定义卡   .definition-block / .section.container[data-geo="definition"]
         2) 可抽取内容区 .section.container[data-geo="extractable"]
            （常见问题 / 操作步骤 / 方案对比表 / 关键数字）
   原则：纯视觉增强。不新增、不删除、不移动任何文本节点，
         仅通过背景、边框、圆角、阴影、间距与文字颜色改善观感，
         因此不会影响任何正文抽取规则与 GEO 判定。
   配色：来自站点变量 —— 主蓝 #185FA5 / 深蓝 #0C447C / 强调金 #EF9F27
   ========================================================================== */

/* ==========================================================================
   1. 官方定义卡
   ========================================================================== */

.definition-block,
.section.container[data-geo="definition"] {
  position: relative;
  box-sizing: border-box;
  max-width: var(--container, 1400px);
  margin: 28px auto 0;
  padding: 26px 34px 22px;
  background: linear-gradient(135deg, #F7FBFF 0%, #FFFFFF 52%, #FFFCF4 100%);
  border: 1px solid #E3EDF8;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 10px 30px rgba(24, 95, 165, .07), 0 1px 2px rgba(15, 30, 50, .04);
  overflow: hidden;
}

/* 右上角柔光装饰（纯装饰，不参与交互） */
.definition-block::after,
.section.container[data-geo="definition"]::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(239, 159, 39, .13) 0%, rgba(239, 159, 39, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* 右上角「官方定义」标识 */
.definition-block::before,
.section.container[data-geo="definition"]::before {
  content: "官方定义";
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 1;
  padding: 3px 10px;
  font-size: 11.5px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: .6px;
  color: #B4700F;
  background: var(--c-accent-light, #FAEEDA);
  border: 1px solid rgba(239, 159, 39, .35);
  border-radius: 999px;
  pointer-events: none;
}

/* 标题 */
.definition-block > h2,
.section.container[data-geo="definition"] h2 {
  margin: 0 0 12px;
  padding-right: 96px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--c-primary-deep, #0C447C);
}

.definition-block > h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 11px;
  background: var(--c-accent, #EF9F27);
  border-radius: 2px;
  transform: rotate(45deg) translateY(-1px);
}

.section.container[data-geo="definition"] .section-title {
  margin-bottom: 8px;
}

/* 正文 */
.definition-block p,
.section.container[data-geo="definition"] p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text, #1f2328);
}

/* 副标题（28 页结构自带）保持小字 */
.definition-block .section-sub,
.section.container[data-geo="definition"] .section-sub {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-2, #5A6472);
}

/* 术语强调 + 金色标记线 */
.definition-block p strong,
.section.container[data-geo="definition"] p strong {
  font-weight: 600;
  color: var(--c-primary-deep, #0C447C);
  background: linear-gradient(180deg, rgba(239, 159, 39, 0) 62%, rgba(239, 159, 39, .28) 62%);
}

/* 末段「官方定义口径」弱化 */
.definition-block > p:last-of-type,
.section.container[data-geo="definition"] > p:last-of-type {
  margin: 16px 0 0;
  padding-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-text-3, #8A94A0);
  border-top: 1px dashed #E8EDF3;
}

/* ==========================================================================
   2. 可抽取内容区（常见问题 / 操作步骤 / 方案对比 / 关键数字）
   ========================================================================== */

/* 小标题（如何参与 / 方案对比 …） */
.section.container[data-geo="extractable"] h3 {
  position: relative;
  margin: 26px 0 12px;
  padding-left: 13px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-primary-deep, #0C447C);
}

.section.container[data-geo="extractable"] h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--c-accent, #EF9F27);
}

/* 正文段 */
.section.container[data-geo="extractable"] p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text, #1f2328);
}

.section.container[data-geo="extractable"] .section-sub {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-2, #5A6472);
}

.section.container[data-geo="extractable"] p strong {
  font-weight: 600;
  color: var(--c-primary-deep, #0C447C);
}

/* 方案对比表 */
.section.container[data-geo="extractable"] .compare-table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
  border: 1px solid #E3EDF8;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(24, 95, 165, .05);
}

.section.container[data-geo="extractable"] .compare-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
  background: linear-gradient(135deg, #185FA5 0%, #1E6FBD 100%);
}

.section.container[data-geo="extractable"] .compare-table tbody td {
  padding: 13px 16px;
  vertical-align: top;
  color: var(--c-text, #1f2328);
  border-top: 1px solid #EEF3F9;
}

.section.container[data-geo="extractable"] .compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--c-primary-deep, #0C447C);
}

.section.container[data-geo="extractable"] .compare-table tbody tr:nth-child(even) td {
  background: #FAFCFF;
}

.section.container[data-geo="extractable"] .compare-table tbody tr:hover td {
  background: #F3F9FF;
}

/* ==========================================================================
   3. 响应式
   ========================================================================== */

@media (max-width: 900px) {
  .definition-block,
  .section.container[data-geo="definition"] {
    margin: 20px 14px 0;
    padding: 20px 20px 18px;
    border-radius: 14px;
  }

  .definition-block > h2,
  .section.container[data-geo="definition"] h2 {
    padding-right: 82px;
    font-size: 17px;
  }

  .definition-block p,
  .section.container[data-geo="definition"] p {
    font-size: 14px;
    line-height: 1.85;
  }

  .definition-block::before,
  .section.container[data-geo="definition"]::before {
    top: 14px;
    right: 14px;
    padding: 2px 9px;
    font-size: 10.5px;
  }

  .section.container[data-geo="extractable"] h3 {
    margin: 22px 0 10px;
    font-size: 15px;
  }

  .section.container[data-geo="extractable"] p {
    font-size: 14px;
    line-height: 1.85;
  }

  .section.container[data-geo="extractable"] .compare-table {
    font-size: 13px;
    border-radius: 10px;
  }

  .section.container[data-geo="extractable"] .compare-table thead th,
  .section.container[data-geo="extractable"] .compare-table tbody td {
    padding: 10px 11px;
  }
}

/* ==========================================================================
   4. 纵深内容区（正文扩容小节）
   与内容区保持同一套排版，保证同一页面内不会出现两套正文风格
   ========================================================================== */

.section.container[data-geo="depth"] h3 {
  position: relative;
  margin: 24px 0 12px;
  padding-left: 13px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-primary-deep, #0C447C);
}

.section.container[data-geo="depth"] h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--c-accent, #EF9F27);
}

.section.container[data-geo="depth"] p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text, #1f2328);
}

.section.container[data-geo="depth"] .section-sub {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-2, #5A6472);
}

.section.container[data-geo="depth"] > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .section.container[data-geo="depth"] h3 {
    margin: 20px 0 10px;
    font-size: 15px;
  }

  .section.container[data-geo="depth"] p {
    font-size: 14px;
    line-height: 1.85;
  }
}

/* ── 页面署名与更新日期 ─────────────────────────────────
   给每页正文末尾一条可复核的时效信息：谁写的、什么时候更新的。
   AI 引擎拿它判断内容新鲜度与作者归属，用户也能一眼看到。 */
.geo-pagemeta {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--c-border, #e6e8eb);
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-3, #8a9099);
  letter-spacing: .02em;
}

.geo-pagemeta .geo-pagemeta-sep {
  margin: 0 8px;
  opacity: .5;
}
