.bichun-certificate {
  width: 100%;
  padding-top: 6.625rem;
  padding-bottom: 3.875rem;
  background: linear-gradient(
    180deg,
    #f3f8fe 0%,
    rgba(243, 248, 254, 0.2) 100%
  );
}

/* 标题 */
.bichun-certificate-title {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
}

/* Swiper 容器 */
.bichun-certificate-swiper-wrap {
  position: relative;
}

.bichun-certificate-swiper {
  width: 100%;
  overflow: hidden;
}

.bichun-certificate-swiper .swiper-slide {
  max-width: 21.25rem;
  margin-right: 2.5rem;
}

/* 证书项 */
.bichun-certificate-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: 26.5625rem;
  transition: all 0.3s ease;
}

/* 边框图片 */
.bichun-certificate-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  aspect-ratio: 67/89;
  pointer-events: none;
}

.bichun-certificate-border img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 证书图片 */
.bichun-certificate-image {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 67/89;
}

.bichun-certificate-image img {
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
}

.swiper-pagination {
  position: relative !important;
  bottom: 0px !important;
  margin-top: 3.3125rem;
}

.swiper-pagination-bullet {
  width: max(1.25rem, 16px) !important;
  height: max(1.25rem, 16px) !important;
  background: transparent !important;
  position: relative;
  border: 1px solid transparent !important;
  transition: all 0.1s;
  margin: 0 8px !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  border-color: #0d4c91 !important;
  background: #fff !important;
}
.swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  display: inline-block;
  width: max(0.75rem, 8px);
  height: max(0.75rem, 8px);
  left: 50%;
  top: 50%;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  background: var(--color-primary);
  border-radius: 100%;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  opacity: 1;
}

/* 响应式 */
@media screen and (max-width: 768px) {
  .bichun-certificate {
    padding: 3.75rem 0;
    padding-bottom: 2rem;
  }

  .bichun-certificate-title {
    margin-bottom: 2rem;
  }

  .swiper-pagination {
    margin-top: 1.5rem;
  }
}
