@charset "utf-8";
/* ==========================================================================
   泰州曙龙波纹管 · 主题补丁
   --------------------------------------------------------------------------
   原则：pc/cssnew/{reset,style,index}.css 是线上站原版样式，几何布局（宽度、
   浮动、rem 尺寸、绝对定位、负边距）全部由它们决定，本文件**不再覆盖**。
   这里只补三类内容：
     1) 原版依赖 JS 插件（slick / tab 切换）才有表现的交互态兜底；
     2) 原版未定义、本项目新增的小部件（分页、列表、留言表单、404）；
     3) 原版图片缺失导致的背景兜底。
   主色 #ee0d1f，定宽 1200px。
   ========================================================================== */

/* ---------- 全局微调（不动布局） ---------- */
img { border: 0; }
a { text-decoration: none; }
body { -webkit-text-size-adjust: 100%; }

/* 导航下拉：原版依赖 nsw.pc.min.js 的 hover 逻辑，这里用纯 CSS 兜底 */
.h_nav .dropdown-box {
  display: none;
  position: absolute;
  top: 62px;
  left: 50%;
  margin-left: -95px;
  width: 190px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  padding: 8px 0;
  z-index: 90;
  line-height: normal;
}
.h_nav li.dropdown:hover > .dropdown-box { display: block; }
.h_nav .dropdown-box li { float: none; width: auto; height: auto; line-height: 38px; padding: 0; }
.h_nav .dropdown-box li a {
  display: block;
  font-size: 14px;
  color: #555;
  line-height: 38px;
  height: 38px;
  padding: 0 14px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h_nav .dropdown-box li a:hover { color: #ee0d1f; background: #fafafa; font-weight: normal; }
.h_nav .dropdown-box li a:before { display: none; }
/* 下拉不被头部高度裁切 */
.top_bg { position: relative; z-index: 20; }

/* ---------- 轮播兜底 ----------
   原版用 slick；这里用纯 CSS/JS。
   关键：所有图都留在文档流占位（不绝对定位容器），仅用透明度切换，
   确保容器高度始终由图片自身撑开，不会出现高度塌陷。 */
.banner_m { position: relative; display: block; }
.banner_m > a { display: block; width: 100%; line-height: 0; }
.banner_m > a > img { display: block; width: 100%; height: auto; }

.banner_m.sl-ready > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
  z-index: 1;
}
/* 第一张保持文档流占位（不可见时也撑住高度） */
.banner_m.sl-ready > a:first-child {
  position: relative;
  z-index: 0;
  opacity: 0;
}
.banner_m.sl-ready > a.on { opacity: 1; pointer-events: auto; z-index: 3; }

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 12;
}
.banner-dots i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: .3s;
}
.banner-dots i.on { background: #ee0d1f; width: 26px; border-radius: 6px; }

/* 「实力可鉴」切换：原版依赖 tab 插件，这里补显示逻辑 */
.yous .ys_qie > dl { display: none; }
.yous .ys_qie > dl.on { display: block; }
.ys_t ul li { cursor: pointer; }

/* 原版 cp_k02.png / case_tline.png / top_bg.gif 在服务器上已 404，
   给等价效果，避免破图或白块 */
.case .cp_tit { background-image: none; }
.cp01:hover b { background: #ee0d1f; }
.top_bg { background-image: none; background-color: #fff; }

/* 首页「走进曙龙」：原版 h5 高 80 / 描述高 96 会裁字，放宽为自适应 */
.yinz dl dd h5 { height: auto; padding-bottom: 12px; }
.yinz_desc { height: auto; max-height: 126px; }

/* 产品卡标题单行省略（原版靠 JS 插件做，这里纯 CSS） */
.cp01 h3 a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 1.7rem; }
.cp01 h3 em { margin-right: -1.7rem; }

/* 定制流程：原版 liuc 固定高 455px，8 个步骤（117*6 + 140*2 = 982）会换行溢出，
   这里改为自适应高度 + 步骤按比例分宽 */
.liuc { height: auto; padding: 55px 0 70px; overflow: hidden; }
.liuc ul { overflow: hidden; }
.liuc ul li { width: 12.5%; height: 130px; box-sizing: border-box; }
.liuc ul li.liuc_li02 { width: 12.5%; }

/* 案例卡片：原版 .case_m dl 为 390px/3 列。本项目视频共 4 条，
   改为 4 列（每列 285px + 15px 间距）刚好一行排满，不留孤行空白。 */
.case_m { display: flex; flex-wrap: wrap; gap: 20px 20px; width: auto; }
.case_m > dl { width: 285px; float: none; padding: 0; margin: 0; }
.case_m > dl dt { width: 285px; height: 214px; }
.case_m > dl dt img { width: 285px; height: 214px; object-fit: cover; }
.case_m > dl dd { width: 100%; box-sizing: border-box; height: auto; min-height: 110px; padding: 10px 20px 14px; }
.case_m > dl dd h5 a { width: 100%; }
.case_m > dl dd .case_desc { width: 100%; box-sizing: border-box; padding-right: 34px; }

/* 案例·新闻：原版靠 .news{margin-top:-140px} 叠在 .liuc 固定 455px 高度里。
   本项目流程区改为自适应高度后，负边距会把标题压到流程背景图上，
   因此清零负边距，让流程与新闻自然上下衔接。 */
.news { margin-top: 0; padding-top: 60px; }

/* 荣誉相册：原版 li 宽 145px、标题单行 30px 高，长标题（如「AAA级重合同守信用企业」）
   会被裁成「…企」。改为 flex 每行 6 个、标题两行，网格保持齐整。 */
.photo_r ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
  align-items: flex-start;
}
.photo_r ul li {
  width: 175px;
  flex: 0 0 175px;
  float: none;
  margin: 0;
  padding-top: 10px;
  height: auto;
}
.photo_r ul li em { width: 175px; height: 232px; }
.photo_r ul li img { width: 175px; height: 232px; object-fit: cover; }
.photo_r ul li span {
  width: 175px;
  height: auto;
  min-height: 34px;
  line-height: 17px;
  padding-top: 8px;
  overflow: visible;
  white-space: normal;
  font-size: 13px;
}

/* ==========================================================================
   内页：只补本项目新增部件，原版 blk-main / blk-sm / blk-xs / fdh-01 等
   宽度与浮动全部沿用 style.css 的原始定义
   ========================================================================== */

/* 面包屑里的纯文字段（停用栏目不带链接） */
.p12-curmbs-1 span { color: #888; }

/* 单页栏目左侧导航（本项目自建，替代原版 leftnav-z1 的图片卡片网格，
   企业站单页需要的是竖排文字菜单） */
.leftnav-z1 { background: #fff; }
.leftnav-z1-tit {
  height: 60px;
  line-height: 60px;
  background: #ee0d1f;
  color: #fff;
  font-size: 19px;
  font-weight: normal;
  padding: 0 20px;
  margin: 0;
}
.leftnav-z1-list { border: 1px solid #ebebeb; border-top: 0; }
.leftnav-z1-list dl {
  width: auto;
  float: none;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}
.leftnav-z1-list dl:last-child { border-bottom: 0; }
.leftnav-z1-list dl dt { display: none; }
.leftnav-z1-list dl dd { padding: 0; margin: 0; }
.leftnav-z1-list dl dd h4 {
  height: 48px;
  line-height: 48px;
  font-size: 15px;
  font-weight: normal;
  overflow: hidden;
}
.leftnav-z1-list dl dd h4 a {
  display: block;
  height: 48px;
  padding: 0 18px;
  color: #555;
  border-left: 3px solid transparent;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.leftnav-z1-list dl dd h4 a:hover { color: #ee0d1f; background: #fafafa; }
.leftnav-z1-list dl.cur dd h4 a {
  color: #ee0d1f;
  font-weight: bold;
  border-left-color: #ee0d1f;
  background: #fdf6f6;
}

/* 内页顶部搜索条 */
.p1-search-1 { padding: 14px 0; overflow: hidden; }
.p1-search-1 p { float: left; width: 830px; font-size: 14px; color: #666; line-height: 34px; height: 34px; overflow: hidden; }
.p1-search-1 p a { font-size: 14px; color: #666; padding-right: 12px; }
.p1-search-1 p a:hover { color: #ee0d1f; }
.p1-search-1-inp { float: right; }
.p1-search-1-inp form { display: flex; }
.p1-search-1-inp1 {
  width: 220px; height: 34px; line-height: 34px; border: 1px solid #ddd; border-right: 0;
  padding: 0 10px; font-size: 14px; color: #666; outline: none;
}
.p1-search-1-inp2 {
  width: 40px; height: 36px; border: 0; cursor: pointer;
  background: #ee0d1f url(../images/s_so.gif) no-repeat center;
}

/* 列表页：产品格栅（内容区 900px → 4 列） */
.p-list { overflow: hidden; padding-top: 6px; }
.p-list dl {
  width: 210px; float: left; margin: 0 20px 24px 0; background: #fff;
  border: 1px solid #eee; transition: .3s;
}
.p-list dl:nth-child(4n) { margin-right: 0; }
.p-list dl:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.p-list dl dt { width: 208px; height: 186px; line-height: 0; overflow: hidden; }
.p-list dl dt img { width: 208px; height: 186px; object-fit: cover; }
.p-list dl dd h4 { font-size: 14px; font-weight: normal; padding: 10px 12px 14px; }
.p-list dl dd h4 a {
  display: block; color: #333; line-height: 22px; height: 22px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.p-list dl dd h4 a:hover { color: #ee0d1f; }

/* 列表页：新闻列表 */
.n-list { padding-top: 6px; }
.n-list ul li { padding: 18px 0; border-bottom: 1px dashed #e8e8e8; overflow: hidden; }
.n-list ul li h4 {
  font-size: 16px; font-weight: normal; line-height: 30px; float: left; width: 640px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.n-list ul li h4 a { color: #333; }
.n-list ul li h4 a:hover { color: #ee0d1f; }
.n-list ul li h4 a:before { content: "·"; color: #ee0d1f; font-weight: bold; margin-right: 8px; }
.n-list ul li span { float: right; font-size: 13px; color: #aaa; line-height: 30px; }
/* 摘要单独占一行，不再被右浮动日期挤成半行 */
.n-list ul li p {
  clear: both; float: none; width: 100%; font-size: 13px; color: #999;
  line-height: 24px; height: 24px; overflow: hidden; padding-top: 2px;
}

/* 分页（原版写在页面内联 style 里，这里统一） */
.p12-pagination-1 { padding: 30px 0 10px; }
.p12-pagination-1-main { text-align: center; }
.page-item, .page-num {
  display: inline-block; font-size: 13px; height: 32px; line-height: 32px;
  margin: 0 4px; padding: 0 13px; border: 1px solid #e9e9e9; color: #666;
}
.page-item:hover, .page-num:hover { border-color: #ee0d1f; color: #ee0d1f; }
.page-num-current { color: #fff !important; font-weight: bold; background: #ee0d1f; border-color: #ee0d1f; }
.page-dots { display: inline-block; padding: 0 6px; color: #999; }

/* 侧栏文字层级微调（不改宽度） */
.p1-info-3-tit { font-weight: normal; }
.p1-info-3-list ul li h4 { font-weight: normal; }

/* 产品详情参数区 */
.cpcc-ts-01-right-con p a { color: #ee0d1f; }
/* 产品标题：原版强制 nowrap + 单行 48px，40+ 字的长标题必然被截断。
   改为两行显示，完整呈现型号/名称。 */
.cpcc-ts-01-right-tit {
  height: auto;
  max-height: 84px;
  line-height: 36px;
  font-size: 20px;
  white-space: normal;
  overflow: hidden;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.cpcc-ts-01-right-tit span {
  display: block;
  white-space: normal;
  word-break: break-all;
}
/* 参数区原版 max-height:188 + overflow:hidden 会裁掉多行参数，放开为自适应 */
.cpcc-ts-01-right-con { max-height: none; margin-bottom: 20px; overflow: visible; }
.p14-prodcontent-1-desc img { max-width: 100%; height: auto; }
.p14-prodcontent-1-desc table { max-width: 100%; }
.p14-tit span { background-image: none; padding-left: 0; }

/* 新闻 / 单页正文 */
.article h1 { font-size: 26px; color: #222; line-height: 40px; text-align: center; padding: 16px 0 10px; }
.article-meta {
  text-align: center; font-size: 13px; color: #999; padding-bottom: 18px;
  border-bottom: 1px solid #eee; margin-bottom: 22px;
}
.article-meta span { margin: 0 10px; }
.article-body { font-size: 15px; color: #444; line-height: 30px; }
.article-body img { max-width: 100%; height: auto; }
/* 详情页封面图：限制高度居中，避免占满整屏 */
.article-cover { text-align: center; padding-bottom: 20px; }
.article-cover img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  display: inline-block;
}

/* 正文图片过大时会占满整屏；用 max-height 约束并居中（原版对内嵌图片写了固定宽高，需 !important） */
.article-body img,
.endit-content img,
.p14-prodcontent-1-desc img {
  max-width: 100% !important;
  max-height: 480px !important;
  width: auto !important;
  height: auto !important;
  display: block;
  margin: 14px auto;
}
.article-body p { margin: 12px 0; }
.article-body table { max-width: 100%; }
.article-nav { border-top: 1px solid #eee; margin-top: 30px; padding-top: 16px; }
.article-nav p {
  font-size: 14px; color: #888; line-height: 32px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.article-nav p a { color: #555; }
.article-nav p a:hover { color: #ee0d1f; }

/* 搜索结果为空 */
.search-empty { padding: 60px 0; text-align: center; color: #999; font-size: 15px; }

/* 留言表单 */
.msg-form { padding: 6px 0 16px; }
.msg-form .row { margin-bottom: 16px; }
.msg-form label { display: block; font-size: 14px; color: #555; padding-bottom: 7px; }
.msg-form input[type=text], .msg-form input[type=tel], .msg-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #ddd; padding: 9px 12px;
  font-size: 14px; color: #333; font-family: inherit; outline: none;
}
.msg-form input:focus, .msg-form textarea:focus { border-color: #ee0d1f; }
.msg-form textarea { height: 130px; resize: vertical; }
.msg-form button {
  display: inline-block; border: 0; background: #ee0d1f; color: #fff;
  font-size: 15px; padding: 0 40px; height: 44px; line-height: 44px; cursor: pointer;
}
.msg-form button:hover { background: #c90b1a; }
.msg-tip { padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.msg-tip.err { background: #fdf1f1; border: 1px solid #f3cfcf; color: #c62828; }

/* 404 */
.err-wrap { padding: 80px 0 100px; text-align: center; }
.err-wrap h1 { font-size: 72px; color: #ee0d1f; font-family: Arial; line-height: 90px; }
.err-wrap p { font-size: 15px; color: #888; padding: 8px 0 24px; }
.err-wrap a.btn {
  display: inline-block; background: #ee0d1f; color: #fff; font-size: 15px;
  padding: 0 34px; height: 44px; line-height: 44px;
}
.err-wrap a.btn:hover { color: #fff; background: #c90b1a; }
