.tiansheng_certifications_main {
  padding: 80px 0 80px;
  background: #ffffff;
}

.tiansheng-certifications-head-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.tiansheng-certifications-head {
  margin-bottom: 39px;
}

.tiansheng-certifications-title {
  margin: 0;
  color: #262626;
  font-family: var(--tiansheng-font-title);
  font-size: 60px;
  font-weight: 600;
  line-height: normal;
}

.tiansheng-certifications-desc {
  margin: 7px 0 0;
  color: #000000;
  font-family: var(--tiansheng-font-ui);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}

.tiansheng-certifications-slider {
  display: block;
}

.tiansheng-certifications-slider-shell {
  width: min(calc(100vw - 24px), calc((100vw - 1440px) / 2 + 1440px));
  max-width: 100%;
  margin-left: auto;
}

.tiansheng-certifications-track-wrap {
  flex: 1;
  overflow: hidden;
}

.tiansheng-certifications-track {
  display: flex;
  gap: 40px;
  align-items: center;
}

.tiansheng-certifications-card {
  flex: 0 0 230px;
}

.tiansheng-certifications-card.is-preview {
  flex-basis: 440px;
}

.tiansheng-certifications-card-link {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  background: #e7e7e7;
  text-decoration: none;
}

.tiansheng-certifications-card.is-preview .tiansheng-certifications-card-link {
  background: linear-gradient(40deg, #629cff 0.14%, #013388 105.14%);
}

.tiansheng-certifications-card-image {
  position: absolute;
  inset: 10px 9px 10px 9px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}

.tiansheng-certifications-card.is-preview .tiansheng-certifications-card-image {
  inset: 10px auto 10px 9px;
  width: 212.166px;
}

.tiansheng-certifications-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tiansheng-certifications-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tiansheng-certifications-card.is-preview .tiansheng-certifications-card-overlay {
  opacity: 1;
  visibility: visible;
}

.tiansheng-certifications-card-icon {
  position: absolute;
  left: 310px;
  top: 64px;
  width: 46.898px !important;
  object-fit: contain;
}

.tiansheng-certifications-card-text {
  position: absolute;
  top: 118px;
  left: 251px;
  width: 165px;
  margin: 0;
  color: #ffffff;
  font-family: var(--tiansheng-font-title);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.tiansheng-certifications-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.tiansheng-certifications-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #d9d9d9;
  z-index: 1;
}

.tiansheng-certifications-arrow:hover::before {
  background: var(--tiansheng-btn-primary-bg);
}

.tiansheng-certifications-arrow-icon {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  z-index: 2;
  background: url("https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/bc95c51f-14f0-4702-9f92-d17390a2de70-%E7%AE%AD%E5%A4%B4.svg") center / 50px 50px no-repeat;
  filter: brightness(0) saturate(100%) invert(15%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(96%) contrast(88%);
  transition: filter 0.24s ease;
}

.tiansheng-certifications-arrow--prev .tiansheng-certifications-arrow-icon {
  transform: none;
}

.tiansheng-certifications-arrow--next .tiansheng-certifications-arrow-icon {
  transform: scaleX(-1);
}

.tiansheng-certifications-arrow:hover .tiansheng-certifications-arrow-icon {
  filter: brightness(0) saturate(100%) invert(100%);
}

.tiansheng-certifications-progress {
  position: relative;
  width: 508.965px;
  height: 50px;
}

.tiansheng-certifications-controls-shell {
  width: min(100%, 1440px);
  margin: 29px auto 0;
}

.tiansheng-certifications-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33.54px;
}

.tiansheng-certifications-progress-track {
  position: absolute;
  left: 0;
  top: 22.1px;
  width: 100%;
  height: 5.809px;
  border-radius: 27px;
  background: #d9d9d9;
}

.tiansheng-certifications-progress-bar {
  position: absolute;
  left: 0;
  top: 22.1px;
  width: 271.08px;
  height: 5.809px;
  border-radius: 27px;
  background: #333333;
  transform: translateX(0);
  transition: transform 0.32s ease;
}

@media screen and (max-width: 1200px) {
  .tiansheng-certifications-inner {
    padding: 0 20px;
  }

  .tiansheng-certifications-slider-shell {
    padding-left: 20px;
  }

  .tiansheng-certifications-controls-shell {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .tiansheng-certifications-controls {
    gap: 20px;
  }
}

@media screen and (max-width: 576px) {
  .tiansheng_certifications_main {
    padding: 64px 0;
  }

  .tiansheng-certifications-title {
    font-size: 40px;
  }

  .tiansheng-certifications-desc {
    font-size: 18px;
  }

  .tiansheng-certifications-track {
    gap: 12px;
    align-items: stretch;
  }

  .tiansheng-certifications-card {
    flex: 0 0 calc((100% - 12px) / 2);
  }

  .tiansheng-certifications-card.is-preview {
    flex: 0 0 calc((100% - 12px) / 2);
  }

  .tiansheng-certifications-card-link {
    height: auto;
    aspect-ratio: 180 / 250;
  }

  .tiansheng-certifications-card-image {
    inset: 8px;
  }

  .tiansheng-certifications-card-image img {
    object-fit: contain;
    background: #ffffff;
  }

  .tiansheng-certifications-card.is-preview .tiansheng-certifications-card-link {
    background: #e7e7e7;
  }

  .tiansheng-certifications-card.is-preview .tiansheng-certifications-card-image {
    inset: 8px;
    width: auto;
  }

  .tiansheng-certifications-card.is-preview .tiansheng-certifications-card-overlay {
    opacity: 0;
    visibility: hidden;
  }

  .tiansheng-certifications-card-icon {
    left: 226px;
    top: 50px;
    width: 40px !important;
  }

  .tiansheng-certifications-card-text {
    left: 188px;
    top: 116px;
    width: 116px;
    font-size: 18px;
  }

  .tiansheng-certifications-slider-shell {
    padding-left: 16px;
  }

  .tiansheng-certifications-controls-shell {
    margin-top: 29px;
    padding: 0 16px;
  }

  .tiansheng-certifications-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
  }

  .tiansheng-certifications-progress {
    width: 100%;
    min-width: 0;
  }

  .tiansheng-certifications-progress-track {
    width: 100%;
  }

  .tiansheng-certifications-progress-bar {
    width: 138px;
  }
}
