﻿.news-box {
  position: relative;
  background-color: #FAFAFA;
}
.news-bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.news-box .news-header {
  padding: 16.875rem 0 0;
  position: relative;
  z-index: 1;
}

.news-box .news-header .tt{
  color: var(--darkColor);
  font-size: 2.8125rem;
  line-height: 2.8125rem;
  text-align: center;
  font-weight: bold;
}

.news-box .news-header .desc{
  color: #333;
  text-align: center;
  margin-top: 2.5rem;
}
.news-box .swiper {
  margin-top: 6.25rem;
  padding-bottom: 4.0625rem;
}
.news-box .swiper .swiper-pagination-bullet {
  width: 5.5rem;
  height: .1875rem;
  border-radius: 0;
  opacity: 1;
  background: #CCCCCC;
}
 
/* 选中的分页器样式 */
.news-box .swiper .swiper-pagination-bullet-active {
    color:#fff;
    background:#50A738;
}
.news-swiper-box {
  padding: 2.5rem;
  background-color: #FFFFFF;
  border-radius: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

}
.news-swiper-box img {
  width: 38.75rem;
  height: 25rem;
  border-radius: 1rem;
  object-fit: cover;
}
.news-swiper-box .box-content {
  flex: 1;
  min-width: 0;
  margin-left: 5.0625rem;
}

.news-swiper-box .box-content .time{
  font-size: 1.125rem;
  color: #999;
  margin-bottom: 1.5625rem;
}

.news-swiper-box .box-content .title{
  font-weight: 700;
  color: #333;
  font-size: 1.875rem;
  line-height: 2.5rem;
  margin-bottom: 2.1875rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-swiper-box .box-content .content{
  font-size: 1.125rem;
  color: #666;
  line-height: 2.5rem;
  margin-bottom: 3.4375rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-swiper-box .box-content .iconfont{
  color: var(--darkColor);
  font-size: 2.75rem;
  line-height: 1;
}

.news-container {
  padding: 5.375rem 16.1875rem 20.9375rem;
}

.news-container .news-type {
  display: flex;
  align-items: center;
  padding-bottom: 1.25rem;
  overflow: scroll;
}
.news-container .news-type::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.news-container .news-type .item{
  display: block;
  border: solid 1px #EEEEEE;
  border-radius: 24px;
  background-color: #FFFFFF;
  font-size: 1.125rem;
  color: #666;
  margin-right: 1.5625rem;
  padding: 0 2.625rem;
  line-height: 3rem;
  height: 3rem;
  min-width: 9.6875rem;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
/* .news-container .news-type .item a{
  color:#666;
} */

.news-container .news-type .active {
  background-color: var(--primaryColor);
  color: #FFFFFF;
  border: solid 1px #ccc;
}
/* .news-container .news-type .active a{
  color:#ffffff;
} */
.news-container .news-type .item:hover{
  background-color: var(--primaryColor);
  color: #FFFFFF;
  border: solid 1px #ccc;
  transition: all .3s;
}
/* .news-container .news-type .item:hover a{
  color: #FFFFFF;
} */

.news-container .news-list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 1.25rem;
}

.news-container .news-list .news-item {
  margin-right: 1.625rem;
  margin-bottom: 4.5rem;
  border-radius: 1rem;
  background-color: #FFFFFF;
  width: 32%;
  cursor: pointer;
  position: relative;
  padding-bottom: 10.4375rem;
}

.news-container .news-list .news-item:nth-child(3n) {
  margin-right: 0;
}

.news-container .news-list .news-item .banner {
  width: 100%;
  height: 17.5rem;
  object-fit: cover;
}

.news-container .news-list .news-item .img-box{
  width: 100%;
  border-radius: 1.25rem 1.25rem 0 0;
}

.news-container .news-list .news-item .time {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  color: #999;
  margin-top: 2.1875rem;
  padding: 0 2.375rem;
}

.news-container .news-list .news-item .tt {
  padding: 1.6875rem 2.375rem 0;
  font-size: 1.375rem;
  line-height: 2rem;
  height: 5.625rem;
  font-weight: 700;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-container .news-list .news-item:hover .tt {
  color: #50A738;
}
.news-container .news-list .news-item .iconfont {
  position: absolute;
  bottom: 1.25rem;
  left: 2.875rem;
  opacity: 1;
  color: var(--darkColor);
  font-size: 2.75rem;
  transition: all .3s;
}
.news-container .news-list .news-item .info {
  position: absolute;
  bottom: 2.25rem;
  left: 0;
  border-top: solid 1px #CCCCCC;
  padding-top: 1.5625rem;
  margin: 0 2.5rem;
  font-size: 1.125rem;
  color: #999;
  opacity: 0;
  transition: all .3s;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-container .news-list .news-item:hover .iconfont {
  opacity: 0;
}
.news-container .news-list .news-item:hover .info {
  opacity: 1;
}

.news-box .page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-box .page a{
  width: 3.1875rem;
  height: 3.1875rem;
  line-height: 3.1875rem;
  text-align: center;
  margin-right: 2.3125rem;
  background-color: #FFFFFF;
  border: solid 1px #EEEEEE;
  border-radius: .5rem;
  font-size: 1.125rem;
}


.news-box .page .iconfont{
  color: #50A738;
}

.news-box .page .iconfont.prev::before{
  display: inline-block;
  transform: rotate(180deg);
}

.news-box .page .pageNo{
  color: #999999;
  background-color: #FFF;
}

.news-box .page .active{
  background-color: #50A738;
  color: #FFF;
}


.news-box .page a:last-child{
  margin-right: 0;
}

.news-box .page a:hover{
  transition: 0.3s;
  background-color: #50A738;
  color: #FFF;
}