/* V27 - 产品详情页视觉统一（只作用于 .cms-body / .product-content，不影响站点头尾）
   与参考页 /high-voltage-battery/custom-lithium-battery-552834/ 的排版口径对齐
   规则：标题层级 / 正文行高与字号 / 参数表 / 图片圆角 / 区块间距 / 导语块 / 左右结构 CTA / 移动端侧栏 */

.cms-body,
.product-content{font-size:1rem;line-height:1.95;color:#334155;overflow-wrap:break-word}
.cms-body>div,
.product-content>div{margin:0 0 .95em}
.cms-body>div:last-child,
.product-content>div:last-child{margin-bottom:0}

.cms-body p,
.product-content p{margin:0 0 1em}

.cms-body h1,.cms-body h2,.cms-body h3,.cms-body h4,
.product-content h1,.product-content h2,.product-content h3,.product-content h4
{color:#0f172a;font-weight:800;line-height:1.45;margin:1.7em 0 .6em}
.cms-body>h1:first-child,.cms-body>h2:first-child,.cms-body>h3:first-child,
.product-content>h1:first-child,.product-content>h2:first-child,.product-content>h3:first-child
{margin-top:0}
.cms-body h2,.product-content h2{font-size:1.28rem;padding-left:12px;border-left:4px solid #2050A0}
.cms-body h3,.product-content h3{font-size:1.1rem}
.cms-body h4,.product-content h4{font-size:1rem}

.cms-body img,
.product-content img{max-width:100%;height:auto;border-radius:12px}
.cms-body a,
.product-content a{color:#1d4ed8;text-decoration:none}
.cms-body a:hover,
.product-content a:hover{text-decoration:underline}

.cms-body ul,.cms-body ol,
.product-content ul,.product-content ol{margin:0 0 1em;padding-left:1.45em}
.cms-body li,
.product-content li{margin:.35em 0}

/* 参数表：只作用于打过 v27-spec 的表格，避免误伤图文排版表 */
.cms-body table.v27-spec,
.product-content table.v27-spec
{width:100%;max-width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.92rem;line-height:1.7}
.cms-body table.v27-spec th,.cms-body table.v27-spec td,
.product-content table.v27-spec th,.product-content table.v27-spec td
{border:1px solid #e6e8ec;padding:10px 12px;text-align:left;vertical-align:top}
.cms-body table.v27-spec th,
.product-content table.v27-spec th
{background:#f8fafc;color:#0f172a;font-weight:600;white-space:nowrap;width:34%}
.cms-body table.v27-spec tr:nth-child(even) td,
.product-content table.v27-spec tr:nth-child(even) td{background:#fbfdff}

/* 导语块：承接老正文里那段超大字号说明 */
.cms-body .v27-lead,
.product-content .v27-lead
{font-size:1.02rem;line-height:1.95;color:#475569;background:#f8fafc;border:1px solid #e6e8ec;
 border-left:4px solid #2050A0;border-radius:12px;padding:16px 18px;margin:0 0 22px;display:block}

/* 左右结构 CTA（与 552834 的 V26 CTA 同款） */
.cms-body .v27-cta h2,
.product-content .v27-cta h2
{border:0;padding:0;margin:0 0 6px;font-size:1.08rem;line-height:1.4;color:#ffffff}
.cms-body .v27-cta p,
.product-content .v27-cta p{margin:0;color:rgba(255,255,255,.88);font-size:.88rem;line-height:1.7}

/* 侧栏配色统一到品牌蓝（老模板是绿色，参考页 552834 是蓝色） */
.cate-sb__hd{background:linear-gradient(135deg,#163b78,#2050A0)}
.cate-sb__icon{background:#eff4ff;color:#2050A0}
.cate-sb ul a:hover{color:#163b78;background:#eff4ff}
.cate-sb__foot a.cta{background:linear-gradient(135deg,#163b78,#2050A0)}

/* 手机端：老模板侧栏固定 280px 会把正文挤成一条，直接收起 */
@media(max-width:900px){.cate-sb{display:none}}
@media(max-width:640px){
  .cms-body table.v27-spec,.product-content table.v27-spec{display:block;overflow-x:auto}
  .cms-body .v27-cta,.product-content .v27-cta{padding:18px 18px 20px}
}
