/* ============================================================
   Pretendard 통일 스타일시트
   - 원본 사이트가 사용하던 폰트 패밀리 이름을 Pretendard 로 별칭 지정
     (Noto Sans KR / Montserrat / NanumSquare / Inter / Open Sans Hebrew / Open Sans)
   - 아이콘 폰트(Astra, Font Awesome)는 건드리지 않음
   ============================================================ */

/* 1) 실제 폰트 파일 (가변 웨이트 45~920, 단일 파일) */
@font-face {
  font-family: "Pretendard Variable";
  src: url("PretendardVariable.woff2") format("woff2-variations"),
       url("PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

/* 2) 기존 패밀리 이름 → Pretendard 별칭 */
@font-face {
  font-family: "Noto Sans KR";
  src: url("PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquare";
  src: url("PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans Hebrew";
  src: url("PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 3) 기본 서체 지정 — 아이콘 폰트(Astra / Font Awesome / Elementor)는 제외 */
html,
body,
body *:not(.ast-icon):not([class^="fa"]):not([class*=" fa-"]):not([class^="eicon"]):not(.dashicons) {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
}

/* 4) 한글 가독성 보정 (원본 폰트 대비 자간/행간 균형) */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}
