.container_box {
  width: 100%;
  padding-top: 0.5rem;
  overflow-x: hidden;
}

.content {
  width: 16rem;
  background: #fd0;
  z-index: -2;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-top: 1rem;
  border-radius: 0.12rem;
}

.conten_bg {
  width: 16rem;
  height: 100%;
  border-radius: 0.12rem;
  position: absolute;
  background: #fd0 url("../images/bg.png") repeat;
  z-index: -1;
  top: 0;
}

.tab {
  margin-top: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.tab_item {
  width: 1.3rem;
  height: 0.4rem;
  line-height: 0.4rem;
  text-align: center;
  font-size: 0.16rem;
  color: #000000;
  margin: 0 0.1rem;
  position: relative;
  cursor: pointer;
  background: #ffdd00;
}

.tab_item:hover,
.tab_item.active {
  background: #ffe74c;
}

.tab_item:hover .tab_box_bottom,
.tab_item.active .tab_box_bottom {
  background: #ffe74c;
}

.tab_box {
  width: 2.6rem;
  height: 0.8rem;
  transform: scale(0.5);
  transform-origin: 0 0;
  border-radius: 0.08rem;
  position: absolute;
  top: 0;
  left: 0;
  border: 0.02rem solid #af9700;
}

.tab_box_bottom {
  border: solid #af9700;
  border-width: 0 0.02rem 0.02rem 0;
  display: inline-block;
  padding: 0.08rem;
  transform: rotate(45deg) scale(0.5);
  -webkit-transform: rotate(45deg) scale(0.5);
  transform-origin: 0 0;
  position: absolute;
  bottom: -0.14rem;
  left: 0.64rem;
  background: #fd0;
  display: none;
}

.tab_item:first-child .tab_box_bottom {
  display: inline-block;
}

.article {
  padding: 0 1rem;
  margin-top: 0.3rem;
}

.article_con {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
  align-content: flex-start;
  flex-wrap: wrap;
  /*height: 7.28rem;*/
  margin-bottom: 0.2rem;
}

.article_item {
  width: 6.9rem;
  height: 1.66rem;
  background: #fff;
  border-radius: 0.06rem;
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  padding: 0.2rem;
  box-sizing: border-box;
}

.article_item .img {
  width: 2.24rem;
  height: 1.26rem;
  border-radius: 0.06rem;
  margin-right: 0.2rem;
}

.article_item .img img {
  width: 100%;
  height: 100%;
}

.article_date {
  width: 0.8rem;
  height: 0.9rem;
  border-radius: 0.06rem;
  background: #fd0;
  padding-top: 0.12rem;
  text-align: center;
  margin-right: 0.2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.article_date span {
  font-family: TrebuchetMS;
  font-size: 0.4rem;
  line-height: 0.47rem;
  color: #000000;
}

.article_date p {
  font-family: TrebuchetMS;
  font-size: 0.14rem;
  line-height: 0.28rem;
  color: #000000;
}

.article_info {
  width: 3.97rem;
  display: flex;
  flex-direction: column;
}

.article_info h2 {
  font-size: 0.2rem;
  line-height: 0.28rem;
  max-height: 0.56rem;
  color: #000000;
  margin-bottom: 0.06rem;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article_item:hover h2 {
  text-decoration: underline;
}

.article_info p {
  font-size: 0.14rem;
  color: #999999;
  line-height: 0.20rem;
  max-height: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article_info span {
  font-size: 0.14rem;
  color: #999999;
  margin-top: 0.06rem
}

#pagination {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem
}

#pagination * {
  width: 0.5rem;
  height: 0.5rem;
  min-width: 0.5rem;
  border-radius: 0.25rem;
  background: transparent;
  line-height: 0.5rem;
  font-size: 0.2rem;
  color: #000000;
  border: 0.01rem solid #000;
  box-sizing: border-box;
  text-align: center;
  display: block;
  margin: 0 5px;
}

#pagination *.current {
  border: 0
}

#pagination *.current.prev,
#pagination *.current.next {
  border: 1px solid rgba(0, 0, 0, .3);
  color: rgba(0, 0, 0, .3);
}

@media screen and (max-width: 1600px) {

  .content,
  .conten_bg {
    width: 14rem
  }

  .article_item {
    box-sizing: border-box;
    width: 5.9rem
  }
}

@media screen and (max-width: 1400px) {

  .content,
  .conten_bg {
    width: 12rem
  }

  .article {
    padding: 0 .6rem;
  }

  .article_item {
    box-sizing: border-box;
    width: 5.3rem
  }
}

@media screen and (max-width: 1200px) {

  .content,
  .conten_bg {
    width: 10rem
  }

  .article_item {
    box-sizing: border-box;
    width: 4.3rem
  }

  .article_item .img {
    width: 1.3rem;
    height: 1.125rem;
  }

  .article_info {
    width: 2.5rem
  }

  .article_info p {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .article_item {
    height: 1.52rem
  }
}

@media screen and (max-width: 1023px) {
  .container_box {
    width: 100%;
    padding: 0;
  }

  .content {
    width: 100%;
    height: auto;
    padding-top: .6rem;
  }
  
   .tab {
    margin-top: 0.2rem;
  }

  .conten_bg {
    width: 100%;
    padding-bottom: 3rem;
    position: absolute;
    background: #fd0 url("../images/bg.png") repeat;
    background-size: 35%;
    z-index: -1;
  }

  .article {
    padding: 0 0.48rem 0.48rem;
    margin-top: 0.16rem
  }

  .article_con {
    height: auto;
    margin-bottom: 0.2rem;
  }

  .article_item {
    width: 100%;
    padding: 0.24rem;
    height: 1.3rem;
    box-sizing: unset;
  }

  .article_item .img {
    width: 2.24rem;
    height: 1.26rem;
  }

  .article_date {
    width: 0.9rem;
    height: 0.8rem;
    padding-top: 0.05rem;
  }

  .article_info {
    flex: 1;
  }

  .article_info p {
    /* display: none; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 0.22rem;
    font-size: 0.16rem;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  .article_info h2 {
    height: 1.56rem;
    font-size: 0.26rem;
    line-height: 0.37rem;
    max-height: 0.74rem;
    margin-bottom: 0.09rem;
  }
}

@media screen and (max-width: 668px) {
  .article {
    padding: 0 0.16rem 0.16rem;
  }

  .article_item {
    box-sizing: border-box;
    padding: 0.16rem;
    height: 1.14rem;
  }

  .article_item .img {
    height: 0.82rem;
    width: 0.9rem;
    display: flex;
  }

  .article_info h2 {
    font-size: 0.18rem;
    line-height: 0.24rem;
    height: 0.48rem;
  }.article_info p {
    display: none;
}.article_info span {
  font-size: 0.12rem;
}
  .tab_item{
    width:20%;
    margin:0 1%
  }
  .tab_box{
    width: 200%;
    height: 0.8rem;
  }
  .tab_box_bottom{
    left:50%
  }
#pagination * {
  width: 0.3rem;
  height: 0.3rem;
  min-width: 0.3rem;
  border-radius: 0.15rem;
  line-height: 0.3rem;
  font-size: 0.16rem;
}
}