/* ==========================================================================
   KHỐI HIỆN ĐẠI (Mx*) — dùng cho 4 bố cục mới: Aurora · Spotlight · Campaign · Bento.
   NGUYÊN TẮC TIÊN QUYẾT: tệp này MỚI HOÀN TOÀN và chỉ nạp trên trang có khối Mx* (xem MxAssets.razor).
   • Mọi selector bắt đầu bằng .mx / .mx-… (tiền tố riêng) ⇒ không thể đè lên CSS site hay khối cũ.
   • Ngoại lệ DUY NHẤT nằm ngoài tiền tố, đều được "gác" bằng :has() nên chỉ tác động tới trang có khối Mx*:
       html:has(.mx-bleed) overflow-x:clip · .site-main:has(.mx-hero) padding-top · body:has(.mx-sticky) padding-bottom + .back-to-top.
   • Màu lấy từ biến của BỘ GIAO DIỆN đang áp (--brand, --brand-dark, --top-bg …) ⇒ đổi bộ màu là đổi cả bố cục.
   • Bố cục co giãn theo bề rộng CỘT chứa khối (container query) nên đặt ở cột hẹp vẫn đẹp.
   ========================================================================== */
.mx {
  --mx-brand: var(--brand, #1d4ed8);
  --mx-brand-d: var(--brand-dark, #1e3a8a);
  /* Nền TỐI của Hero/dải tin nóng: suy ra từ màu thương hiệu đậm, KHÔNG dùng --top-bg (bộ giao diện sáng như "Dã ngoại – ngà" có top-bg gần trắng → chữ trắng không đọc được). */
  --mx-top: color-mix(in srgb, var(--brand-dark, #1e3a8a) 62%, #020617);
  --mx-accent: #fbbf24;
  --mx-ink: var(--ink, #0f172a);
  --mx-muted: var(--ink-soft, #64748b);
  --mx-card: #ffffff;
  --mx-bg: #f3f6fb;
  --mx-line: rgba(15, 23, 42, .1);
  --mx-shadow: 0 10px 30px -14px rgba(15, 23, 42, .28);
  --mx-grad: linear-gradient(135deg, color-mix(in srgb, var(--mx-brand) 62%, #000) 0%, var(--mx-brand) 55%, color-mix(in srgb, var(--mx-brand) 88%, #fff) 100%);   /* đầu sáng tối đa +12% để chữ trắng luôn đủ tương phản */
  color: var(--mx-ink);
  line-height: 1.6;
}
:where(.mx) a { color: inherit; text-decoration: none; }   /* :where → độ ưu tiên 0: lớp .mx-* luôn thắng */
.mx a:hover, .mx a:focus-visible { text-decoration: none; }
.mx img { display: block; max-width: 100%; }
.mx h1, .mx h2, .mx h3, .mx h4, .mx p { margin: 0; }
.mx-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.mx-cq { container-type: inline-size; container-name: mx; }
.block.mx-b { margin: 0 0 56px; }

/* Khối tràn mép: kéo ra hết bề ngang trình duyệt (cùng kỹ thuật StatCounter). Chỉ trang có khối này mới chặn cuộn ngang. */
.block.mx-bleed { margin-inline: calc(50% - 50vw); }   /* .block.mx-b đặt margin ngắn gọn nên phải cùng độ ưu tiên */
html:has(.mx-bleed), body:has(.mx-bleed) { overflow-x: clip; }
.page-cols .block.mx-bleed { margin-inline: 0; }                                   /* trong cột hẹp: không kéo tràn */
.site-main:has(.mx-hero), .site-main:has(> .page-fulltop > .mx-ticker:first-child) { padding-top: 0; }   /* Hero / dải tin nóng dính sát menu */
@media (max-width: 1000px) { body:has(.mx-sticky) { padding-bottom: 72px; } body:has(.mx-sticky) .back-to-top { bottom: 88px; } }   /* nút lên đầu trang nằm trên thanh dính */

/* ---------- nút / nhãn ---------- */
.mx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; line-height: 1.2; }
.mx-btn:hover { transform: translateY(-2px); }
.mx-btn-primary { background: var(--mx-accent); color: #1f1300; box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--mx-accent) 80%, transparent); }
.mx-btn-brand { background: var(--mx-brand); color: #fff; box-shadow: 0 10px 26px -10px var(--mx-brand); }
.mx-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.mx-btn-line { background: transparent; color: var(--mx-brand); border-color: color-mix(in srgb, var(--mx-brand) 45%, transparent); }
.mx-btn:focus-visible, .mx-more:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 2px; }
.mx-chip { display: inline-block; align-self: flex-start; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: color-mix(in srgb, var(--mx-brand) 14%, transparent); color: var(--mx-brand); line-height: 1.5; }
.mx-chip-on { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px); }
.mx-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); }
.mx-tag { display: inline-flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--mx-brand) 12%, transparent); color: var(--mx-brand); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 13.5px; }
.mx-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: mx-pulse 1.8s infinite; flex: none; }
.mx-dot-w { background: #fff; }
@keyframes mx-pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- tiêu đề phần ---------- */
.mx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 20px; margin-bottom: 26px; flex-wrap: wrap; }
.mx-kicker { display: block; color: var(--mx-brand); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.mx-h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.18; margin-top: 6px; font-weight: 800; letter-spacing: -.02em; }
.mx-lead { color: var(--mx-muted); max-width: 640px; margin-top: 10px; font-size: 16.5px; }
.mx-more { font-weight: 700; color: var(--mx-brand); }
.mx-more:hover { text-decoration: underline !important; }

/* ---------- hiệu ứng hiện dần / đếm số (chỉ khi JS chạy; tắt JS → thấy ngay) ---------- */
.mx-js .mx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.mx-js .mx-reveal.mx-in { opacity: 1; transform: none; }
.mx-js .mx-reveal[data-d="1"] { transition-delay: .08s; } .mx-js .mx-reveal[data-d="2"] { transition-delay: .16s; } .mx-js .mx-reveal[data-d="3"] { transition-delay: .24s; }
.mx-nofx .mx *, .mx-nofx .mx *::before, .mx-nofx .mx *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .mx-js .mx-reveal { opacity: 1; transform: none; transition: none; }
  .mx *, .mx *::before, .mx *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ---------- ảnh bìa không cắt (MxCover) ---------- */
.mx-bg { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(28px) brightness(.55) saturate(1.25); z-index: 0; }
.mx-fg { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 1200 / 628; object-fit: cover; z-index: 0; transition: transform .6s; }
.mx-fg-c { top: 50%; transform: translateY(-50%); }

/* ---------- thẻ tin (dùng chung) ---------- */
.mx-card { background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 20px; overflow: hidden; box-shadow: var(--mx-shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.mx-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -18px rgba(15, 23, 42, .38); }
.mx-media { position: relative; display: block; aspect-ratio: 1200 / 628; background: var(--mx-grad); overflow: hidden; }
.mx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mx-card:hover .mx-media img, .mx-row:hover .mx-media img { transform: scale(1.05); }
.mx-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-weight: 900; font-size: 44px; background: var(--mx-grad); }
.mx-cbody { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mx-ctitle { font-size: 17px; line-height: 1.35; font-weight: 750; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mx-csum { color: var(--mx-muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-meta { color: var(--mx-muted); font-size: 12.5px; margin-top: auto; }
.mx-empty-note { color: var(--mx-muted); }

/* ---------- ô ảnh nền (tile) ---------- */
.mx-tile { position: relative; border-radius: 22px; overflow: hidden; background: var(--mx-grad); color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--mx-shadow); isolation: isolate; }
.mx-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 42%, rgba(5, 10, 25, .92)); }
.mx-tile:hover .mx-fg, .mx-d-feat:hover .mx-fg { transform: scale(1.03); }
/* Chữ KHÔNG đè lên ảnh bìa: chừa sẵn một khoảng đúng bằng ảnh (tỉ lệ 1200:628) ở đầu ô, chữ nằm dưới khoảng đó. */
.mx-tile:has(.mx-fg)::before, .mx-d-feat:has(.mx-fg)::before { content: ""; display: block; width: 100%; aspect-ratio: 1200 / 628; flex: none; }
.mx-tile-b { position: relative; z-index: 2; padding: 22px; display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: auto; }
.mx-tile h3 { font-size: 19px; line-height: 1.3; font-weight: 750; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mx-tile-lg h3 { font-size: clamp(21px, 2.4vw, 30px); }
.mx-tile small { font-size: 12.5px; opacity: .85; }

/* ======================= HERO — AURORA ======================= */
.block.mx-hero { margin-bottom: 0; }
.mx-hero-aurora { position: relative; min-height: min(78vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; padding: 80px 0 100px; background: var(--mx-top); isolation: isolate; }
.mx-mesh { position: absolute; inset: -20%; z-index: -2; background:
  radial-gradient(40% 50% at 18% 25%, var(--mx-brand) 0%, transparent 60%),
  radial-gradient(35% 45% at 82% 18%, color-mix(in srgb, var(--mx-accent) 55%, transparent) 0%, transparent 62%),
  radial-gradient(45% 55% at 70% 85%, color-mix(in srgb, var(--mx-brand) 60%, #c026d3) 0%, transparent 60%),
  radial-gradient(30% 40% at 25% 90%, color-mix(in srgb, var(--mx-brand) 55%, #06b6d4) 0%, transparent 60%);
  filter: blur(50px) saturate(1.2); animation: mx-drift 18s ease-in-out infinite alternate; opacity: .9; }
@keyframes mx-drift { to { transform: translate3d(3%, -3%, 0) scale(1.08) rotate(3deg); } }
.mx-gridbg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.mx-hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.mx-hero-in > div { min-width: 0; }
.mx-h1 { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -.035em; font-weight: 900; margin: 20px 0; overflow-wrap: anywhere; }
.mx-hero-aurora .mx-h1 em { font-style: normal; background: linear-gradient(90deg, #fff, var(--mx-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mx-sub { font-size: clamp(16px, 1.6vw, 20px); max-width: 560px; margin: 0 0 28px; }
.mx-hero-aurora .mx-sub { color: rgba(255, 255, 255, .88); }
.mx-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.mx-float { position: relative; height: 450px; }
.mx-fcard { position: absolute; width: 78%; border-radius: 22px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(18px); padding: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); display: block; transition: transform .4s; }
.mx-fcard img, .mx-fcard .mx-fph { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; border-radius: 14px; background: var(--mx-grad); display: block; }
.mx-fcard strong { display: -webkit-box; margin: 10px 6px 4px; font-size: 15.5px; line-height: 1.3; font-weight: 700; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-fcard small { display: block; margin: 0 6px 4px; font-size: 12px; opacity: .8; }
.mx-f1 { top: 0; left: 0; transform: rotate(-4deg); animation: mx-bob 7s ease-in-out infinite; }
.mx-f2 { top: 130px; right: 0; transform: rotate(3deg); animation: mx-bob 8s ease-in-out -2s infinite; }
.mx-f3 { top: 275px; left: 8%; transform: rotate(-2deg); animation: mx-bob 9s ease-in-out -4s infinite; }
.mx-fcard:hover { transform: rotate(0) scale(1.04); z-index: 5; animation-play-state: paused; }
@keyframes mx-bob { 50% { translate: 0 -12px; } }

/* ======================= HERO — SPLIT (Campaign) ======================= */
.mx-hero-split { position: relative; padding: 64px 0 80px; background: var(--mx-bg); overflow: hidden; isolation: isolate; }
.mx-hero-split::before { content: ""; position: absolute; right: -12%; top: -20%; width: 62%; aspect-ratio: 1; z-index: -1; background: radial-gradient(circle, color-mix(in srgb, var(--mx-brand) 24%, transparent), transparent 65%); filter: blur(10px); }
.mx-hero-split::after { content: ""; position: absolute; left: -10%; bottom: -25%; width: 46%; aspect-ratio: 1; z-index: -1; background: radial-gradient(circle, color-mix(in srgb, var(--mx-accent) 30%, transparent), transparent 65%); }
.mx-hero-split .mx-hero-in { grid-template-columns: 1.05fr .95fr; gap: 60px; }
.mx-hero-split .mx-h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.04em; }
.mx-hero-split .mx-h1 mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--mx-accent) 80%, transparent) 62%); color: inherit; padding: 0 4px; }
.mx-hero-split .mx-sub { color: var(--mx-muted); }
.mx-trust { display: flex; gap: 12px 26px; margin-top: 32px; flex-wrap: wrap; }
.mx-trust div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--mx-muted); font-weight: 600; }
.mx-trust i { color: var(--mx-brand); font-size: 18px; }
.mx-collage { position: relative; height: 500px; }
.mx-ph { position: absolute; display: block; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .5); background: var(--mx-grad); border: 6px solid var(--mx-card); isolation: isolate; }
.mx-p1 { width: 62%; height: 70%; left: 0; top: 0; border-radius: 30px 30px 140px 30px; animation: mx-bob 9s ease-in-out infinite; }
.mx-p2 { width: 50%; height: 46%; right: 0; top: 6%; border-radius: 140px 30px 30px 30px; animation: mx-bob 8s -3s ease-in-out infinite; }
.mx-p3 { width: 54%; height: 40%; right: 6%; bottom: 0; border-radius: 30px 140px 30px 30px; animation: mx-bob 10s -5s ease-in-out infinite; }
.mx-badge { position: absolute; left: 36%; bottom: 16%; width: 128px; height: 128px; border-radius: 50%; background: var(--mx-accent); color: #1f1300; display: grid; place-items: center; text-align: center; font-weight: 900; line-height: 1.15; box-shadow: 0 18px 40px -10px color-mix(in srgb, var(--mx-accent) 80%, transparent); animation: mx-spin 14s linear infinite; z-index: 3; padding: 10px; }
.mx-badge span { display: block; animation: mx-spin 14s linear infinite reverse; font-size: 14px; }
@keyframes mx-spin { to { transform: rotate(360deg); } }

/* ======================= TICKER (Spotlight) ======================= */
.block.mx-ticker { margin-bottom: 0; background: var(--mx-top); color: #e2e8f0; font-size: 13.5px; }
.mx-ticker-in { display: flex; align-items: center; gap: 18px; height: 42px; }
.mx-live { display: inline-flex; align-items: center; gap: 7px; background: #ef4444; color: #fff; padding: 3px 11px; border-radius: 6px; font-weight: 800; letter-spacing: .06em; font-size: 12px; flex: none; }
.mx-ticker-view { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.mx-ticker-track { display: flex; gap: 46px; width: max-content; animation: mx-marq 70s linear infinite; }
.mx-ticker-view:hover .mx-ticker-track { animation-play-state: paused; }
.mx-ticker-track a { white-space: nowrap; opacity: .92; }
.mx-ticker-track a:hover { opacity: 1; text-decoration: underline !important; }
.mx-ticker-date { margin-left: auto; opacity: .8; flex: none; }
@keyframes mx-marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mx-ticker-view { overflow-x: auto; } .mx-ticker-track { animation: none; } }

/* ======================= STATS ======================= */
.mx-stats-card { position: relative; z-index: 5; }
.mx-hero + .mx-stats-card { margin-top: -58px; }
.mx-hero + .block:not(.mx-stats-card) { margin-top: 56px; }
.mx-stats-in { display: grid; grid-template-columns: repeat(var(--mx-c, var(--mx-n, 4)), 1fr); }
.mx-stats-card .mx-stats-in { background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); overflow: hidden; width: min(1200px, 100%); margin-inline: auto; }
.mx-stats-card .mx-stat { padding: 28px 22px; text-align: center; border-right: 1px solid var(--mx-line); }
.mx-stats-card .mx-stat:last-child { border: 0; }
/* 5–8 ô: 2 hàng — bỏ vạch phải ở ô cuối mỗi hàng, thêm vạch ngăn giữa hai hàng */
.mx-stats-card .mx-stats-in[data-c="3"] .mx-stat:nth-child(3n), .mx-stats-card .mx-stats-in[data-c="4"] .mx-stat:nth-child(4n) { border-right: 0; }
.mx-stats-card .mx-stats-in[data-c="3"] .mx-stat:nth-child(n+4), .mx-stats-card .mx-stats-in[data-c="4"] .mx-stat:nth-child(n+5) { border-top: 1px solid var(--mx-line); }
.mx-stats-card .mx-stat b { display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; letter-spacing: -.03em; background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; }
.mx-stats-card .mx-stat span { color: var(--mx-muted); font-size: 14px; }
.block.mx-stats-band { background: var(--mx-grad); color: #fff; padding: 64px 0; position: relative; overflow: hidden; isolation: isolate; }
.mx-stats-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 12% 0, rgba(255, 255, 255, .22), transparent 40%), radial-gradient(circle at 90% 100%, color-mix(in srgb, var(--mx-accent) 55%, transparent), transparent 40%); }
.mx-stats-band .mx-stats-in { gap: 20px; text-align: center; }
.mx-stats-band .mx-stat b { display: block; font-size: clamp(34px, 5vw, 60px); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
.mx-stats-band .mx-stat span { opacity: .9; font-size: 15px; }
@media (max-width: 900px) {
  .mx-stats-in, .mx-stats-in[data-c] { grid-template-columns: repeat(2, 1fr); }
  .mx-stats-card .mx-stats-in .mx-stat { border-right: 1px solid var(--mx-line); border-top: 0; }
  .mx-stats-card .mx-stats-in .mx-stat:nth-child(2n), .mx-stats-card .mx-stats-in .mx-stat:last-child { border-right: 0; }
  .mx-stats-card .mx-stats-in .mx-stat:nth-child(n+3) { border-top: 1px solid var(--mx-line); }
}

/* ======================= BENTO (tin) ======================= */
.mx-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 18px; }
.mx-bento .mx-tile { min-height: 0; }
.mx-bento .mx-tile-lg { grid-column: span 2; grid-row: span 2; }
.mx-bento .mx-tile:not(.mx-tile-lg) h3 { -webkit-line-clamp: 2; font-size: 17px; }
@container mx (max-width: 820px) { .mx-bento { grid-template-columns: repeat(2, 1fr); } }
@container mx (max-width: 520px) { .mx-bento { grid-template-columns: 1fr; grid-auto-rows: auto; } .mx-bento .mx-tile-lg { grid-column: auto; grid-row: auto; } }

/* ======================= SPOTLIGHT (tiêu điểm + xếp hạng) ======================= */
.mx-spot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; }
.mx-spot-lead { grid-row: span 2; min-height: 540px; }
.mx-spot-lead .mx-tile-b { padding: 28px; }
.mx-spot-lead .mx-tile-b p { color: rgba(255, 255, 255, .88); max-width: 560px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
.mx-spot-two { min-height: 260px; }
.mx-spot-two h3 { font-size: 16.5px; -webkit-line-clamp: 2; }
.mx-rank { grid-column: 2 / span 2; background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 22px; padding: 20px 22px; box-shadow: var(--mx-shadow); }
.mx-rank h3 { margin: 0 0 12px; font-size: 16px; }
.mx-rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: mxr; }
.mx-rank li { display: flex; gap: 14px; align-items: flex-start; counter-increment: mxr; }
.mx-rank li::before { content: counter(mxr); font-size: 28px; font-weight: 900; line-height: 1; color: color-mix(in srgb, var(--mx-brand) 45%, transparent); min-width: 28px; }
.mx-rank li a { font-weight: 700; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-rank li a:hover { color: var(--mx-brand); }
.mx-rank li small { display: block; color: var(--mx-muted); margin-top: 2px; font-size: 12px; }
@container mx (max-width: 820px) {
  .mx-spot-grid { grid-template-columns: 1fr 1fr; }
  .mx-spot-lead { grid-column: span 2; grid-row: auto; min-height: 400px; }
  .mx-rank { grid-column: span 2; }
}
@container mx (max-width: 520px) {
  .mx-spot-grid { grid-template-columns: 1fr; }
  .mx-spot-lead, .mx-rank { grid-column: auto; }
  .mx-spot-lead { min-height: 340px; }
}

/* ======================= TIN CUỘN NGANG ======================= */
.mx-snap { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.mx-snap .mx-card { flex: 0 0 min(340px, 82%); scroll-snap-align: start; }
.mx-snap:focus-visible, .mx-quotes:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 2px; }

/* Slider (MxScroll): nút trước/sau + chấm trang + tự chạy; chỉ hiện điều khiển khi có JS (.mx-sl-js), không JS vẫn cuộn ngang được */
.mx-sl { position: relative; }
.mx-sl-btn, .mx-sl-dots { display: none; }
.mx-sl-js .mx-snap { scrollbar-width: none; padding-bottom: 14px; }
.mx-sl-js .mx-snap::-webkit-scrollbar { display: none; }
.mx-sl-js .mx-sl-btn { display: grid; place-items: center; position: absolute; top: calc(50% - 60px); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--mx-line); background: rgba(255, 255, 255, .94); color: var(--mx-brand); box-shadow: 0 10px 26px -8px rgba(15, 23, 42, .45); cursor: pointer; font-size: 17px; transition: transform .2s, background .2s, color .2s, opacity .2s; }
.mx-sl-js .mx-sl-btn:hover { background: var(--mx-brand); color: #fff; transform: scale(1.08); }
.mx-sl-js .mx-sl-btn:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 2px; }
.mx-sl-prev { left: -14px; } .mx-sl-next { right: -14px; }
.mx-sl-js .mx-sl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
/* Chấm trang: vùng bấm ≥ 24×24px (WCAG 2.2 · 2.5.8); chấm nhìn thấy vẽ bằng ::before nên hình dạng giữ nguyên */
.mx-sl-dots { gap: 0; }
.mx-sl-dots button { position: relative; min-width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.mx-sl-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 999px; background: color-mix(in srgb, var(--mx-brand) 28%, transparent); transition: width .25s, margin .25s, background .25s; }
.mx-sl-dots button.on { min-width: 40px; }
.mx-sl-dots button.on::before { width: 26px; margin-left: -13px; background: var(--mx-brand); }
.mx-sl-dots button:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: -2px; border-radius: 12px; }
@media (max-width: 700px) { .mx-sl-prev { left: 4px; } .mx-sl-next { right: 4px; } .mx-sl-js .mx-sl-btn { width: 40px; height: 40px; } }

/* ======================= DẢI LĨNH VỰC ======================= */
.block.mx-marq { overflow: hidden; border-block: 1px solid var(--mx-line); background: var(--mx-card); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mx-marq-track { display: flex; gap: 16px; width: max-content; animation: mx-marq 40s linear infinite; }
.mx-marq:hover .mx-marq-track { animation-play-state: paused; }
.mx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 999px; background: var(--mx-bg); border: 1px solid var(--mx-line); font-weight: 700; white-space: nowrap; }
.mx-pill i { color: var(--mx-brand); }

/* ======================= THẺ TÍNH NĂNG / DỊCH VỤ ======================= */
.mx-svc, .mx-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.mx-fi { display: block; padding: 26px; border-radius: 22px; background: var(--mx-card); border: 1px solid var(--mx-line); transition: .3s; position: relative; overflow: hidden; }
.mx-fi i { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 21px; margin-bottom: 16px; transition: .3s; }
.mx-fi h3 { font-size: 18px; margin-bottom: 6px; line-height: 1.3; }
.mx-fi p { font-size: 14.5px; color: var(--mx-muted); }
.mx-svc .mx-fi i { background: color-mix(in srgb, var(--mx-brand) 14%, transparent); color: var(--mx-brand); }
.mx-svc a.mx-fi:hover { background: var(--mx-grad); color: #fff; transform: translateY(-6px); box-shadow: var(--mx-shadow); }
.mx-svc a.mx-fi:hover i { background: rgba(255, 255, 255, .2); color: #fff; }
.mx-svc a.mx-fi:hover p { color: rgba(255, 255, 255, .88); }
.mx-feat .mx-fi { padding: 28px 24px; }
.mx-feat .mx-fi:hover { transform: translateY(-6px); box-shadow: var(--mx-shadow); }
.mx-feat .mx-fi::after { content: attr(data-n); position: absolute; right: 14px; top: 4px; font-size: 72px; font-weight: 900; color: color-mix(in srgb, var(--mx-brand) 9%, transparent); line-height: 1; }
.mx-feat .mx-fi i { width: 54px; height: 54px; border-radius: 17px; background: var(--mx-grad); color: #fff; }

/* ======================= KÊU GỌI HÀNH ĐỘNG ======================= */
.mx-cta { position: relative; border-radius: 30px; overflow: hidden; background: var(--mx-grad); color: #fff; padding: 56px 40px; text-align: center; isolation: isolate; }
.mx-cta::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .26), transparent 40%), radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--mx-accent) 65%, transparent), transparent 40%); z-index: -1; animation: mx-drift 14s ease-in-out infinite alternate; }
.mx-cta h2 { font-size: clamp(26px, 3.8vw, 44px); margin-bottom: 12px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.mx-cta p { max-width: 560px; margin: 0 auto 24px; opacity: .92; }
.mx-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ======================= LỘ TRÌNH CÁC BƯỚC ======================= */
.mx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--mx-n, 4), 1fr); gap: 22px; position: relative; }
.mx-steps::before { content: ""; position: absolute; left: calc(50% / var(--mx-n, 4)); right: calc(50% / var(--mx-n, 4)); top: 34px; border-top: 3px dashed color-mix(in srgb, var(--mx-brand) 35%, transparent); }
.mx-step { text-align: center; position: relative; }
.mx-step b { width: 68px; height: 68px; border-radius: 50%; background: var(--mx-card); border: 3px solid var(--mx-brand); color: var(--mx-brand); display: grid; place-items: center; margin: 0 auto 16px; font-size: 25px; box-shadow: 0 0 0 10px var(--panel-bg, var(--page-bg, #fff)); position: relative; z-index: 2; }
.mx-step h3 { font-size: 18px; margin-bottom: 6px; line-height: 1.3; }
.mx-step p { color: var(--mx-muted); font-size: 14.5px; }
@container mx (max-width: 760px) { .mx-steps { grid-template-columns: repeat(2, 1fr); } .mx-steps::before { display: none; } }
@container mx (max-width: 460px) { .mx-steps { grid-template-columns: 1fr; } }

/* ======================= TRÍCH DẪN ======================= */
.mx-quotes { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; }
.mx-quotes blockquote { flex: 0 0 min(400px, 86%); scroll-snap-align: start; margin: 0; padding: 28px; border-radius: 24px; background: var(--mx-card); border: 1px solid var(--mx-line); box-shadow: var(--mx-shadow); display: flex; flex-direction: column; }
.mx-quotes blockquote p { margin-bottom: 18px; font-size: 16.5px; line-height: 1.55; }
.mx-quotes blockquote p::before { content: "\201C"; display: block; font-size: 52px; line-height: .6; color: var(--mx-brand); font-weight: 900; }
.mx-quotes footer { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; margin-top: auto; }
.mx-quotes footer > span { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--mx-grad); color: #fff; display: grid; place-items: center; }
.mx-quotes footer small { display: block; font-weight: 500; color: var(--mx-muted); }

/* ======================= HỎI ĐÁP ======================= */
.mx-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.mx-faq details { background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 18px; padding: 0 22px; transition: .2s; }
.mx-faq details[open] { box-shadow: var(--mx-shadow); border-color: color-mix(in srgb, var(--mx-brand) 40%, transparent); }
.mx-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.mx-faq summary::-webkit-details-marker { display: none; }
.mx-faq summary::after { content: "+"; font-size: 26px; color: var(--mx-brand); transition: .2s; line-height: 1; flex: none; }
.mx-faq details[open] summary::after { transform: rotate(45deg); }
.mx-faq summary:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 2px; border-radius: 8px; }
.mx-faq details p { margin-bottom: 18px; color: var(--mx-muted); white-space: pre-line; }

/* ======================= THƯ VIỆN ẢNH GẠCH ======================= */
.mx-masonry { columns: 4; column-gap: 16px; }
.mx-mi { display: block; margin-bottom: 16px; border-radius: 18px; overflow: hidden; position: relative; break-inside: avoid; background: var(--mx-grad); box-shadow: var(--mx-shadow); }
.mx-mi img { width: 100%; height: auto; transition: transform .6s; }
.mx-mi:hover img { transform: scale(1.06); }
.mx-mi span { position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px; background: linear-gradient(transparent, rgba(5, 10, 25, .86)); color: #fff; font-weight: 700; font-size: 13.5px; opacity: 0; transition: .3s; line-height: 1.3; }
.mx-mi:hover span, .mx-mi:focus-visible span { opacity: 1; }
@container mx (max-width: 900px) { .mx-masonry { columns: 3; } }
@container mx (max-width: 620px) { .mx-masonry { columns: 2; column-gap: 12px; } .mx-mi { margin-bottom: 12px; border-radius: 14px; } .mx-mi span { opacity: 1; font-size: 12px; padding: 24px 10px 8px; } }

/* ======================= THANH HÀNH ĐỘNG DÍNH ĐÁY ======================= */
.mx-sticky { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; padding: 10px 14px; gap: 10px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); border-top: 1px solid var(--mx-line); margin: 0; }
.mx-sticky .mx-btn { flex: 1; padding: 12px 10px; }
@media (max-width: 1000px) { .mx-sticky { display: flex; } }

/* ======================= DANH SÁCH TIN DẠNG HÀNG ======================= */
.mx-rows { display: grid; gap: 16px; }
.mx-row { display: grid; grid-template-columns: 230px 1fr; gap: 20px; background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 20px; padding: 12px; transition: .3s; align-items: center; }
.mx-row:hover { transform: translateX(6px); box-shadow: var(--mx-shadow); }
.mx-row .mx-media { border-radius: 14px; }
.mx-row-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mx-row-b > strong { font-size: 18px; line-height: 1.32; font-weight: 750; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mx-row:hover .mx-row-b > strong { color: var(--mx-brand); }
.mx-row .mx-meta { margin-top: 2px; }
@container mx (max-width: 560px) { .mx-row { grid-template-columns: 1fr; } .mx-row:hover { transform: none; } }

/* ======================= TAB THEO CHUYÊN MỤC (CSS thuần) ======================= */
.mx-tabs > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mx-tabbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; border-bottom: 1px solid var(--mx-line); padding-bottom: 14px; }
.mx-tabbar label { padding: 9px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--mx-muted); transition: .2s; font-size: 14.5px; }
.mx-tabbar label:hover { color: var(--mx-brand); }
.mx-panel { display: none; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@container mx (min-width: 900px) { .mx-panel { grid-template-columns: repeat(4, 1fr); } }
@container mx (max-width: 440px) { .mx-panel { grid-template-columns: 1fr; } }
.mx-tabs > input:nth-of-type(1):checked ~ .mx-tabbar label:nth-child(1), .mx-tabs > input:nth-of-type(2):checked ~ .mx-tabbar label:nth-child(2),
.mx-tabs > input:nth-of-type(3):checked ~ .mx-tabbar label:nth-child(3), .mx-tabs > input:nth-of-type(4):checked ~ .mx-tabbar label:nth-child(4),
.mx-tabs > input:nth-of-type(5):checked ~ .mx-tabbar label:nth-child(5), .mx-tabs > input:nth-of-type(6):checked ~ .mx-tabbar label:nth-child(6) { background: var(--mx-brand); color: #fff; }
.mx-tabs > input:nth-of-type(1):checked ~ .mx-panels .mx-panel:nth-child(1), .mx-tabs > input:nth-of-type(2):checked ~ .mx-panels .mx-panel:nth-child(2),
.mx-tabs > input:nth-of-type(3):checked ~ .mx-panels .mx-panel:nth-child(3), .mx-tabs > input:nth-of-type(4):checked ~ .mx-panels .mx-panel:nth-child(4),
.mx-tabs > input:nth-of-type(5):checked ~ .mx-panels .mx-panel:nth-child(5), .mx-tabs > input:nth-of-type(6):checked ~ .mx-panels .mx-panel:nth-child(6) { display: grid; animation: mx-fade .45s; }
.mx-tabs > input:focus-visible ~ .mx-tabbar { outline: 3px solid var(--mx-accent); outline-offset: 4px; border-radius: 12px; }
@keyframes mx-fade { from { opacity: 0; transform: translateY(8px); } }

/* ======================= BẢNG ĐIỀU KHIỂN BENTO ======================= */
.mx-dash-hello { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.mx-dash-hello h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.03em; font-weight: 900; }
.mx-dash-hello p { margin-top: 4px; color: var(--mx-muted); }
.mx-cmd { flex: 1 1 280px; max-width: 460px; display: flex; align-items: center; gap: 10px; background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 14px; height: 46px; padding: 0 14px; color: var(--mx-muted); }
.mx-cmd:focus-within { border-color: var(--mx-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mx-brand) 20%, transparent); }
.mx-cmd input { flex: 1; border: 0; background: transparent; outline: 0; font: inherit; color: var(--mx-ink); min-width: 0; }
.mx-dgrid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; grid-auto-rows: minmax(140px, auto); gap: 16px; }
.mx-dt { background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 24px; padding: 20px; box-shadow: var(--mx-shadow); position: relative; overflow: hidden; transition: transform .3s; min-width: 0; }
.mx-dt:hover { transform: translateY(-3px); }
.mx-dt h3 { margin-bottom: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mx-muted); font-weight: 800; }
.mx-d-feat { grid-column: span 7; grid-row: span 3; padding: 0; min-height: 420px; flex-direction: column; justify-content: flex-end; align-items: stretch; border: 0; display: flex; color: #fff; background: var(--mx-grad); isolation: isolate; }
.mx-d-feat::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 42%, rgba(4, 8, 22, .94)); }
.mx-d-feat:hover .mx-fg { transform: scale(1.03); }
.mx-d-feat-b { position: relative; z-index: 2; padding: 30px; display: grid; gap: 10px; max-width: 640px; margin-top: auto; }
.mx-d-feat-b h3 { color: #fff; font-size: clamp(22px, 2.6vw, 34px); text-transform: none; letter-spacing: -.02em; margin: 0; line-height: 1.18; font-weight: 800; }
.mx-d-feat-b p { opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-d-feat-b small { opacity: .8; font-size: 12.5px; }
.mx-d-feat-b .mx-chip { justify-self: start; }
.mx-d-svc { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; }
.mx-d-svc-g { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(76px, 1fr); gap: 10px; flex: 1; }
.mx-d-svc-g a { display: grid; gap: 8px; justify-items: center; align-content: center; text-align: center; padding: 14px 6px; border-radius: 18px; font-weight: 700; font-size: 12.5px; line-height: 1.25; background: color-mix(in srgb, var(--mx-brand) 8%, transparent); transition: .25s; }
.mx-d-svc-g a:hover { background: var(--mx-brand); color: #fff; transform: translateY(-3px); }
.mx-d-svc-g i { font-size: 20px; color: var(--mx-brand); }
.mx-d-svc-g a:hover i { color: #fff; }
.mx-d-stat { grid-column: span 5; background: var(--mx-grad); color: #fff; border: 0; min-height: 150px; }
.mx-d-stat h3 { color: rgba(255, 255, 255, .82); }
.mx-d-stat b { position: relative; z-index: 2; font-size: clamp(38px, 5vw, 58px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.mx-spark { position: absolute; right: 0; bottom: 0; width: 62%; height: 70%; }
.mx-d-news { grid-column: span 5; grid-row: span 2; }
.mx-li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mx-line); align-items: flex-start; }
.mx-li:first-of-type { border: 0; padding-top: 0; }
.mx-li img, .mx-li .mx-th { flex: none; width: 96px; height: 50px; border-radius: 10px; object-fit: cover; background: var(--mx-grad); }
.mx-li b { font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-li:hover b { color: var(--mx-brand); }
.mx-li small { color: var(--mx-muted); display: block; font-size: 12px; margin-top: 2px; }
.mx-d-ev { grid-column: span 4; grid-row: span 2; }
.mx-ev { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--mx-line); }
.mx-d-ev h3 + .mx-ev { border: 0; padding-top: 0; }
.mx-ev-d { flex: none; width: 52px; height: 56px; border-radius: 14px; background: var(--mx-grad); color: #fff; display: grid; place-items: center; text-align: center; font-size: 11px; line-height: 1.1; font-weight: 700; }
.mx-ev-d b { font-size: 20px; display: block; }
.mx-ev h4 { font-size: 14.5px; line-height: 1.35; margin-bottom: 2px; }
.mx-ev small { color: var(--mx-muted); }
.mx-d-ann { grid-column: span 3; background: color-mix(in srgb, var(--mx-accent) 22%, var(--mx-card)); border-color: color-mix(in srgb, var(--mx-accent) 60%, transparent); }
.mx-d-ann p { margin-bottom: 12px; font-size: 15px; }
.mx-d-contact { grid-column: span 3; }
.mx-d-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.mx-d-contact li { display: flex; gap: 10px; align-items: flex-start; }
.mx-d-contact li i { color: var(--mx-brand); margin-top: 4px; flex: none; }
.mx-d-contact li span { overflow-wrap: anywhere; }
.mx-d-cats { grid-column: span 12; }
.mx-cchip { display: inline-block; margin: 0 6px 8px 0; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--mx-brand) 10%, transparent); color: var(--mx-brand); font-weight: 700; font-size: 13px; transition: .2s; }
.mx-cchip:hover { background: var(--mx-brand); color: #fff; }
@container mx (max-width: 900px) {
  .mx-dgrid { grid-template-columns: repeat(6, 1fr); }
  .mx-d-feat, .mx-d-svc, .mx-d-stat, .mx-d-news, .mx-d-ev, .mx-d-ann, .mx-d-contact, .mx-d-cats { grid-column: span 6; grid-row: auto; }
  .mx-d-feat { min-height: 0; }
}
@container mx (min-width: 901px) and (max-width: 1100px) { .mx-d-ann, .mx-d-contact { grid-column: span 6; } }

/* ======================= CO GIÃN CHUNG (màn hình hẹp) ======================= */
@media (max-width: 980px) {
  .mx-hero-in, .mx-hero-split .mx-hero-in { grid-template-columns: 1fr; gap: 36px; }
  .mx-float { display: none; }
  .mx-collage { height: 400px; }
  .mx-hero-aurora { min-height: 0; padding: 56px 0 90px; }
}
@media (max-width: 560px) {
  .block.mx-b { margin-bottom: 44px; }
  .mx-hero-split { padding: 36px 0 56px; }
  .mx-collage { height: 320px; }
  .mx-badge { width: 100px; height: 100px; } .mx-badge span { font-size: 12px; }
  .mx-cta { padding: 40px 22px; border-radius: 24px; }
  .mx-actions .mx-btn { flex: 1 1 auto; }
  .mx-ticker-date { display: none; }
}

/* ===== Nền tùy chọn của khối (màu · ảnh · slider CHÌM) — chỉ có hiệu lực khi quản trị cấu hình; mặc định không render gì ===== */
.mx-has-bg { position: relative; isolation: isolate; overflow: hidden; }
.mx-has-bg:not(.mx-bleed):not(.mx-cta) { border-radius: 24px; }
.mx-sbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mx-sbg > span { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: var(--mx-bg-o, .35); }
.mx-sbg-slider > span { opacity: 0; animation-duration: 30s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; transform: scale(1.04); }
.mx-sbg-n2 > span { animation-name: mx-bgf-2; animation-delay: calc(var(--i) * 30s / 2); }
.mx-sbg-n3 > span { animation-name: mx-bgf-3; animation-delay: calc(var(--i) * 30s / 3); }
.mx-sbg-n4 > span { animation-name: mx-bgf-4; animation-delay: calc(var(--i) * 30s / 4); }
.mx-sbg-n5 > span { animation-name: mx-bgf-5; animation-delay: calc(var(--i) * 30s / 5); }
.mx-sbg-n6 > span { animation-name: mx-bgf-6; animation-delay: calc(var(--i) * 30s / 6); }
@keyframes mx-bgf-2 { 0% { opacity: 0 } 9.0% { opacity: var(--mx-bg-o) } 50.0% { opacity: var(--mx-bg-o) } 59.0% { opacity: 0 } 100% { opacity: 0 } }
@keyframes mx-bgf-3 { 0% { opacity: 0 } 6.0% { opacity: var(--mx-bg-o) } 33.3% { opacity: var(--mx-bg-o) } 39.3% { opacity: 0 } 100% { opacity: 0 } }
@keyframes mx-bgf-4 { 0% { opacity: 0 } 4.5% { opacity: var(--mx-bg-o) } 25.0% { opacity: var(--mx-bg-o) } 29.5% { opacity: 0 } 100% { opacity: 0 } }
@keyframes mx-bgf-5 { 0% { opacity: 0 } 3.6% { opacity: var(--mx-bg-o) } 20.0% { opacity: var(--mx-bg-o) } 23.6% { opacity: 0 } 100% { opacity: 0 } }
@keyframes mx-bgf-6 { 0% { opacity: 0 } 3.0% { opacity: var(--mx-bg-o) } 16.7% { opacity: var(--mx-bg-o) } 19.7% { opacity: 0 } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .mx-sbg-slider > span { animation: none; opacity: var(--mx-bg-o); transform: none; } .mx-sbg-slider > span:not(:first-child) { display: none; } }

/* ==========================================================================
   ĐỢT 2 — Editorial · Hub · Stories · Impact (thêm 19/10/2026). Chỉ THÊM: mọi selector có tiền tố .mx-… như phần trên; không sửa quy tắc cũ.
   Phông chữ: dùng phông của đơn vị (--font) / phông tiêu đề (--font-heading); riêng Editorial mặc định tiêu đề kiểu có chân (Newsreader).
   ========================================================================== */
.site-main:has(> .page-fulltop > .mx-hub:first-child) { padding-top: 0; }   /* Cổng theo người dùng dính sát menu như Hero */

/* ======================= EDITORIAL: MxEditorial · MxColumns ======================= */
.mx-ed { --mx-serif: "Newsreader", "Times New Roman", Times, "Noto Serif", "Liberation Serif", serif; --mx-ed-font: var(--font-heading, var(--mx-serif)); }
.mx-ed-lead { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 38px; padding-bottom: 34px; border-bottom: 1px solid var(--mx-line); }
.mx-ed-main { display: block; min-width: 0; }
.mx-ed-fig { position: relative; display: block; aspect-ratio: 1200 / 628; background: var(--mx-grad); border-radius: 6px; overflow: hidden; }
.mx-ed-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.mx-ed-main:hover .mx-ed-fig img { transform: scale(1.03); }
.mx-ed-kick { display: block; margin: 18px 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mx-brand); }
.mx-ed .mx-ed-h1 { font-family: var(--mx-ed-font); font-size: clamp(27px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 700; overflow-wrap: anywhere; }
.mx-ed-main:hover .mx-ed-h1 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mx-ed-stand { display: block; font-family: var(--mx-ed-font); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--mx-muted); margin: 0 0 12px; }
.mx-ed-by { display: block; font-size: 13px; color: var(--mx-muted); }
.mx-ed-rail h3 { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--mx-ink); }
.mx-ed-rail ol { list-style: none; margin: 0; padding: 0; counter-reset: mxed; }
.mx-ed-rail li { counter-increment: mxed; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--mx-line); }
.mx-ed-rail li::before { content: counter(mxed); font-family: var(--mx-ed-font); font-size: 36px; line-height: 1; font-weight: 700; color: color-mix(in srgb, var(--mx-brand) 55%, var(--mx-muted)); }
.mx-ed-rail li a { font-family: var(--mx-ed-font); font-size: 18px; line-height: 1.3; font-weight: 600; }
.mx-ed-rail li a:hover { color: var(--mx-brand); }
.mx-ed-rail small { display: block; color: var(--mx-muted); font-size: 12.5px; margin-top: 4px; }
@container mx (max-width: 820px) { .mx-ed-lead { grid-template-columns: 1fr; gap: 26px; } }

.mx-cols-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 38px; }
.mx-col { border-top: 4px solid var(--c, var(--mx-brand)); padding-top: 14px; min-width: 0; }
.mx-cols .mx-col-h { margin: 0 0 16px; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mx-col-all { font-size: 12.5px; letter-spacing: .02em; text-transform: none; color: var(--mx-brand); font-weight: 700; white-space: nowrap; }
.mx-col-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--mx-line); }
.mx-col-top .mx-media { border-radius: 4px; }
.mx-col-top strong { display: block; font-family: var(--font-heading, var(--font)); font-size: 18px; line-height: 1.3; font-weight: 700; }
.mx-col-top:hover strong, .mx-col-li:hover { color: var(--mx-brand); }
.mx-col-top small, .mx-col-li small { display: block; color: var(--mx-muted); font-size: 12.5px; margin-top: 4px; font-weight: 400; }
.mx-col-li { display: block; padding: 12px 0; border-bottom: 1px solid var(--mx-line); font-size: 16px; line-height: 1.4; font-weight: 600; }
@container mx (max-width: 760px) { .mx-cols-g { grid-template-columns: 1fr; } }
@container mx (max-width: 460px) { .mx-col-top { grid-template-columns: 1fr; } }

/* ======================= LỊCH SỰ KIỆN: MxAgenda ======================= */
.mx-ag-l .mx-ag-box { border-top: 2px solid var(--mx-ink); }
.mx-ag-i { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--mx-line); }
.mx-ag-i time { font-weight: 800; font-size: 14px; color: var(--mx-brand); }
.mx-ag-i strong { font-size: 18px; font-weight: 650; line-height: 1.35; }
.mx-ag-i strong a:hover { color: var(--mx-brand); text-decoration: underline !important; }
.mx-ag-i span { font-size: 13.5px; color: var(--mx-muted); }
@container mx (max-width: 640px) { .mx-ag-i { grid-template-columns: 1fr; gap: 4px; } }
.mx-ag-t .mx-ag-box { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; scrollbar-width: thin; }
.mx-ag-t .mx-ag-box:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 2px; }
.mx-tk { flex: 0 0 min(310px, 82%); scroll-snap-align: start; background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 22px; display: grid; grid-template-columns: 78px minmax(0, 1fr); box-shadow: var(--mx-shadow); overflow: hidden; position: relative; }
.mx-tk::before { content: ""; position: absolute; left: 78px; top: -9px; bottom: -9px; border-left: 2px dashed var(--mx-line); }
.mx-tk-d { background: var(--mx-grad); color: #fff; display: grid; place-content: center; text-align: center; padding: 14px 0; font-size: 12px; }
.mx-tk-d b { display: block; font-size: 30px; line-height: 1; }
.mx-tk-b { padding: 14px 16px; min-width: 0; }
.mx-tk-b h3 { margin: 0 0 5px; font-size: 15.5px; line-height: 1.3; }
.mx-tk-b h3 a:hover { text-decoration: underline !important; }
.mx-tk-b small { color: var(--mx-muted); font-size: 12.5px; }

/* ======================= HUB: MxHub ======================= */
.block.mx-hub { margin-bottom: 40px; position: relative; color: #fff; background: var(--mx-grad); padding: 64px 0 56px; overflow: hidden; isolation: isolate; }
.mx-hub::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 85% 10%, rgba(255, 255, 255, .22), transparent 60%), radial-gradient(35% 50% at 5% 100%, color-mix(in srgb, var(--mx-accent) 45%, transparent), transparent 60%); }
.mx-hub-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.mx-hub-in > div { min-width: 0; }
.mx-hub .mx-h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.03em; font-weight: 900; margin: 14px 0; overflow-wrap: anywhere; }
.mx-hub .mx-sub { color: rgba(255, 255, 255, .9); margin: 0 0 22px; max-width: 540px; }
.mx-hub-search { display: flex; background: #fff; border-radius: 18px; padding: 7px; box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .5); max-width: 620px; }
.mx-hub-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; padding: 12px 16px; color: #0f172a; outline: none; }
.mx-hub-search button { border: 0; border-radius: 13px; background: var(--mx-brand-d); color: #fff; font: inherit; font-weight: 800; padding: 0 26px; cursor: pointer; min-height: 48px; }
.mx-hub-search:focus-within { outline: 3px solid var(--mx-accent); outline-offset: 2px; }
.mx-hub-sg { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 13.5px; align-items: center; }
.mx-hub-sg a { padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.mx-hub-sg a:hover { background: rgba(255, 255, 255, .3); }
.mx-hub-p { position: relative; background: var(--mx-card); color: var(--mx-ink); border-radius: 26px; padding: 20px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.mx-hub-p input { position: absolute; opacity: 0; pointer-events: none; }
.mx-hub-p h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mx-muted); margin: 2px 4px 12px; }
.mx-hub-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.mx-hub-bar label { padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--mx-line); font-weight: 700; font-size: 14.5px; cursor: pointer; text-align: center; transition: .2s; }
.mx-hub-bar label:hover { border-color: var(--mx-brand); }
.mx-hub-panel { display: none; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mx-hub-panel:first-child { display: grid; }
.mx-hub-p:has(input:nth-of-type(1):checked) .mx-hub-panel:nth-child(1),
.mx-hub-p:has(input:nth-of-type(2):checked) .mx-hub-panel:nth-child(2),
.mx-hub-p:has(input:nth-of-type(3):checked) .mx-hub-panel:nth-child(3),
.mx-hub-p:has(input:nth-of-type(4):checked) .mx-hub-panel:nth-child(4),
.mx-hub-p:has(input:nth-of-type(5):checked) .mx-hub-panel:nth-child(5),
.mx-hub-p:has(input:nth-of-type(6):checked) .mx-hub-panel:nth-child(6) { display: grid; }
.mx-hub-p:has(input:nth-of-type(2):checked) .mx-hub-panel:first-child,
.mx-hub-p:has(input:nth-of-type(3):checked) .mx-hub-panel:first-child,
.mx-hub-p:has(input:nth-of-type(4):checked) .mx-hub-panel:first-child,
.mx-hub-p:has(input:nth-of-type(5):checked) .mx-hub-panel:first-child,
.mx-hub-p:has(input:nth-of-type(6):checked) .mx-hub-panel:first-child { display: none; }
.mx-hub-p:has(input:nth-of-type(1):checked) .mx-hub-bar label:nth-child(1),
.mx-hub-p:has(input:nth-of-type(2):checked) .mx-hub-bar label:nth-child(2),
.mx-hub-p:has(input:nth-of-type(3):checked) .mx-hub-bar label:nth-child(3),
.mx-hub-p:has(input:nth-of-type(4):checked) .mx-hub-bar label:nth-child(4),
.mx-hub-p:has(input:nth-of-type(5):checked) .mx-hub-bar label:nth-child(5),
.mx-hub-p:has(input:nth-of-type(6):checked) .mx-hub-bar label:nth-child(6) { background: var(--mx-brand); color: #fff; border-color: var(--mx-brand); }
.mx-hub-p:has(input:nth-of-type(1):focus-visible) .mx-hub-bar label:nth-child(1),
.mx-hub-p:has(input:nth-of-type(2):focus-visible) .mx-hub-bar label:nth-child(2),
.mx-hub-p:has(input:nth-of-type(3):focus-visible) .mx-hub-bar label:nth-child(3),
.mx-hub-p:has(input:nth-of-type(4):focus-visible) .mx-hub-bar label:nth-child(4),
.mx-hub-p:has(input:nth-of-type(5):focus-visible) .mx-hub-bar label:nth-child(5),
.mx-hub-p:has(input:nth-of-type(6):focus-visible) .mx-hub-bar label:nth-child(6) { outline: 3px solid var(--mx-accent); outline-offset: 2px; }
.mx-hub-panel { animation: mx-hub-in .35s ease; }
@keyframes mx-hub-in { from { opacity: 0; transform: translateY(6px); } }
.mx-hub-t { display: flex; gap: 11px; align-items: center; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--mx-brand) 7%, var(--mx-card)); border: 1px solid var(--mx-line); font-weight: 650; font-size: 14.5px; line-height: 1.3; transition: transform .2s, border-color .2s; min-height: 48px; }
.mx-hub-t:hover { transform: translateY(-3px); border-color: var(--mx-brand); }
.mx-hub-t i { flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--mx-card); display: grid; place-items: center; color: var(--mx-brand); box-shadow: 0 4px 10px -4px rgba(15, 23, 42, .25); }
.mx-hub-t span { min-width: 0; overflow-wrap: anywhere; }
@container mx (max-width: 1000px) { .mx-hub-in { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .mx-hub-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .block.mx-hub { padding: 40px 0 36px; } .mx-hub-panel { grid-template-columns: 1fr; } .mx-hub-search button { padding: 0 18px; } }

/* ======================= STORIES: MxRings · MxScroll(story) · MxFeed ======================= */
.mx-rings-in { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 2px 10px; scrollbar-width: none; }
.mx-rings-in::-webkit-scrollbar { display: none; }
.mx-rings-in:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 2px; }
.mx-ring { flex: none; width: 84px; text-align: center; scroll-snap-align: start; font-size: 12.5px; font-weight: 650; }
.mx-ring-c { display: block; width: 78px; height: 78px; margin: 0 auto 7px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--mx-accent), var(--mx-brand), color-mix(in srgb, var(--mx-brand) 50%, #e11d74), var(--mx-accent)); transition: transform .25s; }
.mx-ring:hover .mx-ring-c { transform: scale(1.07) rotate(8deg); }
.mx-ring-i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--mx-card); background: var(--mx-grad); color: #fff; font-weight: 900; font-size: 26px; overflow: hidden; }
.mx-ring-i img { width: 100%; height: 100%; object-fit: cover; }
.mx-ring-t { display: -webkit-box; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mx-snap-story { gap: 16px; }
.mx-snap-story .mx-story { position: relative; flex: 0 0 min(78%, 290px); aspect-ratio: 9 / 14; border-radius: 26px; overflow: hidden; color: #fff; background: var(--mx-grad); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--mx-shadow); transition: transform .3s; isolation: isolate; }
.mx-snap-story .mx-story:hover { transform: translateY(-6px); }
.mx-snap-story .mx-story::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 28%, transparent 45%, rgba(5, 10, 25, .94)); }
.mx-story-t, .mx-story-b { position: relative; z-index: 2; }
.mx-story-t { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 14px 0; font-size: 12px; }
.mx-story-b { display: flex; flex-direction: column; gap: 8px; padding: 0 18px 20px; }
.mx-story-b strong { font-size: 19px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mx-story-b small { font-size: 12.5px; opacity: .85; }

.mx-feed-g { columns: 3 300px; column-gap: 20px; }
.mx-post { display: block; break-inside: avoid; margin: 0 0 20px; background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 20px; overflow: hidden; box-shadow: var(--mx-shadow); transition: transform .3s; }
.mx-post:hover { transform: translateY(-5px); }
.mx-post-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.mx-av { width: 36px; height: 36px; border-radius: 50%; background: var(--mx-grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; flex: none; }
.mx-post-h b { display: block; font-size: 14px; line-height: 1.2; }
.mx-post-h small { color: var(--mx-muted); font-size: 12px; }
.mx-post .mx-media { border-radius: 0; }
.mx-post-b { display: block; padding: 14px 18px 8px; }
.mx-post-b strong { display: block; font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.mx-post-f { display: flex; justify-content: space-between; align-items: center; padding: 6px 18px 16px; color: var(--mx-muted); font-size: 13px; }

/* ======================= IMPACT: MxHighlights · MxTimeline · MxTraffic · MxAnchors ======================= */
.mx-hls-g { display: grid; gap: 34px; }
.mx-hl { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.mx-hl:nth-child(even) .mx-hl-img { order: 2; }
.mx-hl-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: var(--mx-grad); box-shadow: var(--mx-shadow); isolation: isolate; }
.mx-hl-b { min-width: 0; }
.mx-hl-n { display: block; font-size: clamp(56px, 9vw, 112px); font-weight: 900; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--mx-brand) 55%, transparent); margin-bottom: 8px; }
.mx-hl h3 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.2; margin: 10px 0 12px; letter-spacing: -.02em; }
.mx-hl h3 a:hover { color: var(--mx-brand); }
.mx-hl p { color: var(--mx-muted); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@container mx (max-width: 820px) { .mx-hl { grid-template-columns: 1fr; gap: 20px; } .mx-hl:nth-child(even) .mx-hl-img { order: 0; } }

.mx-tl-l { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.mx-tl-l::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--mx-brand), color-mix(in srgb, var(--mx-brand) 15%, transparent)); }
.mx-tl-i { position: relative; display: block; background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 18px; padding: 16px 20px; box-shadow: var(--mx-shadow); transition: transform .25s; }
.mx-tl-i[href]:hover { transform: translateX(6px); }
.mx-tl-i::before { content: ""; position: absolute; left: -30px; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--mx-card); border: 4px solid var(--mx-brand); }
.mx-tl-ev::before { background: var(--mx-accent); border-color: var(--mx-accent); }
.mx-tl-i time { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mx-brand); }
.mx-tl-ev time { color: #92400e; }
.mx-tl-i strong { display: block; margin-top: 4px; font-size: 17px; line-height: 1.35; }
.mx-tl-i small { color: var(--mx-muted); font-size: 13px; }

.mx-tr-box { background: var(--mx-card); border: 1px solid var(--mx-line); border-radius: 24px; padding: 26px 28px; box-shadow: var(--mx-shadow); display: grid; gap: 18px; max-width: 760px; }
.mx-tr-r { display: grid; grid-template-columns: 96px minmax(0, 1fr) 84px; gap: 12px; align-items: center; font-size: 14px; }
.mx-tr-t { height: 16px; border-radius: 999px; background: color-mix(in srgb, var(--mx-brand) 10%, transparent); overflow: hidden; }
.mx-tr-t i { display: block; height: 100%; width: var(--p); border-radius: 999px; background: var(--mx-grad); transform-origin: left; animation: mx-grow 1.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes mx-grow { from { transform: scaleX(0); } }
.mx-tr-r b { text-align: right; font-variant-numeric: tabular-nums; }
.mx-tr-box small { color: var(--mx-muted); }
@container mx (max-width: 520px) { .mx-tr-r { grid-template-columns: 70px minmax(0, 1fr) 64px; } .mx-tr-box { padding: 20px 18px; } }

.block.mx-anc { position: sticky; top: var(--mx-hdr, 0px); z-index: 40; margin: 0 0 40px; background: color-mix(in srgb, var(--mx-card) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--mx-line); }
.mx-anc-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; }
.mx-anc-in::-webkit-scrollbar { display: none; }
.mx-anc a { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--mx-muted); transition: .2s; }
.mx-anc a:hover { color: var(--mx-brand); }
.mx-anc a.on { background: var(--mx-brand); color: #fff; }
.mx-anc a:focus-visible { outline: 3px solid var(--mx-accent); outline-offset: 2px; }
.mx[id] { scroll-margin-top: 120px; }

/* Hero Aurora KHÔNG có thẻ tin nổi (cards = 0, vd bố cục Impact): bỏ chiều cao tối thiểu lớn + một cột — đỡ khoảng trống bên phải */
.mx-hero-aurora:not(:has(.mx-float)) { min-height: 0; padding: 72px 0 120px; }
.mx-hero-aurora:not(:has(.mx-float)) .mx-hero-in { grid-template-columns: minmax(0, 1fr); }
