/* 本地自托管字体（替代 Google Fonts，零跨域阻塞）
 *
 * 俄语站字体策略：
 *  - 拉丁字符：沿用英文站原文件，保证与英文站观感一致
 *  - 西里尔字符：Barlow Condensed 官方没有任何西里尔字形，无法渲染俄语，
 *    因此标题的西里尔用同风格窄体 Roboto Condensed 顶替；
 *    正文 IBM Plex Sans 官方有西里尔子集，直接补齐，字体族不变。
 *
 * 实现方式：所有 @font-face 都声明 unicode-range，拉丁与西里尔互不干扰，
 * 页面 CSS 里的 font-family 无需改动即可正确分流。
 * 西里尔文件按需下载：纯拉丁内容不会额外请求西里尔字体。
 */

/* ========== 拉丁：标题 Barlow Condensed（英文站原文件） ========== */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlowcondensed-500-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlowcondensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlowcondensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/barlowcondensed-800-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}

/* ========== 西里尔：标题用 Roboto Condensed（Barlow 无西里尔） ========== */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/robotocondensed-cyrillic-var.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/robotocondensed-cyrillic-ext-var.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ========== 拉丁：正文 IBM Plex Sans（英文站原文件，可变字重 100–700） ========== */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibmplexsans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibmplexsans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibmplexsans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ibmplexsans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2122, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+FB00-FB06;
}

/* ========== 西里尔：正文 IBM Plex Sans 官方西里尔子集 ========== */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/fonts/ibmplexsans-cyrillic-var.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/fonts/ibmplexsans-cyrillic-ext-var.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
