.tiansheng_region_solutions_main {
  padding: 71px 0 105px;
  background: #ffffff;
}

.tiansheng-region-solutions-head {
  max-width: 1440px;
  margin: 0 auto 70px;
}

.tiansheng-region-solutions-title {
  max-width: 820px;
  margin: 0;
  color: #262626;
  font-family: var(--tiansheng-font-title);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
}

.tiansheng-region-solutions-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
}

.tiansheng-region-solutions-desc {
  margin: 0;
  color: #333333;
  font-family: var(--tiansheng-font-ui);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

.tiansheng-region-solutions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start;
  width: auto;
  min-width: 0;
  min-height: 54px;
  padding: 14px 40px;
  border: 0;
  border-radius: 99px;
  background: var(--tiansheng-btn-primary-bg);
  color: #ffffff;
  font-family: var(--tiansheng-font-ui);
  box-shadow: none;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.28s ease, color 0.28s ease;
}

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

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

.tiansheng-region-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 460px));
  grid-template-areas:
    "card-1 card-2 card-3"
    "card-4 card-5 card-3"
    "card-4 card-6 card-7";
  gap: 38px 30px;
  justify-content: center;
}

.tiansheng-region-card {
  position: relative;
  min-width: 0;
}

.tiansheng-region-card:nth-child(1) {
  grid-area: card-1;
}

.tiansheng-region-card:nth-child(2) {
  grid-area: card-2;
}

.tiansheng-region-card:nth-child(3) {
  grid-area: card-3;
}

.tiansheng-region-card:nth-child(4) {
  grid-area: card-4;
}

.tiansheng-region-card:nth-child(5) {
  grid-area: card-5;
}

.tiansheng-region-card:nth-child(6) {
  grid-area: card-6;
}

.tiansheng-region-card:nth-child(7) {
  grid-area: card-7;
}

.tiansheng-region-card-link {
  position: relative;
  display: block;
  height: 250px;
  overflow: hidden;
  border-radius: 30px;
  background: #dceefe;
}

.tiansheng-region-card:nth-child(3) .tiansheng-region-card-link,
.tiansheng-region-card:nth-child(4) .tiansheng-region-card-link {
  height: 538px;
}

.tiansheng-region-card-media,
.tiansheng-region-card-media img {
  width: 100%;
  height: 100%;
}

.tiansheng-region-card-media {
  position: absolute;
  inset: 0;
}

.tiansheng-region-card-media img {
  display: block;
  object-fit: cover;
}

.tiansheng-region-card-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.28s ease;
}

.tiansheng-region-card:nth-child(3):hover .tiansheng-region-card-overlay,
.tiansheng-region-card:nth-child(4):hover .tiansheng-region-card-overlay {
  background: linear-gradient(180deg, rgba(0, 56, 148, 0.98) 0%, rgba(0, 56, 148, 0.62) 48%, rgba(0, 56, 148, 0.18) 100%);
}

.tiansheng-region-card:hover .tiansheng-region-card-overlay {
  background: linear-gradient(180deg, rgba(0, 56, 148, 0.98) 0%, rgba(0, 56, 148, 0.62) 100%, rgba(0, 56, 148, 0.18) 100%);
}

.tiansheng-region-card-content {
  position: absolute;
  top: 22px;
  left: 28px;
  right: 28px;
  z-index: 2;
}

.tiansheng-region-card-title {
  margin: 0;
  color: #003894;
  font-family: var(--tiansheng-font-title);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.tiansheng-region-card-desc {
  display: none;
  margin: 20px 0 0;
  max-width: 250px;
  color: #ffffff;
  font-family: var(--tiansheng-font-ui);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.tiansheng-region-card:hover .tiansheng-region-card-title {
  color: #ffffff;
}

.tiansheng-region-card:hover .tiansheng-region-card-desc {
  display: -webkit-box;
}

@media screen and (max-width: 1400px) {
  .tiansheng_region_solutions_main {
    padding: 140px 0 150px;
  }

  .tiansheng-region-solutions-title {
    font-size: 52px;
  }

  .tiansheng-region-solutions-desc {
    font-size: 20px;
  }

  .tiansheng-region-solutions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1200px) {
  .tiansheng-region-solutions-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .tiansheng-region-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "card-1 card-2"
      "card-3 card-4"
      "card-5 card-6"
      "card-7 card-7";
  }

  .tiansheng-region-card:hover .tiansheng-region-card-desc {
    display: none;
  }

  .tiansheng-region-card:hover .tiansheng-region-card-overlay {
    background: linear-gradient(180deg, rgba(0, 56, 148, 0.72) 0%, rgba(0, 56, 148, 0.28) 100%);
  }
}
@media screen and (max-width: 768px) {
  .tiansheng_region_solutions_main {
    padding: 96px 0 100px;
  }

  .tiansheng-region-solutions-head {
    margin-bottom: 40px;
  }

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

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

  .tiansheng-region-solutions-btn {
    min-width: 0;
  }

  .tiansheng-region-solutions-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card-1"
      "card-2"
      "card-3"
      "card-4"
      "card-5"
      "card-6"
      "card-7";
    gap: 18px;
  }

  .tiansheng-region-card-link,
  .tiansheng-region-card:nth-child(3) .tiansheng-region-card-link,
  .tiansheng-region-card:nth-child(4) .tiansheng-region-card-link {
    height: 220px;
    border-radius: 24px;
  }

  .tiansheng-region-card-content {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .tiansheng-region-card-title {
    font-size: 26px;
  }
}


