/* 커스텀 폰트 설정 */
@font-face {
    font-family: 'Chilgok';
    src: url('/static/fonts/Chilgok_kyb.ttf') format('truetype'),
         url('/static/fonts/Chilgok_kyb.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Pretendard Light 폰트 (Pretendard-Thin.otf 사용) */
@font-face {
    font-family: 'Pretendard';
    src: url('/static/fonts/Pretendard-Thin.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 홈페이지 카테고리 타이틀에 Chilgok 폰트 적용 */
.section-title,
.category-section h2,
.new-section h2,
.category-section .section-title {
    font-family: 'Chilgok', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #707070;
}

/* 메인 페이지를 제외한 모든 페이지에 Pretendard Light 폰트 적용 */
body:not(.home-page) {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 300;
}

/* 메인 페이지 제외하고 전체 텍스트에 Pretendard 적용 */
body:not(.home-page) *:not(.section-title):not(.category-section h2):not(.new-section h2) {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
}
