/* 首屏轮播 —— 几何尺寸与原站 Revolution Slider 一致（1920×795 → 41.40625%） */
.glbz-hero {
  position: relative;
  width: 100%;
  padding-bottom: 41.40625%;   /* 795 / 1920 */
  overflow: hidden;
  background: #e9e9e9;
}
.glbz-hero-slides {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  list-style: none !important;
}
.glbz-hero-slide {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
}
.glbz-hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  transition: opacity .55s ease .12s;
}
.glbz-hero-slide a { display: block; width: 100%; height: 100%; }
.glbz-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  max-width: none !important;
}
.glbz-hero-dots {
  position: absolute;
  left: 0; bottom: 22px;
  width: 100%;
  text-align: center;
  z-index: 5;
  line-height: 0;
}



@media only screen and (max-width: 767px) {
  .glbz-hero { padding-bottom: 52%; }
  .glbz-hero-dots { bottom: 10px; }
  
}

/* 询盘弹窗内的表单（替代原站托管表单） */
.inquiry-pop-bd .inquiry-form-wrap { padding: 10px 0 0; }
.inquiry-pop-bd .inquiry-form .form-item { margin: 0 0 10px; }
.inquiry-pop-bd .inquiry-form .form-input,
.inquiry-pop-bd .inquiry-form .form-text {
  width: 100% !important;
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 9px 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  border-radius: 2px;
}
.inquiry-pop-bd .inquiry-form .form-text { height: 96px; resize: vertical; }
.inquiry-pop-bd .inquiry-form .form-btn-submitx {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  padding: 0 28px;
  border: 0;
  background: #7fbf00;
  color: #fff;
  font-size: 14px;
  letter-spacing: .5px;
  cursor: pointer;
  border-radius: 2px;
}
.inquiry-pop-bd .inquiry-form .form-btn-submitx:hover { background: #6ea800; }

/* 右侧悬浮客服条（原站依赖 jQuery.fix 插件，此处用 CSS 复现同样表现） */
.scrollsidebar {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
.scrollsidebar .side_content {
  float: none;
  width: 0;
  transition: width .35s ease;
  overflow: hidden;
}
.scrollsidebar:hover .side_content,
.scrollsidebar.is-open .side_content {
  width: 140px;
}
.scrollsidebar .side_content .side_list { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.scrollsidebar .show_btn { flex: 0 0 38px; }

@media only screen and (max-width: 767px) {
  .scrollsidebar { display: none; }
}

/* 询盘表单提示 */
.inquiry-pop-bd .inquiry-ok,
.inquiry-pop-bd .inquiry-err {
  padding: 10px 14px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  border-radius: 3px;
}
.inquiry-pop-bd .inquiry-ok  { background: #eef8e2; color: #4a7a10; border: 1px solid #cfe4ab; }
.inquiry-pop-bd .inquiry-err { background: #fdeeee; color: #a33; border: 1px solid #f3cccc; }

/* 产品标签列表 */
.entry .product-tags { display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.entry .product-tags li { list-style: none; margin: 0 10px 10px 0; }
.entry .product-tags li a { display: inline-block; padding: 5px 14px; border: 1px solid #ddd; font-size: 13px; color: #666; }
.entry .product-tags li a:hover { border-color: #7fbf00; color: #7fbf00; }

/* 后台可编辑内容：区块与原文样式对齐 */
.entry .wp-block-columns { margin-bottom: 0; }
.entry .wp-block-column { margin-bottom: 0; }
.entry .wp-block-image { margin: 0 0 15px; }
.entry .wp-block-image img { max-width: 100%; height: auto; }
.entry .wp-block-heading { font-weight: normal; }

/* 询盘提交成功回执 */
.inquiry-result { text-align: center; padding: 26px 10px 18px; }
.inquiry-result-ico {
  display: block;
  width: 54px; height: 54px; line-height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #7fbf00;
  color: #fff;
  font-size: 28px;
  font-style: normal;
}
.inquiry-result-tit { margin: 0 0 10px; font-size: 18px; color: #333; font-weight: 600; }
.inquiry-result-txt { margin: 0 0 20px; font-size: 14px; line-height: 1.7; color: #666; }
.inquiry-result-btn {
  display: inline-block;
  padding: 9px 34px;
  background: #7fbf00;
  color: #fff !important;
  font-size: 14px;
  border-radius: 2px;
  text-decoration: none !important;
}
.inquiry-result-btn:hover { background: #6ea800; }

/* 锁定正文排版，与原站 style.css 完全一致（防止区块样式覆盖） */
.entry p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  padding: 8px 0;
  color: #666;
}
.entry li { font-size: 13px; line-height: 1.8; color: #666; }
.entry ul, .entry ol { margin: 8px 0 8px 20px; padding: 0; }
.entry img { max-width: 100%; height: auto; }

/* 新闻列表摘要：限 3 行，避免撑破卡片 */
.blog-item figure.item-wrap { height: auto; }
.blog-item .item-detail {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.glbz-hero-dots a {
  display: inline-block;
  width: 15px; height: 15px;
  margin: 0 6px;
  border-radius: 50%;
  background: #cecfd0;
  border: 0;
  text-indent: -9999px;
  overflow: hidden;
  transition: all .1s ease-in-out;
}
.glbz-hero-dots a:hover, .glbz-hero-dots a.is-on {
  width: 19px; height: 19px;
  background: #fad216;
}

/* 左右切换箭头（对齐源码站 Revolution Slider 的交互） */
.glbz-hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.35); cursor: pointer; z-index: 3;
  opacity: 0; transition: opacity .25s, background .25s;
}
.glbz-hero:hover .glbz-hero-nav { opacity: 1; }
.glbz-hero-nav:hover { background: rgba(0,0,0,.6); }
.glbz-hero-nav span {
  position: absolute; top: 50%; left: 50%; width: 14px; height: 14px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.glbz-hero-prev { left: 24px; }
.glbz-hero-prev span { transform: translate(-40%,-50%) rotate(-135deg); }
.glbz-hero-next { right: 24px; }
.glbz-hero-next span { transform: translate(-60%,-50%) rotate(45deg); }
@media (max-width: 767px) { .glbz-hero-nav { display: none; } }
