/* Roboto Regular (400) */
@font-face {
     font-family: 'Roboto';
     src: url('/webfonts/Roboto-Regular.woff2') format('woff2'),
          url('/webfonts/Roboto-Regular.woff') format('woff');
     font-weight: 400;
     font-style: normal;
     font-display: optional;
}

/* Roboto Medium (500) */
@font-face {
     font-family: 'Roboto';
     src: url('/webfonts/Roboto-Medium.woff2') format('woff2'),
          url('/webfonts/Roboto-Medium.woff') format('woff');
     font-weight: 500;
     font-style: normal;
     font-display: swap;
}

/* Roboto Bold (700) */
@font-face {
     font-family: 'Roboto';
     src: url('/webfonts/Roboto-Bold.woff2') format('woff2'),
          url('/webfonts/Roboto-Bold.woff') format('woff');
     font-weight: 700;
     font-style: normal;
     font-display: optional;
}

/* Roboto Black (900) — chỉ giữ nếu thật sự dùng */
@font-face {
     font-family: 'Roboto';
     src: url('/webfonts/Roboto-Black.woff2') format('woff2'),
          url('/webfonts/Roboto-Black.woff') format('woff');
     font-weight: 900;
     font-style: normal;
     font-display: swap;
}

/* Roboto Light (300) — chỉ giữ nếu dùng */
@font-face {
     font-family: 'Roboto';
     src: url('/webfonts/Roboto-Light.woff2') format('woff2'),
          url('/webfonts/Roboto-Light.woff') format('woff');
     font-weight: 300;
     font-style: normal;
     font-display: swap;
}

@font-face {
     font-family: 'Roboto Fallback';
     src: local('Arial');
     ascent-override: 92%;
     /* các giá trị này giúp gần Roboto */
     descent-override: 24%;
     line-gap-override: 0%;
     size-adjust: 100%;
}


/* áp dụng */
body {
     font-family: 'Roboto', 'Roboto Fallback', Arial, sans-serif;
}