/* Section5 资质荣誉（源站：证书图 + 底部灰条压图） */
.section5 {
  margin-top: 125px;
  padding-bottom: 70px;
  background: #fff;
}

.s5-head {
  text-align: center;
}

.s5-head h2 {
  font-size: 26px;
  font-weight: 600;
  color: #393e44;
  text-transform: uppercase;
}

.s5-head h3 {
  font-size: 20px;
  color: #bca289;
  margin-top: 7px;
}

.section5 .HonorSwiper {
  margin-top: 52px;
  padding-bottom: 4px;
}

.s5-item {
  display: block;
  position: relative;
}

.s5-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 378px;
  background: #fff;
  border: 3px solid #000;
  overflow: hidden;
}

.s5-img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.s5-tit {
  position: relative;
  z-index: 3;
  height: 180px;
  margin-top: -100px;
  background: #e9e9e9;
  text-align: center;
  transition: 0.6s;
}

.s5-tit h3 {
  padding-top: 130px;
  font-size: 15px;
  color: #282828;
  transition: 0.6s;
}

.s5-item:hover .s5-tit {
  background: #282828;
}

.s5-item:hover .s5-tit h3 {
  color: #fff;
}

/* 响应式 */
@media screen and (max-width: 1240px) {
  .s5-img {
    height: 320px;
  }

  .section5 .HonorSwiper {
    margin-top: 38px;
  }
}

@media screen and (max-width: 768px) {
  .section5 {
    margin-top: 50px;
    padding-bottom: 40px;
  }

  .s5-head h2 {
    font-size: 20px;
  }

  .s5-head h3 {
    font-size: 15px;
  }

  .section5 .HonorSwiper {
    margin-top: 24px;
  }

  .s5-img {
    height: 210px;
    border-width: 2px;
  }

  .s5-tit {
    height: 100px;
    margin-top: -60px;
  }

  .s5-tit h3 {
    padding-top: 64px;
    font-size: 12px;
  }
}

/* ===== 2026-10-20 补源站左右箭头 ===== */
.HonorSwiper .swiper-button-prev,
.HonorSwiper .swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 0;
  transition: background 0.3s;
}

.HonorSwiper .swiper-button-prev:hover,
.HonorSwiper .swiper-button-next:hover {
  background: #bca289;
}

.HonorSwiper .swiper-button-prev::after,
.HonorSwiper .swiper-button-next::after {
  font-size: 17px;
}

/* ===== 2026-10-20 对齐源站：证书图填满容器 + 底部细灰条（不压图） ===== */
.s5-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s5-tit {
  height: 80px;
  margin-top: 0;
}

.s5-tit h3 {
  padding-top: 28px;
}

@media screen and (max-width: 768px) {
  .s5-tit {
    height: 60px;
  }

  .s5-tit h3 {
    padding-top: 20px;
  }
}
