@import 'header.css';
@import 'footer.css';

.bar li:nth-child(1) {
  border-bottom: 4px solid #bf0c0c;
}

.container {
  width: 100%;
  height: auto;
  background: #f4f4f4;
  margin-top: 0.10416667vw;
}

.container .banner {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.container .banner .banner-pic {
  width: 300%;
  display: flex;
}

.container .banner .banner-pic li {
  width: 100vw;
  height: auto;
  position: relative;
}

.container .banner .banner-pic li img {
  width: 100vw;
}
.container .banner .banner-pic li a {
  position: absolute;
  left: 12vw;
  bottom: 10vw;
  width: 13.55vw;
  height: 3.646vw;
  text-align: center;
  line-height: 3.646vw;
  color: #333333;
  font-size: 1.35vw;
  background: #fff;
  border: 0.05208333vw solid #f4f4f4;
  box-sizing: border-box;
  transition: all .2s;
  -webkit-transition: all .2s;
}
.container .banner .banner-pic li a:hover {
  border: 0.05208333vw solid transparent;
  background: #a20e00;
  color: #fff;
}
.container .banner .b-btn {
  position: absolute;
  display: flex;
  align-items: center;
  width: 9.16666667vw;
  left: 50%;
  margin-left: -4.58333333vw;
  bottom: 2.03125vw;
}

.container .banner .b-btn li {
  cursor: pointer;
  width: 1.97916667vw;
  height: 0.20833333vw;
  background: #fff;
  margin-left: 0.3125vw;
  transform: skew(-45deg);
}

.container .banner .b-btn li:nth-child(1) {
  margin: 0;
}

.container .banner .b-btn .on {
  background: #a71f1f;
}

.container .news {
  width: 60.9375vw;
  height: 36.83333333vw;
  margin: 0 auto;
  /* overflow: hidden; */
  text-align: center;
  position: relative;
}

.container .news>h1 {
  font-family: "Helvetica Bold";
  font-size: 1.97916667vw;
  margin-top: 5.3125vw;
}

.container .news>h2 {
  font-size: 1.35416667vw;
}

.container .news .newsCon {
  width: 100%;
  margin-top: 3.85416667vw;
  height: 17.875vw;
  display: flex;
  justify-content: space-evenly;
}

.container .news .newsCon .newsBox {
  width: 19.27083333vw;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-bottom: 0.20833333vw solid transparent;
  transition: all .5s;
  -webkit-transition: all .5s;
}

.container .news .newsCon .newsBox:hover {
  border-bottom: 0.20833333vw solid #c02120;
}

.container .news .newsCon .newsBox:hover .newsImg img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
}

.container .news .newsCon .newsBox .newsImg {
  width: 19.27083333vw;
  height: 10vw;
  position: relative;
  overflow: hidden;
}

.container .news .newsCon .newsBox .newsImg img {
  width: 100%;
  transition: all .5s;
  -webkit-transition: all .5s;
}

.container .news .newsCon .newsBox .newsText {
  width: 17.70833333vw;
  margin: 0.83333333vw 0 0 0.78125vw;
}

.container .news .newsCon .newsBox .newsText h1 {
  font-size: 1.04166667vw;
  font-weight: bold;
  text-align: justify;
  line-height: 1.35416667vw;
}

.container .news .newsCon .newsBox .newsText h2 {
  margin-top: 0.625vw;
  font-size: 0.72916667vw;
  color: #9e9e9e;
  text-align: justify;
  line-height: 1.04166667vw;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.container .news .newsCon .newsBox .newsText .newsText-desc{
  margin-top: 0.625vw;
  font-size: 0.72916667vw;
  color: #9e9e9e;
  line-height: 1.04166667vw;
  display: -webkit-box; /* 将元素显示为弹性盒子 */
  -webkit-line-clamp: 2; /* 设置文本的行数 */
  -webkit-box-orient: vertical; /* 设置弹性盒子的方向为垂直方向 */
  text-overflow: ellipsis;
  overflow: hidden;
}


.container .news .list-new-btn {
  position: absolute;
  bottom: 340px;
  right: -147px;
  width: 130px;
  line-height: 40px;
  color: #666;
  border-radius: 6px;
  box-shadow: 0 0 1px 1px #ccc;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
}

.container .news .list-new-btn:hover {
  box-shadow: 0 0 2px 2px #666;
  color: #666;
}