.webaner {
  height: 100vh;
  /* background: url(../images/news.png) center center no-repeat; */
  background: url(https://eplvs.s3.us-east-1.amazonaws.com/website/95a83295-c9ba-4d07-8a37-1040e576149b_news.png) center center no-repeat;
  background-size: cover;
  letter-spacing: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slogan {
  font-size: clamp(28px,3.7vw,72px);
  letter-spacing: 8px;
  color: #FFFFFF;
  font-weight: 600;
  font-family: PingFang SC, PingFang SC;
  font-style: normal;
  text-transform: none;
}

.containerCenter {
  display: flex;
  flex-direction: column;
  align-items: center; /* 让内容整体居中 */
  padding: 30px 17vw;
  background-color:#F1F1F1 ;
}

.containerCenter h1,
.containerCenter .diverActive {
  align-self: flex-start; 
  font-size: clamp(13px,1.7vw,32px);
  font-weight: 600;
}

.diver {
  border: 1px solid #D8D8D8;
  width: 100%; /* 宽度和.news-container一致 */
  /* max-width: 1200px; */
  margin-bottom: 30px;
}

.diverActive {
  border: 2px solid #03BCBE;
  width: 10%;
  margin-top: 30px;
}

.newsSection1 {
  width: 100%;
  height: auto;
}

.news-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  width: 100%; /* 和.diver宽度一致 */
  transition: opacity 0.3s ease;
}

.news-item {
  border-radius: 6px;
  overflow: hidden;
  background-color: #FFFFFF;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.news-item:hover {
  transform: scale(1.05);
}

.big-img {
  grid-column: span 2; /* 大图占两列 */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  height: 335px;
  justify-content: flex-end;
}

.big-img img {
  display: none;
}

.small-img {
  grid-column: span 1; /* 小图各占一列 */
}

.small-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.big-img .text-container {
  box-sizing: border-box;
}

.big-img h3 {
  font-size: clamp(8px,1vw,20px);
  color: #FFFFFF;
  padding: 10px;
}
.big-img p {
  padding: 0;
  margin: 0;
  font-size: clamp(5px,0.7vw,14px);
  padding: 10px;
  line-height: 20px;
  color: #CACACA;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.small-img p {
  padding: 10px;
  margin: 0;
  height: 25px;
  font-size: clamp(5px,0.7vw,14px);
  line-height: 1.25rem;
  color: #999;
  
}

.small-img h3 {
  padding: 10px 10px 0px 10px;
  font-weight: bold;
  font-size: clamp(8px,1vw,20px);
  line-height: clamp(11px,1.3vw,28px);
  letter-spacing: 1px;
  color: #333333;
}


/* 新增分页样式 */
.pagination-container {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 20px;
  margin-top: 30px;
  width: 100%; /* 和.news-container宽度一致 */
  /* max-width: 1200px; */
}

.page-btn {
  padding: 7px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-btn:hover {
  background-color: #e0f3ff;
}

.page-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.page-numbers {
  margin: 0 10px;
  display: flex;
  gap: 8px;
}

.page-number {
  padding: 7px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-number.active {
  background-color: #03BCBE;
  color: white;
}

@media (max-width: 1500px) {

  .big-img {
  height: 275px;
}

  .news-container {
      max-width: 100%;
  }
  .slogan {
    font-size: 56px;
    letter-spacing: 6px;
  }
  .containerCenter {
      padding: 30px 17vw;
  }
  .page-btn {
    padding: 5px 7px;
  }
  .page-number {
    padding: 5px 7px;
  }
  .diver {
      max-width: 100%;
  }
  .pagination-container {
      max-width: 100%;
  }
  .small-img img {
    height: 133px;
  }
  .small-img p {
    font-size: 11px;
    line-height: 16px;
  }

  .small-img h3 {
    line-height: 22px;
  }
  /* .big-img h3 {
    font-size: 16px;
  } */
}

@media screen and (max-width: 750px) {

  .small-img h3 {
    font-size: 8px;
    line-height: 11px;
    padding: 6px;
    letter-spacing: 0px;
  }
  .big-img h3 {
    font-size: 8px;
    line-height: 11px;
    padding: 6px;
  }



  .small-img p {
      font-size: 5px;
      line-height: 8px;
      height: 15px;
      padding: 6px;
  }
  .big-img p {
      font-size: 5px;
      margin-top: 5px;
      text-shadow: none;
      line-height: 8px;
      padding: 6px;
  }

  .news-container {
    grid-template-columns: repeat(6, 1fr); /* 使用6列网格系统 */
    gap: 10px; /* 减小间距以适应小屏幕 */
  }
  
  .big-img {
    grid-column: span 4;
    height: 140px;
  }
  
  .big-img + .small-img {
    grid-column: span 2;
  }
  
  .small-img {
    grid-column: span 2; 
  }
  
  /* 调整小图尺寸 */
  .small-img img {
    height: 60px; /* 减小图片高度 */
  }
  .big-img img {
      display: block; /* 显示图片元素 */
      width: 100%;
      height: 200px;
      object-fit: cover;
  }
  .big-img .text-container {
      position: relative;
      background: none; /* 去掉背景色 */
      /* padding: 10px; */
  }
  .webaner {
      padding-left: 30px;
  }
  .containerCenter {
      padding: 20px;
      font-size: 0.4rem;
  }
  .slogan {
      font-size: 0.72rem;
  }
  
  /* .pagination-container {
      padding: 10px;
      justify-content: center;
      gap: 10px;
  } */
  .page-btn,
  .page-number {
      padding: 4px 8px;
      font-size: 0.2rem;
  }
  .diver {
      max-width: 100%;
  }
  .pagination-container {
      max-width: 100%;
  }
  .containerCenter h1,
  .containerCenter .diverActive {
      margin-left: 0; /* 在小屏幕下，左对齐元素紧贴左边 */
      font-size: 13px;
  }
}