.resource {
  padding: 0.5rem 0 0.97rem;
  background: #F8F8F8;
  overflow: hidden;
  position: relative;
}
.resource .tab {
  margin-bottom: 0.48rem;
  justify-content: space-between;
  display: flex;
  align-items: center;
}
.resource .tab .tab_btn {
  column-gap: 0.1rem;
  display: flex;
  align-items: center;
}
.resource .tab .tab_btn a {
  background: #FFFFFF;
  border-radius: 0.1rem;
  padding: 0.18rem 0.3rem;
  font-family: OpenSans-SemiBold;
  font-weight: 600;
  font-size: 0.18rem;
  color: #000000;
}
.resource .tab .tab_btn a.active,
.resource .tab .tab_btn a:hover {
  background: #CE0010;
  color: #FFFFFF;
}
.resource .tab form {
  width: 4.88rem;
  display: flex;
  background: #FFFFFF;
  border-radius: 0.06rem;
  border: 0.01rem solid #DEDEDE;
  overflow: hidden;
}
.resource .tab form input {
  width: calc(100% - 0.6rem);
  padding: 0.16rem 0.19rem 0.2rem 0.19rem;
  font-family: OpenSans-Medium;
  font-weight: 500;
  font-size: 0.18rem;
  color: #ACACAC;
}
.resource .tab form button {
  width: 0.6rem;
  height: auto;
  background: #CE0010;
  border: 0.01rem solid #CE0010;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource .tab form button img {
  width: 0.24rem;
  height: 0.24rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.resource .word_list .word_item {
  margin-bottom: 0.4rem;
  padding: 0.51rem 0.47rem 0.51rem 0.53rem;
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.1rem 0.01rem rgba(0, 0, 0, 0.1);
  border-radius: 0.1rem;
  justify-content: space-between;
  display: flex;
  align-items: center;
}
.resource .word_list .word_item .box {
  max-width: calc(100% - 2rem);
  column-gap: 0.46rem;
  display: flex;
  align-items: center;
}
.resource .word_list .word_item .box > img {
  width: 0.64rem;
  height: 0.73rem;
  object-fit: contain;
}
.resource .word_list .word_item .box .txt {
  max-width: 98.6%;
}
.resource .word_list .word_item .box .txt .title {
  max-width: 100%;
  font-family: "OpenSans-Bold";
  font-weight: bold;
  font-size: 0.24rem;
  color: #393939;
}
.resource .word_list .word_item .box .txt .title:hover {
  color: #CE0010;
}
.resource .word_list .word_item .box .txt .key {
  margin-top: 0.17rem;
  column-gap: 0.2rem;
  display: flex;
  align-items: center;
}
.resource .word_list .word_item .box .txt .key span {
  font-family: OpenSans-Medium;
  font-weight: 500;
  font-size: 0.18rem;
  color: #ACACAC;
}
.resource .word_list .word_item .more:hover {
  background: #393939;
}
.resource .word_list .word_item .more:hover img{
    transform: none;
}

.resource .video_box {
  height: 4.88rem;
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.3rem 0.01rem rgba(0, 0, 0, 0.06);
  border-radius: 0.1rem;
  overflow: hidden;
  margin-bottom: 1.1rem;
  margin-top: 0.59rem;
  display: flex;
  justify-content: space-between;
}
.resource .video_box .video_img {
  width: calc(50% + 0.67rem);
  border-radius: 0.1rem;
  overflow: hidden;
  position: relative;
  /* 视频进度条 */
}
.resource .video_box .video_img #video-element {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
}
.resource .video_box .video_img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.44);
  pointer-events: none;
}
.resource .video_box .video_img.act::after {
  display: none;
}
.resource .video_box .video_img #video-poster {
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  pointer-events: none;
}
.resource .video_box .video_img #video-element::-webkit-media-controls-enclosure {
  opacity: 0;
}
.resource .video_box .video_img #video-element.act::-webkit-media-controls-enclosure {
  opacity: 1;
}
.resource .video_box .video_txt {
  width: calc(50% - 0.67rem);
  padding: 0.61rem 0.66rem 0.54rem 0.74rem;
  position: relative;
}
.resource .video_box .video_txt .video_title {
  width: 100%;
  font-family: OpenSans-Bold;
  margin-bottom: 0.32rem;
  font-weight: bold;
  font-size: 0.33rem;
  color: #393939;
}
.resource .video_box .video_txt .video_title:hover {
  color: #CE0010;
}
.resource .video_box .video_txt .video_info {
  font-family: OpenSans-Medium;
  font-weight: 500;
  font-size: 0.18rem;
  color: #ACACAC;
  display: flex;
  align-items: center;
  column-gap: 0.1rem;
}
.resource .video_box .video_txt .video_info i {
  width: 0.2rem;
  height: 0.2rem;
  background: url("../images/time1.png") no-repeat center center;
  background-size: contain;
}
.resource .video_box .video_txt .more {
  position: absolute;
  bottom: 0.68rem;
}
.resource .video_class {
  text-transform: uppercase;
  font-family: Poppins-Medium;
  font-weight: 500;
  font-size: 0.5rem;
  color: #393939;
  margin-bottom: 0.24rem;
}
.resource .news_list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.26rem;
  row-gap: 0.9rem;
}
.resource .news_list .news_item {
  width: calc((100% - 0.52rem) / 3);
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.1rem 0.01rem rgba(0, 0, 0, 0.1);
  border-radius: 0.1rem;
  overflow: hidden;
}
.resource .news_list .news_item .news_pic {
  width: 100%;
  height: 0;
  padding-bottom: 56.5%;
  position: relative;
  border-radius: 0.1rem;
  overflow: hidden;
}
.resource .news_list .news_item .news_pic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}
.resource .news_list .news_item .news_pic::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.56rem;
  height: 0.56rem;
  background: url(../images/play.png) no-repeat center center;
  background-size: contain;
  z-index: 2;
}
.resource .news_list .news_item .news_pic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.resource .news_list .news_item .news_txt {
  padding: 0.21rem 0.37rem 0.25rem;
}
.resource .news_list .news_item .news_txt .news_title {
  height: 0.7rem;
  font-family: OpenSans-SemiBold;
  font-weight: 600;
  font-size: 0.22rem;
  color: #393939;
  line-height: 1.54;
}
.resource .news_list .news_item .news_txt .news_time {
  margin-top: 0.11rem;
  column-gap: 0.12rem;
  font-family: OpenSans-Medium;
  font-weight: 500;
  font-size: 0.18rem;
  color: #ACACAC;
  display: flex;
  align-items: center;
}
.resource .news_list .news_item .news_txt .news_time i {
  width: 0.2rem;
  height: 0.2rem;
  background: url(../images/time1.png) no-repeat center center;
  background-size: contain;
}
.resource .news_list .news_item .news_txt:hover .news_title {
  color: #CE0010;
}
.resource .news_list .news_item .news_txt:hover .news_time {
  color: #393939;
}
.resource .news_list .news_item .news_txt:hover .news_time i {
  background: url(../images/time2.png) no-repeat center center;
  background-size: contain;
}
.resource .compage {
  margin-top: 1.04rem;
}
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.show {
  display: flex;
}
.video-modal .modal-video {
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  object-fit: contain;
}
.video-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
/* 修复悬浮时视频控件显示 */
#video-container:hover #video-element::-webkit-media-controls-enclosure {
  opacity: 1;
}








@media screen and (max-width: 1042px), screen and (max-device-width: 1042px) {
  .resource {
    padding: 80px 0;
  }
  .resource .tab{
    flex-wrap: wrap;
  }
  .resource .tab .tab_btn {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    column-gap: 10px;
  }
  .resource .tab .tab_btn a {
      flex: 0 0 auto;
      font-size: 16px;
      padding: 10px 16px;
  }

  .resource .tab form {
    width: 100%;
    margin-top: 20px;
  }
  .resource .tab form {
    width: 100%;
    margin-top: 20px;
  }
  .resource .tab form input{padding: 10px 16px;font-size: 16px;width: calc(100% - 52px);}
  .resource .tab form button{
    width: 52px;
  }
  .resource .tab form button img{
    width: 48%;
    height: auto;
  }
  .resource .word_list .word_item {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
  }
  .resource .word_list .word_item .box{
    width: calc(100% - 160px);
    column-gap: 16px;
  }
  .resource .word_list .word_item .box > img{
    width: 46px;
    height: auto;
  }
  .resource .word_list .word_item .box .txt .title{
    font-size: 20px;
  }
  .resource .word_list .word_item .box .txt .key{
    column-gap: 20px;
    margin-top: 10px;
  }
  .resource .word_list .word_item .box .txt .key span{
    font-size: 14px;
  }



  .resource .video_box {
    height: auto;
    margin: 30px 0 50px;
  }
   .resource .video_box .video_img #video-poster{
    width: 46px;
    height: 46px;
   }
  .resource .video_box .video_img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .resource .video_box .video_txt {
    padding: 20px;
  }
  .resource .video_box .video_txt .video_title{
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  .resource .video_box .video_txt .video_info{
    font-size: 16px;
  }
  .resource .video_box .video_txt .video_info i{
    width: 16px;
    height: 16px;
  }
  .resource .video_box .video_txt .more{
    bottom: 20px;
  }


   .resource .video_class {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .resource .news_list {
    gap: 16px;
  }
  .resource .news_list .news_item {
    width: calc(50% - 8px);
  }
  .resource .news_list .news_item .news_pic::after{
    width: 36px;
    height: 36px;  
  }
  .resource .news_list .news_item .news_txt{
    padding: 20px;
  }
  .resource .news_list .news_item .news_txt .news_title{
    font-size: 18px;
    height: 54px;
  }
  .resource .news_list .news_item .news_txt .news_time i{
    width: 16px;
    height: 16px;
  }
  .resource .news_list .news_item .news_txt .news_time{
    font-size: 14px;
    column-gap: 8px;
  }
}

@media screen and (max-width: 768px), screen and (max-device-width: 768px) {
    .resource {
        padding: 50px 0;
    }
    .resource .tab .tab_btn a{
      font-size: 14px;
    }


    .resource .video_box{
      display: block;
    }
    .resource .video_box .video_img,
    .resource .video_box .video_txt{
      width: 100%;
    }
    .resource .video_box .video_txt .video_title{
      font-size: 16px;
      margin-bottom: 16px;
    }
    .resource .video_box .video_txt .video_info{
      font-size: 14px;
    }
    .resource .video_box .video_txt .more{
      position: initial;
      margin-top: 20px;
    }


    .resource .video_class{
      font-size: 24px;
    }
    .resource .news_list .news_item{
      width: 100%;
    }
    .resource .news_list .news_item .news_txt .news_title {
        font-size: 16px;
        height: auto;
    }



    .resource .tab form input{padding: 8px 16px;font-size: 14px;width: calc(100% - 40px);}
  .resource .tab form button{
    width: 40px;
  }
  .resource .word_list .word_item{
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .resource .word_list .word_item .box{
    max-width: 100%;
    width: 100%;
  }
  .resource .word_list .word_item .box .txt .title{
    font-size: 16px;
    white-space: normal;
  }
  .resource .word_list .word_item .box .txt .key{
    flex-wrap: wrap;
  }
  .resource .word_list .word_item .box .txt .key span{
    font-size: 12px;
  }
}


