/* ============================================================
   新闻详情页专属样式  news_detail.css
   作用范围：仅 /news_detail/* （由 Html/news_detail.html 单独引入）
   设计语言：延续站点主色 #006fc0，工业 / 能源质感的现代长文阅读版式
   说明：本文件只覆盖新闻详情页相关类，不影响产品/案例/列表等其它页面
   ============================================================ */

:root{
  --brand:#006fc0;
  --brand-dark:#00529a;
  --brand-soft:#e8f2fb;
  --ink:#2c3e50;
  --ink-strong:#15212e;
  --muted:#74808f;
  --line:#e7ecf2;
  --bg:#eef1f5;
  --card:#ffffff;
  --source:#b06a00;
  --radius:14px;
  --shadow:0 10px 30px rgba(20,40,70,.08);
}

/* 把阅读列宽从 1200px 收敛为舒适宽度，并居中（覆盖模板 inline 1200px） */
body .ny-search-1 .blk-md{max-width:880px;margin:0 auto;}
body .ny-weiz{max-width:880px;margin:0 auto;font-size:13px;color:var(--muted);}
body .ny-weiz a{color:var(--brand);text-decoration:none;}
body .ny-weiz a:hover{text-decoration:underline;}
body .ny-weiz span{color:#c2cad4;margin:0 6px;}
body .ny-weiz b{color:var(--ink-strong);font-weight:600;}

body .blk-sm.fl{
  width:100%!important;
  max-width:1200px;
  float:none!important;
  margin:0 auto;
}

/* ---------- 文章卡片 ---------- */
body .p15-infocontent-1{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:46px 52px 40px;
  margin-bottom:28px;
}

/* ---------- 标题 ---------- */
body .p15-infocontent-1-tit{
  height:auto!important;
  overflow:visible!important;
  text-align:center;
  font-size:30px;
  line-height:1.4;
  font-weight:700;
  color:var(--ink-strong);
  margin:0 0 22px;
  padding-bottom:22px;
  border-bottom:1px solid var(--line);
  position:relative;
}
body .p15-infocontent-1-tit::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-1px;
  transform:translateX(-50%);
  width:64px;
  height:3px;
  border-radius:3px;
  background:var(--brand);
}

/* ---------- 元信息条（来源 / 发布时间） ---------- */
body .p15-infocontent-1-bool{
  border-bottom:1px solid var(--line);
  height:auto;
  font-size:13.5px;
  color:var(--muted);
  margin:0 0 26px;
  padding-bottom:14px;
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  justify-content:center;
}
body .p15-infocontent-1-bool span{margin:0;}
body .p15-infocontent-1-bool a{color:var(--source)!important;text-decoration:none;}
body .p15-infocontent-1-bool a:hover{text-decoration:underline;}
body .p15-infocontent-1-bool time{color:var(--muted);}

/* ---------- 正文排版 ---------- */
body .endit-content{
  font-size:16.5px;
  line-height:1.95;
  color:var(--ink);
  word-break:break-word;
}
body .endit-content p{margin:1.15em 0;}
body .endit-content img{
  display:block;
  max-width:100%;
  height:auto;
  margin:26px auto;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(20,40,70,.10);
  border:1px solid #eef2f7;
}
body .endit-content .img-block,
body .endit-content .img-p{text-align:center;}
body .endit-content h2,
body .endit-content h3,
body .endit-content h4{
  color:var(--ink-strong);
  font-weight:700;
  line-height:1.5;
  margin:1.7em 0 .7em;
}
body .endit-content h2{font-size:21px;padding-left:14px;border-left:4px solid var(--brand);}
body .endit-content h3{font-size:18px;}
body .endit-content h4{font-size:16px;color:var(--brand-dark);}
body .endit-content strong,
body .endit-content b{color:var(--brand-dark);font-weight:700;}
body .endit-content em,
body .endit-content i{font-style:italic;}
body .endit-content a{
  color:var(--brand);
  text-decoration:none;
  border-bottom:1px solid rgba(0,111,192,.3);
}
body .endit-content a:hover{color:var(--brand-dark);border-bottom-color:var(--brand-dark);}
body .endit-content ul,
body .endit-content ol{margin:1.1em 0;padding-left:1.6em;}
body .endit-content li{margin:.5em 0;padding-left:.2em;}
body .endit-content ul li::marker{color:var(--brand);}
body .endit-content ol li::marker{color:var(--brand);font-weight:700;}
body .endit-content blockquote{
  margin:1.4em 0;
  padding:14px 20px;
  background:var(--brand-soft);
  border-left:4px solid var(--brand);
  border-radius:0 8px 8px 0;
  color:#33506b;
}
body .endit-content table{
  width:100%;
  border-collapse:collapse;
  margin:1.4em 0;
  font-size:15px;
  box-shadow:0 2px 10px rgba(20,40,70,.05);
}
body .endit-content thead th,
body .endit-content th,
body .endit-content td{border:1px solid var(--line);padding:10px 14px;text-align:left;}
body .endit-content thead th{background:var(--brand);color:#fff;font-weight:600;}
body .endit-content tbody tr:nth-child(even){background:#f7fafd;}

/* ---------- 上下篇导航 ---------- */
body .p14-pagination-1{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 26px;
  margin-bottom:24px;
  box-shadow:var(--shadow);
}
body .p14-pagination-1 dl{margin:0;}
body .p14-pagination-1 dd{
  height:auto;
  border-bottom:1px dashed var(--line);
  margin:0 0 10px;
  padding:8px 0;
  font-size:14.5px;
  color:var(--muted);
  overflow:visible;
  white-space:normal;
  text-overflow:clip;
}
body .p14-pagination-1 dd:last-child{border-bottom:none;margin-bottom:0;}
body .p14-pagination-1 dd a{color:var(--ink);text-decoration:none;}
body .p14-pagination-1 dd a:hover{color:var(--brand);}
body .p14-pagination-1 dd span{
  width:auto;
  height:auto;
  background:var(--brand-soft);
  color:var(--brand);
  border-radius:6px;
  padding:2px 10px;
  margin-right:12px;
  font-size:13px;
  font-weight:600;
}
body .p14-pagination-1-href{
  font-size:15px;
  text-align:center;
  margin-top:14px;
}
body .p14-pagination-1-href span{
  display:inline-block;
  padding:0;
  background:transparent;
}
body .p14-pagination-1-href a{
  display:inline-block;
  background:var(--brand);
  color:#fff!important;
  padding:10px 30px;
  border-radius:30px;
  font-size:15px;
  transition:.2s;
}
body .p14-pagination-1-href a:hover{background:var(--brand-dark);transform:translateY(-1px);}

/* ---------- 相关推荐 ---------- */
body .p14-info-3{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 26px 22px;
  box-shadow:var(--shadow);
  margin-bottom:24px;
}
body .p14-info-3-tit{
  height:auto;
  line-height:1.4;
  font-size:19px;
  font-weight:700;
  color:var(--ink-strong);
  margin:0 0 6px;
  padding-left:14px;
  position:relative;
}
body .p14-info-3-tit::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:4px;
  border-radius:4px;
  background:var(--brand);
}
body .p14-info-3-list li h4{
  height:auto;
  border-top:1px dashed var(--line);
  margin:0;
  padding:14px 0;
  font-size:15px;
  font-weight:400;
  line-height:1.6;
  overflow:visible;
  white-space:normal;
  text-overflow:clip;
}
body .p14-info-3-list li h4 a{color:var(--ink);text-decoration:none;transition:.2s;}
body .p14-info-3-list li h4 a:hover{color:var(--brand);}
body .p14-info-3-list li h4 span{
  float:right;
  color:var(--brand);
  font-size:13px;
  opacity:.85;
}

/* ---------- 底部产品交叉推荐（轻量网格化） ---------- */
body .pro_con_r_x{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:10px;
}
body .pro_con_r_x>a{
  display:block;
  text-decoration:none;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  transition:.25s;
}
body .pro_con_r_x>a:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#cfe0f0;}
body .pro_con_r_x .sj_ny_pro{margin:0!important;}
body .pro_con_r_x .sj_ny_pro dt img{
  width:100%;
  height:auto;
  border-radius:0;
  box-shadow:none;
  border:none;
  margin:0;
  display:block;
}
body .pro_con_r_x .sj_ny_pro dd h4{
  font-size:14px;
  color:var(--ink-strong);
  padding:10px 12px 0;
  margin:0;
  font-weight:600;
}
body .pro_con_r_x p{font-size:13px;color:var(--muted);padding:4px 12px 14px;margin:0;}

/* ---------- 响应式 ---------- */
@media (max-width:900px){
  body .ny-search-1 .blk-md,
  body .ny-weiz,
  body .blk-sm.fl{max-width:100%;padding-left:16px;padding-right:16px;}
  body .p15-infocontent-1{padding:28px 20px;}
  body .p15-infocontent-1-tit{font-size:24px;}
  body .endit-content{font-size:16px;line-height:1.85;}
  body .pro_con_r_x{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:520px){
  body .p14-pagination-1 dd span{display:block;margin-bottom:4px;}
  body .pro_con_r_x{grid-template-columns:1fr 1fr;}
  body .p15-infocontent-1-tit{font-size:21px;}
}
