/* ============================================================
   allfireplace.net typography v2 (2026-09-18)
   基于 v1 (2026-09-16) 升级，2026-09-18 用户三项裁定：
   1) 全站统一单轨：130 页页内样式块（#userLeft/.sBlogCt Arial 版）移除，规则并入本文件
   2) 全站统一 Poppins；H2 带底边框
   3) 正文链接全内容区统一：深蓝 #2b6cb0 + 下划线（段落/列表/表格/引用），
      模板区（.prolist 关键词卡 / .pager 分页）不参与
   4) 2026-09-18 字阶三次调整：H1 20 / H2 18.5 / H3 18 / H4 17.5（正文 16.8、行距 1.7 维持）；手机端 H2 16.7 随动
   作用域：内容区（.sonrt / #userLeft / .sBlogCt / .rboxCont / .pcwrt_det /
           .vnews_cont / .picCont / .pekey / .BlogInner）
   不触碰页头导航 / 页脚 / 组件样式
   rem 基准：html{font-size:75%} → 1rem = 12px
   ============================================================ */

/* ---------- v2：内容容器（承接 130 页移除的页内样式块） ---------- */
#userLeft,
.sBlogCt{
  box-sizing:border-box;
  margin-left:auto;
  margin-right:auto;
  max-width:860px;
  font-family:Poppins,Arial,Helvetica,sans-serif;
  font-size:1.4rem;          /* 16.8px，与 .sonrt p 对齐 */
  line-height:1.7;
  overflow-wrap:anywhere;
  color:#374151;
}
.sBlogCt{ max-width:820px; }

#userLeft li,
.sBlogCt li{ margin:.3em 0; }

#userLeft h2:first-child,
#userLeft h3:first-child,
.sBlogCt h2:first-child,
.sBlogCt h3:first-child{ margin-top:0; }

#userLeft img,
.sBlogCt img{
  display:block;
  max-width:100%;
  height:auto;
  margin:1.6em auto;
}

/* ---------- v2：引用块 ---------- */
.sonrt blockquote,
.sBlogCt blockquote{
  margin:1.6em 0;
  padding:1em 1.3em;
  border-left:4px solid #b8873b;
  background:#f7f6f3;
}
.sonrt blockquote p,
.sBlogCt blockquote p{ margin-bottom:0; }

/* ---------- v2：博客列表/频道页 ---------- */
.BlogInner .BlogTit{
  font-family:Poppins,Arial,Helvetica,sans-serif;
  font-size:1.5rem;
  line-height:1.45;
}
.BlogInner .BlogKey{
  font-family:Poppins,Arial,Helvetica,sans-serif;
  font-size:1.25rem;
  line-height:1.68;
}

/* ---------- 正文段落：解锁旧站固定高度/截断 ---------- */
/* 首行缩进 2em（2026-09-16 用户要求：所有内容段落首行缩进两个字符） */
.sonrt p,
.rboxCont p,
.pekey p,
.pcwrt_det p,
.vnews_cont p,
.picCont p{
  height:auto;
  max-height:none;
  overflow:visible;
  float:none;
  width:auto;
  font-size:1.4rem;          /* 16.8px */
  font-weight:400;
  line-height:1.7;
  letter-spacing:.01em;
  color:#374151;
  margin:0 0 1.1em;
  text-indent:2em;
  text-transform:none;
}
.sonrt p:last-child{ margin-bottom:0; }

/* 缩进豁免：注入块 / 列表项内段落 / 按钮段落 / 卡片标签 */
.entSig p,.g3exp p,.firstIntro p,.evBlock p,.stageBridge p,.relMore p,
.sonrt li p,.rboxCont li p,.pekey li p,
p.pebut,.pebut p{
  text-indent:0;
}

/* ---------- 标题层级（v2：H1 定尺寸；H2 底边框） ---------- */
.sonrt h1,.sonrt h2,.sonrt h3,.sonrt h4,.sonrt h5,
.sBlogCt h1,.sBlogCt h2,.sBlogCt h3,.sBlogCt h4,
.rboxCont h2,.rboxCont h3,.rboxCont h4,
.pekey h2,.pekey h3,.pekey h4{
  line-height:1.35;
  color:#1a202c;
  margin:1.5em 0 .55em;
  font-weight:600;
  text-indent:0;
}
.sonrt h1,.sBlogCt h1{ font-size:1.667rem; }              /* 20px */
.sonrt h2,.sBlogCt h2,.rboxCont h2,.pekey h2{
  font-size:1.542rem;                                       /* 18.5px */
  padding-bottom:.3em;
  border-bottom:1px solid #e2e8f0;
}
.sonrt h3,.sBlogCt h3,.rboxCont h3,.pekey h3{ font-size:1.5rem; }   /* 18px */
.sonrt h4,.sBlogCt h4,.rboxCont h4,.pekey h4{ font-size:1.458rem; }   /* 17.5px */

/* ---------- 链接：可辨识、有反馈（v2：段落→列表/表格/引用全内容区） ---------- */
.sonrt p a,.sonrt li a,.sonrt td a,.sonrt th a,.sonrt dd a,.sonrt dt a,.sonrt blockquote a,
.sBlogCt p a,.sBlogCt li a,.sBlogCt td a,.sBlogCt blockquote a,
.rboxCont p a,.pcwrt_det p a,.vnews_cont p a,.picCont p a,.pekey p a{
  color:#2b6cb0;
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
  text-decoration-color:#90cdf4;
}
.sonrt p a:hover,.sonrt li a:hover,.sonrt td a:hover,.sonrt th a:hover,.sonrt dd a:hover,.sonrt dt a:hover,.sonrt blockquote a:hover,
.sBlogCt p a:hover,.sBlogCt li a:hover,.sBlogCt td a:hover,.sBlogCt blockquote a:hover,
.rboxCont p a:hover,.pcwrt_det p a:hover,.vnews_cont p a:hover,.picCont p a:hover,.pekey p a:hover{
  color:#2c5282;
  text-decoration-color:#2b6cb0;
}
/* v2 模板区例外：关键词产品卡 / 分页 不参与正文链接样式 */
.sonrt .prolist a,.sonrt .pager a,.sBlogCt .pager a{
  color:inherit;
  text-decoration:none;
}

/* ---------- 列表 ---------- */
.sonrt ul,.sonrt ol,
.sBlogCt ul,.sBlogCt ol,
.rboxCont ul,.rboxCont ol,
.pekey ul,.pekey ol{
  margin:0 0 1.1em;
  padding-left:1.7em;
  color:#374151;
}
.sonrt li,.sBlogCt li,.rboxCont li,.pekey li{
  line-height:1.7;
  margin:.3em 0;
}
.sonrt li p,.rboxCont li p,.pekey li p{ margin-bottom:.4em; }

/* ---------- 图片与表格 ---------- */
.sonrt img{ max-width:100%; height:auto; }
.sonrt table,.sBlogCt table,.rboxCont table{
  border-collapse:collapse;
  width:100%;
  margin:1em 0;
  font-size:1.35rem;
}
.sonrt th,.sonrt td,
.sBlogCt th,.sBlogCt td,
.rboxCont th,.rboxCont td{
  border:1px solid #e2e8f0;
  padding:.5em .8em;
  text-align:left;
  vertical-align:top;
}
.sonrt th,.sBlogCt th,.rboxCont th{ background:#f7fafc; font-weight:600; }

/* ---------- 站点结构化注入块：视觉分层 ---------- */
.entSig,.g3exp,.firstIntro,.evBlock,.stageBridge,.relMore{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-left:4px solid #a0aec0;
  border-radius:6px;
  padding:.85em 1.1em;
  margin:1.1em 0;
  line-height:1.8;
  font-size:1.38rem;
  color:#374151;
}
.entSig{ border-left-color:#3182ce; background:#ebf8ff; }
.g3exp{ border-left-color:#38a169; background:#f0fff4; }
.firstIntro{ border-left-color:#805ad5; background:#faf5ff; }
.entSig a,.g3exp a,.firstIntro a,.stageBridge a,.relMore a,.evBlock a{ color:#2b6cb0; }

/* ---------- 长文行宽（桌面端收窄到舒适行长） ---------- */
@media (min-width:1280px){
  .sonrt .rboxCont,
  .pcwrt_det{ max-width:980px; }
}

/* ---------- 移动端 ---------- */
@media (max-width:768px){
  .sonrt p,.rboxCont p{ font-size:1.38rem; line-height:1.65; }
  .sonrt h2,.rboxCont h2,.sBlogCt h2{ font-size:1.395rem; }
  #userLeft,.sBlogCt{
    box-sizing:border-box;
    width:100% !important;
    max-width:100%;
    padding-left:20px;
    padding-right:20px;
    font-size:1.38rem;
  }
}
