.content-section {
  width: 100%;
  min-height: 100vh;
  background: url(/assets/img/pc/inner-page-bg.jpg) center top no-repeat;
  background-size: 100% auto;
  background-color: #f6f4f1;
  padding-top: 1px;
  margin-top: 0px;
  padding-bottom: 200px;
}

.content-section .container {
  max-width: 1300px;
  margin: 0 auto;
  min-height: 100vh;
  margin-top: 170px;
}

.video-inner-title {
  position: relative;
}

.video-inner-title .position{
  top: 50%;
  transform: translateY(-50%);
}

.video-title {
  display: inline-block;
  font-size: 36px;
  color: #1a1a1a;
  position: relative;
  line-height: 30px;
}

.video-title:after {
  display: inline-block;
  content: "TOP";
  font-size: 10px;
  background-color: #dc5128;
  color: white;
  padding: 1px 3px;
  border-radius: 4px;
  line-height: 10px;
  position: absolute;
  top: 2px;
  right: -30px;
  transform-style: preserve-3d;
  perspective: 1000px;
  backface-visibility: visible;
  /* animation: flipHorizontalWithPause 7.5s linear infinite; */
}

@keyframes flipHorizontalWithPause {
  /* First flip */
  0% {
    transform: rotateY(0deg);
  }
  10% {
    transform: rotateY(180deg);
  }
  20% {
    transform: rotateY(0deg);
  }

  /* Second flip */
  30% {
    transform: rotateY(180deg);
  }
  40% {
    transform: rotateY(0deg);
  }

  /* Pause for 3 seconds (40% to 100% of the animation time) */
  100% {
    transform: rotateY(0deg);
  }
}

.position {
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 0px;
}

.video-item {
  position: relative;
}

.hot-video-box {
  height: 460px;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 773fr 510fr;
  gap: 0px 20px;
  margin-top: 40px;
}

.hot-main-video {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.hot-video-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 20px;
}

.hot-video {
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.hot-video-box .video-container {
  position: relative;
  overflow: hidden;
  /* aspect-ratio: 16 / 9; */
  height: 100%;
}
.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.video-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 55px;
  border-radius: 50%;
  background: url(/assets/img/play.png) center center no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  cursor: pointer;
}

/* 鼠标悬浮效果 */
.video-item:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-wrapper:hover .video-container img,
.video-item:hover .video-container img {
  transform: scale(1.1);
}

.video-item:hover .video-overlay {
  opacity: 0;
}

.video-item:hover .video-view {
  opacity: 1;
}

/* .video-item:hover {
  border: 4px solid red;
  box-sizing: border-box;
} */

.video-info {
  height: 35px;
  line-height: 35px;
  font-size: 16px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.7);
  padding: 0 15px;
  z-index: 11;
}

.hot-main-video .video-info {
  height: 60px;
  font-size: 24px;
  line-height: 60px;
  padding: 0 40px;
}

.view-num {
  float: right;
  font-size: 14px;
}

.hot-main-video .view-num {
  font-size: 18px;
}

.view-num span {
  color: rgba(255, 255, 255, 0.5);
}

.hot-video-item-title {
  display: inline-block;
  width: calc(100% - 65px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hot-main-video .hot-video-item-title {
  width: calc(100% - 100px);
}

.video-nav {
  font-size: 18px;
  color: #808080;
  display: flex;
  border-bottom: 1px solid #d1d0ce;
  margin-top: 40px;
  position: relative;
}

.video-nav li {
  cursor: pointer;
  width: 156px;
  position: relative;
  text-align: center;
  line-height: 60px;
}

.video-nav li:hover,
.video-nav li.on {
  color: #b39273;
  border-bottom: 2px solid #b39273;
}

.video-nav span {
  position: absolute;
  right: 0px;
  top: 0px;
}

.video-wrapper {
  /* max-width: 310px; */
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  /* margin-bottom: 30px; */
}

.video-container {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  cursor: pointer;
  transition: border 0.3s ease;
  border-radius: 6px;
}

.video-container:hover {
  border: 4px solid #dc5128;
  box-sizing: border-box;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.play-button {
  width: 52px;
  height: 55px;
  background: url(/assets/img/play.png) center center no-repeat;
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -26px;
  margin-top: -27px;
  z-index: 10;
  transition: transform 0.3s ease;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container:hover .video-overlay {
  opacity: 0;
}

.video-container:hover .play-button {
  display: block;
}

.video-item-title {
  padding: 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222222;
  font-size: 14px;
  line-height: 24px;
  width: 100%;
  height: 48px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.video-wrapper:hover .video-item-title{
  color: #b39273;
}

.video-wrapper:hover .play-count,
.video-wrapper:hover .video-time{
  color: #c6a789;
}

.video-wrapper:hover .play-count::before{
  background: url(/assets/img/view-hl2.png) center center no-repeat;
  background-size: contain;
}

.video-metadata {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 10px;
  font-size: 14px;
  color: rgba(34, 34, 34, 0.5);
}

.play-count {
  line-height: 16px;
  position: relative;
  margin-left: 18px;
}

.play-count::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 16px;
  background: url(/assets/img/view.png) center center no-repeat;
  background-size: contain;
  margin-top: -1px;
  position: absolute;
  left: -22px;
}

.video-time {
  line-height: 16px;
  position: relative;
}

.alert-box {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0px;
  top: 0px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 20;
  display: none;
}

.video-close {
  width: 34px;
  height: 34px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  background: url(/assets/img/close.png) center center no-repeat;
  z-index: 2;
}

.video-close:hover {
  background: url(/assets/img/close-hl.png) center center no-repeat;
}

.alert-box iframe,
.alert-box video {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  max-width: 1300px;
  max-height: 700px;
  display: none;
}

.tougao{
  display: inline-block;
  position: absolute;
  right: 0;
  top: 18px;
  width: 99px;
  height: 30.6px;
  font-size: 18px;
  text-align: center;
  line-height: 30.6px;
  border-radius: 5px;
  color: #fff;
  /* background: url(/assets/img/tougao.png) center center no-repeat;
  background-size: contain; */
  background-color: #a58766;
  transition: 0.3s;
}

.tougao:hover{
  /* background: url(/assets/img/tougao-hl.png) center center no-repeat;
  background-size: contain; */
  top: 10px;
  background-color: #d45730;
}

@media screen and (max-width: 930px) and (min-width: 750px) {
  .hot-video-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .hot-video-list .video-item:nth-child(4),
  .hot-video-list .video-item:nth-child(5),
  .hot-video-list .video-item:nth-child(6) {
    display: none;
  }
}

@media screen and (max-width: 1080px) and (min-width: 750px) {
  .video-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 750px) {
  .content-section .container {
    padding: 0 0.38rem;
    margin-top: 0px;
  }
  .content-section {
    min-height: 100vh;
    background: url(/assets/img/h5/inner-page-bg.jpg) center top no-repeat;
    background-size: contain;
    background-color: #f6f4f1;
    padding-top: 1.2rem;
    margin-top: -0px;
    padding-bottom: 0.8rem;
  }
  .video-inner-title{
    border-bottom: 0.02rem solid #d1d0ce;
    line-height: 0.8rem;
    height: 0.8rem;
  }

  .video-title{
    line-height: 0.8rem;
    height: 0.8rem;
    font-size: 0.42rem;
    border-bottom: 0.04rem solid #a88462;
  }

  .video-title:after{
    top: 0.2rem;
  }

  .hot-video-box {
    grid-template-columns: repeat(1, 1fr);
    height: 3.88rem;
    margin-top: 0.4rem;
  }
  .hot-video-list {
    display: none;
  }

  .hot-main-video .video-info{
    height: 0.5rem;
    line-height: 0.5rem;
    padding: 0 0.4rem;
    font-size: 0.28rem;
  }

  .hot-main-video .view-num{
    font-size: 0.15rem;
    line-height: 0.5rem;
    vertical-align: top;
  }

  .view{
    width: 0.2rem;
    margin-top: 0.15rem;
    vertical-align: top;
  }

  .video-nav{
    border-bottom: 0px;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
  }

  .video-nav li{
    font-size: 0.26rem;
    width: calc(25% - 0.3rem);
    line-height: 0.6rem;
  }
  
  .video-nav li.on{
    border-bottom: 0px;
  }

  .tougao{
    width: 1.1rem;
    height: 0.4rem;
    top: 0.12rem;
    font-size: 0.24rem;
    line-height: 0.4rem;
    background-color: #d45730;
    /* background: url(/assets/img/tougao-hl.png) center center no-repeat;
    background-size: contain; */
    vertical-align: top;
  }

  .video-list{
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0.2rem;
    gap: 0.2rem;
  }

  .video-container{
    height: 1.84rem;
  }

  .video-item-title{
    font-size: 0.24rem;
    line-height: 0.36rem;
    height: 0.72rem;
  }
  .video-metadata{
    padding: 0 0.1rem 0.1rem;
  }
}
