@charset "utf-8";
/* ============================================================
   鹰诺达 · 全站统一主题  yn-theme.css   v20261113a
   目标：头尾与内容区宽度一致（1200 居中）、卡片统一、排版统一
   加载顺序：置于所有页面 CSS 之后，靠后者覆盖
   ============================================================ */

/* ---------- 1. 统一容器宽度（与顶部导航 1200 对齐） ---------- */
.container-s {
  width: 1200px !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
.container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- 2. 基础排版统一 ---------- */
.P_cat, .gmian, .allcase, .dzgonglv, .P_list, .ynd-list { font-size: 15px; }

.P_cat h2, .gmian h2, .allcase h2, .dzgonglv h2 {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  color: #1b1d24;
  text-align: center;
  margin: 0 0 24px;
}

/* ---------- 3. 分类筛选条（案例分类 / 产品分类） ---------- */
.P_cat { margin-top: 28px; }
.P_cat dl {
  margin: 0 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.P_cat dl dt.fl {
  float: none;
  flex: 0 0 auto;
  width: auto !important;
  line-height: 34px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
.P_cat dl dd {
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
}
/* 分类块：默认折叠 2 行，展开按钮做成品牌胶囊，不用滚动条 */
.P_cat dl dd.hangye {
  height: auto !important;
  max-height: 88px;
  overflow: hidden !important;
  position: relative !important;
  padding-right: 4px;
  transition: max-height .25s ease;
}
.P_cat dl dd.hangye.on {
  max-height: 3000px;
  overflow: visible !important;
}
.P_cat dl dd.hangye .quanbu,
.P_cat dl dd.hangye .xiangshang {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: 30px !important;
  line-height: 28px !important;
  padding: 0 15px !important;
  margin: 0 !important;
  border: 1px solid #e2e7f1 !important;
  border-radius: 16px !important;
  background: #fff !important;
  background-image: none !important;
  font-size: 0 !important;
  color: #011d5c !important;
  cursor: pointer;
  box-shadow: 0 0 0 9px #fff;
  z-index: 2;
}
.P_cat dl dd.hangye .quanbu::after {
  content: "展开全部分类 ∨";
  font-size: 13px;
  letter-spacing: .2px;
}
.P_cat dl dd.hangye .xiangshang::after {
  content: "收起 ∧";
  font-size: 13px;
}
.P_cat dl dd.hangye .quanbu { display: block !important; }
.P_cat dl dd.hangye.on .quanbu { display: none !important; }
.P_cat dl dd.hangye .xiangshang { display: none !important; }
.P_cat dl dd.hangye.on .xiangshang { display: block !important; }

.P_cat dl dd a {
  display: inline-block;
  margin: 0 8px 8px 0 !important;
  padding: 6px 16px !important;
  line-height: 20px;
  font-size: 14px !important;
  color: #4a5060 !important;
  background: #fff;
  border: 1px solid #e2e7f1 !important;
  border-radius: 17px !important;
  cursor: pointer;
  transition: color .16s, border-color .16s, background .16s;
}
.P_cat dl dd a:hover,
.P_cat dl dd a.on,
.P_cat dl dd a.active {
  color: #fff !important;
  background: #011d5c !important;
  border-color: #011d5c !important;
  text-decoration: none;
}

/* ---------- 4. 案例卡片（.gmian）—— 主图完整显示、等高等宽 ---------- */
.gmian { margin-top: 26px; }
.gmian ul.c {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gmian ul li,
.gmian ul li:nth-child(5n) {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  border: 1px solid #e6eaf3 !important;
  border-bottom: 1px solid #e6eaf3 !important;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.gmian ul li:hover {
  border-color: #c7d2e6 !important;
  box-shadow: 0 8px 22px rgba(1, 29, 92, .08);
  transform: translateY(-2px);
}
.gmian ul li > a {
  display: block;
  width: 100%;
}
/* 主图：1:1 方图，整图完整显示不裁切；只作用于主图，不碰下方缩略图 */
.gmian ul li > a > img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  object-position: center center;
  background: #f7f9fc;
  display: block;
  padding: 0 !important;
  margin: 0 auto;
}
.gmian ul li > a > p {
  margin: 0 !important;
  padding: 11px 12px 13px;
  font-size: 14px !important;
  line-height: 1.5;
  color: #2a2f3a !important;
  text-align: center;
  height: 60px;
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 产品卡片（.ynd-card）：标题与热度区统一，缩略图保持原尺寸 */
.gmian ul li.ynd-card { padding-bottom: 10px; }
.gmian ul li.ynd-card .ynd-main { display: block; }
.gmian ul li.ynd-card p.ynd-tit { font-size: 14px; }

/* 缩略图选中态：统一品牌深蓝，压掉旧枣红 */
.gmian ul li .ynd-thumbs a.on {
  border-color: #011d5c !important;
  box-shadow: 0 0 0 1px #011d5c inset;
}
.gmian ul li .ynd-thumbs a:hover { border-color: #a8b6d6 !important; }
.gmian ul li .ynd-thumbs a {
  border-radius: 5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* ---------- 5. 全部案例图库（.allcase） ---------- */
.allcase { margin-top: 20px; }
.allcase .casecat ul li a {
  border-radius: 17px;
  padding: 0 18px;
  font-size: 14px;
  color: #4a5060;
}
.allcase .casecat ul li a.current,
.allcase .casecat ul li a:hover {
  background-image: none !important;
  background: #011d5c !important;
  color: #fff !important;
}
.allcase .casecon ul.c {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.allcase .casecon ul li,
.allcase .casecon ul li:nth-child(5n) {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  border: 1px solid #e6eaf3;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.allcase .casecon ul li:hover {
  border-color: #c7d2e6;
  box-shadow: 0 8px 22px rgba(1, 29, 92, .08);
  transform: translateY(-2px);
}
.allcase .casecon ul li .img {
  width: auto !important;
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fc;
  overflow: hidden;
}
.allcase .casecon ul li .img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform .35s;
}
.allcase .casecon ul li a:hover img { transform: scale(1.06); }
.allcase .casecon ul li p {
  height: 40px;
  line-height: 40px;
  font-size: 13px;
  color: #4a5060;
  padding: 0 8px;
  box-sizing: border-box;
}
.allcase .more a {
  background-image: none !important;
  background: #ffd400 !important;
  color: #1b1d24 !important;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 19px;
  height: 38px;
  line-height: 38px;
  width: 152px;
}

/* ---------- 6. 圆形地区/品牌卡片微调（配合 180px 缩略图） ---------- */
.case_dapai ul li img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  background: #f7f9fc;
}
.case_dapai ul li p {
  font-size: 14px;
  color: #4a5060;
}

/* ---------- 7. 分页统一 ---------- */
.pagelist { margin: 34px 0 10px; text-align: center; }
.pagelist ul { display: inline-block; }
.pagelist li { display: inline-block; margin: 0 4px; }
.pagelist li a,
.pagelist li span {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 14px;
  color: #4a5060;
  background: #fff;
  border: 1px solid #e2e7f1;
  border-radius: 6px;
}
.pagelist li a:hover,
.pagelist li.active a,
.pagelist li span.current {
  color: #fff;
  background: #011d5c;
  border-color: #011d5c;
}

/* ---------- 8. 区块上下留白统一 ---------- */
.gmian, .allcase, .dzgonglv { margin-bottom: 10px; }
.P_cat + .container-s { margin-top: 6px; }

/* ================= 栏目 banner：固定 1920 居中裁切 =================
   目标：任何屏幕宽度下，banner 中间 1200 区域与页面内容容器严格对齐，
   两侧多余部分裁掉，内容不会被等比缩窄。 */
.band {
  overflow: hidden;
  background: #e8f4fd;
}
.band > img.pc,
.band > img {
  width: 1920px !important;
  max-width: none !important;
  height: auto !important;
  display: block;
  position: relative;
  left: 50%;
  margin-left: -960px;
}

/* ==================================================================
   全站内容宽度归一到 1200 + 旧 1000px 模块放大
   背景：模板里有一批按 1000px 设计的区块，内容容器变 1200 后
   会出现"缩在中间、两侧留白、内部元素挤在一起"的问题。
   ================================================================== */

/* ---- 1. 旧窄容器统一到 1200 ---- */
.case_dapai ul,
.allcase,
.casenews,
.case_jg .field-content,
.case_jzf .field-content {
  width: 1200px !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* ---- 2. 圆形案例卡（服务全国 / 大牌选择）：放大 ---- */
.case_dapai { padding: 44px 0 30px; }
.case_dapai h2 {
  font-size: 30px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  margin-bottom: 34px !important;
}
.case_dapai ul { margin-top: 12px !important; }
.case_dapai ul li {
  width: 16.66% !important;
  margin-bottom: 38px !important;
}
.case_dapai ul li img {
  width: 148px !important;
  height: 148px !important;
  border: 1px solid #e3e8f2;
  border-radius: 50%;
  transition: box-shadow .2s, transform .2s;
}
.case_dapai ul li a:hover img {
  box-shadow: 0 10px 22px rgba(1, 29, 92, .14);
  transform: translateY(-3px);
}
.case_dapai ul li p {
  margin-top: 14px !important;
  font-size: 15.5px !important;
  color: #2a2f3a !important;
  line-height: 1.5;
}

/* ---- 3. 全部案例图库：放大 ---- */
.allcase h2 {
  font-size: 30px !important;
  font-weight: 700 !important;
  margin-bottom: 26px !important;
}
.allcase .casecon ul li p {
  font-size: 15px !important;
  height: 36px !important;
  line-height: 36px !important;
  color: #454b5c !important;
}
.allcase .casecat ul li { font-size: 14px !important; }

/* ---- 4. SEO 内容区块（攻略/知识/问答类栏目下方） ---- */
.seo_wrap { width: 1200px; margin: 0 auto; }
.seo_wrap .seo_content { margin-top: 76px !important; }
.seo_wrap .seo_content .content_head {
  padding-bottom: 16px !important;
  margin-bottom: 32px;
  border-bottom: 1px solid #e6eaf3 !important;
}
.seo_wrap .seo_content .head_title { font-size: 27px !important; }
.seo_wrap .seo_content .head_tag_list .tag_item { font-size: 14px !important; }
.seo_wrap .seo_content .content_body .seo_title {
  font-size: 16px !important;
  color: #1b1d24 !important;
  line-height: 1.55;
  font-weight: 600;
}
.seo_wrap .seo_content .content_body .seo_desc {
  font-size: 14px !important;
  color: #767d90 !important;
  line-height: 1.8;
}

/* 面料工艺：左图 + 右三列，按 1200 重新分配，避免溢出挤压 */
.seo_wrap .seo_content .body_technology { align-items: flex-start; }
.seo_wrap .seo_content .body_technology .t_coll {
  width: 352px;
  height: 336px !important;
  margin-right: 34px !important;
  flex: 0 0 352px;
}
.seo_wrap .seo_content .body_technology .t_coll a {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
}
.seo_wrap .seo_content .body_technology .t_right {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}
.seo_wrap .seo_content .body_technology .t_colr { width: 100%; }
.seo_wrap .seo_content .body_technology .colr_item {
  width: calc((100% - 76px) / 3) !important;
  margin-right: 38px !important;
  margin-bottom: 30px !important;
  padding-bottom: 22px !important;
  box-sizing: border-box;
}
.seo_wrap .seo_content .body_technology .colr_item:nth-child(3n) { margin-right: 0 !important; }
.seo_wrap .seo_content .body_technology .seo_desc { margin-top: 10px !important; height: auto !important; }

/* 设计方案：四列等分 */
.seo_wrap .seo_content .body_design .design_item { width: calc((100% - 72px) / 4) !important; }
.seo_wrap .seo_content .body_design .design_img a { height: 232px !important; border-radius: 8px; }
.seo_wrap .seo_content .body_design .seo_desc { padding: 0 !important; }

/* 定制问答：三列等分 */
.seo_wrap .seo_content .body_knowledge .k_colr { width: calc((100% - 64px) / 3) !important; }
.seo_wrap .seo_content .body_knowledge .colr_item { margin-bottom: 22px !important; }
.seo_wrap .seo_content .body_knowledge .colr_img {
  width: 132px !important;
  height: 94px !important;
  border-radius: 6px;
  flex: 0 0 132px;
}
.seo_wrap .seo_content .body_knowledge .colr_info { width: calc(100% - 148px) !important; }
.seo_wrap .seo_content .body_knowledge .coll_title { font-size: 15px !important; }

/* ==================================================================
   2026-11-13 追加：案例图更大 + 首页案例完整显示
   ================================================================== */

/* ---- 首页案例区：4 列等高，图完整显示不裁切 ---- */
.dzanli .dzanlicon ul li {
  width: 23.8% !important;
  margin-right: 1.6% !important;
  margin-bottom: 1.6% !important;
  background: #fff !important;
  border: 1px solid #e6eaf3;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.dzanli .dzanlicon ul li:nth-child(4n) { margin-right: 0 !important; }
.dzanli .dzanlicon ul li:hover {
  border-color: #c7d2e6;
  box-shadow: 0 8px 22px rgba(1,29,92,.08);
  transform: translateY(-2px);
}
.dzanli .dzanlicon ul li img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #f7f9fc;
  display: block;
}
.dzanli .dzanlicon ul li .info { padding: 12px 14px 16px !important; }
.dzanli .dzanlicon ul li .info h3 {
  font-size: 15px !important;
  color: #1b1d24 !important;
  line-height: 1.5;
  height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dzanli .dzanlicon ul li .info p { display: none; }

/* ---- 全部案例图库：5 列改 4 列，单图更大更完整 ---- */
.allcase .casecon ul li {
  width: 23.6% !important;
  margin-right: 1.86% !important;
  margin-bottom: 22px !important;
  border: 1px solid #e6eaf3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.allcase .casecon ul li:nth-child(5n) { margin-right: 1.86% !important; }
.allcase .casecon ul li:nth-child(4n) { margin-right: 0 !important; }
.allcase .casecon ul li:hover {
  border-color: #c7d2e6;
  box-shadow: 0 8px 22px rgba(1,29,92,.08);
  transform: translateY(-2px);
}
.allcase .casecon ul li .img,
.allcase .casecon ul li a {
  background: #f7f9fc;
}
.allcase .casecon ul li .img img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: contain !important;
  display: block;
}
.allcase .casecon ul li p {
  height: auto !important;
  line-height: 1.5 !important;
  padding: 12px 10px 14px;
  font-size: 14.5px !important;
  color: #2a2f3a !important;
  min-height: 46px;
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 产品卡缩略图位：没有图时不留空框，直接隐藏 ---- */
.gmian ul li.ynd-card .ynd-thumbs a.off { display: none !important; }
.gmian ul li.ynd-card .ynd-thumbs { justify-content: flex-start; }

/* ---- 修正：dzanlicon / casecon 被全局 grid 规则影响，明确 4 列等宽 ---- */
.dzanli .dzanlicon ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}
.dzanli .dzanlicon ul li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}
.allcase .casecon ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}
.allcase .casecon ul li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

/* ynd-guige-align */
/* 商品参数区：标签定宽、左右对齐、超长自动省略 */
.gdinfo_R .guige p, .gdinfo .guige p {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 0 11px !important;
  line-height: 1.7 !important;
  font-size: 15px !important;
  color: #26324a !important;
}
.gdinfo_R .guige p > span, .gdinfo .guige p > span {
  display: inline-block !important;
  width: 88px !important;
  min-width: 88px !important;
  color: #7c8798 !important;
  font-weight: 400 !important;
}
@media (max-width: 640px) {
  .gdinfo_R .guige p, .gdinfo .guige p { font-size: 14px !important; }
  .gdinfo_R .guige p > span, .gdinfo .guige p > span { width: 80px !important; min-width: 80px !important; }
}
/* ynd-chima-align */
.gdinfo_R .chima, .gdinfo .chima {
  display: flex !important;
  align-items: baseline !important;
  margin: 4px 0 0 !important;
}
.gdinfo_R .chima > span, .gdinfo .chima > span {
  flex: 0 0 88px; min-width: 88px; color: #7c8798; font-size: 15px;
}
.gdinfo_R .chima > p, .gdinfo .chima > p {
  display: inline !important; margin: 0 !important; font-size: 15px; color: #26324a;
  white-space: normal !important; line-height: 1.7 !important;
}
.gdinfo_R .chima > p > a, .gdinfo .chima > p > a { margin-left: 8px; color: #1f5fd0; }
@media (max-width: 640px) {
  .gdinfo_R .chima > span, .gdinfo .chima > span { flex: 0 0 80px; min-width: 80px; font-size: 14px; }
  .gdinfo_R .chima > p, .gdinfo .chima > p { font-size: 14px; }
}
/* ynd-chima-nowrap */
.gdinfo_R .chima > p > a, .gdinfo .chima > p > a { white-space: nowrap; }

/* ynd-band-seam */
.band { background: #fff !important; }
.band > img { margin-bottom: -1px !important; }

/* ynd-no-float */
@media (min-width: 768px) {
  .new-float, #new-float { display: none !important; }
}

/* 隐藏第三方客服浮窗（电脑端） */
.embed-icon, .embed-icon * { display: none !important; visibility: hidden !important; opacity: 0 !important; }

/* ---- 攻略页：三连卡间距 + 图片调小 (ynd-gl-cards) ---- */
.seo_wrap .seo_assortment { gap: 20px !important; justify-content: space-between !important; }
.seo_wrap .seo_assortment .seo_assortment_item,
.seo_wrap .seo_assortment .seo_assortment_item .assortment_item_title,
.seo_wrap .seo_assortment .seo_assortment_item .assortment_item_title img { width: 386px !important; }
/* ---- 攻略页：设计方案文章 4 列铺满 ---- */
.seo_wrap .seo_content .body_design { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px !important; margin-bottom: 0 !important; }
.seo_wrap .seo_content .body_design .design_item { width: auto !important; margin-bottom: 0 !important; }
.seo_wrap .seo_content .body_design .design_img a { height: 170px !important; background-size: cover !important; background-position: 50% 50% !important; border-radius: 8px !important; }
.seo_wrap .seo_content .body_design .design_item { min-width: 0 !important; }
.seo_wrap .seo_content .body_design .design_info .seo_title, .seo_wrap .seo_content .body_design .design_info .seo_desc { white-space: normal !important; overflow: hidden !important; display: -webkit-box !important; -webkit-line-clamp: 1 !important; -webkit-box-orient: vertical !important; }
/* ---- 客户案例：主图留白完整显示 ---- */
.allcase .casecon ul li .img { padding: 14px !important; box-sizing: border-box !important; background: #fff !important; height: auto !important; }
.allcase .casecon ul li .img img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 5 !important; object-fit: contain !important; }
.allcase .casecon ul li p { padding: 10px 10px 12px !important; min-height: 42px !important; }

/* ---- 产品列表卡片：主图等比显示不拉伸、缩略图不空白 ---- */
.ynd-main{display:block;position:relative;background:#fff !important;}
.ynd-main img{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center !important;background:#fff !important;display:block;}
.ynd-thumbs a img{width:100% !important;height:100% !important;object-fit:contain !important;background:#fff !important;display:block;}
.ynd-thumbs a.off{background:#f6f8fa !important;}


/* ---- 子栏目快速导航（产品列表上方） ---- */
.ynd-subnav-wrap{padding:0 0 6px;}
.ynd-subnav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;}
.ynd-subnav .lab{color:#6b7a8b;font-size:14px;margin-right:2px;}
.ynd-subnav a{display:inline-block;padding:6px 14px;border:1px solid #dfe6ee;border-radius:18px;background:#fff;color:#2b3440;font-size:14px;line-height:1.4;text-decoration:none;transition:all .2s;}
.ynd-subnav a:hover{border-color:#3287cf;color:#3287cf;}
.ynd-subnav a.on{background:#3287cf;border-color:#3287cf;color:#fff;}
@media (max-width:768px){.ynd-subnav{gap:6px;}.ynd-subnav a{padding:5px 10px;font-size:13px;}}
