/* honor.html layout fixes — 2026-05-16 */

/* P2: Copyright certificates — flexbox 3x2 grid, centered */
.copyrightHonorSwiper {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 40px;
  height: auto !important;
  padding: 0 40px !important;
}
.copyrightHonorSwiper .itemContainer {
  float: none !important;
  width: 240px;
  text-align: center;
  position: static !important;
}
.copyrightHonorSwiper .itemContainer .imgContainer {
  display: block;
}
.copyrightHonorSwiper .itemContainer .imgContainer .img {
  width: 200px;
  height: 264px;
  border: 2px solid #eee;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.copyrightHonorSwiper .itemContainer .imgContainer .img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hide swiper arrows (no longer a carousel) */
.copyrightHonorSwiper .btnLeft,
.copyrightHonorSwiper .btnRight {
  display: none !important;
}

/* Honor certificates — fix cropping */
.honorCertificate .list .item .aItem .imgContainer {  width: 90% !important;  height: 260px !important;  overflow: hidden !important;  position: relative;  margin: 0 auto;  display: flex !important;  align-items: center;  justify-content: center;  background: #fafafa;  border-radius: 6px;  border: 1px solid #eee;  padding: 10px;  box-sizing: border-box;}.honorCertificate .list .item .aItem .imgContainer .img {  max-width: 100% !important;  max-height: 100% !important;  width: auto !important;  height: auto !important;  position: static !important;  object-fit: contain;  cursor: pointer;  transition: transform 0.3s;}
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  cursor: default;
}
.honor-lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.honor-lightbox .lightbox-close:hover {
  opacity: 1;
}
.honor-lightbox .lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  text-align: center;
  max-width: 80%;
}


/* Fix title truncation under copyright certs */
.copyrightHonorSwiper .itemContainer .title {
  font-size: 13px !important;
  line-height: 1.4 !important;
  height: auto !important;
  white-space: normal !important;
  overflow: visible !important;
  display: block;
}

