/* mainbody */
.mainbody {
  padding-top: 10.4rem;
  position: relative;
  z-index: 9;
}

.mainbody-title{
  color: #000;
  font-variation-settings: 'wght' 500;
  font-size: 4.75rem;
  text-transform: uppercase;
  line-height: 1;
}

.news-cardList {
  margin-top: 6rem;
  width: 100%;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.news-card {
  width: calc(25% - 0.3rem);
  margin-bottom: 3rem;
}
.news-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.news-img img.out {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: -1;
}
/* .news-card2 .news-img{
  height: 16.95em;
}
.news-card3 .news-img{
  height: 22.6em;
} */
.news-content {
  color: #000;
}
.news-h {
  margin-top: 0.75rem;
  font-size: 1rem;
}
.news-text {
  font-variation-settings: 'wght' 400;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 120%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6; /* 显示的行数，可以根据需要修改 */
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-date {
  margin-top: 1rem;
  font-size: 0.8rem;
}

.news-more {
  text-align: center;
  padding-bottom: 10.5rem;
}
.news-more a {
    color: #000;
    font-size: 2rem;
    text-transform: uppercase;
    font-variation-settings: 'wght' 400;
    transition: all cubic-bezier(0.445, 0.05, 0.55, 0.95) 400ms;
    cursor: pointer;
    position: relative;
}
.news-more a::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    background-color: #000;
    position: absolute;
    bottom: 4px;
    left: 0;
    opacity: 0;
    transition: all 400ms;
}
.news-more a:hover  {
    font-variation-settings: 'wght' 500;
    /* text-decoration-line: underline; */
}
.news-more a:hover::after {
    width: 100%;
    opacity: 1;
}

@media screen and (max-width: 575px) {
  .mainbody {
    padding-top: 5rem;
  }
  .mainbody-title {
      font-size: 2rem;
      text-align: left !important;
      padding-top: 2rem;
  }
  .mainbody .nav-list {
      flex-wrap: wrap;
      gap: 1rem 1.5rem;
      justify-content: flex-start;
      margin-top: 1rem;
  }
  .mainbody .nav-list p {
      font-size: 0.75rem;
  }

  .news-cardList {
    margin-top: 2.5rem;
    width: 100%;
    gap: 2rem;
    flex-direction: column!important;
  }
  .news-card {
    width: 100%;
    margin-bottom: 0;
  }
  
  .news-h {
    font-size: 0.7rem;
  }
  .news-text {
    font-size: 0.7rem;
    margin-top: 0.3rem;
  }
  .news-date {
    font-size: 0.6rem;
  }
  .news-more {
    padding-bottom: 2.5rem;
  }
  .news-more a {
    display: block;
    margin-top: 2.5rem;
  }
}