/* ============================================================================
   에디터 글꼴 = 사이트에 올려둔 무료 웹폰트 (2026-08-05 재구성)
   드롭다운 목록은 editor/config.js 의 SE2M_FontName.aDefaultFontList 와 1:1.
   같은 내용이 editor/css/ko_KR/smart_editor2_in.css 에도 있어야 한다
   (이 파일 = 툴바 드롭다운 미리보기 / 그쪽 = 본문 iframe 내부).

   🔴 font-family 이름은 사이트 전역 CSS(css/font.css · css/user_fonts.css)에
      정의된 이름과 반드시 같아야 한다. 다르면 에디터 안에서만 보이고
      저장 후 상세 페이지에서는 적용되지 않는다.
      실제로 이전 목록의 'NanumGothic' 'NanumMyeongjo' 'NanumBarunGothic'
      'NanumSquare' 는 공백 없는 이름이라 전역 CSS 와 어긋나 적용되지 않았다
      (전역은 'Nanum Gothic' 처럼 공백이 있고, 'NanumSquare' 는 아예 없음).
   🔴 에디터 iframe 은 사이트 CSS 를 상속하지 않으므로 여기에 따로 정의한다.
   🔴 경로는 루트 절대(/fonts/…)로 쓴다. 이 파일이 /editor/css/ko_KR/ 에 있어
      상대경로가 헷갈리는 것도 이유지만, 예전처럼 https://www.animalnara.com/fonts/…
      로 도메인을 박으면 로컬·스테이징에서 크로스 오리진이 되어 폰트가
      CORS 로 막힌다(라이브만 동일 출처라 우연히 됐던 것).
   🔴 파일 9개 모두 라이브 200 확인함(2026-08-05). 경로를 바꿀 때 반드시 재확인.
   ============================================================================ */

/* ── 고딕 ─────────────────────────────────────────────────────────────────── */
/* 프리텐다드 — 2026-10-23 여기서 뺌. 이 파일은 사이트 모든 화면에도 실리는데, 사이트 정의(css/user_fonts.css·m_font.css)보다 뒤라
   400 글자를 옛 Regular 파일로 한 번 더 받게 했다. 에디터 툴바 창용 정의는 SmartEditor2Skin.html 안 <style> 로 옮김 */

/* 본고딕 (Noto Sans KR) — 에디터 기본 글꼴 */
@font-face{
  font-family:'Noto Sans KR';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NotoSansKR_WEB/NotoSansKR-Regular.woff2') format('woff2'),
      url('/fonts/NotoSansKR_WEB/NotoSansKR-Regular.woff') format('woff'),
      url('/fonts/NotoSansKR_WEB/NotoSansKR-Regular.otf') format('opentype');
}

/* 나눔고딕 */
@font-face{
  font-family:'Nanum Gothic';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NanumGothic_WEB/NanumGothic-Regular.woff2') format('woff2'),
      url('/fonts/NanumGothic_WEB/NanumGothic-Regular.woff') format('woff'),
      url('/fonts/NanumGothic_WEB/NanumGothic-Regular.otf') format('opentype');
}

/* 나눔바른고딕 */
@font-face{
  font-family:'Nanum Barun Gothic';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NanumBarunGothic_WEB/NanumBarunGothic.woff2') format('woff2'),
      url('/fonts/NanumBarunGothic_WEB/NanumBarunGothic.woff') format('woff'),
      url('/fonts/NanumBarunGothic_WEB/NanumBarunGothic.otf') format('opentype');
}

/* 나눔스퀘어Neo */
@font-face{
  font-family:'NanumSquareNeo';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NanumSquareNeo/NanumSquareNeo.woff2') format('woff2');
}

/* ── 명조 ─────────────────────────────────────────────────────────────────── */
/* 나눔명조 */
@font-face{
  font-family:'Nanum Myeongjo';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/Nanum_MYUNGJO/NanumMyeongjo.otf') format('opentype');
}

/* 마루부리 */
@font-face{
  font-family:'MaruBuri';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/MaruBuri/MaruBuri-Regular.otf') format('opentype');
}

/* ── 제목·장식 ────────────────────────────────────────────────────────────── */
/* 배민 도현 (단일 굵기) */
@font-face{
  font-family:'BMDOHYEON';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/BMDOHYEON/BMDOHYEON.woff2') format('woff2');
}

/* 지마켓 산스 — Regular 파일이 없어 Medium 을 normal 로 쓴다 */
@font-face{
  font-family:'GmarketSans';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/GmarketSans/GmarketSansMedium.woff2') format('woff2');
}

/* 배민 주아 (단일 굵기) */
@font-face{
  font-family:'BMJUA';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/BMJUA/BMJUA.woff2') format('woff2');
}

/* 쿠키런 */
@font-face{
  font-family:'CookieRun';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/CookieRun/CookieRunRegular.woff2') format('woff2');
}

/* 도브마요 (단일 굵기) */
@font-face{
  font-family:'Dovemayo';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/Dovemayo/Dovemayo-Gothic.woff2') format('woff2');
}

/* 서울한강체 — Regular 파일이 없어 Medium 을 normal 로 쓴다 */
@font-face{
  font-family:'SeoulHangang';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/SeoulHangang/SeoulHangangM.woff2') format('woff2');
}

/* ── 손글씨 ───────────────────────────────────────────────────────────────── */
/* 나눔바른펜 */
@font-face{
  font-family:'NanumBarunpen';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NanumBarunpen/NanumBarunpen.woff2') format('woff2');
}

/* ── 명조(감성) ───────────────────────────────────────────────────────────── */
/* 리디바탕 (단일 굵기) */
@font-face{
  font-family:'RIDIBatang';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/RIDIBatang/RIDIBatang.woff2') format('woff2');
}


/* ============================================================================
   하위호환 별칭 — 예전 에디터가 쓰던 공백 없는 이름
   이 이름으로 저장된 옛 게시물을 편집할 때 글꼴이 그대로 보이도록 유지한다.
   드롭다운에는 없으므로 새 글에는 쓰이지 않는다. (지우면 옛 글의 글꼴이 풀린다)
   ============================================================================ */
@font-face{
  font-family:'NanumGothic';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NanumGothic_WEB/NanumGothic-Regular.woff2') format('woff2'),
      url('/fonts/NanumGothic_WEB/NanumGothic-Regular.otf') format('opentype');
}
@font-face{
  font-family:'NanumMyeongjo';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/Nanum_MYUNGJO/NanumMyeongjo.otf') format('opentype');
}
@font-face{
  font-family:'NanumBarunGothic';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NanumBarunGothic_WEB/NanumBarunGothic.woff2') format('woff2'),
      url('/fonts/NanumBarunGothic_WEB/NanumBarunGothic.otf') format('opentype');
}
@font-face{
  font-family:'NanumSquare';
  font-style:normal; font-weight:normal; font-display:swap;
  src:url('/fonts/NanumSquare/NanumSquareR.otf') format('opentype');
}
