/* 阴影效果 */
.video-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: 2; /* 阴影在图片上层 */
    color: #fff;
}

/* 悬停时阴影消失 */
.video-card:hover .video-shadow {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-card{
    width: 386px;
    height: 248px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;  
    display: block;
}
/* .card-video {
    width: 100%;
    height: 100%;
    overflow: hidden;
} */

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

.slider-container {
    width: 1200px;        /* 牢固窗口宽度 */
    height: 248px;       /* 牢固窗口高度 */
    overflow: hidden;    /* 隐藏超出部门 */
    position: relative;  /* 为后续箭头定位做准备 */
  }
  .slider-wrapper {
    display: flex;       /* 让所有图片水平排列 */
     /* 添加移动动画 */
    gap: 20px; 

  }


 /* 底部控制栏 */
 .carousel-controls {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: white;
    border-radius: 0 0 20px 20px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 15px;
    font-size: 1.5rem;
    color: #5A1E6E;
    border: 2px solid #f0f0f0;
}

.control-btn:hover {
    background-color: #5A1E6E;
    color: white;
    transform: scale(1.1);
    border-color: #5A1E6E;
}

.control-btn:active {
    transform: scale(0.95);
}
.flipped {
    transform: scaleX(-1);
  }




  /* 其他轮播图 */
.card{
    width: 386px;
    height: 248px;
    
}
.img-card{
    width: 386px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;  
    display: block;
}
.img-card img{
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}
.img-wrapper{
    display: flex; 
    gap: 20px; 
}
.img-container{
    width: 1200px;       
    height: 258px;      
    overflow: hidden;    
    
}





/* 其他轮播图轮播箭头 */
.wh1200 {
    position: relative;
	width: 1200px;
	margin: 0 auto;
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    color: #5A1E6E;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.left-arrow {
    left: -50px;
}

.right-arrow {
    right: -50px;
}
.left-arrow {
    transform: translateY(-50%) scaleX(-1);
}




    .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      /*background: #444;*/
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .swiper {
      width: 1200px;
      height: 220px;
      margin: 0 auto;
    }

    .swiper-outer {
      position: relative;
      width: 1200px;
      height: 220px;
      margin: 0 auto;
    }

    .swiper-outer .swiper-button-prev,
    .swiper-outer .swiper-button-next {
      position: absolute;
      background: none;
      top: 50%;
      transform: translateY(-50%);
    }

    /*.swiper-outer .swiper-button-prev {*/
    /*  left: -40px;*/
    /*}*/

    /*.swiper-outer .swiper-button-next {*/
    /*  right: -40px;*/
    /*}*/

    .append-buttons {
      text-align: center;
      margin-top: 20px;
    }

    .append-buttons button {
      display: inline-block;
      cursor: pointer;
      border: 1px solid #007aff;
      color: #007aff;
      text-decoration: none;
      padding: 4px 10px;
      border-radius: 4px;
      margin: 0 10px;
      font-size: 13px;
    }




/* 半透明遮罩 */
.video_mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 弹窗主体 */
.video_hub {
  width: 1280px;
  height: 720px;
  background: #000;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 视频 */
.video_hub video {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
}

/* 关闭按钮 */
.close_btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border-radius: 4px;
}


.video-card {
  display: flex;
  flex-direction: column;  /* 垂直排列图片和标题 */
  text-decoration: none;   /* 去掉 a 默认下划线 */
  width: 100%;
  cursor: pointer; /* 鼠标悬停显示手型 */
}

.video-card img {
  width: 100%;
  height: 220px;
  display: block;
  border-radius: 6px;      /* 可选圆角 */
  object-fit: cover;
}

.video-card .title {
  margin-top: 6px;         /* 图片和标题间距 */
  font-weight: bold;
  font-size: 16px;         /* 可凭据需要调整 */
  line-height: 2;
  color: #000;             /* 字体颜色 */
  text-align: left;        /* 左对齐 */
  overflow: hidden;        /* 超长文字隐藏 */
  white-space: nowrap;     /* 一行显示 */
  text-overflow: ellipsis; /* 超长显示省略号 */
}

.xcsp{
    margin-top: 80px;
}
.xcsp:first-child {
  /* 只作用于第一个 xcsp */
  margin-top: 0;
}