/* Be Vietnam Pro tự host (SIL OFL 1.1 – xem fonts/OFL.txt), cắt gọn Latin + tiếng Việt.
   Đặt tên riêng "BMI Be Vietnam Pro" để không tải trùng với font Flatsome/Kirki. */
@font-face { font-family: "BMI Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-400.woff2) format("woff2"); }
@font-face { font-family: "BMI Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/be-vietnam-pro-500.woff2) format("woff2"); }
@font-face { font-family: "BMI Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-600.woff2) format("woff2"); }
@font-face { font-family: "BMI Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/be-vietnam-pro-700.woff2) format("woff2"); }
@font-face { font-family: "BMI Be Vietnam Pro"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/be-vietnam-pro-800.woff2) format("woff2"); }

:root { --bmi-font: "BMI Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Ghi đè font của theme (Flatsome/Kirki in font bằng CSS inline nên cần !important).
   Không đụng tới thẻ icon (fl-icons) vì icon tự khai báo font riêng. */
body,
button, input, select, textarea, label, table,
h1, h2, h3, h4, h5, h6,
.heading-font, .alt-font, .nav-font,
.nav, .nav > li > a, .nav-dropdown, .nav-vertical > li > a,
.button, .widget-title, .entry-title, .page-title,
.bmi-tool, .bmi-page, .bmif, .bmit-left, .bmit-right {
  font-family: var(--bmi-font) !important;
}
body { font-feature-settings: "kern" 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
