/* ==========================================================================
   Noto Sans TC — 自 @fontsource/noto-sans-tc 擷取（無 build，直接引用）
   --------------------------------------------------------------------------
   字重取捨：
     300 — Bootstrap .lead / .display-*、.tcacb-hero-subtitle
     400 — body 預設
     500 — Bootstrap h1~h6 預設字重（不可省，省了標題會變細）
     700 — .fw-bold 及大量自訂樣式
     900 — 不匯入：全站唯一的 font-weight:900 是給
           'Font Awesome 7 Free' 的圖示用，並非 Noto Sans TC 文字。
     600 — 不匯入：font-weight:600 / .fw-semibold 會依 CSS 字型匹配
           規則向上取 700。

   @font-face 順序很重要：
     CJK 檔不帶 unicode-range（等同 U+0-10FFFF 的 catch-all），
     latin 檔帶窄 range 且置於其後 —— 依 CSS 字型匹配規則，
     重疊範圍由後者勝出，因此拉丁字母走 latin 檔、其餘走 CJK 檔。
     兩者順序對調會導致中文掉回系統字型。
   ========================================================================== */

/* ---------- 300 ---------- */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(./noto-sans-tc-chinese-traditional-300-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(./noto-sans-tc-latin-300-normal.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+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 400 ---------- */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./noto-sans-tc-chinese-traditional-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./noto-sans-tc-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 500 ---------- */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./noto-sans-tc-chinese-traditional-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./noto-sans-tc-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 700 ---------- */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./noto-sans-tc-chinese-traditional-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./noto-sans-tc-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
