/**
 * MỤC ĐÍCH: Font Be Vietnam Pro tự host + token màu/chữ/khoảng cách + lớp nền dùng chung của khung VBF.
 * PHỤ THUỘC: fonts/*.woff2 (tải từ Google Fonts 16/10/2026, chỉ subset vietnamese + latin).
 * ADMIN SỬA ĐƯỢC: không — đổi màu brand là quyết định của chủ site (Gout.md).
 * MỞ RỘNG: dùng var(--vbf-*) ở mọi file CSS khác, không gõ lại mã màu.
 * GỠ AN TOÀN: gỡ cùng theme.
 */
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:800;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-800-italic.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:800;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-800-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:900;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-900-italic.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:900;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-900-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-400.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-500.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-600.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-700.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:800;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-800.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:800;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-800.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:900;font-display:swap;src:url('../../fonts/be-vietnam-pro-vietnamese-900.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:900;font-display:swap;src:url('../../fonts/be-vietnam-pro-latin-900.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Archivo · Barlow · Barlow Condensed — mockup Cơ sở dữ liệu + Hồ sơ (16/10/2026). */

:root {
	--vbf-red: #e11d26;          /* brand — nút, chấm, gạch chân, nhãn */
	--vbf-red-hot: #f5262f;      /* hover của nút đỏ */
	--vbf-red-bright: #ff2b33;   /* khẩu hiệu & chấm trên nền tối */
	--vbf-red-soft: #ff5a61;     /* link đỏ trên nền navy */
	--vbf-red-deep: #8c0d14;
	--vbf-ink: #14181f;          /* chữ chính trên nền sáng */
	--vbf-muted: #5c626e;        /* chữ phụ */
	--vbf-faint: #8b909c;        /* ngày tháng */
	--vbf-line: #eceef2;         /* viền thẻ */
	--vbf-paper: #fff;
	--vbf-mist: #f4f5f7;         /* nền khối cơ sở dữ liệu */
	--vbf-night: #0b0e14;        /* nền tối của trang chủ (mockup) */
	--vbf-header: #101c2e;       /* nền header = nền footer — chủ site chốt 17/10/2026 */
	--vbf-navy: #101b2e;         /* nền chân trang, thẻ video */
	--vbf-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;   /* font DUY NHẤT của site */
	--vbf-font-head: var(--vbf-font);   /* MỘT font toàn site — chủ site chốt 18/10/2026 */
	--vbf-font-ui: var(--vbf-font);
	--vbf-font-cond: var(--vbf-font);
	--vbf-red-db: #e01b24;                                        /* đỏ của mockup CSDL (khác #e11d26 một chút — giữ đúng bản duyệt) */
	--vbf-red-pf: #d81f30;                                        /* đỏ của mockup Hồ sơ */
	--vbf-max: 1360px;
	--vbf-gutter: clamp(16px, 3.4vw, 40px);
	--vbf-radius: 14px;
	--vbf-ease: cubic-bezier(.22, 1, .36, 1);
}

/* PHẠM VI: class .vbf chỉ nằm trên các bề mặt VBF (body trang chủ · header · footer · trang CSDL · hồ sơ · form).
   Trang bài/trang thường của Blocksy có body.vbf-site — reset KHÔNG lan vào nội dung bài viết.
   Reset viết `.vbf :where(...)` = (0,1,0): thắng rule thẻ của Blocksy (0,0,1), THUA rule một-class của từng khối
   vì tokens.css nạp trước (CODE.md §14). ĐÃ ĐO 16–17/10/2026: Blocksy đè font tiêu đề, màu link, padding ul,
   margin dưới <p> (đẩy nút trang chủ xuống 75 px), line-height thân 1.65 (mockup dùng normal). */
.vbf { --theme-font-family: var(--vbf-font); font-family: var(--vbf-font); color: var(--vbf-ink); line-height: normal; -webkit-font-smoothing: antialiased; }
body.vbf { margin: 0; background: var(--vbf-paper); overflow-x: clip; }
.vbf :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.vbf :where(ul, ol) { padding: 0; list-style: none; }
.vbf :where(h1, h2, h3, h4, h5, h6) { color: inherit; font-family: inherit; }
.vbf :where(p, a, button, input, select, textarea, label, time, legend) { font-family: inherit; }
.vbf :where(a), .vbf :where(a):hover { color: inherit; text-decoration: none; }
.vbf :where(img) { max-width: 100%; height: auto; display: block; }

.vbf-shell { max-width: var(--vbf-max); margin: 0 auto; padding: 0 var(--vbf-gutter); box-sizing: content-box; } /* 1360 là bề rộng NỘI DUNG như mockup (content-box) — ĐÃ ĐO 17/10: border-box làm khung hẹp 80 px */
.vbf-ico { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--vbf-ico) center / contain no-repeat; mask: var(--vbf-ico) center / contain no-repeat; }
.vbf-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--vbf-red); color: #fff; border-radius: 8px; }
.vbf-skip:focus { left: 8px; }

.vbf-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 7px; background: var(--vbf-red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .07em; box-shadow: 0 10px 26px rgba(225, 29, 38, .32); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.vbf-btn:hover { background: var(--vbf-red-hot); color: #fff; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(225, 29, 38, .5); }
.vbf-btn--lg { gap: 12px; padding: 17px 28px; border-radius: 8px; font-size: 14px; letter-spacing: .08em; box-shadow: 0 14px 34px rgba(225, 29, 38, .45); }

.vbf-dots { display: flex; align-items: center; gap: 6px; }
.vbf-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .38); cursor: pointer; transition: width .35s ease, background .35s ease; }
.vbf-dot.is-active { width: 18px; background: #fff; }

@media (prefers-reduced-motion: reduce) {
	.vbf *, .vbf *::before, .vbf *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } /* !important có chủ ý: tôn trọng cài đặt hệ điều hành của người đọc. */
}

/* MỘT font toàn site (chủ site 18/10/2026: "toàn site dùng 1 font Be Vietnam Pro") — cả trang Blocksy (tin, bài) lẫn số liệu.
   Số dùng chữ số cùng bề rộng để các ô thống kê thẳng hàng. */
body.vbf-site, body.vbf-site :where(h1, h2, h3, h4, h5, h6, p, li, a, button, input, select, textarea) { --theme-font-family: var(--vbf-font); font-family: var(--vbf-font); }
.vbf, body.vbf-site { font-variant-numeric: tabular-nums lining-nums; }
