.tiansheng_why_choose_main {
  background: #ffffff;
}

.tiansheng-why-choose-shell {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 94px 94px 91px;
  border-radius: 40px;
  background-color: #d9eeff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

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

.tiansheng-why-choose-head {
  max-width: 1440px;
  margin: 0 auto;
  text-align: left;
}

.tiansheng-why-choose-title {
  margin: 0;
  color: #000000;
  font-family: var(--tiansheng-font-title);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.tiansheng-why-choose-desc {
  margin: 20px 0 0;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
  font-family: var(--tiansheng-font-ui);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.tiansheng-why-choose-desc--lead {
  margin-top: 20px;
  max-width: 1440px;
  font-size: 22px;
  font-weight: 500;
}

.tiansheng-why-choose-desc--lead + .tiansheng-why-choose-desc {
  margin-top: 2rem;
}

.tiansheng-why-choose-features {
  display: grid;
  grid-template-columns: 322px 110px 322px 110px 322px;
  row-gap: 48px;
  width: 1186px;
  max-width: 1186px;
  margin: 48px auto 0;
}

.tiansheng-why-choose-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.tiansheng-why-choose-feature:nth-child(3n + 1) {
  grid-column: 1;
}

.tiansheng-why-choose-feature:nth-child(3n + 2) {
  grid-column: 3;
}

.tiansheng-why-choose-feature:nth-child(3n) {
  grid-column: 5;
}

.tiansheng-why-choose-feature-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.tiansheng-why-choose-feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tiansheng-why-choose-feature-text {
  margin: 0;
  color: #003894;
  font-family: var(--tiansheng-font-title);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.tiansheng-why-choose-media {
  max-width: 1277px;
  margin: 50px auto 0;
}

.tiansheng-why-choose-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 2.375rem;
      margin-top: 1.625rem;
}

.tiansheng-why-choose-media-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
}

.tiansheng-why-choose-media-card--primary {
  aspect-ratio: 1277/718;
}

.tiansheng-why-choose-media-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tiansheng-why-choose-media-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}
.tiansheng-why-choose-media-card--secondary{
  aspect-ratio: 400/245;
}
.tiansheng-why-choose-media-card--secondary .tiansheng-why-choose-media-overlay {
  height: 60px;
}

.tiansheng-why-choose-media-title {
  position: absolute;
  left: 17px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
  font-family: var(--tiansheng-font-title);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.tiansheng-why-choose-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 50%;
  text-decoration: none;
}

.tiansheng-why-choose-play-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tiansheng-why-choose-actions {
  display: flex;
  justify-content: center;
  margin-top: 4.375rem;
}

.tiansheng-why-choose-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50.813px;
  padding: 14px 40px;
  border-radius: 99px;
  background: var(--tiansheng-btn-primary-bg);
  color: #ffffff;
  font-family: var(--tiansheng-font-ui);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}

.tiansheng-why-choose-btn:hover {
  background: var(--tiansheng-btn-primary-hover);
  color: #ffffff;
}

.tiansheng-why-choose-btn:active {
  background: var(--tiansheng-btn-primary-active);
  color: #ffffff;
}

@media screen and (max-width: 1400px) {
  .tiansheng-why-choose-shell {
    padding: 80px 48px 72px;
  }

  .tiansheng-why-choose-title {
    font-size: 50px;
  }
}

@media screen and (max-width: 1200px) {
  .tiansheng-why-choose-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
    width: 100%;
    max-width: none;
    margin: 48px 0 0;
  }

  .tiansheng-why-choose-feature:nth-child(3n + 1),
  .tiansheng-why-choose-feature:nth-child(3n + 2),
  .tiansheng-why-choose-feature:nth-child(3n) {
    grid-column: auto;
  }


  .tiansheng-why-choose-play {
    width: 68px;
    height: 68px;
  }
}

@media screen and (max-width: 768px) {
  .tiansheng_why_choose_main {
    padding-bottom: 72px;
  }

  .tiansheng-why-choose-shell {
    padding: 3.5rem 1.25rem 3rem;
    border-radius: 28px;
  }

  .tiansheng-why-choose-title {
    font-size: 36px;
  }
  .tiansheng-why-choose-desc{
    max-height:calc(18px * 3 * 1.5);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

   .tiansheng-why-choose-desc--lead {
    font-size: 20px;
    max-height:calc(20px * 3 * 1.5);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .tiansheng-why-choose-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
  }

  .tiansheng-why-choose-media {
    margin-top: 3.5rem;
  }

  .tiansheng-why-choose-media-grid {
    grid-template-columns: 1fr;
  }

  .tiansheng-why-choose-play {
    width: 56px;
    height: 56px;
  }
}

@media screen and (max-width: 576px) {
  .tiansheng-why-choose-play {
    width: 48px;
    height: 48px;
  }
}
