@charset "utf-8";

/* ============================================================
   웹폰트 : 본문 고딕 — Pretendard Variable (weight 45~920)

   이 테마는 서체를 두 벌 씁니다.
     · 본문 고딕  Pretendard      → 이 파일에서 body 에 적용
     · 명조 헤드라인 Noto Serif KR → css/modify.css 의 --font-serif 로,
       각 섹션(main_html/*.html)의 h2 · 인용문에서만 골라 씁니다.

   - 폰트 파일 자체는 head.sub.php 의 <link> 에서 불러온다.
     (여기서 @import 를 쓰면 fonts.css 를 다 받은 뒤에야 폰트 CSS 요청이
      시작돼서 로딩이 한 단계 늦어진다)
   - 이 파일은 "어떤 요소에 적용할지"만 관리한다.
   ============================================================ */

:root {
  --font-base: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Segoe UI", Roboto, "Helvetica Neue", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
  font-family: var(--font-base);
}

/* 그누보드 기본 css(default.css / default_shop.css / mobile.css)가
   제목과 폼 요소에 '맑은 고딕'을 따로 지정해 두었기 때문에,
   본문 폰트를 그대로 물려받도록 되돌린다.
   ※ 이 규칙이 없으면 h1~h6 와 입력폼에만 웹폰트가 적용되지 않는다. */
h1,
h2,
h3,
h4,
h5,
h6,
input,
button,
select,
textarea,
optgroup {
  font-family: inherit;
}
