.main-news {
  position: relative;
  min-width: 1180px;
}

.img {
  height: 620px;
  position: relative;
  background: url('../image/newsbg.jpg');
  background-size: cover;
}

.title-news {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1180px;
  height: 450px;
  margin-top: 100px;
  transform: translateX(-50%);
  text-align: center;
  background-color: #fff;
}

.news-h2 {
  display: inline-block;
  width: 20%;
  padding: 82px 0 50px 0;
  transform: translateY(-49px);
  background-color: var(--primary-color);
}

.title-news h2 {
  display: inline-block;
  color: #fff;
  font-size: 30px;
}

.title-news h2::after {
  content: '';
  display: inline-block;
  width: 120%;
  height: 8px;
  margin-top: 14px;
  margin-left: -10%;
  background-color: #fff;
}

/* 进度步骤样式 */
.progress-bar {
  width: 90%;
  margin: 0 auto;
  margin-top: -30px;
  /* margin-top: px; */
}

.progress-bar hr {
  width: 80%;
  height: 1.5px;
  margin: 0 auto;
  margin-bottom: -19px;
  border: none ;
  background-color: #707070;
}

.progress-bar ul {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  justify-items: center;
  align-items: center;
}

.progress-bar ul>li {
  position: relative;
  /* display: inline-block; */
  display: grid;
  width: 20px;
  height: 20px;
  
  border-radius: 50%;
  background-color: #202020;
}

.progress-bar .one::after,
.progress-bar .two::after,
.progress-bar .three::after {
  content: '';
  width: 1px;
  height: 30px;
  background-color: #707070;
  position: absolute;
  left: 10px;
  
}

.progress-bar .one::after,
.progress-bar .three::after {
  top: -34px;
}

.progress-bar .two::after {
  top: 24px;
}

.progress-bar .big {
  width: 36px;
  height: 36px;
  background-color: #F2F3F5;
}

.progress-bar-title {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  margin-bottom: 48px;
  margin-top: 30px;
}

.progress-bar-title>h4 {
  font-size: 24px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}

.progress-bar-title>h4:hover {
  color: var(--primary-color);
}

/* 主体内容 */
.main-news .business,
.main-news .trade,
.main-news .pkuvcl {
  max-width: 1180px;
  margin: 0 auto;
}

section .center {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #921D22;
}

ul li a {
  color: #202020;
}

/* 行业新闻 */
.main-news .business {
  margin-top: 50px;
}

.main-news .article {
  margin-top: 100px;
  margin-bottom: 160px;
}

.main-news .article>ul {
  margin-top: 40px;
  max-height: 310px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 20px;

  transition: .5s ease-in-out;
}

.main-news .article>ul li {
  width: 400px;
  height: 60px;
  padding: 10px;
  line-height: 40px;
  border-radius: 8px;

  display: grid;
  grid-template-columns: 1fr 5fr;
  overflow: hidden;
  margin: 0 auto;

  transition: 0.3s ease-in-out;
}

.main-news .article li a {
  display: inline-block;
  overflow: hidden;
  /* 将对象作为弹性伸缩盒子模型显示 */
  display: -webkit-box;
  /* 设置子元素排列方式 */
  -webkit-box-orient: vertical;
  /* 设置显示的行数，多出部分显示省略号 */
  -webkit-line-clamp: 1;

  transition: 0.35s;
}

.main-news .pkuvcl {
  text-align: center;
}

.main-news .pkuvcl ul {
  text-align: left;
}

.main-news .pkuvcl>span {
  display: inline-block;
  line-height: 28px;
  padding-top: 6px;
  color: #707070;
}

.article .time {
  margin-right: 10px;
  padding-right: 4px;
  display: grid;
  grid-template-rows: repeat(2, 1fr);

  line-height: 20px;
  border-right: 1px solid #ccc;
}

.article .time>span {
  text-align: center;
}

.small-font {
  font-size: 12px;
}

.article li:hover {
  background: var(--primary-color);
  color: #fff;
}

.article li:hover a {
  color: #fff;
}

.btn {
  width: 98%;
  margin: 0 auto;
  text-align: center;
}

.btn>button {
  width: 140px;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 10px;
  line-height: 40px;
  border-radius: 20px;
  background: #fff;
  border: 1px dashed var(--primary-color);
  color: var(--primary-color);
}

/* header变成fixed后页面向上平移*/
.sticky-trans {
  margin-top: 80px;
}
.open-trans {
  transform: translateY(80px);
}

.business .bus-ul,
.trade .trade-ul {
  transition: .4s;
}

@media (max-width: 1200px) {
  .main-news {
    min-width: 860px;
  }

  .main-news .business,
  .main-news .trade {
    max-width: 860px;
  }

  .title-news {
    width: 860px;
  }

  .news-h2 {
    width: 26%;
    padding: 68px 0 42px 0;
  }

  .title-news h2 {
    font-size: 28px;
  }
  
  .title-news h2::after {
    height: 7px;
    margin-top: 12px;
  }

  .progress-bar-title>h4 {
    font-size: 22px;
  }

  .main-news .business {
    margin-top: 30px;
  }
  
  .main-news .article {
    margin-bottom: 140px;
  }
}

@media (max-width: 900px) {
  .main-news {
    min-width: 560px;
  }

  .main-news .business,
  .main-news .trade {
    max-width: 560px;
    font-size: 14px;
  }

  .title-news {
    width: 560px;
    height: 360px;
  }

  .img {
    height: 500px;
  }

  .news-h2 {
    width: 30%;
    padding: 58px 0 36px 0;
    
  }

  .title-news h2 {
    font-size: 22px;
  }
  
  .title-news h2::after {
    height: 5px;
    margin-top: 10px;
  }

  /* 行业新闻 */
  .main-news .article>ul {
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
  
  }

  .main-news .article>ul li  {
    width: 90%;
  }

  /* .main-news .article li a {
    line-height: 50px;
  } */

  .main-news .article {
    margin-bottom: 100px;
  }

  .progress-bar-title>h4 {
    font-size: 18px;
  }

  .btn {
    width: 98%;
    margin: 0 auto;
    text-align: center;
  }
  
  .btn>button {
    width: 120px;
    height: 30px;
    line-height: 30px;
  }

}

@media (max-width: 576px) {
  .main-news {
    min-width: unset;
    width: 98%;
    margin: 0 auto;
  }

  /* header变成fixed后页面向上平移*/
  .sticky-trans {
    margin-top: 80px;
  }

  .main-news .business,
  .main-news .trade {
    max-width: 100%;
    font-size: 14px;
  }

  .title-news {
    width: 90%;
    height: 252px;
    background: rgba(255, 255, 255, 1);
  }

  .img {
    height: 332px;
  }

  .news-h2 {
    width: 32%;
    padding: 28px 0 16px 0;
    transform: translateY(-28%);
    margin-bottom: 10px;
  }

  .title-news h2 {
    font-size: 18px;
  }

  .progress-bar-title>h4 {
    font-size: 14px;
  }

  .title-news h2::after {
    height: 4px;
    margin-top: 4px;
  }

  /* 进度条 */
  .progress-bar {
    width: 94%;
  }

  .progress-bar .one::after,
  .progress-bar .three::after {
    height: 20px;
    left: 8px;
  }

  .progress-bar .one::after {
    top: -24px;
  }

  .progress-bar .three::after {
    top: 22px;
  }

  .progress-bar .big {
    width: 28px;
    height: 28px;
  }

  .progress-bar hr {
    margin-bottom: -14px;
  }

  .progress-bar-title {
    margin-bottom: 38px;
    margin-top: 20px;
  }

  .progress-bar ul>li {
    width: 16px;
    height: 16px;
  }

  .article .time {
    line-height: 16px;
  }

  .time .small-font {
    font-size: 10px;
  }

  .main-news .article>ul li {
    grid-template-columns: 1.2fr 5fr;
  }

  section .center {
    padding-bottom: 16px;
    margin: 0 20px;
  }


}


