@font-face {
  font-family: "iconfont";
  /* Project id  */
  src: url('../fonts/iconfont.ttf') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: .02rem;
}

.icon-eye:before {
  content: "\e64c";
}

.icon-time:before {
  content: "\e695";
}

nav {
  background-color: #fafafa;
}

.secondary-news {
  margin-top: .24rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.secondary-news .item {
  flex: 1 0 49%;
  padding: .107rem .213rem;
  display: flex;
  height: 1.1rem;
  overflow: hidden;
  max-width: 49%;
  margin-bottom: .187rem;
}

.secondary-news .item:hover {
  background-color: #ffedf4;
  border-radius: .093rem;
  box-shadow: 0 0 .133rem rgba(247, 247, 247, 1);
}

.secondary-news .item .img-container {
  height: 100%;
  flex: 2;
  box-shadow: 0 0 .133rem rgba(247, 247, 247, 1);
}

.secondary-news .item .img-container img {
  width: 100%;
  height: 100%;
  border-radius: .093rem;
}

.secondary-news .content {
  flex: 3;
  overflow: hidden;
  height: 100%;
  position: relative;
  padding: .08rem;
}

.secondary-news .item h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .12rem;
}

.secondary-news .item .description-content {
  overflow: hidden;
}

.secondary-news .item p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .08rem;
  line-height: 1;
  margin-top: 0.08rem;
  color: #999;
}

.secondary-news .item span {
  font-size: .093rem;
  display: flex;
  align-items: center;
  position: absolute;
  bottom: .08rem;
  left: .08rem;
  color: #666;
}

.secondary-news .item span img {
  width: .107rem;
  height: .107rem;
  margin-right: .027rem;
}

.pagination {
  font-size: 14px;
  font-weight: bold;
  line-height: 22px;
  text-align: center;
  clear: both;
  display: inline-block;
  margin: .25rem auto;
}

.pagination a {
  text-decoration: none;
  color: #000;
  width: .25rem;
  height: .25rem;
  line-height: .25rem;
  background-color: transparent;
  border-radius: 50%;
  margin: 0 4px;
  display: block;
  float: left;
  -webkit-transition: 0.5s cubic-bezier(0.6, 0.2, 0.1, 1);
  transition: 0.5s cubic-bezier(0.6, 0.2, 0.1, 1);
}

.pagination a.active {
  background: #E50012;
  color: #fff;
  -webkit-transition: 0.5s cubic-bezier(0.6, 0.2, 0.1, 1);
  transition: 0.5s cubic-bezier(0.6, 0.2, 0.1, 1);
}

.pagination a:hover {
  text-decoration: none;
  color: #fff;
  background: #E50012;
  -webkit-transition: 0.5s cubic-bezier(0.6, 0.2, 0.1, 1);
  transition: 0.5s cubic-bezier(0.6, 0.2, 0.1, 1);
}


@media screen and (max-width: 750px) {

  .news-detail-container .news-info span,
  .secondary-news .item span {
    font-size: .2rem;
  }

  .secondary-news .item h3 {
    font-size: .3rem;
  }

  .secondary-news .item p {
    font-size: .2rem;
    line-height: 2;
  }

  .secondary-news .item {
    height: 2rem;
  }

  .secondary-news .item span img {
    width: 0.207rem;
    height: 0.207rem;
    margin-right: 0.06rem;
  }

  .secondary-news .item {
    flex: 1 0 100%;
    max-width: 100%;
  }

  .pagination a {
    width: .5rem;
    height: .5rem;
    line-height: .5rem;
  }

  .secondary-news .content {
    padding-left: .24rem;
  }

  .secondary-news .item span {
    left: .24rem;
  }
}

@media screen and (min-width: 750px) {
  .secondary-news.top .item:nth-child(-n+2) {
    display: block;
    height: 2.8rem;
  }

  .secondary-news.top .item:nth-child(-n+2) .img-container {
    height: 2.3rem;
  }

  .secondary-news.top .item:nth-child(-n+2) span {
    display: none;
  }

  .secondary-news.top .item:nth-child(-n+2) .content {
    display: flex;
    height: .493rem;
    align-items: center;
  }

  .secondary-news.top .item:nth-child(-n+2) .content a {
    display: block;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .secondary-news.top .item:nth-child(-n+2) .description-content {
    display: block;
    flex: 1;
    margin-left: .133rem;
  }

  .secondary-news.top .item:nth-child(-n+2) p {
    margin-top: 0;
  }

}