.tiansheng_case_list_main {
  width: 100%;
  padding: 1.25rem 0 5rem;
}

.tiansheng_case_list_main .tiansheng-case-list-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 6.25rem;
}

.tiansheng_case_list_main .tiansheng-case-list-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  border-radius: 6.1875rem;
  background: #f6f6f6;
  color: #000000;
  font-size: var(--font-18);
  font-weight: 600;
  line-height: normal;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tiansheng_case_list_main .tiansheng-case-list-tab:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.tiansheng_case_list_main .tiansheng-case-list-tab.is-active {
  background: var(--color-primary);
  color: #ffffff;
}

.tiansheng_case_list_main .tiansheng-case-list-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-align: center;
}

.tiansheng_case_list_main .tiansheng-case-list-title {
  color: #000000;
  font-size: var(--font-60);
  font-weight: 600;
  line-height: normal;
  text-transform: capitalize;
}

.tiansheng_case_list_main .tiansheng-case-list-subtitle {
  color: var(--text-color-second);
  font-size: var(--font-18);
  font-weight: 400;
  line-height: 1.5;
}

.tiansheng_case_list_main .tiansheng-case-list-region-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3.75rem;
}

.tiansheng_case_list_main .tiansheng-case-list-region-name {
  color: #000000;
  font-size: var(--font-40);
  font-weight: 600;
  line-height: normal;
  flex-shrink: 0;
}

.tiansheng_case_list_main .tiansheng-case-list-region-tags {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.tiansheng_case_list_main .tiansheng-case-list-region-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.625rem;
  border-radius: 0.625rem;
  border: 0.0625rem solid #000;
  color: #000000;
  font-size: var(--font-18);
  font-weight: 400;
  line-height: 1.5;
}

.tiansheng_case_list_main .tiansheng-case-list-cards {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
  margin-top: 3.75rem;
}

.tiansheng_case_list_main .tiansheng-case-list-card {
  display: flex;
  overflow: hidden;
  border-radius: 2.5rem;
  background: #EBEFFA;
}

.tiansheng_case_list_main .tiansheng-case-list-card-media {
  width: 70.8%;
  aspect-ratio: 247/139;
  border-radius: 2.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.tiansheng_case_list_main .tiansheng-case-list-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tiansheng_case_list_main .tiansheng-case-list-card:hover .tiansheng-case-list-card-media img {
  transform: scale(1.03);
}

.tiansheng_case_list_main .tiansheng-case-list-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  box-sizing: border-box;
  gap: 2.5rem;
}

.tiansheng_case_list_main .tiansheng-case-list-card-text {
  display: flex;
  flex-direction: column;
}

.tiansheng_case_list_main .tiansheng-case-list-card-flag {
  color: #000;
  font-size: var(--font-30);
  font-weight: 600;
  line-height: normal;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.tiansheng_case_list_main .tiansheng-case-list-card-flag img{
  width: max(1.875rem,18px) !important;
  height: max(1.875rem,18px) !important;
  object-fit: cover;
}

.tiansheng_case_list_main .tiansheng-case-list-card-title {
  color: #000;
  font-size: var(--font-36);
  font-weight: 600;
  line-height: normal;
}

.tiansheng_case_list_main .tiansheng-case-list-card-desc {
  color: #000;
  font-size: var(--font-20);
  font-weight: 400;
  line-height: normal;
  margin-top: 2.5rem;
}

.tiansheng_case_list_main .tiansheng-case-list-card-btn {
  width: fit-content;
  padding: 0.875rem 2.5rem;
}

.tiansheng_case_list_main .tiansheng-case-list-pagination {
  margin-top: 4.375rem;
}

@media (max-width: 992px) {
  .tiansheng_case_list_main .tiansheng-case-list-card{
    flex-direction: column;
  }
  .tiansheng_case_list_main .tiansheng-case-list-card-media {
    width: 100%;
  }

    .tiansheng_case_list_main .tiansheng-case-list-region-head{
      flex-direction: column;
    }
}
