/* ========== 文章标题（随笔标题）：方正小标宋简体 二号 ========== */
#topics .postTitle,
#cnblogs_post_body h1 {
    font-family: "方正小标宋简体", "Microsoft YaHei", SimHei, sans-serif !important;
    font-size: 22px !important; /* 对应二号字 */
    font-weight: bold !important;
    text-align: center !important; /* 标题居中，更符合公文格式 */
}

/* ========== 一级标题：黑体 三号 ========== */
#cnblogs_post_body h2 {
    font-family: SimHei, "Microsoft YaHei", sans-serif !important;
    font-size: 16px !important; /* 对应三号字 */
    font-weight: bold !important;
}

/* ========== 二级标题：楷体 三号 ========== */
#cnblogs_post_body h3 {
    font-family: KaiTi, "楷体", STKaiti, serif !important;
    font-size: 16px !important; /* 对应三号字 */
    font-weight: normal !important;
}

/* ========== 三级标题：仿宋 三号 ========== */
#cnblogs_post_body h4 {
    font-family: "仿宋", "FangSong", STFangsong, serif !important;
    font-size: 16px !important; /* 对应三号字 */
    font-weight: normal !important;
}

/* ========== 正文：仿宋 三号 ========== */
#cnblogs_post_body p,
#cnblogs_post_body li,
#cnblogs_post_body div {
    font-family: "仿宋", "FangSong", STFangsong, serif !important;
    font-size: 16px !important; /* 对应三号字 */
    line-height: 1.7 !important; /* 1.7倍行距，更易读 */
}
/* ========== 行内单行代码 `xxx` 完整命中 ========== */
.cnblogs-markdown code,
#cnblogs_post_body code {
    font-family: Consolas, "Courier New", monospace !important;
    font-size: 14px !important;
    padding: 2px 4px !important;
    background-color: #f5f5f5 !important;
    border-radius: 2px !important;
}

/* ========== 多行代码块 ```python``` 完整命中高亮容器 ========== */
.cnblogs-markdown pre,
.cnblogs-markdown .hljs,
#cnblogs_post_body pre {
    font-family: Consolas, "Courier New", monospace !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 12px !important;
}
