.body {
  width: 100vw;
  background-color: #ffffff;
  padding-bottom: 10vh;
}

.news_header {
  position: relative;
}
.hiddenTap {
  display: none;
}
.titleTap {
  display: flex;
  /* justify-content: center; */
  margin-bottom: 3vh;
  width: 64vw;
  background: #ffffff;
  border-radius: 0px 0px 0px 0px;
}
.titleTapItem {
  box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.06);
  padding: 2vh 2vw;
  cursor: pointer;
}
.consult_container {
  display: flex;
  flex-direction: column;
  width: 63vw;
}
.conultItem {
  background: #ffffff;
  box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.06);
  border-radius: 0px 0px 0px 0px;
  padding: 2vh;
  margin-bottom: 2vh;
  display: none;
}
.conultItemTitle {
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 20px;
  color: #18191a;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 1vh;
}
.conultItemDetail {
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: #666;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 1vh;
}
.conultItemTime {
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #a3a3a3;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.tapactive {
  background: #0275ff;
  border-radius: 0px 0px 0px 0px;
  color: #fff;
}

.news_header_title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #ffffff;
  font-size: 1.8vw;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 8px;
}

.news_tab {
  display: flex;
  color: #18191a;
  font-size: 0.8vw;
  align-self: flex-start;
  margin-left: 8vw;
  margin-bottom: 4vh;
}

.title_txt {
  font-size: 32px;
  font-family: PingFang SC-Medium, PingFang SC;
  font-weight: 500;
  color: #18191a;
  line-height: 38px;
  letter-spacing: 2px;
  margin-left: 23vw;
  margin-top: 5vh;
}

.news_container {
  display: flex;
  /* justify-content: center; */
  margin-bottom: 6vh;
  flex-wrap: wrap;
  width: 66vw;
}

.news_content {
  width: 21vw;
  background: #ffffff;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.06);
  opacity: 1;
  margin-bottom: 3vh;
  margin-left: 1vw;
}

/* .news_link:nth-child(2) .news_content,
.news_link:nth-child(3) .news_content,
.news_link:nth-child(5) .news_content,
.news_link:nth-child(6) .news_content {
  margin-left: 1vw;
} */

/* .news_content2 {
  width: 25vw;
  background: #ffffff;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.06);
  border-radius: 8px 8px 8px 8px;
  opacity: 1;
  margin-left: 2.5vw;
} */

.news_img {
  width: 21vw;
  height: 31vh;
}

.news_img:hover {
  cursor: pointer;
}

.news_time,
.news_txt_nd {
  text-align: left;
  color: #18191a;
}

.news_txt_nd {
  font-size: 0.83vw;
  margin: 0 0.8vw 1vh 0.8vw;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.5;
  max-height: calc(1.5em * 3);
}

.news_box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.more_button_container {
  text-align: center;
  margin: 30px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.load_more_btn {
  padding: 12px 30px;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

/* 分页按钮样式 */
.pagination-container {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  min-width: 40px;
}

.pagination-btn:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.pagination-btn.active {
  background-color: #16abff;
  color: white;
  border-color: #16abff;
}

.pagination-ellipsis {
  padding: 8px 4px;
  color: #999;
}

/* 移动端适配样式 */
@media screen and (max-width: 768px) {
  .body {
    padding-bottom: 5vh;
  }

  .news_header {
    height: 25vh;
    overflow: hidden;
  }

  .news_header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news_header_title {
    font-size: 22px;
    letter-spacing: 4px;
    text-align: center;
    width: 100%;
  }

  .news_box {
    margin: 5vh 5vw 0 !important  ;
    width: 90vw;
    overflow-x: hidden;
  }

  .titleTap {
    width: 100%;
    margin-bottom: 4vh;
  }

  .titleTapItem {
    padding: 1.5vh 6vw;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);
  }

  .news_container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .news_content {
    width: 100%;
    margin-left: 0;
    margin-bottom: 4vh;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);
  }

  .news_img {
    width: 100%;
    height: 25vh;
    object-fit: cover;
  }

  .news_time {
    font-size: 12px;
    color: #999;
    padding: 2vh 3vw 0;
    margin-bottom: 1vh;
  }

  .news_txt_nd {
    font-size: 16px;
    margin: 0 3vw 2vh;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    max-height: calc(1.5em * 2);
    font-weight: 500;
  }

  .news_content > *:not(.news_img) {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .lang_link {
    display: block;
    width: 100%;
    text-decoration: none;
  }

  .lang_link:hover .news_content {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
  }

  .pagination-container {
    justify-content: center;
    margin-top: 3vh;
  }

  .pagination-btn {
    padding: 6px 10px;
    min-width: 36px;
    font-size: 14px;
  }

  .more_button_container {
    margin: 4vh 0;
  }

  .load_more_btn {
    padding: 10px 25px;
    font-size: 14px;
    width: 60%;
    max-width: 200px;
  }

  .consult_container {
    width: 100%;
  }

  .conultItemDetail {
    display: none;
  }

  .conultItem {
    box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.04);
  }
}
