.video{
  padding: 0.8rem 10% 1.5rem;
  background-color: #fff;
}
.video-banner .banner-list {
  justify-content: space-around;
}
.video-type-list{
  display: flex;
  align-items: center;
  overflow-x: auto;
}
.video-type-item{
  display: inline-block;
}
.video-type-btn{
  display: inline-block;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  background: #FFFFFF;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.45rem;
  color: #1A1A1A;
  line-height: 0.6rem;
  transition: all 0.3s;
}
.video-type-btn:hover {
  background: rgba(192, 25, 31, 1);
  color: #fff;
}
.video-type-item:not(:first-child) {
  margin-left: 0.8rem;
}
.video-type-item.active >.video-type-btn {
  background: rgba(192, 25, 31, 1);
  color: #fff;
}


.video-list{
  display: flex;
  flex-wrap: wrap;
  margin-top: -0.5rem
}
.video-item{
  position: relative;
  display: block;
  width: 32%;
  margin-top: 1.5rem;
}
.video-item-box::after {
  position: absolute;
  z-index: 10;
  content: '';
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  background-image: url(./../img/video/play.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
.video-item:hover .video-item-title{
  transform: translateY(-0.05rem);
  color: #C0191F;;
}
.video-item:hover .video-item-image{
  transform: scale(1.2);
}

.video-item:not(:nth-child(3n)) {
  margin-right: calc(4% / 2);
}
.video-item-box{
  position: relative;
  width: 100%;
  border-radius: 0.4rem;
  line-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.video-item-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s all;
}
.video-item-title{
  margin-top: 0.4rem;
  font-size: 0.5rem;
  font-weight: 700;
  color: #1A1A1A;
  line-height: calc(40rem / 40);
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .video-item{
    width: 48%;
  }
  .video-item:not(:nth-child(3n)) {
    margin-right: 0;
  }
  .video-item:nth-child(even) {
    margin-left: 4%;
  }
}

@media screen and (max-width: 500px) {
  .video {
    padding: 1rem 5%;
  }
  .video-item{
    width: 100%;
  }
  .video-item:nth-child(even) {
    margin-left: 0;
  }
}