.hengsheng_certificate_stats {
  background: var(--bg-color);
}

.hengsheng_certificate_stats_top {
  position: relative;
  overflow: hidden;
  min-height: 1180px;
}

.hengsheng_certificate_stats_bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hengsheng_certificate_stats_bg img {
  position: absolute;
  left: calc(50% + 62px);
  top: 0;
  width: min(58.94vw, 1131px);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
  transform: translateX(-50%);
}

.hengsheng_certificate_stats_top_inner {
  position: relative;
  z-index: 1;
  padding: 113px 0 341px;
}

.hengsheng_certificate_stats_note {
  max-width: 1187px;
  margin: 0 auto;
  color: var(--text-color);
  font-family: var(--font-family-semi-bold);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
}

.hengsheng_certificate_stats_grid {
  margin-top: 113px;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-content: space-between;
  row-gap: 154px;
  column-gap: 120px;
}

.hengsheng_certificate_stats_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hengsheng_certificate_stats_item:nth-child(1),
.hengsheng_certificate_stats_item:nth-child(4) {
  justify-self: start;
}

.hengsheng_certificate_stats_item:nth-child(2),
.hengsheng_certificate_stats_item:nth-child(5) {
  justify-self: center;
}

.hengsheng_certificate_stats_item:nth-child(3),
.hengsheng_certificate_stats_item:nth-child(6) {
  justify-self: end;
}

.hengsheng_certificate_stats_item:nth-child(1),
.hengsheng_certificate_stats_item:nth-child(4) {
  align-items: flex-start;
  text-align: left;
}

.hengsheng_certificate_stats_item:nth-child(3),
.hengsheng_certificate_stats_item:nth-child(6) {
  align-items: flex-end;
  text-align: right;
}

.hengsheng_certificate_stats_value {
  margin: 0;
  color: var(--title-text-color);
  font-family: var(--font-family-bold);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.hengsheng_certificate_stats_label {
  width: 100%;
  max-width: 300px;
  margin: 12px 0 0;
  color: var(--text-color);
  font-family: var(--font-family-semi-bold);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
}

.hengsheng_certificate_stats_bottom {
  position: relative;
  z-index: 2;
  margin-top: -164px;
  padding: 0 0 40px;
  background: #ffffff;
}

.hengsheng_certificate_stats_bottom_inner {
  display: grid;
  grid-template-columns: minmax(360px, 572px) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(32px, 4.1vw, 78px);
}

.hengsheng_certificate_stats_featured {
  display: flex;
  justify-content: center;
  margin-top: -224px;
  min-width: 0;
}

.hengsheng_certificate_stats_featured_media {
  position: relative;
  width: 100%;
  max-width: 572px;
  height: auto;
  aspect-ratio: 572 / 864;
  overflow: visible;
}

.hengsheng_certificate_stats_featured_plate {
  position: absolute;
  display: block;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 0 0 18px 18px;
}

.hengsheng_certificate_stats_featured_plate_back {
  background: #eaeaea;
  left: 0;
  top: 57.1759%;
  width: 100%;
  height: 40.9722%;
  z-index: 1;
}

.hengsheng_certificate_stats_featured_plate_front {
  background: #dfdfdf;
  left: 4.8951%;
  top: 63.0787%;
  width: 90.2098%;
  height: 36.9213%;
  z-index: 0;
}

.hengsheng_certificate_stats_featured_image {
  position: absolute;
  left: 4.8951%;
  top: 0;
  width: 90.2098%;
  height: 84.4907%;
  z-index: 2;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.hengsheng_certificate_stats_featured_caption {
  position: absolute;
  left: 50%;
  top: 87.3843%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  color: var(--title-text-color);
  font-family: "Montaga", serif;
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  z-index: 3;
}

.hengsheng_certificate_stats_content {
  width: 100%;
  max-width: 100%;
  padding: 127px 0 44px;
  min-width: 0;
}

.hengsheng_certificate_stats_heading {
  padding-left: clamp(0px, 4.2vw, 80px);
}

.hengsheng_certificate_stats_eyebrow {
  margin: 0;
  color: var(--text-color);
  font-family: var(--font-family-bold);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
}

.hengsheng_certificate_stats_title {
  max-width: 761px;
  margin: 24px 0 0;
  color: var(--title-text-color);
  font-family: var(--font-family-bold);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  text-transform: capitalize;
}

.hengsheng_certificate_stats_thumb_row {
  width: 100%;
  max-width: 100%;
  margin-top: 132px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 39px);
  min-width: 0;
}

.hengsheng_certificate_stats_nav {
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  border: 1px solid var(--title-text-color);
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--title-text-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.hengsheng_certificate_stats_nav:hover {
  background: #fe6301;
  border-color: #fe6301;
  color: #ffffff;
}

.hengsheng_certificate_stats_thumbs {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 31px;
  align-items: center;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.hengsheng_certificate_stats_thumbs::-webkit-scrollbar {
  display: none;
}

.hengsheng_certificate_stats_thumb {
  position: relative;
  padding: 0;
  border: 0;
  flex: 0 0 auto;
  width: calc((100% - 124px) / 5);
  height: auto;
  aspect-ratio: 117 / 166;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.hengsheng_certificate_stats_thumb.is-active {
  border: 3px solid #000000;
}

.hengsheng_certificate_stats_thumb:hover {
  border: 3px solid #000000;
}

.hengsheng_certificate_stats_thumb.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(254, 99, 1, 0.3);
}

.hengsheng_certificate_stats_thumb:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(254, 99, 1, 0.3);
}

.hengsheng_certificate_stats_thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 1599px) {
  .hengsheng_certificate_stats_top {
    min-height: 980px;
  }

  .hengsheng_certificate_stats_bg img {
    left: calc(50% + 46px);
    width: min(62vw, 980px);
  }

  .hengsheng_certificate_stats_top_inner {
    padding-top: 132px;
    padding-bottom: 208px;
  }

  .hengsheng_certificate_stats_note {
    font-size: 28px;
  }

  .hengsheng_certificate_stats_grid {
    margin-top: 132px;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    row-gap: 112px;
    column-gap: 72px;
  }

  .hengsheng_certificate_stats_bottom {
    margin-top: -88px;
  }

  .hengsheng_certificate_stats_bottom_inner {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    column-gap: 48px;
  }

  .hengsheng_certificate_stats_featured {
    margin-top: -108px;
  }

  .hengsheng_certificate_stats_featured_media {
    max-width: 420px;
    aspect-ratio: 420 / 634;
  }

  .hengsheng_certificate_stats_content {
    width: 100%;
    padding-top: 96px;
  }

  .hengsheng_certificate_stats_heading {
    padding-left: clamp(0px, 4vw, 80px);
  }

  .hengsheng_certificate_stats_title {
    max-width: 100%;
  }

  .hengsheng_certificate_stats_thumb_row {
    width: 100%;
    gap: 24px;
  }

  .hengsheng_certificate_stats_thumbs {
    gap: 20px;
  }

  .hengsheng_certificate_stats_thumb {
    width: calc((100% - 80px) / 5);
    aspect-ratio: 100 / 142;
  }
}

@media (max-width: 1199px) {
  .hengsheng_certificate_stats_top {
    min-height: 0;
  }

  .hengsheng_certificate_stats_bg img {
    left: 50%;
    width: min(76vw, 760px);
  }

  .hengsheng_certificate_stats_top_inner {
    padding: 120px 0 132px;
  }

  .hengsheng_certificate_stats_note {
    font-size: 22px;
  }

  .hengsheng_certificate_stats_grid {
    margin-top: 120px;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    row-gap: 88px;
    column-gap: 32px;
  }

  .hengsheng_certificate_stats_value {
    font-size: 40px;
  }

  .hengsheng_certificate_stats_label {
    font-size: 20px;
  }

  .hengsheng_certificate_stats_bottom_inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .hengsheng_certificate_stats_featured {
    margin-top: 0;
  }

  .hengsheng_certificate_stats_featured_media {
    width: min(430px, 100%);
    height: auto;
    aspect-ratio: 572 / 864;
  }

  .hengsheng_certificate_stats_content {
    padding: 0 0 20px;
  }

  .hengsheng_certificate_stats_heading {
    padding-left: 0;
  }

  .hengsheng_certificate_stats_thumb_row {
    margin-top: 40px;
    width: 100%;
    gap: 16px;
  }

  .hengsheng_certificate_stats_thumbs {
    gap: 12px;
  }

  .hengsheng_certificate_stats_thumb {
    width: calc((100% - 48px) / 5);
  }
}

@media (max-width: 767px) {
  .hengsheng_certificate_stats_bg img {
    left: 50%;
    width: 620px;
    height: 686px;
  }

  .hengsheng_certificate_stats_top_inner {
    padding: 72px 0 108px;
  }

  .hengsheng_certificate_stats_note {
    font-size: 18px;
    line-height: 1.5;
  }

  .hengsheng_certificate_stats_grid {
    margin-top: 88px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
    column-gap: 20px;
  }

  .hengsheng_certificate_stats_item:nth-child(1),
  .hengsheng_certificate_stats_item:nth-child(2),
  .hengsheng_certificate_stats_item:nth-child(3),
  .hengsheng_certificate_stats_item:nth-child(4),
  .hengsheng_certificate_stats_item:nth-child(5),
  .hengsheng_certificate_stats_item:nth-child(6) {
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .hengsheng_certificate_stats_value {
    font-size: 32px;
  }

  .hengsheng_certificate_stats_label {
    font-size: 16px;
  }

  .hengsheng_certificate_stats_bottom {
    margin-top: -48px;
  }

  .hengsheng_certificate_stats_featured_media {
    width: 100%;
    height: auto;
    aspect-ratio: 572 / 864;
  }

  .hengsheng_certificate_stats_featured_caption {
    font-size: 28px;
  }

  .hengsheng_certificate_stats_heading {
    padding-left: 0;
  }

  .hengsheng_certificate_stats_eyebrow {
    font-size: 20px;
  }

  .hengsheng_certificate_stats_title {
    font-size: 28px;
  }

  .hengsheng_certificate_stats_thumb_row {
    gap: 12px;
  }

  .hengsheng_certificate_stats_nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .hengsheng_certificate_stats_thumbs {
    gap: 12px;
  }

  .hengsheng_certificate_stats_thumb {
    width: calc((100% - 24px) / 3);
    height: auto;
    aspect-ratio: 117 / 166;
  }
}
