/* ====================================================
   TRANG DANH SÁCH VIDEO
   ==================================================== */
:root {
  --bg-primary: #f4f2ec;
  --accent-orange: #ff5722;
  --text-dark: #111;
  --border-color: #d1cfc7;
}

body { background-color: var(--bg-primary); }
a { text-decoration: none; color: inherit; }

/* HERO SECTION */
.lv-hero {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 80px max(40px, 6vw) 60px max(100px, 8vw);
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.hero-sidebar {
  position: absolute; top: 0; left: max(20px, 3vw);
  display: flex; flex-direction: column; align-items: center;
}
.hero-sidebar .s-line { width: 1px; height: 100px; background: #111; margin-bottom: 20px; }
.hero-sidebar .s-text { font-family: var(--font-condensed); font-size: 14px; font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 16px; letter-spacing: 2px;}
.hero-sidebar .s-num { font-family: var(--font-condensed); color: var(--accent-orange); font-size: 24px; font-weight: 700; }
.hero-sidebar .s-sep { opacity: 0.5; margin: 4px 0; }
.hero-sidebar .s-year { font-family: var(--font-condensed); font-weight: 700; }

.hero-title h1 {
  font-family: var(--font-condensed);
  font-size: clamp(50px, 11vw, 180px);
  font-weight: 700; line-height: 0.8; letter-spacing: -4px;
  text-transform: uppercase; color: var(--text-dark);
}
.hero-desc { padding-bottom: 10px; max-width: 320px; }
.hero-desc p { font-size: 16px; line-height: 1.5; font-weight: 500; margin-bottom: 12px; }

/* FILTER BAR */
.lv-filter { background: #111; color: #fff; padding: 16px max(40px, 6vw); }
.filter-inner { display: flex; align-items: center; gap: 40px; }
.f-label { color: var(--accent-orange); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.f-links { display: flex; gap: 20px; flex-wrap: wrap; }
.f-links a { font-size: 13px; font-weight: 600; opacity: 0.7; letter-spacing: 1px; }
.f-links a:hover { opacity: 1; }
.f-links .sep { color: #555; }

/* FEATURED VIDEO (01) */
.lv-featured {
  display: grid; grid-template-columns: 55% 45%;
  border-bottom: 1px solid var(--border-color);
}
.feat-img { position: relative; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); display: block; min-height: 500px; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 90px; height: 90px; border: 2px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; padding-left: 6px; cursor: pointer;
  background: rgba(0,0,0,0.2); backdrop-filter: blur(2px);
}
.feat-content { padding: 60px max(40px, 5vw); display: flex; flex-direction: column; justify-content: center; }
.f-num { font-family: var(--font-condensed); font-size: 60px; font-weight: 700; color: var(--accent-orange); line-height: 1; margin-bottom: 16px; }
.f-meta { font-size: 12px; font-weight: 700; margin-bottom: 24px; color: #111; }
.f-meta .tag { color: var(--accent-orange); }
.f-meta .sep { color: #ccc; margin: 0 8px; font-weight: 400; }
.f-title {
  font-family: var(--font-condensed); font-size: clamp(36px, 4vw, 60px);
  font-weight: 700; line-height: 1; letter-spacing: -1px; margin-bottom: 24px;
}
.f-desc { font-size: 16px; line-height: 1.6; color: #444; }

/* GRID 3 COLUMNS (MA THUẬT CHECKERBOARD) */
.lv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.grid-item {
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
/* Xóa border phải của cột thứ 3 */
.grid-item:nth-child(3n) { border-right: none; }

/* BÍ KÍP ĐẢO MÀU: Áp dụng nền đen cho các item chẵn (03, 05, 07) */
.grid-item:nth-child(even) {
  background-color: #111;
  color: #fff;
}
/* Đổi màu chữ bên trong các ô đen */
.grid-item:nth-child(even) .g-title, 
.grid-item:nth-child(even) .g-meta { color: #fff; }
.grid-item:nth-child(even) .g-desc { color: #bbb; }
.grid-item:nth-child(even) .g-meta .sep { color: #555; }

.g-img { position: relative; height: 260px; }
.g-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); display: block; }
.play-btn-small {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border: 2px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; padding-left: 4px; cursor: pointer;
  background: rgba(0,0,0,0.3);
}

.g-content { padding: 40px; flex-grow: 1; }
.g-num { font-family: var(--font-condensed); font-size: 40px; font-weight: 700; color: var(--accent-orange); line-height: 1; margin-bottom: 12px; }
.g-meta { font-size: 11px; font-weight: 700; margin-bottom: 16px; color: #111; }
.g-meta .tag { color: var(--accent-orange); }
.g-meta .sep { color: #ccc; margin: 0 8px; font-weight: 400; }
.g-title { font-family: var(--font-condensed); font-size: 32px; font-weight: 700; line-height: 1.1; margin-bottom: 16px; text-transform: uppercase; letter-spacing: -0.5px; }
.g-desc { font-size: 14px; line-height: 1.6; color: #444; }

/* PAGINATION */
.pagination {
  padding: 60px 20px; display: flex; justify-content: space-between; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.pagination a { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #111; }
.p-numbers { display: flex; gap: 24px; align-items: center; }
.p-numbers a { font-family: var(--font-condensed); font-size: 20px; font-weight: 700; }
.p-numbers a.active { color: var(--accent-orange); border-bottom: 2px solid var(--accent-orange); padding-bottom: 2px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .lv-hero { flex-direction: column; align-items: flex-start; gap: 40px; padding: 60px 20px; }
  .hero-sidebar { position: relative; left: 0; flex-direction: row; gap: 10px; align-items: center; }
  .hero-sidebar .s-line { width: 40px; height: 1px; margin: 0; }
  .hero-sidebar .s-text { writing-mode: horizontal-tb; transform: none; margin: 0; }
  
  .lv-featured, .lv-grid { grid-template-columns: 1fr; }
  .grid-item { border-right: none !important; }
}