/* VMAA – giao diện mới 2026 */
:root {
  --navy-950: #061827;
  --navy-900: #0A2740;
  --navy: #0E436D;
  --navy-600: #1A5C92;
  --navy-50: #EEF4FA;
  --red: #E1192F;
  --red-700: #B9101F;
  --gold: #C99A2E;
  --ink: #0F1B2A;
  --text: #2A3A4C;
  --muted: #637387;
  --line: #E2E8F0;
  --bg: #F4F6F9;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 42, .06), 0 8px 24px rgba(15, 27, 42, .06);
  --shadow-lg: 0 18px 50px rgba(6, 24, 39, .18);
  --wrap: 1240px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 13.3px; line-height: 1.72; }
img { max-width: 100%; height: auto; display: block; }
svg[aria-hidden] { width: 18px; height: 18px; flex: none; }
.meta svg { width: 14px; height: 14px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: #B9C7D6; font-size: 10.8px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; opacity: .8; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; }
.lang a { padding: 2px 10px; font-weight: 600; font-size: 10px; }
.lang a.on { background: rgba(255,255,255,.14); color: #fff; }
.lang a.off { opacity: .45; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 11px; font-size: 12px; font-weight: 600; color: var(--ink); border-radius: 8px; white-space: nowrap; }
.nav > ul > li > a:hover, .nav > ul > li.active > a { color: var(--navy); background: var(--navy-50); }
.nav .caret { width: 10px; height: 10px; opacity: .5; }
.nav .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.nav li:hover > .sub, .nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 11.6px; font-weight: 500; }
.nav .sub a:hover { background: var(--navy-50); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn-login { display: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 12px; border: 1px solid transparent; transition: .15s ease; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-700); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 7px 14px; font-size: 10.8px; border-radius: 8px; }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); background: #fff; }
.ticker .wrap { display: flex; align-items: center; gap: 14px; height: 46px; overflow: hidden; }
.ticker-label { flex: none; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: flex; gap: 48px; width: max-content; animation: tick 60s linear infinite; }
.ticker-items a { font-size: 11.6px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.ticker-items a:hover { color: var(--red); }
.ticker-items time { color: var(--muted); font-size: 10px; margin-left: 8px; }
.ticker:hover .ticker-items { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(26,92,146,.55), transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%); color: #C9D6E3; }
.section-dark .sec-head p { color: #93A9BF; }
.section-dark .eco-item { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); }
.section-dark .eco-item:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.section-dark .eco-item .ico { background: rgba(225,25,47,.14); color: #FF6B7C; }
.section-dark .eco-item p { color: #A9BACB; }
.section-dark .eco-item .soon { background: rgba(201,154,46,.16); color: #F2C75C; }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sec-head h2 { font-size: 21.6px; margin: 0; display: flex; align-items: center; gap: 12px; }
.sec-head h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(var(--red), var(--navy)); }
.sec-head p { margin: 6px 0 0 18px; color: var(--muted); font-size: 12.4px; }
.sec-head .more { font-size: 11.6px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.sec-head .more:hover { color: var(--red); }
.eyebrow { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; }
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); display: flex; flex-direction: column; color: #fff; }
.hero-main .pic { overflow: hidden; background: #0b1f33; }
.hero-main .pic img { width: 100%; height: auto; max-height: 360px; object-fit: cover; transition: transform .6s ease; }
.hero-main:hover .pic img { transform: scale(1.02); }
.hero-main .cap { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 22px 28px 26px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-950) 100%); }
.hero-main .chip { align-self: flex-start; }
.hero-main h1 { color: #fff; font-size: clamp(16.6px, 1.8vw, 23.2px); margin: 12px 0 8px; }
.hero-main:hover h1 { color: #FFE3E6; }
.hero-main p { color: #C9D6E3; margin: 0; font-size: 12.4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.hero-side .card-h { flex: 1; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; line-height: 1.3; border-radius: 999px; background: var(--red); color: #fff; }
.chip-soft { background: var(--navy-50); color: var(--navy); }
.meta { font-size: 10.8px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-main .meta { color: #AFC0D2; margin-top: 12px; }

/* card ngang */
.card-h { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: .15s ease; }
.card-h:hover { border-color: #C7D5E4; box-shadow: var(--shadow); }
.card-h .thumb { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--navy-50); }
.card-h .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-h h3 { font-size: 12.4px; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-h:hover h3 { color: var(--navy); }

/* card dọc */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-50); position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .chip { position: absolute; left: 8px; top: 8px; }
.card .body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card h3 { font-size: 9.4px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { color: var(--navy); }
.card p { margin: 0; font-size: 9px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 4px; font-size: 9px; gap: 6px; }
.card .meta svg { width: 11px; height: 11px; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-900)); }
.noimg img { width: 40%; height: auto !important; object-fit: contain !important; opacity: .85; }

/* ---------- Banner slots ---------- */
.ad { display: block; border-radius: var(--radius); overflow: hidden; }
.ad img { width: 100%; }
.ad-slot { display: grid; place-items: center; text-align: center; min-height: 120px; border: 2px dashed #C9D5E2; border-radius: var(--radius); color: var(--muted); font-size: 11.2px; background: repeating-linear-gradient(45deg, #fff, #fff 12px, #F7F9FB 12px, #F7F9FB 24px); padding: 18px; }
.ad-slot b { display: block; color: var(--navy); font-size: 11.6px; }
.ad-slot.tall { min-height: 280px; }

/* ---------- Ecosystem ---------- */
.eco { grid-template-columns: repeat(3, 1fr); }
.eco-item { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .2s ease; overflow: hidden; }
.eco-item:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.eco-item .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 16px; }
.eco-item .ico svg { width: 24px; height: 24px; }
.eco-item h3 { font-size: 14.9px; margin-bottom: 6px; }
.eco-item p { margin: 0; color: var(--muted); font-size: 12px; }
.eco-item .soon { position: absolute; top: 18px; right: 18px; font-size: 9.1px; font-weight: 700; color: var(--gold); background: #FBF5E6; padding: 3px 9px; border-radius: 999px; }

/* ---------- Layout bài viết + sidebar ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.box h4 { font-size: 12.4px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--navy-50); }
.mini { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mini:first-of-type { border-top: 0; padding-top: 0; }
.mini .thumb { aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; background: var(--navy-50); }
.mini .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini h5 { margin: 0 0 4px; font-size: 11.2px; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini:hover h5 { color: var(--navy); }
.side-dark .box { background: radial-gradient(420px 220px at 100% 0%, rgba(255,255,255,.14), transparent 70%), linear-gradient(160deg, #2A6FA6, #1A5585); border-color: transparent; color: #DCE7F1; box-shadow: 0 10px 30px rgba(14,67,109,.18); }
.side-dark .box h4 { color: #fff; border-bottom-color: rgba(255,255,255,.1); }
.side-dark .box h4::before { content: ""; display: inline-block; width: 4px; height: 13px; border-radius: 2px; background: var(--red); margin-right: 8px; vertical-align: -1px; }
.side-dark .mini { border-top-color: rgba(255,255,255,.08); }
.side-dark .mini h5 { color: #fff; }
.side-dark .mini:hover h5 { color: #FFB3BC; }
.side-dark .meta { color: #B9CCDD; }
.side-dark /* cột phải trang chủ: 3 khung cao bằng lưới tin */
.home-news { align-items: stretch; }
.home-news .side { position: static; height: 100%; gap: 16px; }
.sbox { flex: 1; display: flex; flex-direction: column; padding: 18px; }
.sbox-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.18); }
.sbox-head .ico { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; }
.sbox-head .ico svg { width: 15px; height: 15px; }
.side-dark .sbox-head h4 { margin: 0; padding: 0; border: 0; flex: 1; font-size: 11.5px; }
.side-dark .sbox-head h4::before { display: none; }
.sbox-head .more { font-size: 10.5px; font-weight: 700; color: #CFDDEA; white-space: nowrap; }
.sbox-head .more:hover { color: #fff; }
.srows { display: flex; flex-direction: column; }
.srow { display: block; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.07); }
.srow:first-child { border-top: 0; }
.srow b { display: block; color: #fff; font-size: 11.5px; line-height: 1.4; margin-bottom: 3px; }
.srow:hover b { color: #FFB3BC; }
.srow .meta { font-size: 9.5px; gap: 6px; }
.srow .tag { font-size: 8px; font-weight: 800; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; background: rgba(255,255,255,.1); color: #fff; }
.srow .tag.sell { background: rgba(225,25,47,.25); color: #FFB3BC; }
.srow .tag.buy { background: rgba(46,160,110,.25); color: #8FE3B8; }
.sbox-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 14px 6px 6px; position: relative; }
.sbox-empty p { margin: 0; font-size: 11px; color: #D2E0EC; max-width: 240px; }
.sbox-empty .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.18); color: #FFD66B; }
.sbox-empty .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F2C75C; animation: blink 1.6s ease-in-out infinite; }
.sbox-empty .pulse { display: none; }
@keyframes blink { 50% { opacity: .25; } }
.empty { background: rgba(255,255,255,.05); color: #93A9BF; }
.empty { padding: 18px; border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 11.6px; text-align: center; }

.join-box { background: linear-gradient(140deg, var(--navy) 0%, var(--navy-950) 100%); color: #CFDCE8; border: 0; position: relative; overflow: hidden; }
.join-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(225,25,47,.25); }
.join-box h4 { color: #fff; border-color: rgba(255,255,255,.12); }
.join-box p { font-size: 11.6px; margin: 0 0 16px; position: relative; z-index: 1; }

/* ---------- Tiers ---------- */
.tiers { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tier { position: relative; border-radius: var(--radius); padding: 24px 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tier .badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 10.8px; padding: 6px 12px; border-radius: 999px; align-self: flex-start; margin-bottom: 14px; }
.tier .badge i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.tier .price { font-size: 18.3px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.tier .unit { font-size: 10.8px; color: var(--muted); font-weight: 500; }
.tier .price2 { font-size: 10.8px; color: var(--muted); margin-top: 2px; }
.tier .for { font-size: 10.8px; color: var(--muted); margin: 6px 0 14px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 11.2px; display: flex; flex-direction: column; gap: 7px; }
.tier li { padding-left: 22px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%230E436D' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/10px no-repeat; }
.tier .btn { margin-top: auto; }
.tier-kim-cuong { background: linear-gradient(160deg, #0B2B47 0%, #071A2C 100%); border: 0; color: #C9D8E6; box-shadow: var(--shadow-lg); }
.tier-kim-cuong .price, .tier-kim-cuong h3 { color: #fff; }
.tier-kim-cuong .for, .tier-kim-cuong .unit { color: #93A9BF; }
.tier-kim-cuong li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%237FE0FF' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.b-kim-cuong { background: linear-gradient(90deg, #BFF0FF, #E9FBFF); color: #064A63; }
.b-kim-cuong i { background: linear-gradient(135deg, #36C6F0, #B9F2FF); box-shadow: 0 0 8px #7FE0FF; }
.b-bach-kim { background: linear-gradient(90deg, #DCE2E8, #F4F6F8); color: #3B4652; }
.b-bach-kim i { background: linear-gradient(135deg, #8E9AA6, #E8EDF1); }
.b-vang { background: linear-gradient(90deg, #F6DE8D, #FFF4CF); color: #6B4E00; }
.b-vang i { background: linear-gradient(135deg, #C99A2E, #F6D97A); }
.b-chinh-thuc { background: var(--navy-50); color: var(--navy); }
.b-chinh-thuc i { background: var(--navy); }
.b-du-bi { background: #F1F3F5; color: #5B6673; }
.b-du-bi i { background: #fff; border: 2px solid #9AA5B1; }

/* ---------- Partners ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logos a, .logos .ph { height: 90px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 14px; }
.logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.logos a:hover img { filter: none; opacity: 1; }
.logos .ph { border-style: dashed; color: #9AA9B8; font-size: 10px; font-weight: 600; text-align: center; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 20px; background: var(--navy) url("/media/438.webp") right center/cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950) 0%, rgba(10,39,64,.92) 45%, rgba(14,67,109,.35) 100%); }
.cta-in { position: relative; padding: 52px 48px; max-width: 640px; color: #C9D6E3; }
.cta h2 { color: #fff; font-size: 24.9px; }
.cta p { margin: 0 0 24px; }
.cta .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-950), var(--navy) 70%); color: #C9D6E3; padding: 46px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); }
.page-hero h1 { color: #fff; font-size: clamp(21.6px, 2.8vw, 31.5px); margin: 8px 0 8px; max-width: 900px; }
.page-hero p { margin: 0; max-width: 760px; font-size: 13.3px; }
.crumbs { font-size: 10.8px; color: #8FA5BB; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 6px; opacity: .5; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tabs a { padding: 7px 14px; border-radius: 999px; font-size: 11.2px; font-weight: 600; background: rgba(255,255,255,.08); color: #D6E1EC; }
.tabs a.on, .tabs a:hover { background: #fff; color: var(--navy); }

/* ---------- Article ---------- */
.article-head { padding: 34px 0 10px; }
.article-head h1 { font-size: clamp(21.6px, 2.7vw, 31.5px); margin: 14px 0 14px; }
.article-head .crumbs { color: var(--muted); }
.article-head .crumbs a:hover { color: var(--navy); }
.lead-img { border-radius: var(--radius); overflow: hidden; margin: 18px 0 28px; }
.prose { font-size: 14.5px; line-height: 1.75; color: #24313F; }
.prose p { margin: 0 0 1.1em; }
.prose img { border-radius: 10px; margin: 8px auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .prose .wp-element-caption { font-size: 11.6px; color: var(--muted); text-align: center; margin-top: 8px; font-style: italic; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; }
.prose a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid var(--red); background: var(--bg); border-radius: 0 10px 10px 0; }
.prose .wp-block-gallery, .prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 12.4px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.share { display: flex; align-items: center; gap: 8px; padding: 18px 0; margin-top: 28px; border-top: 1px solid var(--line); font-size: 11.6px; font-weight: 600; flex-wrap: wrap; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share svg { width: 16px; height: 16px; }

/* ---------- Coming soon / text pages ---------- */
.soon-box { text-align: center; padding: 64px 24px; border-radius: 20px; background: var(--bg); }
.soon-box .ico { width: 70px; height: 70px; border-radius: 18px; margin: 0 auto 18px; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.soon-box .ico svg { width: 32px; height: 32px; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; max-width: 820px; margin: 28px auto 0; }
.feat-list div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 12px; }
.feat-list b { display: block; color: var(--ink); margin-bottom: 2px; }
.placeholder { border-left: 4px solid var(--gold); background: #FFFBF0; padding: 14px 18px; border-radius: 0 10px 10px 0; color: #6B5414; font-size: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.contact-item svg { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--muted); font-size: 10.8px; }
.contact-item b { color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* search */
.search-box { display: flex; gap: 10px; max-width: 640px; margin-top: 20px; }
.search-box input { flex: 1; padding: 13px 16px; border-radius: 10px; border: 0; font: inherit; font-size: 12.4px; }
.search-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(6,24,39,.75); backdrop-filter: blur(4px); display: none; padding: 12vh 20px 20px; }
.search-overlay.open { display: block; }
.search-overlay form { max-width: 680px; margin: 0 auto; display: flex; gap: 10px; }
.search-overlay input { flex: 1; padding: 16px 18px; font: inherit; font-size: 14.1px; border-radius: 12px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9FB2C6; font-size: 12px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.site-footer h4 { color: #fff; font-size: 11.6px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a:hover { color: #fff; }
.site-footer .flogo { height: 48px; width: auto; margin-bottom: 16px; }
.site-footer p { margin: 0 0 14px; }
.fcontact li { display: flex; gap: 10px; }
.fcontact svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 10.8px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 11.6px; }

.back-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .2s; z-index: 40; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav > ul > li > a { padding: 10px 8px; font-size: 11.6px; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 90; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; padding: 76px 18px 30px; box-shadow: var(--shadow-lg); }
  .nav { display: none; }
  .nav.open { display: block; transform: none; animation: slidein .25s ease; }
  @keyframes slidein { from { transform: translateX(100%); } }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { padding: 14px 6px; font-size: 13.3px; justify-content: space-between; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 8px; min-width: 0; display: none; }
  .nav li.open > .sub { display: block; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,24,39,.5); z-index: 45; display: none; }
  .nav-backdrop.open { display: block; }
  .hero-grid, .with-side { grid-template-columns: 1fr; }
  .side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1061px) { .nav-close, .nav-backdrop { display: none !important; } }
@media (max-width: 820px) {
  .grid-3, .eco { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .contact-grid, .feat-list { grid-template-columns: 1fr; }
  .topbar-left .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 40px 0; }
  .site-header .wrap { height: 64px; gap: 12px; }
  .logo img { height: 34px; }
  .topbar { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .btn:not(.btn-login) { display: none; }
  .header-actions .btn-login { display: inline-flex; padding: 8px 11px; font-size: 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(225,25,47,.28); }
  .header-actions .icon-btn { width: 36px; height: 36px; }
  .topbar-left { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .grid-3, .grid-4, .eco, .tiers { grid-template-columns: 1fr; }
  .hero-main .cap { padding: 18px 18px 20px; }
  .card-h { grid-template-columns: 110px 1fr; }
  .sec-head { flex-direction: column; align-items: start; }
  .sec-head h2 { font-size: 18.3px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .cta-in { padding: 36px 22px; }
  .cta h2 { font-size: 19.9px; }
  .prose { font-size: 13.7px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-items { animation: none; } * { transition: none !important; } }

/* ---------- Tài khoản: đăng nhập / đăng ký ---------- */
.auth-wrap { background: var(--bg); padding: 40px 0 60px; }
.auth { display: grid; grid-template-columns: 1fr 1.15fr; max-width: 980px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.auth-side { position: relative; padding: 40px 36px; color: #C9D6E3; background: radial-gradient(500px 300px at 100% 0%, rgba(26,92,146,.6), transparent 70%), linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%); overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(225,25,47,.22); }
.auth-side img { height: 40px; width: auto; margin-bottom: 26px; }
.auth-side h2 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.auth-side ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; }
.auth-side li { padding-left: 24px; position: relative; }
.auth-side li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/11px no-repeat; }
.auth-side p { font-size: 11.5px; color: #93A9BF; margin: 0; position: relative; z-index: 1; }
.auth-side a { color: #fff; text-decoration: underline; }
.auth-card { padding: 34px 36px; }
.auth-card h3 { font-size: 19px; margin-bottom: 4px; }
.auth-card .sub { font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.auth-card .sub a, .row-between a, .chk a { color: var(--navy-600); font-weight: 600; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,27,42,.12); }
.btn-google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; color: var(--ink); transition: .15s; }
.btn-google:hover { border-color: #B9C6D4; box-shadow: var(--shadow); }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 11px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-card form, #f-profile { display: flex; flex-direction: column; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 5px; }
.fld > span { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.fld input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; color: var(--ink); background: #fff; transition: .15s; }
.fld input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(26,92,146,.12); }
.pw { position: relative; display: block; }
.pw input { padding-right: 42px; }
.pw .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.pw .eye svg { width: 16px; height: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 12.5px; color: var(--muted); cursor: pointer; transition: .15s; }
.seg input:checked + span { border-color: var(--navy); background: var(--navy-50); color: var(--navy); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26,92,146,.2); }
.row-between { display: flex; justify-content: space-between; font-size: 12px; margin-top: -2px; }
.chk { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--text); }
.chk input { margin-top: 3px; accent-color: var(--red); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.auth-msg { margin: 14px 0 0; font-size: 12.5px; min-height: 1px; }
.auth-msg:empty { margin: 0; }
.auth-msg.err { color: var(--red-700); background: #FDECEE; padding: 10px 12px; border-radius: 8px; }
.auth-msg.ok { color: #116B45; background: #E7F6EE; padding: 10px 12px; border-radius: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.badge i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.acc { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.acc-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.acc-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.acc-avatar svg { width: 28px; height: 28px; }
.acc-card h3 { margin: 6px 0 0; font-size: 16px; }
.acc-card dl { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; text-align: left; font-size: 12px; margin: 10px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.acc-card dt { color: var(--muted); }
.acc-card dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
@media (max-width: 820px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 26px 22px; }
  .auth-side ul { display: none; }
  .acc { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .auth-wrap { padding: 16px 0 36px; }
  .auth-card { padding: 22px 18px; }
  .two { grid-template-columns: 1fr; }
}

/* Headline ô nổi bật: dàn đều, tối đa 2 dòng */
.hero-main h1 { text-wrap: pretty; font-size: clamp(15px, 1.55vw, 20px); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

[hidden] { display: none !important; }
