/* banner部分 */
.newsListBanner {
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    position: relative;
    height:80vh;
    overflow: hidden;
    background-size: cover;
    background-position: 100% 0;
  }

  .newsListBanner .bannerContent {
    position: absolute;
    width: 83%;
    z-index: 2;
    color: #ffffff;
    bottom:25%;
  }

  .newsListBanner .newsListBannerTitle {
    margin: 0;
    font-family: "PingFang SC";
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 0px;
  }
  .newsListBanner .newsListBannerContent {
    margin: 0;
    padding-top: 10px;
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0px;
  }
  .newsListBanner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    background-size: cover;
    background-position: center;
    z-index: 1;
  }
  .news-list{
    width: 100%;
  }
  /* 新闻列表部分 */
  .newsList{
    padding: clamp(20px, 2vw, 2vw) 0 5.5vw 0;
    width: 83%;
    margin: 0 auto;
  }
  .news-item{
    display: flex;
    padding:clamp(20px, 4.17vw, 4.17vw)  0  clamp(15px, 2.78vw, 2.78vw) 0;
    border-bottom: 1px solid rgba(230, 230, 230, 1);
    transition: all 0.3s;
    cursor: pointer;
    gap:clamp(12px, 2vw, 2vw);
    width: 100%;
    box-sizing: border-box;
  }
  .news-item:hover{
    border-bottom: 1px solid rgba(8, 111, 255, 1);

  }

  .news-date{
    display: flex;
    flex-direction: column;
    gap: 1.25vw;
    flex-shrink: 0;
  }
  .date-day{
    font-weight: 600;
    font-style: Semibold;
    font-size:clamp(18px,2.38rem,2.38rem);
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0px;
    color: rgba(0, 0, 0, 1);
  }
  .date-month-year{
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(14px, 1rem, 1rem);
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0px;
    color: rgba(0, 0, 0, 1);
  }
  .news-cover{
    width: 22.5%;
    flex-shrink: 0;
  }
  .news-cover img{
    width: 100%;
    height: 100%;
    aspect-ratio: 270 / 180;
    object-fit: cover;
  }
  .news-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
  }
  .news-box{
    display: flex;
    flex-direction: column;
    gap: 1.39vw;
    min-width: 0;
  }
  .news-title{
    font-weight: 500;
    font-style: Medium;
    font-size:clamp(16px, 1.125rem, 1.125rem) ;
    leading-trim: NONE;
    line-height: 100%;
    color: rgba(51, 51, 51, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .news-subtitle{
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(14px, 1rem, 1rem);
    leading-trim: NONE;
    line-height: 150%;
    color: rgba(128, 128, 128, 1);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
.news-icon{
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: scale(1);
}
.news-item:hover .news-icon{
  background: linear-gradient(145.62deg, #5DA1FF 5.88%, #086FFF 93.05%);
  transform: scale(1.05);
} 
 .news-icon-img{
  width: 16px;
  height: 16px;
  background-image: url('/images/rightIcon-2.png');
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease;
}
.news-item:hover .news-icon-img{
  background-image: url('/images/rightIcon-1.png');
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5.55vw;
  flex-wrap: wrap;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.22rem;
  height: 2.22rem;
  margin: 0 5px;
  /* border-radius: 6px; */
  background: transparent;
  border: transparent;
  color: rgba(51, 51, 51, 1);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
  border-radius: 50%;
}

.pagination-item:hover {
  background: rgba(8, 111, 255, 1);
  color: #FFFFFF;
  border: 1px solid rgba(8, 111, 255, 1);
}

.pagination-item.active {
  background: rgba(8, 111, 255, 1);
  color: rgba(255, 255, 255, 1);
  border-color: rgba(8, 111, 255, 1);
}

.pagination-ellipsis {
  color: rgba(51, 51, 51, 1);
  margin: 0 5px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  padding: 0 5px;
  transition: color 0.3s;
}

.pagination-ellipsis:hover {
  color: rgba(8, 111, 255, 1);
}

.pagination-prev, .pagination-next {
  color: rgba(117, 119, 123, 1);
  border: 1px solid rgba(227, 229, 229, 1);
  background: rgba(241, 243, 244, 1);
  
}

.pagination-prev:hover, .pagination-next:hover {
  background: rgba(8, 111, 255, 1);
  color: #FFFFFF;
  border: 1px solid rgba(8, 111, 255, 1);
}

/* ========== 置顶新闻模块样式 ========== */
.top-news-big{
  width: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}
.top-img-box{
  width: 100%;
  position: relative;
  overflow: hidden;
}
.top-img-box img{
  width: 100%;
  height: 100%;
  aspect-ratio: 560 / 380;
  object-fit: cover;
  transition: transform 0.3s ease;
}
/* .top-news-big:hover .top-img-box img{
  transform: scale(1.03);
} */

/* 全局基础遮罩 默认半透明黑色 */
.top-img-box::before{
  content:"";
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  z-index:1;
}
.top-news-big:hover .top-img-box::before{
  background-color: rgba(0, 0, 0, 0.8);
}

/* 默认右上角日期标签 */
.top-date-tag{
  position: absolute;
  top: 1.38vw;
  right: 1.38vw;
  color: rgba(255, 255, 255, 1);
  font-size: clamp(14px, 0.9rem,0.9rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index:3;
  transition: opacity 0.3s ease;
}
.top-date-day{
  font-size: 1.5rem;
  font-weight: 600;
}
/* hover隐藏右上角日期 */
.top-news-big:hover .top-date-tag{
  opacity:0;
  pointer-events:none;
}

/* 默认底部简易标题遮罩 */
.top-news-wrap{
  display: flex;
  gap: 1.39vw;
  width: 100%;
}
.top-big-mask{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;

  display: flex;
  align-items: flex-end;
  padding:clamp(12px, 1.38vw,1.38vw) ;
  box-sizing: border-box;
  z-index:2;
  transition: opacity 0.3s ease;
}
.top-big-title{
  color: rgba(255, 255, 255, 1);
  font-size:clamp(14px, 1rem, 1rem);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* hover隐藏底部简易标题 */
.top-news-big:hover .top-big-mask{
  opacity:0;
  pointer-events:none;
}

/* hover居中完整内容容器 */
.top-big-full-mask{
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  padding: 2.7vw;
  opacity:0;
  transition: opacity 0.3s ease;
  pointer-events:none;
}
.top-news-big:hover .top-big-full-mask{
  opacity:1;
  pointer-events:auto;
}
.fullmask-inner{
  color:rgba(255, 255, 255, 1);
  width: 90%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;

}
.fullmask-date{
font-weight: 400;
font-style: Regular;
font-size: clamp(14px, 0.9rem, 0.9rem);
leading-trim: NONE;
line-height: 100%;
margin-bottom:clamp(12px, 0.86vw, 0.86vw);
}
.fullmask-title{
font-weight: 500;
font-style: Medium;
font-size: clamp(16px, 1.125rem, 1.125rem);
leading-trim: NONE;
line-height: 100%;
margin-bottom:clamp(24px, 1.67vw, 1.67vw);
}
.fullmask-line{
  width:100%;
  height:1px;
  background:rgba(255, 255, 255, 0.4);
  margin-bottom:clamp(24px, 1.67vw, 1.67vw);
}
.fullmask-sub{
  font-weight: 400;
  font-style: Regular;
  font-size: clamp(14px, 1rem, 1rem);
  leading-trim: NONE;
  line-height: 1.62rem;
  display: -webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.fullmask-arrow{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(255, 255, 255, 0.4);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:clamp(40px, 3.06vw, 3.06vw);
  transition:all 0.3s;
  align-self: center; 
}
.fullmask-arrow-icon{
  width:16px;
  height:16px;
  background-image:url('/images/rightIcon-1.png');
  background-size:cover;
}
/* 右侧卡片样式 */
.top-news-card{
  width: 25%;
  display: flex;
  padding:clamp(14px,2.08vw,2.08vw) clamp(12px,1.39vw,1.39vw) clamp(12px,1.39vw,1.39vw) clamp(12px,1.39vw,1.39vw);
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 1.25rem 0.25rem rgba(0, 0, 0, 0.06);
}
.top-card-info{
  width: 100%;
  display: flex;
  flex-direction: column;
}
.top-card-title{
  font-size:clamp(16px, 1.125rem, 1.125rem);
  line-height:clamp(21px, 1.5rem, 1.5rem);
  height:clamp(42px, 3rem, 3rem);
  font-weight: 500;
  margin-bottom:clamp(14px, 1.94vw, 1.94vw);
  color: rgba(51, 51, 51, 1);
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.top-card-line{
  width: 100%;
  height: 1px;
  background: rgba(230, 230, 230, 1);
  margin-bottom:clamp(12px, 1.39vw, 1.39vw);
}
.top-card-sub{
font-weight: 400;
font-style: Regular;
font-size:clamp(14px, 1rem, 1rem);
leading-trim: NONE;
line-height: clamp(20px, 1.5rem, 1.5rem);
  color: rgba(128, 128, 128, 1);
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.top-card-bottom{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.top-card-date{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.top-card-date-month-year{
font-weight: 400;
font-style: Regular;
font-size:clamp(14px,0.87rem,0.87rem);
leading-trim: NONE;
line-height: 100%;
color: rgba(128, 128, 128, 1);
margin-bottom: clamp(10px,1rem,1rem);
}
.top-card-date-day{
  font-weight: 600;
  font-style: Semibold;
  font-size: clamp(16px,1.5rem,1.5rem);
  leading-trim: NONE;
  line-height: 100%;
  color: rgba(128, 128, 128, 1);
}
.top-card-bottom-icon{
    width: 20px;
    height: 20px;
    background-image: url(/images/new/right-icon-black.png);
    background-size: cover;
    background-position: center center;
    transition: background-image 0.4s;
}
.top-news-card:hover{
  background: rgba(8, 111, 255, 1);
}
.top-news-card:hover .top-card-title,
.top-news-card:hover .top-card-sub,
.top-news-card:hover .top-card-date-month-year,
.top-news-card:hover .top-card-date-day{
  color: rgba(255, 255, 255, 1);
}
.top-news-card:hover .top-card-line{
  background: rgba(230, 230, 230, 0.4);
}
.top-news-card:hover .top-card-bottom-icon{
  background-image: url(/images/new/right-icon.png);
}

  @media screen and (max-width: 1024px){
    .newsListBanner {
      max-height:560px;
    }
    .newsList{
      width: 90%;
    }
    
.news-cover{
  width: 35%;
}
.top-card-sub{
  -webkit-line-clamp: 4;
  margin-bottom: 20px;
}
  }
  @media screen and (max-width: 768px) {
    .newsListBanner {
      height:48vh;
      background-position: 40% 98%;
      background-size: 370%;
    }
    .newsListBanner .bannerContent {
        width: 90%;
      }
      .top-news-wrap{
        flex-wrap: wrap;
        flex-direction: row;
        gap: clamp(12px, 1.39vw, 1.39vw);
    }
     /* 大卡片独占一行 */
     .top-news-big {
      width: 100%;
      flex: 0 0 100%;
  }
  
  /* 两个小卡片各占一半宽度并排（减去gap间距） */
  .top-news-card {
      width: calc(50% - clamp(6px, 0.695vw, 0.695vw));
      flex: 0 0 calc(50% - clamp(6px, 0.695vw, 0.695vw));
  }
 
      .news-icon{
        width: 26px;
        height: 26px;
      }
      .news-icon-img{
        width: 12px;
        height: 12px;
      }
      
  }
