section[data-cattype="411"] .custom-section {
  background: #F5F8FA;
  padding: 40px 0;
}
section[data-cattype="420"] .main-title {
  text-align: center;
  color: #0D0E23;
  font-size: 38px;
  font-family: 'open_sansregular', sans-serif;
  font-weight: bold;
  margin-bottom: 40px;
}

section[data-cattype="420"] .item-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  max-width: 1150px;      /* ✅ 限制最大宽度 */
  margin: 0 auto;         /* ✅ 让容器居中对齐 */
	margin-bottom: 50px;
}

section[data-cattype="420"] .item {
	flex: 0 0 23%;
  max-width: 23%;
  text-align: center;
  transition: all 0.3s ease;
}

section[data-cattype="420"] .item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

section[data-cattype="420"] .image-box {
  position: relative;
  width: 100%;
  height: 193px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 10px; /* ✅ 圆角设置 */
}
section[data-cattype="420"] .image-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 0; /* ✅ 保证边线不覆盖圆角 */
  pointer-events: none;
  box-sizing: border-box;
  z-index: 1;
}

section[data-cattype="420"] .img-wrapper {
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 0;
  position: relative;
}

section[data-cattype="420"] .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

section[data-cattype="420"] .item-title {
  margin-top: 12px;
  font-size: 16px;
  font-family: 'open_sansregular', sans-serif;
  color: #16151B;
  line-height: 1.4;
  min-height: 48px;
  transition: all 0.3s ease;
}

section[data-cattype="420"] .item:hover img {
  opacity: 0.3;
}

section[data-cattype="420"] .item:hover .item-title {
  opacity: 0.9;
  color: #CC0B14 !important;
}

/* Responsive */
@media (max-width: 1199px) {
  section[data-cattype="420"] .item {
    flex: 0 0 30%;
    max-width: 30%;
  }
}

@media (max-width: 768px) {
  section[data-cattype="420"] .item {
    flex: 0 0 45%;
    max-width: 45%;
  }
  section[data-cattype="420"] .img-wrapper img{
  width: 80%;
  }
  section[data-cattype="420"] .item-wrapper {
    row-gap: 10px;
    column-gap: 30px; /* 保持左右 30px */
	padding-left: 10px;
  }
  [data-cattype="420"] h2{
	font-size: 28px;
  }
}
