/* topdoanhnghiep.com - Navy #0D2B55 + crimson accent, gold reserved for rank medals */

/* Self-hosted fonts (thay Google Fonts CDN - bo render-blocking cross-origin) */
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/bvp-400-vi.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/bvp-400.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/bvp-500-vi.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/bvp-500.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/bvp-600-vi.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/bvp-600.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/bvp-700-vi.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/bvp-700.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/lora-vi.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/lora.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora"; font-style: italic; font-weight: 600; font-display: swap;
  src: url(/fonts/lora-italic-vi.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Lora"; font-style: italic; font-weight: 600; font-display: swap;
  src: url(/fonts/lora-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback co chinh metric (size-adjust) de font swap khong gay layout shift (CLS) */
@font-face {
  font-family: "Lora Fallback";
  src: local("Times New Roman");
  size-adjust: 115.2%; ascent-override: 87.33%; descent-override: 23.78%; line-gap-override: 0%;
}
@font-face {
  font-family: "Be Vietnam Pro Fallback";
  src: local("Arial");
  size-adjust: 110.36%; ascent-override: 90.61%; descent-override: 24.01%; line-gap-override: 0%;
}

:root {
  --navy: #0D2B55;
  --navy-deep: #081D3D;
  --navy-ink: #16263E;
  --red: #B01E2F;
  --red-dark: #8E1826;
  --gold: #8A6A10;        /* vang dong toi - dat tuong phan 4.5:1 tren nen trang (WCAG AA) */
  --gold-bright: #C9A227; /* vang sang - chi dung tren nen navy/toi */
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --line: #DCE3EC;
  --text: #1C2940;
  --muted: #5A6A82;
  --shadow: 0 10px 30px -12px rgba(13, 43, 85, 0.18);
  --radius-card: 18px;
  --radius-inner: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Be Vietnam Pro Fallback", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1, h2 { font-family: "Lora", "Lora Fallback", "Times New Roman", serif; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid rgba(176, 30, 47, 0.45); outline-offset: 2px; border-radius: 4px; }
strong { font-variant-numeric: tabular-nums; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.kicker {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.kicker-light { color: #E8B7BE; }

/* ---------- header ---------- */
.topbar { background: var(--navy-deep); color: #B9C6DA; font-size: 0.8rem; }
.topbar a { color: #B9C6DA; }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }

.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 18px -8px rgba(8, 29, 61, 0.55); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo:hover { color: #fff; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--red); color: #fff; border-radius: 9px;
  font-family: "Lora", "Lora Fallback", serif; font-weight: 700; font-size: 1.35rem;
}
.logo-text { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.logo-text em { font-style: normal; font-weight: 400; opacity: 0.85; margin-left: 4px; }

/* Nav cuộn ngang khi nhiều danh mục — không wrap vỡ, ẩn scrollbar, mượt trên cảm ứng */
.main-nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; overflow-x: auto;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: #C8D4E5; padding: 8px 13px; border-radius: 8px; font-size: 0.92rem; font-weight: 500;
  flex-shrink: 0; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a.is-active { color: #fff; background: rgba(255, 255, 255, 0.12); }
/* CTA ghim ngoài vùng cuộn — luôn hiển thị bên phải, không bị danh mục đẩy đi */
.nav-cta {
  flex-shrink: 0; white-space: nowrap;
  padding: 8px 16px; border-radius: 8px; font-size: 0.92rem; font-weight: 600;
  background: var(--red); color: #fff !important;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* ---------- hero ---------- */
.hero {
  /* lớp 1: vùng tối navy sâu góc trên phải tạo chiều sâu (không dùng glow màu accent — neon/AI vibe);
     lớp 2: overlay navy bảo vệ vùng chữ; lớp 3: ảnh khách (public/images/hero.webp);
     chưa có ảnh thì các lớp màu tự đứng một mình, không vỡ layout */
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(8, 29, 61, 0.6), transparent 60%),
    linear-gradient(100deg, rgba(13, 43, 85, 0.8) 0%, rgba(13, 43, 85, 0.6) 40%, rgba(8, 29, 61, 0.2) 100%),
    url('/images/hero.webp') center / cover no-repeat,
    var(--navy);
  color: #fff;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 118px);
  position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1;
}
.hero h1 { color: #fff; margin-bottom: 0.45em; text-shadow: 0 2px 24px rgba(4, 16, 36, 0.55); }
.hero-sub, .hero .kicker-light { text-shadow: 0 1px 12px rgba(4, 16, 36, 0.5); }
.hero h1 em { font-style: italic; color: #E7C75C; }
.hero-sub { color: #C7D3E4; font-size: 1.07rem; max-width: 34em; margin-bottom: 28px; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-cats a {
  color: #DCE5F1; border: 1px solid rgba(255, 255, 255, 0.25); padding: 7px 15px;
  border-radius: 8px; font-size: 0.88rem; font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-cats a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); color: #fff; transform: translateY(-1px); }
.hero-cats--dark a { color: var(--navy); border-color: var(--line); }
.hero-cats--dark a:hover { background: var(--navy); color: #fff; }

.hero-board {
  background: rgba(255, 255, 255, 0.97); color: var(--text);
  border-radius: var(--radius-card); padding: 26px 26px 20px;
  box-shadow: 0 30px 60px -20px rgba(4, 16, 36, 0.55), inset 0 1px 0 rgba(255,255,255,0.9);
  transform: rotate(0.4deg);
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 6px; }
.board-head h2 { font-size: 1.15rem; margin: 0; }
.board-stamp { font-size: 0.74rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { display: flex; align-items: center; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.board-list li:last-child { border-bottom: 0; }
.board-list a { display: flex; flex-direction: column; min-width: 0; }
.board-list strong { font-size: 0.95rem; font-weight: 600; color: var(--navy-ink); }
.board-list a:hover strong { color: var(--red); }
.board-list span { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.board-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--red); }
.board-more:hover { color: var(--red-dark); }

/* rank medals - gold reserved here only */
.rank-num {
  font-family: "Lora", "Lora Fallback", serif; font-weight: 700; font-size: 1.5rem;
  color: #64748B; min-width: 44px; text-align: center; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rank-num.rank-1 { color: var(--gold); }
.rank-num.rank-2 { color: #5E6F87; }
.rank-num.rank-3 { color: #8A5526; }

/* ---------- business images ---------- */
.biz-thumb {
  width: 96px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 6px 16px -6px rgba(13, 43, 85, 0.35);
}
.biz-thumb--mono {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1B4480 100%);
  color: #E7C75C; font-family: "Lora", "Lora Fallback", serif; font-weight: 700; font-size: 1.9rem;
}
.biz-cover {
  width: calc(100% + 52px); height: auto; margin: -26px -26px 18px;
  border-radius: var(--radius-card) var(--radius-card) 0 0; object-fit: cover; display: block;
}
.news-cover {
  width: calc(100% + 48px); height: 180px; margin: -24px -24px 18px;
  object-fit: cover; display: block;
}
.news-card--big .news-cover { height: 240px; }
.article-cover { width: 100%; height: auto; border-radius: var(--radius-inner); margin-bottom: 28px; box-shadow: var(--shadow); }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 26px; }
.trust-inner div { display: flex; flex-direction: column; gap: 2px; }
.trust-inner strong { font-family: "Lora", "Lora Fallback", serif; font-size: 1.7rem; color: var(--navy); }
.trust-inner span { font-size: 0.84rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: clamp(52px, 7vw, 88px) 0 clamp(58px, 8vw, 100px); }
.section-tint { background: #EDF1F6; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-link { font-weight: 600; font-size: 0.92rem; color: var(--red); white-space: nowrap; }
.section-link:hover { color: var(--red-dark); }

/* ---------- ranked list ---------- */
.rank-list { display: flex; flex-direction: column; }
.rank-row {
  display: flex; align-items: flex-start; gap: 22px;
  background: var(--surface); border-radius: var(--radius-inner);
  padding: 22px 24px; margin-bottom: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rank-row:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(13, 43, 85, 0.26); }
.rank-row .rank-num { padding-top: 4px; }
.rank-body { flex: 1; min-width: 0; }
.rank-title-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rank-title-line h3 { margin: 0; font-size: 1.12rem; }
.rank-title-line a { color: var(--navy-ink); }
.rank-title-line a:hover { color: var(--red); }
.verified {
  display: inline-flex; align-items: center; gap: 5px;
  color: #1E6B41; background: #E6F3EB; font-size: 0.74rem; font-weight: 600;
  padding: 3px 9px; border-radius: 5px;
}
.rank-tagline { color: var(--muted); font-size: 0.93rem; margin: 5px 0 7px; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 5px 18px; font-size: 0.84rem; color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }
.rank-meta .rating { color: var(--gold); font-weight: 600; }
.rank-meta .rating small { color: var(--muted); font-weight: 400; }
.rank-link { align-self: center; font-weight: 600; font-size: 0.88rem; color: var(--red); white-space: nowrap; }
.rank-link:hover { color: var(--red-dark); }

/* ---------- category grid (asymmetric) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.cat-card {
  background: var(--surface); border-radius: var(--radius-inner);
  padding: 24px 22px 20px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(13, 43, 85, 0.3); color: var(--text); }
.cat-card h3 { color: var(--navy); margin-bottom: 8px; }
.cat-card p {
  font-size: 0.85rem; color: var(--muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-card--lead { grid-column: span 2; grid-row: span 2; background: var(--navy); }
.cat-card--lead h3 { color: #fff; font-size: 1.45rem; font-family: "Lora", "Lora Fallback", serif; }
.cat-card--lead p { color: #C7D3E4; font-size: 0.95rem; -webkit-line-clamp: 5; }
.cat-card--lead .cat-go { color: #E7C75C; }
.cat-go { font-size: 0.85rem; font-weight: 600; color: var(--red); margin-top: 14px; }
.cat-card:hover .cat-go { text-decoration: underline; }

/* ---------- methodology ---------- */
.method-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 70px); }
.method-intro p { color: var(--muted); max-width: 30em; }
.method-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.method-steps li {
  counter-increment: step; position: relative;
  padding: 0 0 26px 64px; color: var(--muted); font-size: 0.94rem;
}
.method-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -4px;
  font-family: "Lora", "Lora Fallback", serif; font-weight: 700; font-size: 1.6rem;
  color: var(--red); opacity: 0.85;
}
.method-steps li::after {
  content: ""; position: absolute; left: 18px; top: 34px; bottom: 6px;
  width: 1px; background: var(--line);
}
.method-steps li:last-child::after { display: none; }
.method-steps strong { display: block; color: var(--navy-ink); font-size: 1.04rem; margin-bottom: 4px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.news-grid--even { grid-template-columns: repeat(3, 1fr); }
.news-card {
  background: var(--surface); border-radius: var(--radius-inner);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(13, 43, 85, 0.3); }
.news-card a { display: flex; flex-direction: column; height: 100%; padding: 24px 24px 22px; color: var(--text); }
.news-kicker { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--red); margin-bottom: 10px; }
.news-card h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 10px; color: var(--navy-ink); }
.news-card a:hover h3 { color: var(--red); }
.news-excerpt { font-size: 0.88rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card--big h3 { font-family: "Lora", "Lora Fallback", serif; font-size: 1.5rem; }
.news-card--big .news-excerpt { -webkit-line-clamp: 5; }

/* ---------- CTA band ---------- */
.cta-band {
  /* cung mot ngon ngu chieu sau voi hero/page-head: radial navy dam, khong glow accent */
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(8, 29, 61, 0.85), transparent 60%),
    var(--navy);
  color: #fff; padding: clamp(48px, 7vw, 80px) 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; max-width: 17em; }
.cta-sub { color: #C7D3E4; max-width: 36em; margin: 0; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.97rem; white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
/* bong toi trung tinh, khong dung bong mau accent tren nen toi (neon/AI vibe) */
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -12px rgba(4, 16, 36, 0.7); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }

/* ---------- page head (subpages) ---------- */
.page-head {
  /* chieu sau bang tong navy dam hon, khong dung glow mau accent tren nen toi (neon/AI vibe) */
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(8, 29, 61, 0.85), transparent 60%),
    var(--navy);
  color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 76px);
}
.page-head h1 { color: #fff; max-width: 22em; }
.page-sub { color: #C7D3E4; font-size: 1.05rem; max-width: 42em; margin: 0; }
.page-badges { margin-top: 16px; }
.page-badges .verified { background: rgba(230, 243, 235, 0.15); color: #9FD8B4; }
.breadcrumb { font-size: 0.82rem; color: #8FA3C0; margin-bottom: 22px; }
.breadcrumb a { color: #B9C8DE; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #DCE5F1; }

/* ---------- business detail ---------- */
.biz-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.biz-body p { color: var(--text); max-width: 38em; }
.biz-card {
  background: var(--surface); border-radius: var(--radius-card);
  padding: 26px 26px 18px; box-shadow: var(--shadow);
  position: sticky; top: 96px;
}
.biz-card h2 { font-size: 1.15rem; border-bottom: 2px solid var(--navy); padding-bottom: 10px; }
.biz-card dl { margin: 0; }
.biz-card dl > div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.biz-card dl > div:last-child { border-bottom: 0; }
.biz-card dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 2px; }
.biz-card dd { margin: 0; font-size: 0.94rem; font-variant-numeric: tabular-nums; }

/* ---------- article ---------- */
.article-body p { font-size: 1.04rem; line-height: 1.75; color: var(--text); margin-bottom: 1.3em; }
.article-body > p:first-of-type { font-size: 1.12rem; color: var(--navy-ink); }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; font-size: 1.18rem; }
.article-figure { margin: 30px 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius-inner); box-shadow: var(--shadow); display: block; }
.article-body img { max-width: 100%; height: auto; }
.article-body ul, .article-body ol { font-size: 1.04rem; line-height: 1.75; padding-left: 28px; margin: 0 0 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1.6em 0; font-size: 0.98rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-body th { background: var(--navy); color: #fff; font-weight: 600; }
.article-body tr:nth-child(even) td { background: #F6F8FB; }
.article-body blockquote { border-left: 3px solid var(--navy); margin: 1.3em 0; padding: 4px 0 4px 18px; color: var(--navy-ink); font-style: italic; }
.article-body figure { margin: 30px 0; }
.preview-bar { background: #C9A227; color: #1a1a1a; text-align: center; font-weight: 600;
  padding: 10px 16px; font-size: 0.92rem; position: sticky; top: 0; z-index: 50; }
.preview-bar a { color: #1a1a1a; text-decoration: underline; margin-left: 8px; }

/* ---------- misc ---------- */
.method-note {
  margin-top: 30px; background: var(--surface); border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
  padding: 22px 26px 14px; box-shadow: var(--shadow);
}
.method-note h2 { font-size: 1.1rem; }
.method-note p { color: var(--muted); font-size: 0.92rem; }

.empty-state { text-align: left; max-width: 560px; padding: 30px 0; }
.empty-state h1, .empty-state h2 { color: var(--navy); }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #A9B8CE; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); padding: 54px 24px 38px; }
.footer-brand p { font-size: 0.88rem; max-width: 26em; margin-top: 16px; }
.logo-light .logo-text { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.footer-nav a { display: block; color: #A9B8CE; font-size: 0.88rem; padding: 4px 0; }
.footer-nav a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 18px; font-size: 0.8rem; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-board { transform: none; max-width: 520px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card--lead { grid-column: span 2; grid-row: auto; }
  .method-grid { grid-template-columns: 1fr; }
  .news-grid, .news-grid--even { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* header cao ~3 dong tren mobile - de sticky se che nua man hinh khi cuon */
  .site-header { position: static; }
  .nav-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* full width để cuộn ngang; lùi trái 13px cho chữ link đầu thẳng hàng với logo */
  .main-nav { margin-left: -13px; width: calc(100% + 13px); }
  /* tap target >= 44px tren mobile */
  .main-nav a { padding: 11px 14px; }
  .hero-cats a { padding: 11px 16px; }
  .hero {
    background:
      radial-gradient(700px 380px at 80% -10%, rgba(8, 29, 61, 0.6), transparent 60%),
      linear-gradient(170deg, rgba(13, 43, 85, 0.95) 0%, rgba(13, 43, 85, 0.8) 50%, rgba(8, 29, 61, 0.55) 100%),
      url('/images/hero_sp.webp') center / cover no-repeat,
      var(--navy);
  }
  .hero-board { padding: 20px 18px 16px; }
  /* Mobile: xếp chồng để phần chữ chiếm trọn chiều ngang, không bị bóp hẹp.
     Hàng 1: số hạng + ảnh · Hàng 2: toàn bộ nội dung · Hàng 3: nút Xem hồ sơ */
  .rank-row {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num   thumb"
      "body  body"
      "link  link";
    column-gap: 14px; row-gap: 12px; align-items: center; padding: 18px;
  }
  .rank-row .rank-num { grid-area: num; padding-top: 0; }
  .rank-row .biz-thumb { grid-area: thumb; justify-self: start; width: 84px; height: 63px; font-size: 1.6rem; }
  .rank-row .rank-body { grid-area: body; }
  .rank-row .rank-link { grid-area: link; align-self: start; padding: 2px 0 0; }
  .topbar-inner { flex-direction: column; gap: 2px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

