/* heovl-vn.com — bảng màu ô liu, khung ứng dụng: lưới bốn cột và cột xếp hạng bên phải */

:root {
  --bg: #0b0d0a;
  --bg2: #0e110c;
  --card: #171b15;
  --card2: #1d2219;
  --line: #293024;
  --text: #e9ece4;
  --muted: #9aa392;
  --olive: #65a30d;
  --olive-dk: #4d7d0a;
  --olive-soft: rgba(101, 163, 13, 0.14);
  --radius: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", "Noto Sans Vietnamese", "Segoe UI", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.62;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--text); text-decoration: none; }

a:hover { color: var(--olive); }

h1, h2, h3, h4 {
  font-family: Oswald, "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0;
  color: #f2f4ee;
}

p { margin: 0 0 14px; }

.hv-w { width: min(1280px, 100% - 44px); margin-inline: auto; }

.hv-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--olive); color: #10130c; padding: 10px 16px; z-index: 90;
}
.hv-skip:focus { left: 12px; top: 12px; }

/* thanh trên */

.hv-top {
  background: #070906;
  border-bottom: 1px solid #1b2017;
  font-size: 12px;
  color: var(--muted);
}
.hv-top-in {
  display: flex; align-items: center; gap: 14px;
  min-height: 34px; flex-wrap: wrap;
}
.hv-18 {
  background: var(--olive);
  color: #0d100a;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
}
.hv-top-r { margin-left: auto; display: flex; gap: 16px; }
.hv-top b { color: #cfd6c6; font-weight: 600; }

/* đầu trang */

.hv-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 13, 10, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.hv-head-in {
  display: flex; align-items: center; gap: 22px;
  min-height: 68px;
}
.hv-logo {
  font-family: Oswald, sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 1px;
  flex: 0 0 auto;
}
.hv-logo i { font-style: normal; color: var(--olive); }
.hv-logo em {
  font-style: normal; font-family: "Noto Sans", sans-serif; font-size: 10px;
  letter-spacing: 0.18em; color: var(--muted); font-weight: 600; margin-left: 10px;
  text-transform: uppercase;
}
.hv-nav {
  display: flex; align-items: center; gap: 4px;
  min-width: 0; flex: 1 1 auto;
}
.hv-nav a {
  font-size: 14px; font-weight: 500; color: #cfd6c6;
  padding: 8px 10px; border-radius: 6px; white-space: nowrap;
}
.hv-nav a:hover { background: #141810; color: #fff; }
.hv-nav a.on { color: #fff; background: var(--olive-soft); box-shadow: inset 0 -2px 0 var(--olive); }
.hv-cta {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--olive); color: #0d100a;
  font-family: Oswald, sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 6px;
}
.hv-cta b {
  background: #0d100a; color: #b7e06a; font-size: 10px; font-weight: 700;
  padding: 1px 5px; border-radius: 3px; letter-spacing: 0.08em;
}
.hv-cta:hover { background: #74bb10; color: #0d100a; }

/* dải thẻ phân loại */

.hv-chipsbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.hv-chips {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 0; overflow-x: auto; scrollbar-width: none;
}
.hv-chips::-webkit-scrollbar { display: none; }
.hv-chips-lb {
  font-family: Oswald, sans-serif; font-size: 11px; letter-spacing: 0.18em;
  color: #7d8773; flex: 0 0 auto; padding-right: 4px;
}
.hv-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line); background: #12160f;
  color: #c9d1bf; font-size: 13px; padding: 5px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
}
.hv-chip b { color: var(--olive); font-size: 11px; font-weight: 600; }
.hv-chip.on { background: var(--olive-soft); border-color: #3f6412; color: #eef6df; }

/* hero */

.hv-hero { padding: 38px 0 10px; }
.hv-hero-in {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px; align-items: start;
}
.hv-eyebrow {
  font-family: Oswald, sans-serif; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #8d977f; margin-bottom: 12px;
}
.hv-eyebrow b { color: var(--olive); font-weight: 600; }
.hv-hero h1 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 14px; }
.hv-hero h1 em { font-style: normal; color: var(--olive); }
.hv-sub {
  font-size: 13px; color: #b3bda7; letter-spacing: 0.02em;
  border-left: 2px solid var(--olive); padding-left: 10px; margin-bottom: 16px;
}
.hv-lead p { color: #d3dac9; }
.hv-lead p:last-child { margin-bottom: 20px; }
.hv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hv-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--olive); color: #0d100a;
  font-family: Oswald, sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: 0.03em; padding: 12px 18px; border-radius: 6px;
}
.hv-btn i { font-style: normal; font-size: 10px; background: #0d100a; color: #b7e06a; padding: 1px 5px; border-radius: 3px; }
.hv-btn:hover { background: #78c011; color: #0d100a; }
.hv-btn.ghost { background: transparent; border: 1px solid #3a4530; color: #e3e9d8; }
.hv-btn.ghost:hover { border-color: var(--olive); color: #fff; background: #141a10; }
.hv-hint { font-size: 12px; color: #7f8975; }

.hv-shot { margin: 0; }
.hv-frame {
  position: relative; border: 1px solid #2f3a26; border-radius: 12px;
  overflow: hidden; background: #0a0c08;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.hv-shotimg { position: relative; }
.hv-frame img { width: 100%; aspect-ratio: 1440 / 1000; height: auto; object-fit: cover; }
.hv-fbadge {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(10, 13, 8, 0.88); color: #cfe6a4;
  border: 1px solid #3d5322; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
}
.hv-fq {
  position: absolute; top: 10px; right: 10px;
  background: var(--olive); color: #0d100a; font-family: Oswald, sans-serif;
  font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 4px;
}
.hv-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(9, 12, 7, 0.93);
  border-top: 1px solid #2c3524;
}
.hv-stats div { padding: 10px 12px; border-right: 1px solid #232b1d; }
.hv-stats div:last-child { border-right: 0; }
.hv-stats b {
  display: block; font-family: Oswald, sans-serif; font-size: 20px;
  color: #d9eeae; font-weight: 600; line-height: 1.1;
}
.hv-stats span { font-size: 11px; color: #98a28c; display: block; margin-top: 2px; }
.hv-figcap { font-size: 12px; color: #8b9581; margin-top: 10px; line-height: 1.5; }

/* đối tác */

.hv-partners { padding: 26px 0 8px; }
.hv-plabel {
  font-family: Oswald, sans-serif; font-size: 11px; letter-spacing: 0.2em;
  color: #7d8773; text-transform: uppercase; margin-bottom: 10px;
}
.hv-pgrid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hv-pcard {
  display: flex; align-items: center; justify-content: center;
  min-height: 88px; padding: 10px 14px;
  background: #12160f; border: 1px solid #232a1d; border-radius: 10px;
}
.hv-pcard img { height: 60px; width: auto; object-fit: contain; }
.hv-pcard:hover { border-color: #3c5220; background: #151a11; }

/* khung hai cột */

.hv-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) 318px;
  gap: 30px; padding: 34px 0 8px; align-items: start;
}
.hv-main { min-width: 0; }
.hv-aside { min-width: 0; position: sticky; top: 92px; }

.hv-sec { margin-bottom: 46px; }
.hv-sec-h {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 8px;
}
.hv-sec-h h2 { font-size: clamp(21px, 2.2vw, 27px); }
.hv-sec-h h2::before {
  content: ""; display: inline-block; width: 4px; height: 19px;
  background: var(--olive); margin-right: 10px; vertical-align: -2px;
}
.hv-sec-h span { font-size: 12px; color: #7f8975; letter-spacing: 0.08em; text-transform: uppercase; }
.hv-dek { color: #aeb8a2; font-size: 14px; margin-bottom: 16px; }

/* lưới bốn cột */

.hv-grid4 {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; margin-top: 16px;
}
.hv-card {
  background: var(--card); border: 1px solid #232a1d; border-radius: var(--radius);
  overflow: hidden; min-width: 0;
}
.hv-thumb { position: relative; background: #0a0c08; }
.hv-thumb img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.hv-dur {
  position: absolute; right: 7px; bottom: 7px;
  background: rgba(8, 10, 6, 0.88); color: #f0f3ea;
  font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 3px;
}
.hv-q {
  position: absolute; left: 7px; top: 7px;
  background: var(--olive); color: #0d100a;
  font-family: Oswald, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; padding: 1px 5px; border-radius: 3px;
}
.hv-q.dim { background: #3a4530; color: #d7e2c8; }
.hv-card-b { padding: 10px 11px 12px; }
.hv-card-b h3 {
  font-family: "Noto Sans", sans-serif; font-size: 13.5px; font-weight: 600;
  line-height: 1.38; color: #eef1e8; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hv-meta { font-size: 11.5px; color: #8f9a84; display: flex; flex-wrap: nowrap; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hv-meta b { color: #b9c4ab; font-weight: 600; }

/* cột xếp hạng */

.hv-rank {
  background: var(--card); border: 1px solid #232a1d; border-radius: 12px;
  overflow: hidden;
}
.hv-rank-h {
  padding: 12px 14px; border-bottom: 1px solid #252d1f;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #141810;
}
.hv-rank-h h2 { font-size: 16px; letter-spacing: 0.04em; }
.hv-rank-h i {
  font-style: normal; font-family: Oswald, sans-serif; font-size: 11px;
  color: var(--olive); letter-spacing: 0.12em;
}
.hv-rank ol { list-style: none; margin: 0; padding: 6px 0; counter-reset: r; }
.hv-rank li {
  counter-increment: r; display: flex; align-items: center; gap: 10px;
  padding: 7px 14px; font-size: 13px;
}
.hv-rank li::before {
  content: counter(r, decimal-leading-zero);
  font-family: Oswald, sans-serif; font-size: 12px; color: #6f7a64;
  width: 20px; flex: 0 0 auto;
}
.hv-rank li span { flex: 1 1 auto; min-width: 0; color: #cfd8c4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-rank li b { font-family: Oswald, sans-serif; font-weight: 500; font-size: 12.5px; color: var(--olive); flex: 0 0 auto; }
.hv-rank li:nth-child(-n+3)::before { color: var(--olive); }
.hv-rank-note { padding: 10px 14px 13px; border-top: 1px solid #252d1f; font-size: 11.5px; color: #8a947f; line-height: 1.5; }

.hv-note-card {
  margin-top: 16px; padding: 14px; border: 1px dashed #35402a; border-radius: 10px;
  background: #10140d; font-size: 12.5px; color: #a3ad96;
}
.hv-note-card b { color: #d5ddc6; }

/* danh mục */

.hv-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.hv-catcard {
  background: var(--card); border: 1px solid #232a1d; border-radius: 10px;
  padding: 16px 16px 14px; min-width: 0;
}
.hv-catcard h3 { font-size: 19px; margin-bottom: 4px; }
.hv-catcard .hv-cnum {
  font-family: Oswald, sans-serif; font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--olive); display: block; margin-bottom: 8px;
}
.hv-catcard p { font-size: 13.5px; color: #c2cbb6; margin-bottom: 8px; }
.hv-catcard .hv-use { font-size: 12.5px; color: #8f9a84; border-top: 1px solid #232a1d; padding-top: 8px; margin: 0; }

/* tường thẻ */

.hv-tagwall { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hv-tag {
  font-size: 12.5px; color: #c6d0b9; background: #12170f;
  border: 1px solid #262e1f; border-radius: 6px; padding: 5px 9px;
  display: inline-flex; gap: 7px; align-items: baseline;
}
.hv-tag b { font-family: Oswald, sans-serif; font-size: 11px; color: #7f9a4a; font-weight: 500; }

/* hàng đợi video (trang videos) */

.hv-vlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.hv-vitem {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 13px;
  background: var(--card); border: 1px solid #232a1d; border-radius: 10px; padding: 10px;
  min-width: 0;
}
.hv-vitem .hv-vthumb { position: relative; align-self: start; }
.hv-vitem .hv-vthumb img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 6px; }
.hv-vitem h3 {
  font-family: "Noto Sans", sans-serif; font-size: 13.5px; font-weight: 600;
  line-height: 1.36; margin-bottom: 5px; color: #f0f3ea;
}
.hv-vitem p { font-size: 12.5px; color: #a9b39c; margin: 6px 0 0; line-height: 1.5; }
.hv-vmeta { font-size: 11.5px; color: #8f9a84; display: flex; flex-wrap: wrap; gap: 8px; }
.hv-vmeta em { font-style: normal; color: var(--olive); font-weight: 600; }

/* bài viết */

.hv-art { max-width: 900px; }
.hv-art h2 { font-size: 25px; margin: 30px 0 10px; }
.hv-art h2:first-child { margin-top: 0; }
.hv-art h3 { font-size: 17px; margin: 20px 0 6px; font-family: "Noto Sans", sans-serif; font-weight: 700; }
.hv-art p { color: #cbd3c0; }
.hv-art .hv-dek { font-size: 15px; color: #b7c1ab; }
.hv-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin: 22px 0 6px;
}
.hv-facts div { background: var(--card); border: 1px solid #232a1d; border-radius: 9px; padding: 11px 12px; }
.hv-facts b { display: block; font-family: Oswald, sans-serif; font-size: 19px; color: #dcecbd; }
.hv-facts span { font-size: 11.5px; color: #8f9a84; }

/* hỏi đáp */

.hv-faq { margin-top: 18px; border-top: 1px solid var(--line); }
.hv-faq details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.hv-faq summary {
  cursor: pointer; font-family: "Noto Sans", sans-serif; font-weight: 600;
  font-size: 15px; color: #eef1e8; list-style: none;
}
.hv-faq summary::-webkit-details-marker { display: none; }
.hv-faq summary::before {
  content: "+"; color: var(--olive); font-family: Oswald, sans-serif;
  display: inline-block; width: 18px;
}
.hv-faq details[open] summary::before { content: "-"; }
.hv-faq p { font-size: 13.5px; color: #b3bda6; margin: 8px 0 2px 18px; }

/* chân trang */

.hv-foot {
  border-top: 1px solid var(--line); background: #080a06;
  margin-top: 30px; padding: 30px 0 26px;
}
.hv-foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.hv-foot h3 { font-size: 15px; margin-bottom: 8px; letter-spacing: 0.04em; }
.hv-foot p, .hv-foot li { font-size: 12.5px; color: #939d87; }
.hv-foot ul { list-style: none; margin: 0; padding: 0; }
.hv-foot li { margin-bottom: 6px; }
.hv-foot a { color: #c3cdb6; }
.hv-foot .hv-18box {
  border: 1px solid #3a4530; border-radius: 8px; padding: 12px 14px;
  background: #0f130c; font-size: 12.5px; color: #a7b19a;
}
.hv-copy {
  margin-top: 22px; padding-top: 14px; border-top: 1px solid #1b2017;
  display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11.5px; color: #77816c;
}

/* trang 404 */

.hv-404 { padding: 70px 0 40px; text-align: center; }
.hv-404 .hv-code {
  font-family: Oswald, sans-serif; font-size: clamp(80px, 16vw, 170px);
  line-height: 0.9; color: #1f2a15; letter-spacing: 0.02em;
  -webkit-text-stroke: 1px #3c5220;
}
.hv-404 h1 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.hv-404 p { color: #a9b39c; max-width: 560px; margin: 0 auto 20px; }

/* đáp ứng */

@media (max-width: 1080px) {
  .hv-shell { grid-template-columns: minmax(0, 1fr); }
  .hv-aside { position: static; }
  .hv-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hv-hero-in { grid-template-columns: minmax(0, 1fr); }
  .hv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hv-w { width: min(1280px, 100% - 30px); }
  .hv-head-in { flex-wrap: wrap; min-height: 0; padding: 9px 0; gap: 10px; }
  .hv-nav { order: 3; flex: 1 1 100%; flex-wrap: wrap; overflow: visible; row-gap: 2px; padding-bottom: 2px; }
  .hv-nav a { padding: 6px 9px; font-size: 13px; }
  .hv-cta { margin-left: auto; }
  .hv-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-vlist { grid-template-columns: minmax(0, 1fr); }
  .hv-foot-in { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .hv-nav a { padding: 6px 8px; font-size: 12.5px; }
  .hv-cta { font-size: 12.5px; padding: 8px 10px; }
  .hv-hero { padding-top: 24px; }
  .hv-stats b { font-size: 17px; }
  .hv-stats div { padding: 9px 9px; }
  .hv-vitem { grid-template-columns: 118px minmax(0, 1fr); }
  .hv-pcard { min-height: 72px; padding: 8px 8px; }
  .hv-pcard img { height: 44px; max-width: 100%; }
  .hv-top-r { display: none; }
}

/* fleet mobile nav legibility */
@media (max-width:640px){
  nav.hv-nav{flex-wrap:wrap !important;overflow:visible !important}
  nav.hv-nav a{font-size:15px !important;line-height:1.45 !important}
}
