.news {
  width: 100%;
  height: 100%;
  min-height: 100vh;
}
.topbox {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f6fbff 0%, #ecf3ff 100%);
}

.news header {
  width: 100%;
  height: 1.325rem;
}
.news .titlebox {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
}
.news .titlebox .rightbox {
  width: 7.1rem;
  height: 5.3125rem;
  border-radius: 0.1rem;
  overflow: hidden;
}
.news .titlebox .rightbox img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  border-radius: 0.1rem;
}

.news .titlebox .leftbox {
  width: 8.55rem;
}

.news .titlebox .leftbox .tag {
  padding: 0.0625rem 0.15rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 0.175rem;
  color: #0f52ba;
  background: #e3ecfa;
  border-radius: 0.05rem;
}

.news .titlebox .leftbox .title {
  font-family: Source Han Sans CN;
  font-weight: 500;
  font-size: 0.45rem;
  color: #000000;
  margin-top: 0.25rem;
  /* 超过两行省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  margin-bottom: 0.25rem;
}
.news .titlebox .leftbox .time {
  font-family: Roboto;
  font-weight: 300;
  font-size: 0.175rem;
  color: #000000;
  margin-bottom: 0.3125rem;
}
.news .titlebox .leftbox .desc {
  font-family: Source Han Sans CN;
  font-weight: 300;
  font-size: 0.2rem;
  color: #000000;
  line-height: 0.4rem;
  /* 两行超出省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  margin-bottom: 0.9375rem;
}

.news .titlebox .leftbox button {
  width: 1.925rem;
  height: 0.625rem;
  background: #0f52ba;
  border-radius: 0.1rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 0.2rem;
  color: #ffffff;
  border: none;
  position: absolute;
  bottom: 65px;
}

.news main .newsbanner {
  height: 1rem;
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1rem;
}

.news main .newsbanner .left {
  display: flex;
  align-items: center;
  font-family: Source Han Sans CN;
  font-weight: 300;
  font-size: 0.2rem;
  color: #1a1a1a;
}
.news main .newsbanner .right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.news main .newsbanner .right .navitem {
  margin-left: 1rem;
  font-family: Source Han Sans CN;
  font-weight: 300;
  font-size: 0.2rem;
  cursor: pointer;
}
.news main .newsbanner .right .navitem .line {
  width: 100%;
  height: 0.025rem;
  background-color: #0f52ba;
}
.isshow {
  display: block;
}
.notshow {
  display: none;
}
.isselected {
  color: #0f52ba;
}
.notsselected {
  color: #1a1a1a;
}

.news main .newslist {
  padding: 1rem 0;
}
.news main .newslist .newsitembox {
  /* display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; */
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
  gap: 0.75rem 0.4rem;
  justify-items: stretch;
}
.news main .newslist .newsitem {
  /* width: 32%; */
  height: 5.125rem;
  background: #ffffff;
  box-shadow: 0px 0px 0.6125rem 0px rgba(34, 90, 202, 0.08);
  border-radius: 0.1rem;
  overflow: hidden;
  /* margin-bottom: 60px;
  margin-right: 25px; */
  position: relative;
  cursor: pointer;
}
.news main .newslist .newsitem:nth-child(3n) {
  margin-right: 0 !important;
}
.news main .newslist .newsitem .newsbottom {
  padding: 0.3rem 0.375rem 0.5rem;
}

.news main .newslist .newsitem .newsbottom .newstime {
  font-family: Roboto;
  font-weight: 400;
  font-size: 0.175rem;
  color: #0f52ba;
}
.news main .newslist .newsitem .newsbottom .newstitle {
  font-family: Source Han Sans CN;
  font-weight: bold;
  font-size: 0.25rem;
  color: #1a1a1a;
  /* 超出省略 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0.1875rem 0 0.125rem;
}

.news main .newslist .newsitem .newsbottom .newsbtn {
  font-family: Source Han Sans CN;
  font-weight: 500;
  font-size: 0.2rem;
  color: #0f52ba;
  margin-top: 0.25rem;
  cursor: pointer;
  position: absolute;
  bottom: 0.375rem;
}
.news main .newslist .newsitem .newsdesc {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 0.175rem;
  color: #666666;
}
/* 在news.css中添加 */
.title-swiper {
  height: auto; /* 保持原有高度 */
  width: 100%;
}

.title-swiper .swiper-slide {
  height: auto; /* 保持内容自适应高度 */
}
/* 没有选中样式 */
.news-pagination .swiper-pagination-bullet {
  width: 0.1rem !important;
  height: 0.1rem !important;
}

.news-pagination .swiper-pagination-bullet-active {
  width: 0.3rem !important;
  height: 0.1rem;
  background: #0f52ba;
  border-radius: 0.05rem;
  opacity: 1;
}

.page-link {
  font-size: 0.225rem !important;
  padding: 0.2875rem 0.325rem !important;
  border-radius: 0.05rem !important;
  margin-right: 0.125rem !important;
}
