/* 前台正文：CKEditor 图文混排 */
.cms-body .image,
.cms-body figure.image,
.article-content .image,
.article-content figure.image,
.product-desc .image,
.product-desc figure.image {
  display: table;
  clear: both;
  text-align: center;
  margin: 1em auto;
}
.cms-body .image img,
.cms-body figure.image img,
.cms-body img,
.article-content img,
.product-desc img {
  max-width: 100%;
  height: auto;
}
.cms-body .image-style-align-left,
.cms-body .image-style-side,
.cms-body img.image-style-align-left,
.article-content .image-style-align-left,
.article-content .image-style-side,
.article-content img.image-style-align-left,
.product-desc .image-style-align-left,
.product-desc .image-style-side {
  float: left;
  margin: 0.4em 1.5em 1em 0;
  max-width: 46%;
}
.cms-body .image-style-align-right,
.cms-body img.image-style-align-right,
.article-content .image-style-align-right,
.article-content img.image-style-align-right,
.product-desc .image-style-align-right {
  float: right;
  margin: 0.4em 0 1em 1.5em;
  max-width: 46%;
}
.cms-body .image-style-block,
.cms-body .image-style-align-center,
.article-content .image-style-block,
.article-content .image-style-align-center,
.product-desc .image-style-block,
.product-desc .image-style-align-center {
  display: table;
  margin: 1.2em auto;
  float: none;
  max-width: 100%;
}
.cms-body .image-style-inline,
.article-content .image-style-inline,
.product-desc .image-style-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.4em;
}
.cms-body figcaption,
.article-content figcaption,
.product-desc figcaption {
  font-size: 13px;
  color: #64748b;
  padding: 6px 8px 0;
}
.cms-body::after,
.article-content::after,
.product-desc::after {
  content: "";
  display: table;
  clear: both;
}
img.nav-logo-mark,
.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  background: #fff;
}
/* 页脚 logo 与公司名上下结构，logo 水平居中（2026-10-24，覆盖 .ft-top .flogo 旧规则） */
.ft-top .flogo h2 a{ display:block; text-align:center; }
.ft-top .flogo h2 a img{ display:block; margin:0 auto; width:auto; height:53px; max-height:56px; }
.ft-top .flogo h2 a span{ display:block; font-size:16px; line-height:1.5; padding-top:12px; color:#fff; text-align:center; white-space:normal; }

.ft-top .flogo p{ text-align:center !important; background:none !important; padding-left:0 !important; }
.ft-top .flogo p a{ display:inline-block !important; background:url(/templates/yuanlian/static/image/f_icp.png) no-repeat 0 center !important; padding-left:26px !important; }

/* 产品列表卡片图片精控（2026-10-24）：统一图框、等比居中不变形 */
.leftnav-z1-list dt { height: 453px; overflow: hidden; background: #fff; }
.leftnav-z1-list dt img { width: 100%; height: 453px; object-fit: contain; object-position: center; }

/* ===== v1030: 修复产品网格 3 列残留规则导致的第 2 行空洞 ===== */
.leftnav-z1-list dl:nth-child(3n-1) { margin-right: 2% !important; }
.leftnav-z1-list dl:nth-child(2n) { margin-right: 0 !important; }

/* ===== v1031: 关于我们子页（生产基地/资质证书/企业风采）===== */
.yl-lead { font-size:15px; line-height:1.9; color:#555; margin-bottom:26px; }
.yl-photo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.yl-photo-grid figure { margin:0; background:#fff; border:1px solid #e5e5e5; overflow:hidden; }
.yl-photo-grid img { display:block; width:100%; height:300px; object-fit:cover; }
.yl-photo-grid figcaption { text-align:center; padding:10px 0; font-size:14px; color:#555; }
.yl-cert-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.yl-cert-grid figure { margin:0; border:1px solid #e5e5e5; background:#fff; padding:14px; text-align:center; transition:all .25s; }
.yl-cert-grid figure:hover { border-color:#094bba; box-shadow:0 6px 18px rgba(0,0,0,.08); }
.yl-cert-grid a { display:block; height:260px; }
.yl-cert-grid img { max-width:100%; max-height:100%; object-fit:contain; }
.yl-cert-grid figcaption { margin-top:10px; font-size:13px; color:#666; line-height:1.5; height:40px; overflow:hidden; }
.yl-style-banner img { width:100%; display:block; }
.yl-values-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:26px 0; }
.yl-values-cards .vc { border:1px solid #e5e5e5; background:#fff; padding:24px 20px; text-align:center; }
.yl-values-cards .vc b { display:block; font-size:17px; color:#154c64; margin-bottom:8px; }
.yl-values-cards .vc span { font-size:13px; color:#777; line-height:1.8; }
.yl-logo-wall { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:22px 0; }
.yl-logo-wall div { border:1px solid #eee; background:#fff; display:flex; align-items:center; justify-content:center; height:80px; }
.yl-logo-wall img { max-height:44px; max-width:70%; }
.yl-sub-tit { font-size:20px; color:#154c64; border-left:4px solid #e4000d; padding-left:12px; margin:30px 0 18px; }


/* ===== v1032: 老站式全宽大图画廊（生产基地/企业风采）===== */
.endit-content .img-block { margin: 0 0 6px 0; }
.endit-content .img-block img { display: block; width: 100%; border: 1px solid #e8e8e8; box-sizing: border-box; }
.endit-content .img-block strong { display: block; text-align: center; font-size: 17px; color: #333; padding: 12px 0 30px; font-weight: bold; }


/* ===== v1033: 老站式相册网格（生产基地）===== */
.endit-content .yl-album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.endit-content .yl-album-grid a { display: block; border: 1px solid #e5e5e5; background: #fff; overflow: hidden; }
.endit-content .yl-album-grid img { display: block; width: 100%; height: 180px; object-fit: cover; transition: transform .3s; }
.endit-content .yl-album-grid a:hover img { transform: scale(1.05); }

/* ICP 备案号页脚显示优化 */
.site-icp{color:#cfe0ef!important;display:inline-block!important;width:100%!important;text-align:center!important;padding:16px 0 12px!important;font-size:13px!important;letter-spacing:.5px}
.site-icp:hover{color:#ffffff!important;text-decoration:underline!important}

/* 页头与主体内容区对齐(1200) */
.top_bg .header,.top_bg .h_con{width:1200px}
