.hengsheng_pic_text {
  --hengsheng-pic-text-card-title-size: 32px;
  --hengsheng-pic-text-card-desc-size: 22px;
  padding-top:  var(--component-gap);
  background: var(--bg-color);
}

.hengsheng_pic_text_header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hengsheng_pic_text_title {
  margin: 0;
  max-width: 100%;
  color: var(--title-text-color);
  font-family: var(--font-family-semi-bold);
  font-size: var(--title-size-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: capitalize;
}

.hengsheng_pic_text_action {
  min-height: 48px;
  white-space: nowrap;
  padding: 0 10px 0 20px;
  border: 1px solid var(--title-text-color);
  border-radius: 30px;
  background: #f6f6f4;
  color: var(--title-text-color);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-semi-bold);
  font-size: var(--text-size);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: capitalize;
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.hengsheng_pic_text_action:hover {
  background: var(--title-text-color);
  border-color: var(--title-text-color);
  color: var(--color-second);
}

.hengsheng_pic_text_action_icon {
  width: 39px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hengsheng_pic_text_action_icon svg {
  width: 100%;
  height: 100%;
}

.hengsheng_pic_text_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hengsheng_pic_text_cta {
  margin-top: var(--component-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hengsheng_pic_text_cta_title {
  margin: 0;
  color: var(--title-text-color);
  font-family: var(--font-family-semi-bold);
  font-size: var(--title-size-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hengsheng_pic_text_cta_button {
  width: 343px;
  max-width: 100%;
  aspect-ratio: 343 / 68;
  border: 1px solid var(--title-text-color);
  border-radius: 40px;
  background: var(--title-text-color);
  color: #f3f3f3;
  font-size: var(--title-size-h5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.hengsheng_pic_text_cta_button:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--color-second);
}

.hengsheng_pic_text_cta_button_text {
  font-family: var(--font-family);
  font-size: var(--title-size-h5);
  font-weight: 400;
  line-height: 1.2;
  text-transform: capitalize;
  text-align: center;
}

.hengsheng_pic_text_card {
  min-width: 0;
  aspect-ratio: 464 / 536;
  position: relative;
  perspective: 1200px;
  cursor: pointer;
}

.hengsheng_pic_text_card_face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.55s ease, opacity 0.55s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hengsheng_pic_text_card_face_front {
  background: #e7e7e7;
  transform: rotateY(0deg);
}

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

.hengsheng_pic_text_card_face_back {
  padding: 145px 49px 146px;
  background: var(--title-text-color);
  transform: rotateY(-180deg);
}

.hengsheng_pic_text_text_inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hengsheng_pic_text_card_title {
  margin: 0;
  color: var(--color-second);
  font-family: var(--font-family-semi-bold);
  font-size: var(--hengsheng-pic-text-card-title-size);
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
}

.hengsheng_pic_text_card_desc {
  margin: 0;
  color: var(--text-color);
  font-family: var(--font-family-medium);
  font-size: var(--hengsheng-pic-text-card-desc-size);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.hengsheng_pic_text_card:hover .hengsheng_pic_text_card_face_front {
  opacity: 0;
  transform: rotateY(180deg);
}

.hengsheng_pic_text_card:hover .hengsheng_pic_text_card_face_back {
  transform: rotateY(0deg);
}

@media screen and (max-width: 1500px) {
  .hengsheng_pic_text {
    --hengsheng-pic-text-card-title-size: 30px;
    --hengsheng-pic-text-card-desc-size: 20px;
  }

  .hengsheng_pic_text_header {
    margin-bottom: 52px;
    flex-direction: row;
    align-items: center;
  }

  .hengsheng_pic_text_title {
    max-width: 66%;
  }

  .hengsheng_pic_text_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .hengsheng_pic_text_card_face_back {
    padding: 96px 36px;
  }

  .hengsheng_pic_text_text_inner {
    gap: 24px;
  }

  .hengsheng_pic_text_cta {
  }

  .hengsheng_pic_text_cta_button {
    width: 230px;
  }

}

@media screen and (max-width: 1279.98px) {
  .hengsheng_pic_text {
    --hengsheng-pic-text-card-title-size: 28px;
    --hengsheng-pic-text-card-desc-size: 18px;
  }

  .hengsheng_pic_text_title{
    max-width: 72%;
  }

  .hengsheng_pic_text_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .hengsheng_pic_text_card {
    aspect-ratio: 1 / 1.08;
  }

  .hengsheng_pic_text_card_face_back {
    padding: 60px 38px;
  }



  .hengsheng_pic_text_cta_button {
    width: 300px;
  }


}

@media screen and (max-width: 1200px) {
  .hengsheng_pic_text {
    --hengsheng-pic-text-card-title-size: 28px;
    --hengsheng-pic-text-card-desc-size: 18px;
  }

  .hengsheng_pic_text_header {
    margin-bottom: 44px;
  }

  .hengsheng_pic_text_grid {
    gap: 18px;
  }

  .hengsheng_pic_text_card_face_back {
    padding: 52px 32px;
  }

  .hengsheng_pic_text_text_inner {
    gap: 24px;
  }

  .hengsheng_pic_text_card_desc {
    line-height: 1.55;
  }

  .hengsheng_pic_text_cta {
    flex-direction: row;
  }

  .hengsheng_pic_text_cta_button {
    width: 240px;
  }

}

@media screen and (min-width: 1200px) {
  .hengsheng_pic_text_title {
    max-width: 66%;
  }



  .hengsheng_pic_text_cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hengsheng_pic_text_cta_title {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hengsheng_pic_text_cta_button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media screen and (max-width: 992px) {
  .hengsheng_pic_text {
    --hengsheng-pic-text-card-title-size: 24px;
    --hengsheng-pic-text-card-desc-size: 16px;
  }

  .hengsheng_pic_text_header {
    margin-bottom: 36px;
    flex-direction: column;
    align-items: center;
  }

  .hengsheng_pic_text_title {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hengsheng_pic_text_grid {
    gap: 18px;
  }

  .hengsheng_pic_text_card_face_back {
    padding: 44px 32px;
  }

  .hengsheng_pic_text_text_inner {
    gap: 20px;
  }

  .hengsheng_pic_text_card_desc {
    line-height: 1.55;
  }

  .hengsheng_pic_text_cta_button {
    width: 260px;
  }

}

@media screen and (max-width: 768px) {
  .hengsheng_pic_text {
    --hengsheng-pic-text-card-title-size: 24px;
    --hengsheng-pic-text-card-desc-size: 14px;
  }

  .hengsheng_pic_text_header {
    margin-bottom: 30px;
  }

  .hengsheng_pic_text_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hengsheng_pic_text_card {
    aspect-ratio: 464 / 536;
  }

  .hengsheng_pic_text_card_face_back {
    padding: 48px 32px;
  }

  .hengsheng_pic_text_text_inner {
    gap: 20px;
  }

  .hengsheng_pic_text_cta {
    flex-direction: column;
  }

  .hengsheng_pic_text_cta_button {
    width: 240px;
  }

}

@media screen and (max-width: 576px) {
  .hengsheng_pic_text {
    --hengsheng-pic-text-card-title-size: 20px;
    --hengsheng-pic-text-card-desc-size: 14px;
  }

  .hengsheng_pic_text_action {
    min-height: 44px;
    font-size: var(--text-size-sm);
  }

  .hengsheng_pic_text_card_face_back {
    padding: 32px 24px;
  }

  .hengsheng_pic_text_card_desc {
    line-height: 1.5;
  }

  .hengsheng_pic_text_cta_button {
    width: 60%;
  }

}
