/* media.css - 视频列表专用样式 */
.vp-reset {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.vp-main-wrapper {
  margin: 0 auto 3rem 0;
  padding: 20px;
}
.vp-main-heading {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 2.5rem;
}
.vp-page-description {
  color: #7f8c8d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.vp-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.vp-single-item {
  background-color: white;
  /* border-radius: 12px; */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.vp-single-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.vp-image-wrapper {
  position: relative;
  width: 100%;
  height: 315px;
  overflow: hidden;
}
.vp-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vp-single-item:hover .vp-preview-image {
  transform: scale(1.05);
}
.vp-hover-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.vp-single-item:hover .vp-hover-layer {
  opacity: 1;
}
.vp-play-button {
  color: white;
  font-size: 3.5rem;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vp-item-content {
  padding: 20px;
}
.vp-time-info {
  color: #7f8c8d;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.vp-time-icon {
  margin-right: 8px;
}
.vp-player-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}
.vp-player-container {
  width: 90%;
  max-width: 1000px;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.vp-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #2c3e50;
  color: white;
}
.vp-player-title {
  font-size: 1.4rem;
  font-weight: 600;
}
.vp-close-player {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.vp-close-player:hover {
  color: #e74c3c;
}
.vp-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 宽高比 */
  height: 0;
  overflow: hidden;
}
.vp-full-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vp-player-footer {
  padding: 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #eaeaea;
}
.vp-player-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}
.pagination-table-wrapper {
  margin: 40px 0;
}
.pagination-table {
  border-collapse: separate;
  border-spacing: 8px;
  margin: 0 auto 2rem auto;
}
.pagination-table table {
  margin: 0 auto;
}
.pagination-table td {
  padding: 0;
}
.pagination-table td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  height: 100%;
  padding: 0;
  font-size: 16px;
  /* font-weight: 500; */
  color: #555;
  background-color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}
.pagination-table td {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
  /* font-weight: 500; */
  color: #555;
  background-color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  margin: 0 4px;
  flex-direction: column-reverse;
  align-content: flex-start;
}
.pagination-table .htfydqpage {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
  font-weight: 600;
}
.pagination-table td a:hover {
  background-color: #f0f7ff;
  border-color: #3498db;
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.15);
}
/* 移动端适配 */
@media (max-width: 768px) {
  .vp-player-title {
    font-size: 1rem;
  }
  .pagination-div {
    gap: 6px;
    padding: 12px;
  }
  .page-item {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
  .pagination-table {
    border-spacing: 6px;
  }
  .pagination-table td a, .pagination-table td {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .pagination-div {
    gap: 4px;
    padding: 10px;
  }
  .page-item {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .pagination-table {
    border-spacing: 4px;
  }
  .pagination-table td a, .pagination-table td {
    min-width: 30px;
    height: 30px;
    padding: 0 5px;
    font-size: 12px;
  }
}
/* 响应式设计 */
@media (max-width: 1025px) {
  .vp-item-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2em;
  }
}
@media (max-width: 1024px) {
  .vp-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .vp-main-heading {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .plistcont {
    padding-bottom: 30px;
  }
  .vp-item-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2em;
  }
  .vp-items-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vp-image-wrapper {
    height: 220px;
  }
  .vp-main-heading {
    font-size: 1.9rem;
  }
  .vp-page-description {
    font-size: 1rem;
  }
  .vp-main-wrapper {
    padding: 10px;
  }
}
/* 页脚样式 */
.vp-page-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
  color: #7f8c8d;
  font-size: 0.9rem;
}
/* 加载动画 */
.vp-loader {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(52, 152, 219, 0.3);
  border-radius: 50%;
  border-top-color: #3498db;
  animation: vp-rotate 1s ease-in-out infinite;
}
@keyframes vp-rotate {
  to {
    transform: rotate(360deg);
  }
}
/* 视频容器样式 */
.media-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}
.media-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
}
.media-title {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 2.5rem;
}
.media-subtitle {
  color: #7f8c8d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
/* 网格布局 */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
/* 媒体卡片样式 */
.media-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}
.media-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.media-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.media-thumb-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.media-item:hover .media-thumb {
  transform: scale(1.05);
}
.media-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.media-item:hover .media-play-overlay {
  opacity: 1;
}
.media-play-icon {
  color: white;
  font-size: 3.5rem;
  background-color: rgba(52, 152, 219, 0.8);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.media-info {
  padding: 20px;
}
.media-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}
.media-date {
  color: #7f8c8d;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.media-date-icon {
  margin-right: 8px;
}
/* 模态框样式 */
.media-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}
.media-modal-content {
  width: 90%;
  max-width: 1000px;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.media-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #2c3e50;
  color: white;
}
.media-modal-title {
  font-size: 1.4rem;
  font-weight: 600;
}
.media-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.media-close-btn:hover {
  color: #e74c3c;
}
.media-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 宽高比 */
  height: 0;
  overflow: hidden;
}
.media-video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-modal-footer {
  padding: 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #eaeaea;
}
.media-modal-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}
.media-footer {
  text-align: center;
  padding: 30px;
  color: #7f8c8d;
  border-top: 1px solid #eaeaea;
  margin-top: 40px;
}
/* 响应式布局 */
@media (max-width: 1024px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .media-title {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .media-thumb-container {
    height: 220px;
  }
  .media-title {
    font-size: 1.9rem;
  }
  .media-subtitle {
    font-size: 1rem;
  }
  .media-container {
    padding: 10px;
  }
}
@media (max-width: 480px) {
  .media-modal-content {
    width: 95%;
  }
  .media-modal-header {
    padding: 15px;
  }
  .media-modal-title {
    font-size: 1.2rem;
  }
  .media-play-icon {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
}