/* ============================================================
   区块四：荣誉资质
   ============================================================ */
.com_honor_box {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.com_honor_head {
  text-align: center;
  margin-bottom: 28px;
}
.com_honor_big_box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 16px;
  color: #5e5d5d;
}
.com_honor_big_info {
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 10px;
}
.com_honor_big_title {
  font-size: 36px;
  font-weight: bold;
  background: linear-gradient(90deg, #dcb867 10%, #e39c40 55%, #b06a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 5px;
  line-height: 1;
}
.com_honor_big_desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #333;
}
.com_honor_small_box {
  display: flex;
  justify-content: space-between;
  min-width: 208px;
  text-align: center;
}
.com_honor_small_info {
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 10px;
}
.com_honor_small_title {
  font-size: 28px;
  font-weight: bold;
  background: linear-gradient(180deg, #f8cd4e 0%, #e8a90c 100%);
  background: linear-gradient(90deg, #dcb867 10%, #e39c40 55%, #b06a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 5px;
  line-height: 1;
}
.com_honor_small_desc {
  font-size: 14px;
  line-height: 16px;
  color: #333;
}
.com_honor_sub {
  font-size: 14px;
  color: #46618a;
  margin-top: 10px;
  letter-spacing: 1px;
}
.com_honor_grid {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 28px;
}

.com_honor_wheat_left,
.com_honor_wheat_right {
  height: 64px;
  width: auto;
  flex: 0 0 auto;
  vertical-align: middle;
  object-fit: contain;
}
.com_honor_wheat_left {
  margin-right: 0px;
}
.com_honor_wheat_right {
  margin-left: 6px;
}

/* 标题左右麦穗装饰 */
.com_honor_wheat_big {
  height: 76px;
}
/* 证书轮播：中间大牌匾 + 左右两侧小牌匾 */

/** 证书轮播图 */
.b_cert_carousel_wrap {
  position: relative;
  margin: 72px auto 0;
  overflow: hidden;
  padding-bottom: 100px;
}
.b_cert_carousel_track {
  position: relative;
  min-height: 270px;
}
.b_cert_carousel_card {
  position: absolute;
  left: 50%;
  /* width: 32%; */
  padding: 0 14px;
  box-sizing: border-box;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  will-change: transform, opacity;
  bottom: 0; /* 底部基准，替换原来 top:50% */
  /* top:50%; 删掉这一行 */
  /* transform-origin: center center; 默认中心缩放，改成底部缩放！！重点 */
  transform-origin: center bottom;
}
.b_cert_carousel_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 266px;
  width: 400px;
}
.b_cert_carousel_inner img {
  width: 100%;
}
.b_cert_carousel_title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px;
  font-size: 16px;
  font-weight: 700;
  color: #0b3d91;
  letter-spacing: 2px;
  display: none;
}
/* .b_cert_carousel_card.active .b_cert_carousel_title {
  display: block;
} */
.b_cert_carousel_btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #525355;
  background: #f5f7fa;
  color: #1f2d3d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  z-index: 2;
}
.b_cert_carousel_btn:hover {
  background: #1053a0;
  border-color: #1053a0;
  color: #fff;
}
.b_cert_carousel_btn.disabled {
  opacity: 0.4;
  cursor: default;
  background: #fff;
  color: #999;
  border-color: #e2e5ec;
}
.b_cert_carousel_btn.disabled:hover {
  background: #fff;
  border-color: #e2e5ec;
  color: #999;
}
.b_cert_carousel_prev {
  transform: translateX(-58px);
}
.b_cert_carousel_next {
  transform: translateX(12px);
}

@media (max-width: 1024px) {
  .com_honor_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .com_honor_grid {
    grid-template-columns: repeat(2, 1fr);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .com_honor_small_box {
    margin: 0;
    padding: 0;
  }
  /** */
  .b_cert_honor_wheat_left,
  .b_cert_honor_wheat_right {
    height: 22px;
  }
  .b_cert_honor_wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /** */
  .b_cert_carousel_card {
    width: 58%;
  }
  .b_cert_carousel_card {
    width: 80%;
  }
  .b_cert_carousel_inner {
    height: 180px;
    width: auto;
  }
  .b_cert_carousel_title {
    font-size: 12px;
    width: 60%;
  }
  .b_cert_carousel_track {
    /* min-height: 165px; */
  }
  .com_honor_big_box {
    gap: 10px;
  }
  .com_honor_big_title {
    font-size: 24px;
  }
}
