/* ========================================
   视频频道页样式 video.css
   对齐智库频道审美：全宽深色Hero + 卡片化 + 色块强调
   ======================================== */

/* =========================================
   Hero Banner
   ========================================= */
.vid-hero {
  background: linear-gradient(150deg, #070d1a 0%, #0e1f3d 30%, #162a50 60%, #0a1a2e 100%);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.vid-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 3%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(30,74,138,0.18) 0%, transparent 65%);
  border-radius: 50%;
}
.vid-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 5%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(240,165,0,0.06) 0%, transparent 65%);
  border-radius: 50%;
}
.vid-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.vid-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,74,138,0.25);
  border: 1px solid rgba(30,74,138,0.5);
  color: #7faee8;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.vid-hero-content h1 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
  font-family: "Noto Serif SC", serif;
  letter-spacing: -0.3px;
}
.vid-hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 32px;
}
.vid-hero-stats {
  display: flex;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.vid-hero-stat {
  text-align: center;
  padding: 0 32px 0 0;
  margin-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.vid-hero-stat:last-child { border-right: none; }
.vid-hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  font-family: "Noto Sans SC", sans-serif;
}
.vid-hero-stat span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
  display: block;
}
.vid-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.85;
}

/* =========================================
   主体区域
   ========================================= */
.main-content { padding: 36px 0 0; }

/* 分类导航 */
.video-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding: 14px 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
}

.vf-tabs {
  display: flex;
  gap: 4px;
}

.vf-tab {
  padding: 8px 18px;
  border: none;
  background: transparent;
  color: #555;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 500;
}

.vf-tab:hover {
  background: #e8f0fb;
  color: #1e4a8a;
}

.vf-tab.active {
  background: linear-gradient(135deg, #162a50, #1e4a8a);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(22,42,80,0.25);
}

.vf-sort { flex-shrink: 0; }

.sort-select {
  padding: 7px 14px;
  border: 1.5px solid #e0e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #555;
  background: #fafbfc;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  transition: border-color 0.2s;
}
.sort-select:focus { border-color: #1e4a8a; outline: none; }

/* 视频区块 */
.video-section {
  margin-bottom: 48px;
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f4f8;
}
.section-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e4a8a, #162a50);
  flex-shrink: 0;
}
.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  font-family: "Noto Serif SC", serif;
}
.section-badge {
  background: linear-gradient(135deg, #e8eef8, #d4e0f5);
  color: #1e4a8a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
  border: 1px solid rgba(30,74,138,0.15);
}
.section-more {
  font-size: 13px;
  color: #1e4a8a;
  font-weight: 600;
  text-decoration: none;
}
.section-more:hover { color: #162a50; }

/* =========================================
   精选推荐 — 大图布局
   ========================================= */
.featured-video {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 22px;
}

.fv-main {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(0,0,0,0.04);
}

.fv-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(22,42,80,0.12);
}

.fv-cover {
  position: relative;
  width: 100%;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fv-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #162a50, #1e4a8a);
  color: #fff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(22,42,80,0.3);
}

.fv-duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 3px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
}

.fv-info {
  padding: 22px 26px 24px;
}

.fv-info .fv-tags {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
}

.fv-info .tag {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, #e8eef8, #d4e0f5);
  color: #1e4a8a;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

.fv-info h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.45;
}
.fv-main:hover .fv-info h3 { color: #1e4a8a; }

.fv-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fv-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #999;
  padding-top: 12px;
  border-top: 1px solid #f5f5f5;
}

/* 侧边列表 */
.fv-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fv-side-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}

.fv-side-item:hover {
  box-shadow: 0 6px 18px rgba(22,42,80,0.1);
  transform: translateX(2px);
  border-color: rgba(30,74,138,0.1);
}

.fvs-cover {
  position: relative;
  width: 130px;
  height: 82px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fvs-dur {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.fvs-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fvs-info h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fv-side-item:hover .fvs-info h4 { color: #1e4a8a; }

.fvs-info span {
  font-size: 12px;
  color: #aaa;
}

/* 播放按钮 */
.play-btn-lg {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  transition: all 0.3s;
  border: 2px solid rgba(255,255,255,0.4);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.fv-main:hover .play-btn-lg {
  background: rgba(255,255,255,0.3);
  transform: scale(1.08);
}

.play-btn-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  transition: all 0.3s;
  border: 1.5px solid rgba(255,255,255,0.35);
}

.fv-side-item:hover .play-btn-sm,
.vgl-card:hover .play-btn-sm {
  background: rgba(255,255,255,0.3);
}

/* =========================================
   视频卡片网格
   ========================================= */
.video-grid-lg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vgl-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(0,0,0,0.04);
}

.vgl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(22,42,80,0.1);
  border-color: rgba(30,74,138,0.08);
}

.vgl-cover {
  position: relative;
  width: 100%;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vgl-dur {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}

.vgl-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}

.vgl-info {
  padding: 18px 18px 16px;
}

.vgl-info h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.55;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vgl-card:hover .vgl-info h4 { color: #1e4a8a; }

.vgl-info p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vgl-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #bbb;
  padding-top: 10px;
  border-top: 1px solid #f5f5f5;
}

/* 响应式 */
@media (max-width: 1200px) {
  .vid-hero-visual { display: none; }
  .vid-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .featured-video {
    grid-template-columns: 1fr;
  }
  .fv-side {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 4px;
  }
  .fv-side-item {
    min-width: 280px;
    flex-shrink: 0;
  }
}
@media (max-width: 768px) {
  .vid-hero { padding: 40px 0 36px; }
  .vid-hero-content h1 { font-size: 24px; }
  .vid-hero-stats { flex-wrap: wrap; gap: 16px; }
  .vid-hero-stat { padding: 0 16px 0 0; margin-right: 16px; }
  .video-filter-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .vf-tabs { flex-wrap: wrap; }
  .video-grid-lg { grid-template-columns: 1fr; }
  .fv-cover { height: 210px; }
  .vgl-cover { height: 165px; }
}
