/* 数字影音页面样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  background: url("../../images/b0a.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  flex-direction: row;
  /* min-height: 100vh; */
}
@media screen and (max-width: 768px) {
  body {
    background-image: url("../../images/mb1.jpg");
  }
}
/* 导航样式已移至 ../images/nav-styles.css */

.container {
  width: calc(100% - 200px);
  margin-left: 300px;
  max-width: 1200px;
  margin-top: 2%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container .wrapper {
  width: 100%;
  border-radius: 0px 30px 0px 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: self-start;
  background: rgba(255, 255, 255, 0.6);
}

/* 使用通用导航样式中的 container-with-nav 类也可以实现相同效果 */

.header {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.header img {
  max-width: 100%;
  height: auto;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.video-card {
  width: 100%;
  max-width: 535px;

  overflow: hidden;

  position: relative;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 比例 */
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.video-info {
  padding: 10px 0;
}

.video-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}


.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination a {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #0a87dc;
  color: white;
  border-color: #0a87dc;
}

.pagination a.active {
  background-color: #0a87dc;
  color: white;
  border-color: #0a87dc;
}

.pagination-ellipsis {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px;
  color: #333;
  text-decoration: none;
}

.total-count {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px;
  color: #333;
  font-size: 14px;
}

.navigation {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
}

.back-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* 响应式设计 - 导航相关样式已移至 ../images/nav-styles.css */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .container {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding: 10px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  /* 新增和修改的样式 */
  .container .wrapper {
    padding: 15px 10px;
    border-radius: 15px;
    width: 95%;
    margin: 0 auto;
  }
  
  .video-card {
    max-width: 100%;
    margin: 0 0 15px 0;
  }
  
  .video-title {
    font-size: 16px;
  }
  
  .pagination {
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  .pagination a {
    margin: 3px;
    padding: 4px 8px;
    font-size: 14px;
  }
  
  .total-count {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
  
  .video-thumbnail {
    border-radius: 8px;
    overflow: hidden;
  }
  
  .video-title {
    font-size: 16px;
    line-height: 1.3;
    margin-top: 8px;
  }
  
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pagination a, .total-count {
    margin: 3px;
    padding: 4px 8px;
    font-size: 13px;
  }
}

<!--ecms sync check [sync_thread_id="3bcee7cc5a424330844ab778a62d31c1" sync_date="2025-11-24 17:21:00" check_sum="3bcee7cc5a424330844ab778a62d31c1]-->