:root {
  --index-spacing-lg: clamp(48px, 5vw, 72px);
  --index-spacing-md: clamp(32px, 4vw, 48px);
  --index-spacing-sm: clamp(24px, 3vw, 36px);
}

.page-index .part {
  padding: var(--index-spacing-lg) 0;
}

@media (max-width: 991.98px) {
  .page-index .part {
    padding: var(--index-spacing-md) 0;
  }
}

@media (max-width: 575.98px) {
  .page-index .part {
    padding: var(--index-spacing-sm) 0;
  }
}

.page-index .part-title {
  text-align: center;
  margin-bottom: 2rem;
}

.page-index .part-title-icon {
  height: clamp(64px, 8vw, 96px);
  width: auto;
}

.page-index .banner {
  width: 100%;
  min-height: clamp(220px, 32vw, 480px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-index .newscenter .swiper-container {
  width: 100%;
}

.page-index .newscenter .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.page-index .newscenter-right {
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

.page-index .newscenter-right-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #f5f5f5;
  border-radius: 16px;
  padding: 16px 16px 16px 0px;
  /* min-height: 96px; */
}

.page-index .newscenter-right-item .divider-vertical {
  align-self: stretch;
  margin: 0;
}

.page-index .newscenter-right-item-publish_date {
  text-align: center;
  min-width: 76px;
}

.page-index .newscenter-right-item-publish_date .year {
  margin: 0;
  font-size: 18px;
  color: #666;
}

.page-index .newscenter-right-item-publish_date .day {
  margin: 0;
  font-size: 16px;
  color: #999;
}

.page-index .newscenter-right-item-title {
  font-size: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

@media (max-width: 767.98px) {
  .page-index .newscenter-right-item {
    border-radius: 12px;
    gap: 12px;
    padding: 12px 16px;
  }

  .page-index .newscenter-right-item-title {
    font-size: 16px;
  }
}

.page-index .part2 {
  background-color: #e6e6e6;
}

.page-index .part2 .part2-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* gap: 24px; */
}

.page-index .part2 .part2-item {
  flex: 1 1 220px;
  max-width: 260px;
  text-align: center;
}

.page-index .part2 .part2-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.page-index .part2 .part2-item p {
  margin-top: 16px;
  font-size: 18px;
}

@media (min-width: 992px) {
  .page-index .part2 .part2-item {
    position: relative;
    padding: 0 24px;
  }

  .page-index .part2 .part2-item + .part2-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color: #f7f3f3;
  }
}

.page-index .part3 .tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-index .part3 .tab-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 16px 32px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-index .part3 .tab-bar-item img {
  width: 38px;
  height: 38px;
}

.page-index .part3 .tab-bar-item p {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
}

.page-index .part3 .tab-bar-item-active {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

@media (max-width: 767.98px) {
  .page-index .part3 .tab-bar-item {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 575.98px) {
  .page-index .part3 .tab-bar-item {
    flex: 1 1 100%;
  }
}

.page-index .part3 .tab-content {
  margin-top: 24px;
}

.page-index .part3 .tab-content-item {
  display: none;
}

.page-index .part3 .tab-content-item.is-active {
  display: block;
}

.page-index .part3 .tab-content-item[hidden] {
  display: none !important;
}

.page-index .part3 .tab-content-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1;
  gap: 16px;
}

.page-index .part3 .tab-content-item li {
  background-color: #f5f5f5;
  border-radius: 16px;
  padding: 0 20px;
  min-height: 72px;
  display: flex;
  align-items: center;
  width: 100% !important;
}

.page-index .part3 .tab-content-item li a {
  font-size: 18px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

@media (max-width: 767.98px) {
  .page-index .part3 .tab-content-item ul {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 575.98px) {
  .page-index .part3 .tab-content-item ul {
    grid-template-columns: 1fr;
  }

  .page-index .part3 .tab-content-item li {
    min-height: 64px;
    padding: 0 16px;
  }

  .page-index .part3 .tab-content-item li a {
    font-size: 16px;
  }
}

.page-index .part-footer {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.page-index .part-more-btn {
  width: 140px;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 8px 0;
  text-align: center;
  font-size: 18px;
}

.page-index .part-more-btn a {
  color: #959595;
  padding: 8px 32px;
  display: inline-block;
}

.page-index .schools .title {
  background-color: #383838;
  padding: 16px 0;
}

.page-index .schools .title p {
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  text-align: center;
  margin: 0;
}

.page-index .schools .school-list {
  background-color: #00a6f2;
  padding: 32px 0;
}

.page-index .schools .school-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 16px;
}

.page-index .schools .school-list li {
  background-color: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  width: 100% !important;
}

.page-index .schools .school-list img {
  width: 48px;
  height: auto;
  margin-bottom: 12px;
}

.page-index .schools .school-list p {
  font-size: 14px;
  margin: 0;
  color: #383838;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .page-index .schools .school-list ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-index .companies .company-list {
  padding: 32px 0;
}

.page-index .companies .swiper-container {
  width: 100%;
}

.page-index .companies .swiper-wrapper {
  align-items: stretch;
}

.page-index .companies .company-list-item {
  border: 1px solid #aaaaaa;
  border-radius: 12px;
  height: 140px;
  background-color: #fff;
  margin: 8px 0;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.page-index .companies .company-list-item img {
  width: 48px;
  height: auto;
}

.page-index .companies .company-list-item p {
  font-size: 14px;
  margin: 0;
  color: #383838;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .page-index .companies .company-list-item {
    height: 120px;
    padding: 12px 8px;
  }
}

.page-index .animateNumber {
  margin: 0 8px;
  font-weight: 600;
}

