/* 推荐视频样式 */
.main-content>div {
  width: 100%;
}

.recommended-video-wrapper {
  padding-top: 40px;
}

.recommended-video-content {
  width: 100%;
  position: relative;
}

/* Swiper 轮播样式 */
.recommended-video-swiper {
  width: 100%;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(27, 62, 85, 0.15);
}

.recommended-video-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.recommended-video-swiper .swiper-slide {
  width: 100%;
  flex-shrink: 0;
}

/* 轮播分页器样式 */
.recommended-video-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  gap: 10px;
}

.recommended-video-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: #EEEEEE;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.recommended-video-pagination .swiper-pagination-bullet-active {
  background: #8B7754;
}

.video-card .video-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.video-card-container {
  display: flex;
  align-items: stretch;
  gap: 36px;
  padding: 24px;
  width: 100%;
}

.video-preview {
  flex: 1;
  min-width: 0;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.thumbnail-image {
  position: absolute;
  top: 0;
  left: 0;
  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: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  pointer-events: none;
  background-image: url('../../image/video-playback.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.video-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.video-header {
  width: 100%;
}

.video-title {
  font-weight: 500;
  font-size: 24px;
  color: #081B2D;
  margin: 0;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.video-description {
  font-weight: 400;
  font-size: 16px;
  color: #777777;
  margin: 0;
  width: 100%;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 300;
  font-size: 14px;
  color: #777777;
  width: fit-content;
  font-style: italic;
}

/* 视频卡片样式结束 */
/* 推荐视频样式结束 */


/* 全部视频列表样式 */
.video-list-wrapper {
  margin-top: 48px;
}

/* 搜索筛选区域样式 */
.search-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* 视频列表区域样式 */
.video-list-section {
  margin: 40px 0 76px;
}

.video-list-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.video-list-item {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  box-shadow: 0px 2px 12px 0px rgba(27, 62, 85, 0.15);
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.3s ease;
  flex: 0 0 calc((100% - 48px) / 3);
  box-sizing: border-box;
  padding: 16px 16px 32px;
}

.video-item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.video-list-item-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.video-list-item-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}


.video-list-item-thumbnail .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}

.video-list-item-thumbnail .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  pointer-events: none;
  background-image: url('../../image/video-playback.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.video-list-item-content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.video-item-header {
  flex: 1;
}

.video-list-item-title {
  font-weight: 500;
  font-size: 20px;
  color: #1D1D21;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}


.video-list-item-date {
  font-weight: 300;
  font-size: 14px;
  color: #777777;
  font-style: italic;
}

/* 全部视频列表样式结束 */

@media (max-width: 1280px) {
  .video-title {
    font-size: 20px;
  }

  .video-description {
    font-size: 14px;
  }

  .video-list-item-title {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .recommended-video-wrapper {
    padding-top: 24px;
  }

  .recommended-video-swiper {
    box-shadow: none;
  }

  .video-card-container {
    padding: 0;
    flex-direction: column;
    gap: 16px;
  }

  .video-title {
    font-size: 16px;
  }

  .video-description {
    display: none;
  }

  .video-list-wrapper {
    margin-top: 16px;
  }

  .all-video-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .date-range-wrapper,
  .search-input-wrapper {
    flex: 1;
  }

  .video-list-section {
    margin: 16px 0 60px;
  }

  .video-list-content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
  }

  .video-list-item {
    flex: 0 0 100%;
    padding: 16px 16px 20px;
  }

  .video-list-item-content {
    margin-top: 12px;
  }
}