/* 寒蝉端黑宋字体 */
@font-face {
    font-family: 'ChillDuanHeiSong';
    src: url('https://moretti815.github.io/blog/fonts/ChillDuanHeiSongRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ChillDuanHeiSong';
    src: url('https://moretti815.github.io/blog/fonts/ChillDuanHeiSongMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ChillDuanHeiSong';
    src: url('https://moretti815.github.io/blog/fonts/ChillDuanHeiSongBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 应用字体到整个页面 */
body {
    font-family: 'ChillDuanHeiSong', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
}

/* 标题使用中等粗细 */
h1, h2, h3, h4, h5, h6,
.postTitle {
    font-family: 'ChillDuanHeiSong', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
    font-weight: 500;
}

/* 代码块保持等宽字体 */
code, pre, .highlight {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
