/* ====================================================
   CHI TIẾT VIDEO PAGE STYLES
   ==================================================== */
.cv-hero {
  background-color: var(--bg-primary);
  padding: 60px max(40px, 5vw) 40px max(120px, 10vw);
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
}
.r-num { font-family: var(--font-condensed); font-size: 42px; font-weight: 700; color: var(--accent-orange); line-height: 1; margin-bottom: 8px;}
.cv-title { font-family: var(--font-condensed); font-size: clamp(36px, 5vw, 68px); font-weight: 700; line-height: 1; text-transform: uppercase; color: #111; margin-bottom: 16px; letter-spacing: -1px; }
.meta { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #111; }
.meta .sep { color: #ccc; margin: 0 8px; font-weight: 400; }

.cv-hero-right {
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 20px;
}
.hero-quote { font-size: 15px; font-weight: 600; line-height: 1.6; color: #111; margin-bottom: 10px; max-width: 350px;}

/* VIDEO PLAYER */
.cv-player-section { background-color: var(--bg-primary); padding: 0 max(40px, 5vw) 60px; }
.video-container { position: relative; width: 100%; height: 70vh; min-height: 500px; background: #000; overflow: hidden; }
.video-container img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%); opacity: 0.8; }
.play-btn-huge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 100px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #111; font-size: 32px; padding-left: 6px; cursor: pointer; transition: transform 0.2s;
}
.play-btn-huge:hover { transform: translate(-50%, -50%) scale(1.1); }
.video-controls {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 60px;
  background: rgba(0,0,0,0.8); display: flex; align-items: center; padding: 0 24px; color: #fff; gap: 20px;
}
.vc-left { font-size: 14px; font-weight: 600; display: flex; gap: 16px; align-items: center; }
.vc-progress { flex-grow: 1; height: 4px; background: #555; position: relative; }
.progress-bar { width: 30%; height: 100%; background: var(--accent-orange); }
.vc-right { display: flex; gap: 16px; font-size: 18px; }

/* MAIN CONTENT */
.cv-main-content { background-color: var(--bg-primary); border-bottom: 1px solid var(--border-light); }
.cv-container { display: grid; grid-template-columns: 300px 1fr; max-width: 1200px; margin: 0 auto; }

.cv-sidebar { padding: 60px 40px; border-right: 1px solid var(--border-light); }
.side-title { font-family: var(--font-condensed); font-size: 18px; font-weight: 700; margin-bottom: 30px; text-transform: uppercase; }
.time-list { display: flex; flex-direction: column; gap: 24px; }
.time-item { border-bottom: 1px solid var(--border-light); padding-bottom: 16px; }
.t-stamp { color: var(--accent-orange); font-family: var(--font-condensed); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.t-desc { font-size: 14px; line-height: 1.5; color: #333; font-weight: 500; }

.cv-article { padding: 60px max(40px, 4vw); }
.cv-article h2 { font-family: var(--font-condensed); font-size: 32px; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; }
.cv-article p { font-size: 16px; line-height: 1.7; color: #444; margin-bottom: 24px; }

.article-quote-block {
  display: grid; grid-template-columns: 1fr 1fr; background: #111; color: #fff; margin-top: 40px;
}
.q-text { padding: 40px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.q-icon { color: var(--accent-orange); font-family: serif; font-size: 60px; line-height: 1; margin-bottom: 16px; }
.q-text blockquote { font-family: var(--font-condensed); font-size: 24px; font-weight: 700; line-height: 1.3; margin: 0 0 24px 0; }
.q-author { font-size: 12px; font-weight: 700; color: var(--accent-orange); letter-spacing: 1px; }
.q-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); display: block; }

/* FEATURES */
.cv-features { background-color: var(--bg-primary); border-bottom: 1px solid var(--border-light); }
.feat-header { max-width: 1200px; margin: 0 auto; padding: 60px 40px 0; }
.section-heading { font-family: var(--font-condensed); font-size: 24px; font-weight: 700; text-transform: uppercase; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; padding: 40px 0; }
.f-col { padding: 0 40px; border-right: 1px solid var(--border-light); }
.f-col:last-child { border-right: none; }
.f-col h3 { font-family: var(--font-condensed); font-size: 24px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.f-col p { font-size: 14px; line-height: 1.6; color: #444; }

/* AUTHOR */
.cv-author { background-color: #f4f2ec; border-bottom: 1px solid var(--border-light); padding: 40px; }
.author-inner { display: flex; align-items: center; gap: 40px; max-width: 1000px; margin: 0 auto; }
.a-img { width: 150px; height: 100px; flex-shrink: 0; }
.a-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.a-info h3 { font-family: var(--font-condensed); font-size: 24px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.a-info p { font-size: 13px; line-height: 1.6; color: #444; }
.a-sig { margin-left: auto; }

/* RELATED */
.cv-related { background-color: var(--bg-primary); padding: 60px 20px 80px; }
.related-header { max-width: 1200px; margin: 0 auto 40px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.view-all { font-family: var(--font-condensed); font-weight: 700; font-size: 14px; color: #111; text-decoration: none; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.r-img { position: relative; height: 200px; margin-bottom: 16px; }
.r-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.play-small { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.8); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; }
.r-text h4 { font-family: var(--font-condensed); font-size: 18px; font-weight: 700; line-height: 1.2; text-transform: uppercase; margin-bottom: 8px; }

@media (max-width: 1024px) {
  .cv-hero, .cv-container, .feat-grid, .related-grid, .author-inner { grid-template-columns: 1fr; }
  .article-quote-block { grid-template-columns: 1fr; }
  .cv-sidebar { border-right: none; border-bottom: 1px solid var(--border-light); }
  .f-col { border-right: none; border-bottom: 1px solid var(--border-light); padding: 24px 20px; }
  .a-sig { display: none; }
}
/* 1. Giữ lại dải nền đen full màn hình bọc ngoài video */
.cv-player-section {
    background-color: #000 !important; /* Trả lại nền đen quyền lực */
    padding: 60px 20px; /* Căn lề trên dưới cho video có không gian thở */
    width: 100%;
}

/* 2. Căn giữa khung video */
.video-container {
    width: 100%;
    max-width: 900px !important; /* Độ rộng tối đa của video, bro có thể tăng lên 1000px, 1200px tùy ý */
    margin: 0 auto;
}

/* 3. Khung ép tỷ lệ video chuẩn 16:9 */
.cfblogs-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Tỷ lệ vàng 16:9 */
    background-color: #000;
    border-radius: 8px; /* Bo góc một chút cho xịn */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Đổ bóng nhẹ phân tách với nền đen */
}

/* 4. Ép iframe (Youtube) bung full 100% trong khung 16:9 */
.cfblogs-video-embed iframe,
.cfblogs-video-embed object,
.cfblogs-video-embed embed,
.cfblogs-video-embed .wp-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}