/*
 * Font toàn site (trừ landing page có font riêng):
 * - Chữ thường, menu, nút, ô nhập: Be Vietnam Pro (400, 500, 600, 700, nghiêng 400).
 * - Tiêu đề H1–H6: Lexend (font biến thiên, 500–700).
 * File woff2 tự host trong assets/fonts/, chỉ subset vietnamese + latin; trình duyệt chỉ tải
 * file chứa ký tự có trên trang (unicode-range). Nạp ở inc/functions/site-style.php.
 * Bản SF Pro Display cũ đã thay (font Apple, giấy phép không cho nhúng web).
 */

/* Be Vietnam Pro 400 italic - vietnamese */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-400-italic-vietnamese.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;
}

/* Be Vietnam Pro 400 italic - latin */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-400-italic-latin.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;
}

/* Be Vietnam Pro 400 normal - vietnamese */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-400-vietnamese.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;
}

/* Be Vietnam Pro 400 normal - latin */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-400-latin.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;
}

/* Be Vietnam Pro 500 normal - vietnamese */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-500-vietnamese.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;
}

/* Be Vietnam Pro 500 normal - latin */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-500-latin.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;
}

/* Be Vietnam Pro 600 normal - vietnamese */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-600-vietnamese.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;
}

/* Be Vietnam Pro 600 normal - latin */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-600-latin.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;
}

/* Be Vietnam Pro 700 normal - vietnamese */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-700-vietnamese.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;
}

/* Be Vietnam Pro 700 normal - latin */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/be-vietnam-pro-700-latin.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;
}

/* Lexend 500 700 normal - vietnamese */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/lexend-vietnamese.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;
}

/* Lexend 500 700 normal - latin */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/lexend-latin.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;
}

:root {
  --vmt-font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --vmt-font-heading: "Lexend", "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body,
button,
input,
select,
textarea,
.button,
.nav > li > a,
.nav-dropdown,
.off-canvas .nav-vertical li a {
  font-family: var(--vmt-font-body);
}

h1, h2, h3, h4, h5, h6,
.heading-font {
  font-family: var(--vmt-font-heading);
}

/* Menu đầu trang đậm vừa, giống menu trang /cong-tac-vien. */
.header-nav-main.nav > li > a {
  font-weight: 500;
}

/* ÉP FONT SITE cho mọi chữ, thắng cả font dán sẵn (style="font-family:...", <font face>) và font của plugin.
   File này không nạp trên landing page nên landing page giữ font riêng.
   Chừa ra: font icon (Flatsome fl-icons, Font Awesome, dashicons, sao đánh giá), thanh quản trị WP, chữ code. */
body *:not([class^="icon-"], [class*=" icon-"], [class^="fa-"], [class*=" fa-"], .fa, .fas, .far, .fab, .fal, .fad,
  .dashicons, [class^="dashicons-"], [class*=" dashicons-"], .star-rating, .star-rating *,
  [id="wpadminbar"], [id="wpadminbar"] *, code, pre, kbd, samp) {
  font-family: var(--vmt-font-body) !important;
}
/* Tiêu đề (cả chữ bên trong tiêu đề) và các chỗ theme chủ ý dùng font tiêu đề: Lexend */
body :is(h1, h2, h3, h4, h5, h6, .heading-font, .vmt-foot__title, .vmt-foot__hotline, .vmt-foot__h, .vmt-foot__name, .vmt-x-price strong):not([class^="icon-"], [class*=" icon-"], [class^="fa-"], [class*=" fa-"], .fa, .fas, .far, .fab, .fal, .fad, .dashicons, [class^="dashicons-"], [class*=" dashicons-"], .star-rating, [id="wpadminbar"] *),
body :is(h1, h2, h3, h4, h5, h6, .heading-font, .vmt-foot__title, .vmt-foot__hotline, .vmt-foot__h, .vmt-foot__name, .vmt-x-price strong) *:not([class^="icon-"], [class*=" icon-"], [class^="fa-"], [class*=" fa-"], .fa, .fas, .far, .fab, .fal, .fad, .dashicons, [class^="dashicons-"], [class*=" dashicons-"], .star-rating, .star-rating *, [id="wpadminbar"] *) {
  font-family: var(--vmt-font-heading) !important;
}

/* Nút liên hệ nổi (plugin vmt-floating-contact) và trang tác giả dùng chung font site;
   font Plus Jakarta Sans của plugin không còn tải (site-style.php). */
#vmt-contact,
.vmt-contact,
.eeat-author {
  font-family: var(--vmt-font-body);
}
