section[data-cattype="411"]{
  background-color: #fff;
}
section[data-cattype="411"] .custom-section {
  padding: 40px 0;
}
section[data-cattype="411"] h2 {
  margin-bottom: 40px;
  color: #5a595e;
  font-size: 35px;
  font-weight: 600;
  font-family: 'open_sansbold';
  position: relative;
}
section[data-cattype="411"] h2:after{
	content:'';
	position:absolute;
	border-bottom : 0px solid #ffffff;
	width: 50px;
	bottom: -10px;
	left: 47%;
}
section[data-cattype="411"] .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="411"] .item {
	flex: 0 0 23%;
  max-width: 23%;
  text-align: center;
  transition: all 0.3s ease;
}

section[data-cattype="411"] .item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

section[data-cattype="411"] .image-box {
  position: relative;
  width: 100%;
  height: 193px;
  background-color: #fff;
  overflow: hidden;
}
section[data-cattype="411"] .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;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 1;
}

section[data-cattype="411"] .img-wrapper {
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 0;
  position: relative;
}

section[data-cattype="411"] .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

section[data-cattype="411"] .item-title {
	margin-top: 12px;
  font-size: 20px;
  font-family: 'open_sansregular', sans-serif;
  color: #5a595e;
  line-height: 1.4;
  min-height: 48px;
  transition: all 0.3s ease;
  padding: 0 5px;
}

section[data-cattype="411"] .item:hover img {
  opacity: 0.3;
}

section[data-cattype="411"] .item:hover .item-title {
  opacity: 0.9;
  color: #3F83A8; !important;
}

/* Responsive */
@media (max-width: 1199px) {
  section[data-cattype="411"] .item {
    flex: 0 0 30%;
    max-width: 30%;
  }
}

@media (max-width: 768px) {
  section[data-cattype="411"] .item {
    flex: 0 0 45%;
    max-width: 45%;
  }
  section[data-cattype="411"] .img-wrapper img{
  width: 80%;
  }
  section[data-cattype="411"] .item-wrapper {
    row-gap: 10px;
    column-gap: 30px; /* 保持左右 30px */
	padding-left: 10px;
  }
  [data-cattype="411"] h2{
	font-size: 28px;
  }
  section[data-cattype="411"] .item-title {
	font-size: 15px;
  }
  section[data-cattype="411"] .image-box {
    height: 165px;
  }
  section[data-cattype="411"] .item-title {
    margin-top: 10px;
  }
}

section[data-cattype="411"] .item-wrapper.mobile-limit {
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

section[data-cattype="411"] .item-wrapper.mobile-limit::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 10%, rgba(255,255,255,1) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

section[data-cattype="411"] .item-wrapper.expanded {
  max-height: none !important;
}

section[data-cattype="411"] .item-wrapper.expanded::after {
  opacity: 0;
  visibility: hidden;
}

section[data-cattype="411"] .load-btn-container {
  text-align: center;
  margin-top: 15px;
}

section[data-cattype="411"] .item-wrapper {
  position: relative;
}

  section[data-cattype="411"] .item-wrapper.mobile-limit .item:nth-child(n+9) {
    display: none;
  }

section[data-cattype="411"] .item-wrapper.expanded .item {
  display: block !important; /* 不要用flex，而是block */
}

section[data-cattype="411"] .load-more-btn:active,
section[data-cattype="411"] .close-btn:active {
  background-color: #3F83A8;
}

section[data-cattype="411"] .load-more-btn,
section[data-cattype="411"] .close-btn {
  display: inline-block;
  background-color: #28527A;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin: 5px;
  font-size: 16px;
  border-radius: 5px;
}
