/* ==========================================================================
   웹폰트 선언 (self-host: /fonts/)
   - 관리자 에디터(Summernote)에서 지정한 font-family 가 사용자단에서도
     동일하게 렌더링되도록 서빙한다. (미선언 시 방문자 PC 설치 여부에 따라 제각각 표시됨)
   - 에디터 저장값('나눔고딕')과 과거 데이터('Nanum Gothic', 'NanumGothic')
     세 가지 이름을 모두 같은 파일로 별칭 선언한다.
   - 사용자단(include/design_head.jsp)과 관리자단(manage/include/headHtml.jsp) 공용.
   ========================================================================== */

/* ---- 나눔고딕 ---- */
@font-face {
  font-family: '나눔고딕';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('NanumGothic'), local('Nanum Gothic'),
       url('/fonts/NanumGothic-Regular.woff2') format('woff2'),
       url('/fonts/NanumGothic-Regular.woff') format('woff');
}
@font-face {
  font-family: '나눔고딕';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('NanumGothicBold'), local('NanumGothic Bold'),
       url('/fonts/NanumGothic-Bold.woff2') format('woff2'),
       url('/fonts/NanumGothic-Bold.woff') format('woff');
}
@font-face {
  font-family: '나눔고딕';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('NanumGothicExtraBold'), local('NanumGothic ExtraBold'),
       url('/fonts/NanumGothic-ExtraBold.woff2') format('woff2'),
       url('/fonts/NanumGothic-ExtraBold.woff') format('woff');
}

/* ---- 'Nanum Gothic' 별칭 (과거 저장 데이터 호환) ---- */
@font-face {
  font-family: 'Nanum Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('NanumGothic'), local('Nanum Gothic'),
       url('/fonts/NanumGothic-Regular.woff2') format('woff2'),
       url('/fonts/NanumGothic-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Nanum Gothic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('NanumGothicBold'), local('NanumGothic Bold'),
       url('/fonts/NanumGothic-Bold.woff2') format('woff2'),
       url('/fonts/NanumGothic-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Nanum Gothic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('NanumGothicExtraBold'), local('NanumGothic ExtraBold'),
       url('/fonts/NanumGothic-ExtraBold.woff2') format('woff2'),
       url('/fonts/NanumGothic-ExtraBold.woff') format('woff');
}

/* ---- 'NanumGothic' 별칭 (과거 저장 데이터 호환) ---- */
@font-face {
  font-family: 'NanumGothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('NanumGothic'), local('Nanum Gothic'),
       url('/fonts/NanumGothic-Regular.woff2') format('woff2'),
       url('/fonts/NanumGothic-Regular.woff') format('woff');
}
@font-face {
  font-family: 'NanumGothic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('NanumGothicBold'), local('NanumGothic Bold'),
       url('/fonts/NanumGothic-Bold.woff2') format('woff2'),
       url('/fonts/NanumGothic-Bold.woff') format('woff');
}
@font-face {
  font-family: 'NanumGothic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('NanumGothicExtraBold'), local('NanumGothic ExtraBold'),
       url('/fonts/NanumGothic-ExtraBold.woff2') format('woff2'),
       url('/fonts/NanumGothic-ExtraBold.woff') format('woff');
}
