/* Rubik 字體（自託管）
   請將對應字體檔放在 public/assets/fonts/rubik/
   檔名需與下方一致，否則會回退到系統字體 */

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src:
    local('Rubik Light'),
    local('Rubik-Light'),
    url('../fonts/rubik/Rubik-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    local('Rubik Regular'),
    local('Rubik-Regular'),
    url('../fonts/rubik/Rubik-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    local('Rubik Medium'),
    local('Rubik-Medium'),
    url('../fonts/rubik/Rubik-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    local('Rubik Bold'),
    local('Rubik-Bold'),
    url('../fonts/rubik/Rubik-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:
    local('Rubik Black'),
    local('Rubik-Black'),
    url('../fonts/rubik/Rubik-900.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src:
    local('Rubik Italic'),
    local('Rubik-Italic'),
    url('../fonts/rubik/Rubik-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src:
    local('Rubik Bold Italic'),
    local('Rubik-BoldItalic'),
    url('../fonts/rubik/Rubik-700-italic.woff2') format('woff2');
}
