/*
  2026-07-08 弱掃修正：自架 Google Fonts（Open Sans / Shadows Into Light）。
  原本透過 <link href="https://fonts.googleapis.com/css?family=..."> 向 Google 拉取字型 CSS，
  該端點會依瀏覽器 User-Agent 回傳不同內容（不同的 woff2/woff/ttf 網址），
  無法配上固定的 SRI integrity hash（弱掃報告要求外部資源需加 SRI，除 GA 外）。
  改為將字型檔下載後放在同網域（Content/front/webfonts/），
  不再對外部網域發出請求，SRI 議題自然不存在。
  字型檔來源：npm 套件 @fontsource/open-sans、@fontsource/shadows-into-light（僅取 latin 子集）。
*/

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('webfonts/opensans/open-sans-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('webfonts/opensans/open-sans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('webfonts/opensans/open-sans-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('webfonts/opensans/open-sans-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('webfonts/opensans/open-sans-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Shadows Into Light';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('webfonts/shadows-into-light-400.woff2') format('woff2');
}
