/* 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: 12.5px; margin-bottom: 4px; }
.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; }
/* 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; } }
/* cột phải: viền đậm xanh đen, nền gradient xám xanh nhạt, chữ tối */
.side-dark .box { background: linear-gradient(160deg, #F4F8FC 0%, #E3ECF5 55%, #D3E1EE 100%); border: 2px solid var(--navy-950, #0A2E4D); color: var(--text); box-shadow: 0 8px 22px rgba(14,67,109,.12); }
.side-dark .box h4, .side-dark .sbox-head h4 { color: var(--navy-950, #0A2E4D); }
.side-dark .mini h5, .srow b { color: var(--ink); }
.side-dark .mini:hover h5, .srow:hover b { color: var(--red); }
.side-dark .meta { color: #5B7189; }
.sbox-head { border-bottom: 1px solid rgba(14,67,109,.18); }
.sbox-head .ico { background: var(--navy); color: #fff; }
.sbox-head .more { color: var(--red); }
.sbox-head .more:hover { color: var(--navy); }
.srow { border-top-color: rgba(14,67,109,.12); }
.srow .tag { background: rgba(14,67,109,.1); color: var(--navy); }
.srow .tag.sell { background: rgba(225,25,47,.12); color: #C0142A; }
.srow .tag.buy { background: rgba(46,160,110,.14); color: #1E7A50; }
.sbox-empty p { color: #5B7189; }
.sbox-empty .pill { background: rgba(14,67,109,.1); color: #9A6A00; }

.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: #7C8DA0; font-size: 10px; font-weight: 600; text-align: center; line-height: 1.45; align-content: center; gap: 4px; }
.logos .ph small { display: block; color: var(--red); font-weight: 800; font-size: 10.5px; }
.logos a.ph:hover { border-color: var(--navy); color: var(--navy); }
.ad-slot a { color: var(--red); font-weight: 800; }

/* ---------- 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; }
.tech-sponsor { display: inline-flex; flex-direction: column; gap: 6px; margin-top: 12px; transition: opacity .2s; }
.tech-sponsor span { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8FA3B8; }
.tech-sponsor img { height: 24px; width: auto; display: block; }
.tech-sponsor:hover { opacity: .85; }

.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; }

/* ---------- Nâng cấp: popup VietQR ---------- */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(6,24,39,.72); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal-box { position: relative; width: 100%; max-width: 680px; background: #fff; border-radius: 18px; padding: 28px 30px 24px; box-shadow: var(--shadow-lg); }
.modal-box h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 18px; margin: 0 0 18px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; color: var(--muted); }
.modal-x:hover { color: var(--ink); border-color: var(--ink); }
.pay-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; }
.pay-qr { text-align: center; }
.pay-qr img { width: 260px; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; margin: 0 auto; }
.pay-qr small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 8px; }
.pay-info { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 12px; font-size: 12.5px; align-items: center; }
.pay-info dt { color: var(--muted); }
.pay-info dd { margin: 0; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-info .red { color: var(--red); font-size: 15px; }
.code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; color: var(--navy); }
.pay-info .code { font-size: 14px; }
.cp { border: 1px solid var(--line); background: var(--bg); border-radius: 6px; padding: 2px 8px; font-size: 10.5px; font-weight: 700; color: var(--navy); }
.cp:hover { border-color: var(--navy); }
.pay-note { margin: 18px 0 0; font-size: 12px; color: var(--text); background: var(--navy-50); padding: 12px 14px; border-radius: 10px; }
.pay-note.small { margin-top: 8px; background: #FFFBF0; color: #6B5414; }
.pay-note a { color: var(--navy-600); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 14px 16px; font-size: 12.5px; }
.steps b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 12px; }
.acc-pending { width: 100%; text-align: left; border-top: 1px solid var(--line); padding-top: 12px; }
.acc-pending h4 { font-size: 11.5px; margin-bottom: 8px; color: var(--red-700); }
.pend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; font-size: 12px; border-bottom: 1px dashed var(--line); }
.pend .btn { margin-left: auto; }

/* ---------- Quản trị ---------- */
.adm-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-tabs { margin: 0; }
.adm-tabs a { background: var(--bg); color: var(--text); }
.adm-tabs a.on, .adm-tabs a:hover { background: var(--navy); color: #fff; }
.adm-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.adm-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 860px; }
.adm-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--bg); padding: 10px 12px; }
.adm-table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: top; }
.adm-table td small { color: var(--muted); }
.adm-table .num { font-weight: 800; color: var(--ink); white-space: nowrap; }
.adm-table td:last-child { white-space: nowrap; }
.st { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.st-pending { background: #FFF4D6; color: #8A5B00; }
.st-paid { background: #E7F6EE; color: #116B45; }
.st-cancelled { background: #F1F3F5; color: #5B6673; }
@media (max-width: 680px) {
  .modal-box { padding: 22px 18px 18px; }
  .pay-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Ứng dụng quản trị ---------- */
.adm-body { background: var(--bg); }
.adm-login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(700px 400px at 90% 0%, rgba(26,92,146,.35), transparent 70%), linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%); }
.adm-login .box { width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 32px 30px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; }
.adm-login img { height: 40px; width: auto; }
.adm-login h1 { font-size: 20px; margin: 8px 0 0; }
.adm-login form { display: flex; flex-direction: column; gap: 12px; }
.otp-in { font-size: 22px !important; letter-spacing: .4em; text-align: center; font-family: ui-monospace, Consolas, monospace; }
.adm-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.adm-side { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #B9C7D6; padding: 20px 14px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.adm-logo img { height: 34px; width: auto; }
.adm-me { font-size: 11.5px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.05); word-break: break-all; }
.adm-me b { color: #fff; display: block; margin-bottom: 6px; }
.role { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin: 2px 4px 2px 0; background: rgba(255,255,255,.12); color: #fff; white-space: nowrap; }
.adm-main .role { background: var(--navy-50); color: var(--navy); }
.role-admin { background: var(--red) !important; color: #fff !important; }
.adm-side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.adm-side nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.adm-side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.adm-side nav a.on { background: rgba(255,255,255,.12); color: #fff; }
.adm-side nav i { font-style: normal; font-size: 9px; font-weight: 700; color: #F2C75C; }
.adm-logout { background: none; border: 1px solid rgba(255,255,255,.15); color: #B9C7D6; border-radius: 8px; padding: 8px; font-size: 12px; }
.adm-logout:hover { color: #fff; border-color: #fff; }
.adm-main { padding: 22px 28px 40px; min-width: 0; }
.adm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.adm-head h1 { font-size: 20px; margin: 0; }
.adm-menu { display: none; }
.adm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.adm-card h3 { font-size: 15px; }
.adm-list { margin: 8px 0 0; padding-left: 18px; font-size: 12.5px; display: flex; flex-direction: column; gap: 6px; }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.adm-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
a.adm-tile:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.adm-tile b { font-size: 26px; color: var(--navy); line-height: 1; }
.adm-tile span { font-size: 12px; color: var(--muted); }
.adm-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-filters input, .adm-filters select, .adm-form select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 12.5px; background: #fff; min-width: 160px; }
.adm-filters input { min-width: 260px; }
.adm-pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.adm-grid2 { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 18px; align-items: start; }
.adm-form { display: flex; flex-direction: column; gap: 12px; }
.adm-form select { width: 100%; }
.adm-form .roles { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.adm-form .roles legend { font-size: 11.5px; font-weight: 700; padding: 0 4px; }
.adm-form .roles small { color: var(--muted); font-size: 11px; }
.adm-table.flat { border: 0; }
.adm-table.flat table { min-width: 0; }
.btn.danger { color: var(--red-700); }
.btn.danger:hover { border-color: var(--red); }
.adm-toast { position: fixed; right: 18px; bottom: 18px; z-index: 300; padding: 12px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); }
.adm-toast.ok { background: #116B45; color: #fff; }
.adm-toast.err { background: var(--red-700); color: #fff; }
@media (max-width: 900px) {
  .adm-shell { grid-template-columns: 1fr; }
  .adm-side { position: fixed; z-index: 150; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; }
  .adm-side.open { transform: none; box-shadow: var(--shadow-lg); }
  .adm-menu { display: grid; }
  .adm-main { padding: 16px; }
  .adm-grid2 { grid-template-columns: 1fr; }
  .adm-filters input { min-width: 0; flex: 1; }
}

/* Văn bản */
.fld textarea, .fld select { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; color: var(--ink); background: #fff; resize: vertical; }
.fld textarea:focus, .fld select:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(26,92,146,.12); }
.ftype { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--navy-50); color: var(--navy); }
.lock { color: var(--gold); font-weight: 700; font-size: 10.5px; }
.doc-table table { min-width: 900px; }
.doc-table td small { line-height: 1.5; }
.cat-name, .cat-sort { width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12.5px; }
.page-hero .tabs a { cursor: pointer; }

/* ---------- Trang chủ: Sự kiện sắp diễn ra + Tra cứu văn bản ---------- */
.ev-docs { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.ev-next { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ev-img { position: relative; display: block; aspect-ratio: 16/9; background: var(--navy-50); overflow: hidden; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ev-img:hover img { transform: scale(1.03); }
.ev-date { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 10px; padding: 6px 10px; text-align: center; font-size: 10px; font-weight: 700; color: var(--red); line-height: 1.1; box-shadow: var(--shadow); }
.ev-date b { display: block; font-size: 20px; color: var(--ink); }
.ev-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ev-body h3 { font-size: 16px; margin: 2px 0 0; }
.ev-body h3 a:hover { color: var(--navy); }
.ev-body p { margin: 0; font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--text); font-weight: 600; }
.ev-empty { background: radial-gradient(420px 220px at 100% 0%, rgba(255,255,255,.14), transparent 70%), linear-gradient(150deg, #2A6FA6, #1A5585); border: 0; color: #DCE7F1; }
.ev-empty .ev-body { padding: 28px 26px; }
.ev-empty h3 { color: #fff; font-size: 17px; }
.ev-empty p { color: #D2E0EC; }
.ev-empty .chip { background: rgba(0,0,0,.2); color: #FFD66B; }
.ev-past { margin-top: 16px; display: flex; flex-direction: column; }
.ev-past h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.ev-past a { display: flex; gap: 12px; align-items: center; padding: 11px 4px; border-top: 1px solid var(--line); }
.ev-past a:first-of-type { border-top: 0; }
.ev-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.ev-ico svg { width: 16px; height: 16px; }
.ev-past b { display: block; font-size: 12.5px; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-past small { font-size: 10.5px; color: var(--muted); }
.ev-past a:hover b { color: var(--navy); }
.doc-box { background: #fff; border: 1px solid #D5DFEA; border-top: 4px solid var(--navy); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(14,67,109,.12); padding: 10px 18px 18px; }
.doc-list { display: flex; flex-direction: column; margin-bottom: 14px; }
.doc-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.doc-item:hover b { color: var(--navy); }
.ficon { flex: none; width: 38px; height: 44px; border-radius: 6px 12px 6px 6px; display: grid; place-items: end center; padding-bottom: 6px; font-size: 9px; font-weight: 900; color: #fff; position: relative; background: #8A97A6; }
.ficon::before { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; background: rgba(255,255,255,.35); border-radius: 0 12px 0 6px; }
.f-pdf { background: #D93A2B; } .f-doc { background: #2B5FD9; } .f-xls { background: #1E8A4C; } .f-ppt { background: #D9682B; } .f-zip { background: #6B5BB5; }
.doc-txt { flex: 1; min-width: 0; }
.doc-txt b { display: block; font-size: 12.5px; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-txt small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.doc-lock { font-size: 12px; }
.doc-box .btn svg { width: 15px; height: 15px; }
/* admin sự kiện */
.ev-row { display: flex; gap: 10px; align-items: flex-start; }
.ev-row img, .ev-noimg { flex: none; width: 72px; height: 44px; object-fit: cover; border-radius: 6px; background: var(--navy-50); }
.ev-preview { max-width: 240px; border-radius: 8px; }
@media (max-width: 900px) { .ev-docs { grid-template-columns: 1fr; gap: 28px; } }
.ev-docs { align-items: stretch; }
.doc-col { display: flex; flex-direction: column; }
.doc-box { flex: 1; display: flex; flex-direction: column; }
.doc-list { flex: 1; justify-content: space-around; }
.ev-img { aspect-ratio: 2 / 1; }
@media (max-width: 900px) { .doc-list { justify-content: flex-start; } }
.ok-tier { color: #116B45; font-weight: 700; font-size: 10.5px; }
/* ---------- Landing page sự kiện ---------- */
.evl-hero { position: relative; color: #DCE7F1; background: var(--navy-950); overflow: hidden; }
.evl-hero::before { content: ""; position: absolute; inset: 0; background: var(--cover, none) center/cover no-repeat; opacity: .38; }
.evl-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,24,39,.96) 0%, rgba(10,39,64,.85) 50%, rgba(14,67,109,.45) 100%); }
.evl-hero-in { position: relative; z-index: 1; padding: 46px 20px 52px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.evl-hero .crumbs { color: #8FA5BB; }
.evl-hero h1 { color: #fff; font-size: clamp(22px, 3.4vw, 38px); max-width: 860px; margin: 0; }
.evl-when { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600; }
.evl-count { display: flex; gap: 10px; margin-top: 4px; }
.evl-count div { min-width: 70px; text-align: center; padding: 10px 8px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.evl-count b { display: block; font-size: 26px; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.evl-count span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #93A9BF; }
.evl-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.evl-stats { background: var(--red); color: #fff; }
.evl-stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding-top: 14px; padding-bottom: 14px; text-align: center; }
.evl-stats b { display: block; font-size: 22px; line-height: 1.1; }
.evl-stats span { font-size: 11px; opacity: .9; }
.evl-about { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.evl-lead { font-size: 16px; font-weight: 600; color: var(--ink); }
.evl-info dl { margin: 0 0 14px; display: grid; gap: 4px; font-size: 12.5px; }
.evl-info dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.evl-info dd { margin: 0; color: var(--ink); font-weight: 600; }
.evl-info a { color: var(--navy-600); }
.evl-discount { background: #FFF7E6; border: 1px dashed var(--gold); color: #6B4E00; border-radius: 10px; padding: 10px 14px; font-size: 12.5px; margin-bottom: 18px; }
.evl-tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.evl-ticket { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.evl-ticket::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--navy); }
.evl-ticket.t-svip { background: linear-gradient(160deg, #0B2B47, #061827); color: #C9D8E6; border: 0; box-shadow: var(--shadow-lg); }
.evl-ticket.t-svip::before { background: linear-gradient(90deg, #C99A2E, #F6D97A); }
.evl-ticket.t-vip::before { background: var(--red); }
.evl-tname { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.t-svip .evl-tname { color: #F2C75C; }
.t-vip .evl-tname { color: var(--red); }
.evl-price { font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.t-svip .evl-price { color: #fff; }
.evl-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.evl-ticket ul { list-style: none; margin: 4px 0; padding: 0; font-size: 12.5px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.evl-ticket li { padding-left: 20px; position: relative; }
.evl-ticket li::before { content: "\2713"; position: absolute; left: 0; color: #1E8A4C; font-weight: 900; }
.t-svip li::before { color: #F2C75C; }
.evl-bar { height: 6px; border-radius: 3px; background: var(--navy-50); overflow: hidden; }
.t-svip .evl-bar { background: rgba(255,255,255,.12); }
.evl-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #FF7A59); }
.evl-left { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.evl-left b { color: var(--red); }
.t-svip .evl-left { color: #93A9BF; }
.t-svip .evl-left b { color: #FFB3BC; }
.evl-order { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.evl-order-side h2 { font-size: 22px; margin: 4px 0 8px; }
.evl-order-side p { color: var(--muted); font-size: 13px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: fit-content; }
.qty button { width: 42px; border: 0; background: var(--bg); font-size: 18px; font-weight: 700; color: var(--navy); }
.qty input { width: 70px; text-align: center; border: 0 !important; border-radius: 0 !important; font-weight: 800; }
.evl-total { background: var(--bg); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.evl-total div { display: flex; justify-content: space-between; gap: 12px; }
.evl-total .grand { border-top: 1px dashed #C9D5E2; padding-top: 8px; font-size: 15px; }
.evl-total .grand b { color: var(--red); font-size: 20px; }
.evl-sgroup { margin-bottom: 26px; }
.evl-sgroup h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c, var(--navy)); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.evl-sgroup h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.evl-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.evl-logo { height: 96px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; transition: .2s; }
.evl-logo:hover { box-shadow: var(--shadow); border-color: #C9D5E2; }
.evl-logo img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.evl-logo span { font-weight: 800; font-size: 12px; text-align: center; color: var(--ink); }
.evl-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.evl-pack { border: 1px solid var(--line); border-top: 5px solid var(--c, var(--navy)); border-radius: 14px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.evl-pack h3 { font-size: 15px; margin: 0; color: var(--c, var(--ink)); }
.evl-pprice { font-size: 20px; font-weight: 900; color: var(--ink); }
.evl-pack ul { padding-left: 18px; margin: 4px 0; font-size: 12.5px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
@media (max-width: 900px) { .evl-about, .evl-order { grid-template-columns: 1fr; } .evl-order { padding: 20px; } }
@media (max-width: 600px) { .evl-count div { min-width: 0; flex: 1; } .evl-count b { font-size: 20px; } }

/* ---------- Quản trị: khu quản lý sự kiện ---------- */
.ews-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ews-head h2 { font-size: 17px; margin: 0; }
.ews-acts { margin-left: auto; display: flex; gap: 8px; }
.ews-tabs { margin: 0 0 14px; }
.crud td { padding: 8px; vertical-align: top; }
.crud input:not([type=checkbox]), .crud textarea, .crud select { width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12.5px; }
.crud table { min-width: 760px; }
.nowrap { white-space: nowrap; }
.logo-form { margin-bottom: 18px; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.logo-cell { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; font-size: 12px; }
.logo-cell img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.logo-cell small { color: var(--muted); }
.logo-cell div { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.mini-in { width: 56px; padding: 5px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 12px; }
.ord-sum .adm-tiles { margin-bottom: 14px; }

/* Video YouTube bên phải đầu trang sự kiện */
.evl-hero.has-video .evl-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.evl-hero-txt { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.evl-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); }
.evl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.evl-hero.has-video h1 { font-size: clamp(22px, 2.8vw, 34px); }
@media (max-width: 960px) { .evl-hero.has-video .evl-hero-in { grid-template-columns: 1fr; gap: 24px; } }

/* Bảng sửa nhanh: dòng chưa lưu / vừa lưu */
.crud tr.dirty td { background: #FFFBEA; }
.crud tr.dirty td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
.crud tr.saved td { background: #E7F6EE; transition: background .6s; }
.crud-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.crud-dirty-note { margin-left: auto; font-size: 12px; font-weight: 700; color: #8A5B00; }

/* Banner xoay vòng */
.ad-rot { position: relative; }
.ad-rot .ad { display: none; border-radius: var(--radius); overflow: hidden; }
.ad-rot .ad.on { display: block; animation: adfade .6s ease; }
.ad-rot img { width: 100%; height: auto; display: block; }
.ad-slider { border-radius: var(--radius); overflow: hidden; }
.ad-label { position: absolute; top: 8px; left: 8px; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: rgba(6,24,39,.55); color: #fff; pointer-events: none; }
.ad-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.ad-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(6,24,39,.25); cursor: pointer; transition: width .2s; }
.ad-dots button.on { width: 22px; background: var(--red); }
.ad-slot .tier-note { display: block; margin-top: 4px; }
.ad-slot .tier-note .badge { font-size: 10px; padding: 2px 8px; margin: 0 2px; }
@keyframes adfade { from { opacity: 0; } }
.logos[data-banner] a { height: 90px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 14px; }

/* ---------- Trình soạn thảo bài viết ---------- */
.rte { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.rte-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.rte-bar button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 5px 9px; font-size: 12px; font-weight: 600; color: var(--ink); }
.rte-bar button:hover, .rte-bar button.on { border-color: var(--navy); color: var(--navy); }
.rte-src { margin-left: auto; }
.rte-area { min-height: 320px; max-height: 60vh; overflow-y: auto; padding: 16px 18px; outline: none; font-size: 14.5px; }
.rte-area img { max-width: 100%; height: auto; }
.rte-code { width: 100%; min-height: 320px; border: 0; padding: 14px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.post-acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; position: sticky; bottom: 0; background: #fff; padding-top: 10px; }
/* ---------- Banner ---------- */
.bn-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.bn-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 12.5px; }
.bn-item img { width: 180px; height: 70px; object-fit: contain; background: var(--bg); border-radius: 6px; }
.bn-item.off { opacity: .5; }
.bn-form { border-top: 1px dashed var(--line); padding-top: 12px; }
@media (max-width: 700px) { .bn-item { grid-template-columns: 1fr; } .bn-item img { width: 100%; } }

/* ---------- Sàn giao dịch M&A ---------- */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.deal { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: .2s; }
.deal:hover { box-shadow: var(--shadow); border-color: #C9D5E2; }
.deal.hl { border: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(201,154,46,.18); }
.deal-top { display: flex; align-items: center; gap: 8px; }
.deal-top .code { margin-left: auto; font-size: 11px; color: var(--muted); }
.deal-type { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; }
.deal-type.ban { background: #FDECEE; color: var(--red-700); }
.deal-type.mua { background: #E7F6EE; color: #116B45; }
.deal-hot { font-size: 10.5px; font-weight: 800; color: #8A5B00; background: #FFF4D6; padding: 3px 9px; border-radius: 999px; }
.deal h3 { font-size: 15px; margin: 0; line-height: 1.35; }
.deal dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 12.5px; }
.deal dt { color: var(--muted); }
.deal dd { margin: 0; font-weight: 600; color: var(--ink); }
.deal p { margin: 0; font-size: 12.5px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.deal-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }

/* ---------- Khóa học ---------- */
.course { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.course-side { position: sticky; top: 96px; }
.lessons { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 60vh; overflow-y: auto; }
.lessons button { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; text-align: left; border: 1px solid transparent; background: none; border-radius: 10px; padding: 9px 8px; font-size: 12.5px; color: var(--ink); }
.lessons button:hover { background: var(--bg); }
.lessons button.on { background: var(--navy-50); border-color: #C9D5E2; }
.lessons .ln { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-weight: 800; font-size: 11px; color: var(--navy); }
.lessons .lt { font-weight: 600; line-height: 1.35; }
.lessons .lb { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.lessons .lb.free { background: #E7F6EE; color: #116B45; }
.lessons .lb.lock { background: #FFF4D6; color: #8A5B00; }
.lesson-title { font-size: 22px; margin-bottom: 16px; }
.lesson-lock { text-align: center; padding: 48px 24px; background: var(--bg); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.course-card .meta { font-size: 11.5px; }
@media (max-width: 900px) { .course { grid-template-columns: 1fr; } .course-side { position: static; } }

/* ---------- Danh bạ & trang doanh nghiệp ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.dir-card { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: .2s; position: relative; }
.dir-card:hover { box-shadow: var(--shadow); border-color: #C9D5E2; }
.dir-card.t-kim-cuong { border: 2px solid #7FD8F0; }
.dir-card.t-bach-kim { border: 2px solid #B8C2CC; }
.dir-card.t-vang { border: 2px solid #E9C35C; }
.dir-card.feat::after { content: "★"; position: absolute; top: 8px; right: 12px; color: var(--gold); }
.dir-logo { width: 76px; height: 76px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.dir-logo img { max-width: 64px; max-height: 64px; object-fit: contain; }
.dir-logo span { font-weight: 900; color: var(--navy); font-size: 20px; }
.dir-txt h3 { font-size: 14.5px; margin: 6px 0 2px; }
.dir-txt p { margin: 0 0 2px; font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-txt .badge { font-size: 10px; padding: 3px 9px; }
.co-hero { position: relative; color: #DCE7F1; background: linear-gradient(120deg, var(--navy-950), var(--navy)); overflow: hidden; }
.co-hero::before { content: ""; position: absolute; inset: 0; background: var(--cover, none) center/cover no-repeat; opacity: .35; }
.co-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,24,39,.92), rgba(6,24,39,.4)); }
.co-hero-in { position: relative; z-index: 1; padding: 40px 20px 36px; display: flex; flex-direction: column; gap: 18px; }
.co-id { display: flex; gap: 20px; align-items: center; }
.co-logo { width: 110px; height: 110px; border-radius: 18px; background: #fff; object-fit: contain; padding: 10px; flex: none; box-shadow: var(--shadow-lg); }
.co-ph { display: grid; place-items: center; font-weight: 900; font-size: 32px; color: var(--navy); }
.co-id h1 { color: #fff; font-size: clamp(22px, 3vw, 34px); margin: 8px 0 4px; }
.co-id p { margin: 0; color: #C9D6E3; }
.co-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.co-info dl { display: grid; gap: 2px; font-size: 12.5px; margin: 0 0 14px; }
.co-info dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.co-info dd { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
.co-info a { color: var(--navy-600); }
.co-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.co-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
@media (max-width: 900px) { .co-body { grid-template-columns: 1fr; } .co-id { flex-direction: column; align-items: flex-start; } }

/* ---------- Tài khoản: trang DN, thông báo ---------- */
.acc-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.co-gal { display: flex; flex-wrap: wrap; gap: 8px; }
.co-gal div { position: relative; }
.co-gal img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.co-gal button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-weight: 800; line-height: 1; }
.notif { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.notif:last-child { border-bottom: 0; }
.notif p { margin: 0; color: var(--text); }
.notif a { color: var(--navy-600); font-weight: 700; font-size: 12px; }

/* ---------- Danh bạ: tab hạng + lĩnh vực ---------- */
.dir-tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dir-tiers button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 8px 6px 12px; font-weight: 700; font-size: 12.5px; color: var(--ink); }
.dir-tiers button .badge { padding: 3px 10px; font-size: 11px; }
.dir-tiers button em, .dir-side em, .dir-group h3 span { font-style: normal; font-size: 10.5px; font-weight: 800; background: var(--bg); color: var(--muted); border-radius: 999px; padding: 2px 8px; }
.dir-tiers button.on { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(14,67,109,.15); }
.dir-tiers button.on em { background: var(--navy); color: #fff; }
.dir-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.dir-side { position: sticky; top: 96px; }
.dir-side input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 12.5px; margin-bottom: 10px; }
.dir-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow-y: auto; }
.dir-side button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.dir-side button:hover { background: var(--bg); }
.dir-side button.on { background: var(--navy); color: #fff; }
.dir-side button.on em { background: rgba(255,255,255,.2); color: #fff; }
.dir-group { margin-bottom: 28px; }
.dir-group h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--navy-50); }
.dir-group h3 button { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; }
.dir-group h3 button:hover { color: var(--navy); }
.dir-layout .dir-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* danh bạ theo lĩnh vực: khung 5 doanh nghiệp / lĩnh vực + danh sách dọc */
.md-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; align-items: start; }
.md-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.md-panel header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--navy); color: #fff; }
.md-panel header h3 { margin: 0; font-size: 14px; color: #fff; }
.md-panel header span { font-size: 11px; opacity: .8; white-space: nowrap; }
.md-rows { display: flex; flex-direction: column; }
.md-rows .dir-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.md-panel footer { padding: 10px 16px; text-align: right; }
.md-panel footer a, .md-panel footer button { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--red); cursor: pointer; }
.dir-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 10px 16px; background: #fff; position: relative; transition: background .15s; }
.dir-row:hover { background: var(--bg); }
.dir-row .dir-logo { width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.dir-row .dir-logo img { max-width: 44px; max-height: 44px; }
.dir-row .dir-logo span { font-size: 15px; }
.dir-row .dir-txt h3 { display: inline; font-size: 13.5px; margin: 0 6px 0 0; }
.dir-row .dir-txt p { margin-top: 3px; -webkit-line-clamp: 2; }
.dir-row.feat::after { content: "★"; position: absolute; top: 8px; right: 12px; color: var(--gold); font-size: 12px; }
.dir-row.t-kim-cuong { box-shadow: inset 3px 0 0 #3FB8DC; }
.dir-row.t-bach-kim { box-shadow: inset 3px 0 0 #9AA6B2; }
.dir-row.t-vang { box-shadow: inset 3px 0 0 #E0B13E; }
.dir-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dir-list .dir-row { border-bottom: 1px solid var(--line); padding: 14px 18px; grid-template-columns: 64px 1fr; }
.dir-list .dir-row:last-child { border-bottom: 0; }
.dir-list .dir-row .dir-logo { width: 64px; height: 64px; }
.dir-list .dir-row .dir-logo img { max-width: 54px; max-height: 54px; }
.dir-layout .md-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 600px) { .md-grid, .dir-layout .md-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .dir-layout { grid-template-columns: 1fr; } .dir-side { position: static; } .dir-side ul { flex-direction: row; flex-wrap: wrap; max-height: none; } .dir-side li button { width: auto; } }

/* Popup nâng cấp: chọn Cá nhân / Doanh nghiệp */
.mt-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mt-pick label { position: relative; cursor: pointer; }
.mt-pick input { position: absolute; opacity: 0; }
.mt-pick span { display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: .15s; }
.mt-pick b { font-size: 14px; color: var(--ink); }
.mt-pick strong { font-size: 20px; color: var(--red); }
.mt-pick small { font-size: 11px; color: var(--muted); }
.mt-pick input:checked + span { border-color: var(--navy); background: var(--navy-50); }
.mt-pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26,92,146,.25); }
.pay-co { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 14px 16px; border: 1px dashed var(--navy-600); border-radius: 12px; background: #fff; }
.pay-co div { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.pay-co b { color: var(--ink); font-size: 13px; }
@media (max-width: 560px) { .mt-pick { grid-template-columns: 1fr; } .pay-co { flex-direction: column; align-items: flex-start; } }

/* ---------- Báo cáo: trang chi tiết & danh sách ---------- */
.rp-top { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; margin-bottom: 24px; }
.rp-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 13.5px; background: var(--bg); border-radius: 14px; padding: 18px 20px; }
.rp-meta dt { color: var(--muted); }
.rp-meta dd { margin: 0; font-weight: 700; color: var(--ink); }
.rp-buy { border: 1px solid #D5DFEA; border-top: 4px solid var(--red); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 40px rgba(14,67,109,.12); background: #fff; }
.rp-price { font-size: 26px; font-weight: 900; color: var(--red); line-height: 1.1; }
.rp-free { margin: 0; font-size: 12.5px; font-weight: 700; color: #116B45; background: #E7F6EE; padding: 8px 10px; border-radius: 8px; }
.rp-preview { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 12px; }
.rp-card-price { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; border-top: 1px dashed var(--line); }
.rp-card-price b { color: var(--red); font-size: 15px; }
.rp-card-price small { color: #116B45; font-size: 11px; font-weight: 700; }
@media (max-width: 760px) { .rp-top { grid-template-columns: 1fr; } .rp-preview { height: 480px; } }

/* đặt vé: thông tin hội viên đã điền sẵn */
.ev-me { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #CFE0EE; border-radius: 10px; background: #F4F8FC; }
.ev-me div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ev-me small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #1E8A4C; }
.ev-me small::before { content: "✓ "; }
.ev-me b { font-size: 14px; color: var(--ink); }
.ev-me span { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.ev-login-tip { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF6E5; font-size: 12px; color: #6B4E00; }
.ev-login-tip a { color: var(--red); font-weight: 800; }

/* AFF – cộng tác viên */
.aff-intro { font-size: 12.5px; margin: 0 0 14px; }
.aff-intro .code { background: var(--navy-50); color: var(--navy); padding: 2px 8px; border-radius: 6px; letter-spacing: .06em; }
.aff-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.aff-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--bg); }
.aff-stats b { display: block; font-size: 16px; color: var(--navy); }
.aff-stats span { font-size: 11px; color: var(--muted); }
.aff-progs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.aff-prog { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.aff-prog.main { border: 2px solid var(--navy); background: linear-gradient(160deg, #F4F8FC, #E6EEF6); }
.aff-prog-h { display: flex; align-items: center; gap: 12px; }
.aff-prog-h b { display: block; font-size: 13.5px; color: var(--ink); }
.aff-prog-h small { font-size: 11px; color: var(--muted); }
.aff-rate { flex: none; min-width: 58px; text-align: center; padding: 8px 10px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 900; font-size: 14px; }
.aff-prog p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.aff-link { display: flex; gap: 8px; margin-top: 10px; }
.aff-link input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12px; background: #fff; color: var(--text); }
.aff-sub { font-size: 13px; margin: 6px 0 8px; }
.aff-bank { display: flex; gap: 8px; align-items: flex-end; margin-top: 14px; }
.aff-bank .fld { flex: 1; margin: 0; }
.st-done { background: #E6F0FA; color: var(--navy); }
.ev-aff { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--navy); background: #F4F8FC; font-size: 12.5px; }
.ev-aff .aff-rate { font-size: 12px; padding: 6px 8px; min-width: 0; }
.ev-aff input { flex: 1; min-width: 180px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12px; }
@media (max-width: 600px) { .aff-stats { grid-template-columns: 1fr; } .aff-bank { flex-direction: column; align-items: stretch; } }
.aff-stats { grid-template-columns: repeat(4, 1fr); }
.aff-refs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.aff-refs > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.aff-refs .badge { font-style: normal; font-size: 9.5px; padding: 2px 7px; }
.aff-refs small { color: var(--muted); font-size: 10.5px; }
.acc-card .btn-navy { margin-top: 8px; }
@media (max-width: 800px) { .aff-stats { grid-template-columns: repeat(2, 1fr); } }

/* Giới thiệu doanh nghiệp: soạn HTML + hiển thị */
textarea.code-area { font-family: ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.5; }
.intro-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -4px 0 10px; }
.intro-preview { width: 100%; height: 420px; border: 1px dashed var(--navy); border-radius: 10px; background: #fff; margin-bottom: 14px; }
.co-intro img { max-width: 100%; height: auto; border-radius: 10px; }
.co-intro table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.co-intro th, .co-intro td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.co-intro th { background: var(--bg); }
.co-intro iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; }
.co-intro blockquote { margin: 12px 0; padding: 10px 16px; border-left: 4px solid var(--red); background: var(--bg); border-radius: 0 10px 10px 0; }
.adm-sent { background: #F4F8FC; border: 1px solid #CFE0EE; border-radius: 10px; padding: 14px; font-size: 13px; line-height: 1.6; margin-bottom: 10px; }

/* Ảnh đại diện hội viên: bấm để đổi */
label.acc-avatar { position: relative; width: 84px; height: 84px; cursor: pointer; }
.acc-avatar #acc-photo { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; transition: opacity .2s; }
.acc-avatar #acc-photo.busy { opacity: .4; }
.acc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-edit { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-style: normal; font-size: 13px; border: 2px solid #fff; }
label.acc-avatar:hover .acc-edit { background: var(--red); }
label.acc-avatar:focus-within .acc-edit { outline: 2px solid var(--navy); outline-offset: 2px; }
.acc-photo-del { border: 0; background: none; padding: 0; font: inherit; font-size: 11px; color: var(--muted); cursor: pointer; text-decoration: underline; }

/* Logo VMAA: khóa đúng tỉ lệ gốc 222:75 (không bị dãn ngang trên mọi trình duyệt) */
.logo img, .site-footer .flogo, .adm-login img, .adm-logo img { aspect-ratio: 222 / 75; width: auto; object-fit: contain; max-width: none; }

/* Trang danh sách tin: tiêu đề to, thoáng; không hiện sapo (bấm vào để đọc); cột phải gọn */
.with-side.news-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
.news-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
.news-grid .card .body { padding: 14px 16px 16px; gap: 10px; }
.news-grid .card h3 { font-size: 15px; line-height: 1.45; font-weight: 700; -webkit-line-clamp: 3; }
.news-grid .card p { display: none; }
.news-grid .card .meta { font-size: 11.5px; }
.news-grid .card .meta svg { width: 13px; height: 13px; }
.news-layout .side { gap: 18px; }
.news-layout .ad-slot.tall { min-height: 250px; }
.news-layout .join-box { padding: 18px; }
.news-layout .join-box h4 { font-size: 13px; }
.news-layout .join-box p { margin-bottom: 12px; }
@media (max-width: 600px) { .news-grid .card h3 { font-size: 15.5px; } }

/* Mã giảm giá trên form đặt vé */
.ev-coupon .fld { margin: 0; }
.ev-coupon-row { display: flex; gap: 8px; }
.ev-coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .05em; }
.ev-coupon-msg { display: block; min-height: 16px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.ev-coupon-msg.ok { color: #1E8A4C; font-weight: 700; }
.ev-coupon-msg.err { color: var(--red); }
#ev-cp-row em { font-style: normal; font-weight: 800; color: #1E8A4C; }
#ev-cp-row b { color: #1E8A4C; }

/* ===== Sự kiện: diễn giả & chương trình ===== */
.sp-feature { position: relative; padding: 34px 32px 36px; border-radius: 20px; background: linear-gradient(150deg, #0A2E4D 0%, #0E436D 55%, #12507F 100%); border: 2px solid #C99A2E; box-shadow: 0 18px 40px rgba(6,24,39,.25), inset 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.sp-feature::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(201,154,46,.12); }
.sp-feature-head { text-align: center; margin-bottom: 26px; position: relative; }
.sp-feature-head .eyebrow { color: #E8C56A; }
.sp-feature-head h2 { color: #fff; margin: 6px 0 0; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; }
.sp-feature-head h2::after { content: ""; display: block; width: 72px; height: 3px; margin: 12px auto 0; background: linear-gradient(90deg, #E1192F, #C99A2E); border-radius: 2px; }
.sp-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.sp-card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .2s; }
.sp-card:hover { transform: translateY(-4px); }
.sp-photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-bottom: 4px solid #C99A2E; }
.sp-info { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.sp-info h3 { margin: 0; font-size: 16px; color: var(--navy-950, #061827); }
.sp-role { align-self: flex-start; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--red); background: #FDECEE; border-radius: 999px; padding: 2px 9px; }
.sp-title { margin: 0; font-size: 12px; line-height: 1.55; color: var(--text); }
.sp-topic { margin: 4px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 11.5px; line-height: 1.55; color: var(--muted); font-style: italic; }
.sp-noimg { display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-weight: 900; font-size: 34px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sp-mini { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.sp-mini-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.sp-mini h4 { margin: 0 0 4px; font-size: 13.5px; }
.sp-mini p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.ag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ag-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.ag-list time { font-weight: 800; color: var(--navy); font-size: 13px; white-space: nowrap; }
.ag-list b { display: block; font-size: 14px; color: var(--ink); }
.ag-list span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.ag-list li.hl { border: 2px solid var(--navy); background: linear-gradient(160deg, #F4F8FC, #E6EEF6); }
.ag-list li.hl time { color: var(--red); }
@media (max-width: 900px) { .sp-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sp-feature { padding: 24px 12px; } .sp-feature-head h2 { font-size: 19px; } .sp-feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .sp-info { padding: 10px 10px 12px; } .sp-info h3 { font-size: 13.5px; } .sp-title { font-size: 11px; } .sp-topic { display: none; } .sp-role { font-size: 9px; } .ag-list li { grid-template-columns: 1fr; gap: 4px; } }

/* Chọn hạng vé bằng nút (thay dropdown) */
.tk-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.tk-pick legend { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.tk-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.tk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tk-opt::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #B8C4D0; background: #fff; transition: .15s; }
.tk-opt:has(input:checked)::before { border-color: var(--red); box-shadow: inset 0 0 0 4px #fff; background: var(--red); }
.tk-opt:hover { border-color: #9DB3C8; }
.tk-opt:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,25,47,.12); background: #FFF8F8; }
.tk-opt:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.tk-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tk-price { font-size: 15px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.tk-opt.main .tk-name { font-weight: 900; }
.tk-opt.main .tk-price { font-size: 19px; font-weight: 900; color: var(--red); }
@media (max-width: 560px) { .tk-opt { padding: 12px 12px 12px 42px; } .tk-opt::before { left: 13px; } .tk-name { font-size: 12.5px; } }
.tk-opt.flash { animation: tkflash 1.4s ease; }
@keyframes tkflash { 0%, 40% { box-shadow: 0 0 0 6px rgba(225,25,47,.35); transform: scale(1.02); } 100% { box-shadow: 0 0 0 3px rgba(225,25,47,.12); transform: none; } }
.ag-list li.ag-part { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 18px; border: 0; border-radius: 12px; background: linear-gradient(120deg, #0A2E4D, #0E436D); color: #fff; }
.ag-list li.ag-part span { flex: none; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--red); color: #fff; border-radius: 999px; padding: 3px 10px; }
.ag-list li.ag-part b { color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .02em; }
.ag-list li.ag-part:first-child { margin-top: 0; }

/* Ghi chú đầu bảng sửa nhanh + thống kê mã giảm giá */
.crud-note { margin: 0 0 12px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.cp-stats { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #CFE0EE; border-radius: 12px; background: #F4F8FC; }
.cp-stats h4 { margin: 0 0 10px; font-size: 14px; }
.cp-stats table { background: #fff; }
.cp-stats .cp-total td { background: var(--bg); font-weight: 700; }
.cp-hint { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }

/* Ban Thường vụ / Ban Chấp hành */
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 6px 0 0; }
.board-card { border: 1px solid var(--line, #E3E8EF); border-radius: 12px; padding: 18px 14px; text-align: center; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.prose .board-card img, .board-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 0 8px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #D6E2EE; }
.board-ini { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; margin: 0 0 8px; background: linear-gradient(135deg, #0E436D, #1B6FA8); color: #fff; font-size: 40px; font-weight: 700; }
.board-card b { font-size: 15px; color: #0E436D; line-height: 1.3; }
.board-card em { font-style: normal; color: #E1192F; font-weight: 600; font-size: 13px; }
.board-card small { color: #637387; font-size: 12px; line-height: 1.45; }
.crud-img { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.crud-img img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.crud-img input[data-k] { width: 100%; }

/* Sứ mệnh – Tầm nhìn – Giá trị cốt lõi */
.mvv-block { margin: 0 0 28px; padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, #F4F8FC, #fff); border: 1px solid #D6E2EE; }
.mvv-block h2 { margin-top: 4px !important; }
.mvv-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #E1192F; }
.mvv-lead { font-size: 17px; font-weight: 700; color: #0E436D; border-left: 4px solid #E1192F; padding-left: 12px; }
.mvv-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 10px; }
.mvv-values > div { background: #fff; border: 1px solid #E3E8EF; border-radius: 12px; padding: 16px; }
.mvv-values b { display: flex; align-items: center; gap: 8px; color: #0E436D; font-size: 15px; flex-wrap: wrap; }
.mvv-values b i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: #0E436D; color: #fff; display: grid; place-items: center; font-size: 13px; }
.mvv-values b small { font-weight: 500; color: #637387; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.mvv-values p { margin: 8px 0 0; font-size: 13.5px; }
.mvv-slogan { text-align: center; font-weight: 800; color: #0E436D; text-transform: uppercase; letter-spacing: .04em; padding: 16px; border-top: 2px solid #E1192F; }

/* Quyền lợi hội viên */
.ql-list { display: grid; gap: 10px; margin: 12px 0; }
.ql-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; border: 1px solid #D6E2EE; border-radius: 12px; padding: 12px 14px; background: #F8FBFE; }
.ql-list i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: #0E436D; color: #fff; display: grid; place-items: center; font-weight: 700; }
.ql-list p, .ql-list ul { margin: 0; grid-column: 2; }
.ql-list ul { margin-top: 6px; }
.ql-note { background: #FFFBF0; border-left: 4px solid var(--gold, #C9A227); padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: 13.5px; }
.ql-fee { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 10px 0 14px; }
.ql-fee > div { border: 2px solid #0E436D; border-radius: 12px; padding: 14px 16px; text-align: center; }
.ql-fee span { display: block; font-size: 13px; color: #637387; }
.ql-fee b { display: block; font-size: 24px; color: #E1192F; }
.ql-fee small { color: #637387; }
.ql-img { width: 100%; max-width: 760px; border-radius: 10px; box-shadow: 0 6px 24px rgba(14, 67, 109, .12); }

/* Thư mời có dấu trong trang sự kiện */
.ev-invite { margin: 28px 0 0; padding: 20px; border: 1px solid #D6E2EE; border-radius: 14px; background: #F4F8FC; }
.ev-invite h2 { margin-top: 0 !important; }
.ev-invite img { display: block; width: 100%; max-width: 720px; margin: 0 auto 14px; background: #fff; border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, .1); }

/* Poster diễn giả / chương trình trong trang sự kiện */
.ev-poster { margin: 28px auto 0; max-width: 760px; text-align: center; }
.ev-poster img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 28px rgba(14, 67, 109, .16); display: block; }
.ev-poster figcaption { font-size: 12px; color: #637387; margin-top: 8px; }
.ag-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: start; }
.ag-wrap .ev-poster { margin: 0; position: sticky; top: 90px; }
@media (max-width: 900px) { .ag-wrap { grid-template-columns: 1fr; } .ag-wrap .ev-poster { position: static; } }
