/* PBL 页面样式 */

.pbl-content {
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
}

.curr_title {
  /* 统一样式见 newi2style.css */
}

.curr_titleen {
  /* 统一样式见 newi2style.css */
}

/* 视频网格容器 */
.video-container {
  width: 78%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1400px;
  padding-bottom: 100px;
}

/* 单个视频卡片 */
.video-card {
  margin-top: 60px;
  width: calc((100% - 40px) / 2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-card:hover .video-card-play {
  transform: translate(-50%, -50%) scale(1.1);
}

/* 视频封面 */
.video-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

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

/* 视频播放器（初始隐藏） */
.video-card-player {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: none;
  border-radius: 12px;
  object-fit: cover;
  background: #000;
}

/* 播放按钮 */
.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.video-play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid #a40001;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

/* 视频标题 */
.video-card-title {
  padding: 12px 16px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
}

/* 分页圆点 */
.video-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.video-pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  padding: 0;
}

.video-pagination-dot:hover {
  background: #bbb;
}

.video-pagination-dot.active {
  background: #a40001;
  width: 8px;
}

/* 1600px 以下 */
@media screen and (max-width: 1600px) {
  .video-container {
    width: 82%;
  }
}

/* 1440px 以下 */
@media screen and (max-width: 1440px) {
  .video-container {
    width: 86%;
  }
  .video-card {
    margin-top: 50px;
    width: calc((100% - 32px) / 2);
  }
}

/* 1280px 以下 */
@media screen and (max-width: 1280px) {
  .video-container {
    width: 90%;
  }
  .video-card {
    margin-top: 40px;
    width: calc((100% - 24px) / 2);
  }
}

/* 768px 以下 */
@media screen and (max-width: 768px) {
  .pbl-content {
    padding: 40px 16px;
  }

  .video-container {
    width: 92%;
    padding-bottom: 60px;
  }

  .video-card {
    margin-top: 30px;
    width: 100%;
  }

  .video-card-title {
    font-size: 13px;
    padding: 10px 12px;
  }

  .video-card-play {
    width: 48px;
    height: 48px;
  }

  .video-play-icon {
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }

  .video-pagination {
    margin-top: 20px;
  }
}
