/* ==========================================================================
   로컬 웹폰트 (외부 CDN 미사용)
   Pretendard (OFL) = 본문 · Poppins (OFL) = 영문 디스플레이. weight 300~700.

   서브셋 2단 구성:
     'Pretendard'     = 화면에서 실제로 쓰는 690자(한글 404 + 라틴·기호). weight 당 약 45KB.
     'Pretendard Ext' = KS X 1001 나머지(한글 2,350 전체 커버 + 기호). weight 당 약 170KB.
   본문 폰트 스택을 'Pretendard' → 'Pretendard Ext' 순으로 두면 브라우저는 기본 파일에 없는
   글자가 실제로 나올 때만 확장 파일을 받는다. 새 글에 새로운 한글이 등장해도 깨지지 않는다.
   서브셋을 다시 만들 때는 문자셋 목록을 pyftsubset --text-file 로 넘긴다.
   ========================================================================== */

/* --- Pretendard 기본 (현재 사용 문자) --- */
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/pretendard-300.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/pretendard-400.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/pretendard-500.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/pretendard-600.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/pretendard-700.woff2') format('woff2'); }

/* --- Pretendard 확장 (KS X 1001 나머지. 해당 글자가 나올 때만 로드) --- */
@font-face { font-family: 'Pretendard Ext'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/pretendard-ext-300.woff2') format('woff2');  unicode-range: U+0111-0167,U+02C7-02DD,U+0391-0451,U+2074-2084,U+2109-226B,U+2465-246E,U+25A0-266A,U+3001-318D,U+3380-33DD,U+AC07-D79D,U+FF01-FF5E,U+FFE0-FFE6; }
@font-face { font-family: 'Pretendard Ext'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/pretendard-ext-400.woff2') format('woff2');  unicode-range: U+0111-0167,U+02C7-02DD,U+0391-0451,U+2074-2084,U+2109-226B,U+2465-246E,U+25A0-266A,U+3001-318D,U+3380-33DD,U+AC07-D79D,U+FF01-FF5E,U+FFE0-FFE6; }
@font-face { font-family: 'Pretendard Ext'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/pretendard-ext-500.woff2') format('woff2');  unicode-range: U+0111-0167,U+02C7-02DD,U+0391-0451,U+2074-2084,U+2109-226B,U+2465-246E,U+25A0-266A,U+3001-318D,U+3380-33DD,U+AC07-D79D,U+FF01-FF5E,U+FFE0-FFE6; }
@font-face { font-family: 'Pretendard Ext'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/pretendard-ext-600.woff2') format('woff2');  unicode-range: U+0111-0167,U+02C7-02DD,U+0391-0451,U+2074-2084,U+2109-226B,U+2465-246E,U+25A0-266A,U+3001-318D,U+3380-33DD,U+AC07-D79D,U+FF01-FF5E,U+FFE0-FFE6; }
@font-face { font-family: 'Pretendard Ext'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/pretendard-ext-700.woff2') format('woff2');  unicode-range: U+0111-0167,U+02C7-02DD,U+0391-0451,U+2074-2084,U+2109-226B,U+2465-246E,U+25A0-266A,U+3001-318D,U+3380-33DD,U+AC07-D79D,U+FF01-FF5E,U+FFE0-FFE6; }

/* --- Poppins (영문 디스플레이. 원래부터 라틴 서브셋으로 weight 당 약 7.7KB) --- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/poppins-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/poppins-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/poppins-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/poppins-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/poppins-latin-700.woff2') format('woff2'); }
