/* ============================================================================
    icons.css  —  로컬 아이콘 폰트 정의 (신규 20260803)
    목적: Google Fonts CDN(Material Icons / Material Symbols)에 의존하지 않고
          오프라인에서도 아이콘이 표시되도록 폰트를 자체 호스팅한다.
    로드 위치: custom.css 바로 뒤에 <link> 로 추가.
    ※ 원본(variables/custom)은 수정하지 않음. 이 파일은 신규 추가 파일.
   ============================================================================ */

/* 메뉴 아이콘(.menu-icon), 버튼 아이콘(.btn-icon-only) 등에서 쓰는 'Material Icons'(채움) */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/material-icons.woff2') format('woff2');
}

/* .material-symbols-outlined / .material-icons-outlined 등에서 쓰는 심볼 폰트(가변) */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}
/* custom.css 가 폴백으로 참조하는 'Material Icons Outlined' 이름도 심볼 폰트로 매핑 */
@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}

/* 리거처 렌더링 보강 (CDN 기본 클래스가 제공하던 속성을 로컬에서 대체)
   - 텍스트 리거처("search" → 아이콘) 정상 변환을 위해 'liga' 활성화
   - custom.css 의 font-family / font-size(inherit) 는 건드리지 않음(속성 비충돌) */
.material-icons,
.material-icons-outlined,
.material-symbols-outlined,
.material-symbols-rounded,
.btn-icon-only {
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 클래스 없이 쓰는 .material-icons 대비 (있을 경우) */
.material-icons {
  font-family: 'Material Icons';
}
