/* 英文版专用补丁：滑块图层的长句允许换行，避免被容器裁切 */
.rev_slider .tp-caption span[style*="nowrap"] {
  white-space: normal !important;
}
.rev_slider .tp-caption > div {
  max-width: 640px;
}

/* 产品列表：英文描述长短不一，主题的 masonry 会把卡片摆得参差不齐，
   英文版改为等高网格（每行卡片顶部对齐，高度随内容拉伸）。
   注意：不能给 .isotope-item 设 display，否则分类筛选的 display:none 会失效。 */
.post_waterfall.isotope {
  position: static !important;
  height: auto !important;
  overflow: visible !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.post_waterfall.isotope::before,
.post_waterfall.isotope::after {
  content: none !important;
  display: none !important;
}
.post_waterfall.isotope > .isotope-item {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.post_waterfall.isotope > .isotope-item > .itembody {
  height: 100%;
  box-sizing: border-box;
}
@media (max-width: 992px) {
  .post_waterfall.isotope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .post_waterfall.isotope { grid-template-columns: minmax(0, 1fr); }
}
