@charset "utf-8";

/* === 1. 字体声明 === */
/* 1.1 霞鹜文楷 (正文) */
@font-face {
    font-family: "LXGW WenKai Screen";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('LXGWWenKai-Regular-Merged.woff2') format('woff2');
}

/* 1.2 荆南圆体 (导航) */
@font-face {
    font-family: 'JingNanYuanTi';
    font-style: normal;
    font-weight: 700; 
    font-display: swap;
    src: url('jingnanyuanti.woff2') format('woff2');
}

/* 1.3 江西拙楷 (标题) */
@font-face {
    font-family: 'JiangXiZhuoKai';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('jiangxizhuokai-Merged.woff2') format('woff2');
}

/* 1.4 礼品卉自由理想体 (声明/评论) */
@font-face {
    font-family: 'LiPinHui';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('ziyoulixiang.woff2') format('woff2');
}

/* === 2. 全局与基础样式 === */
/* 2.1 全局基础字体 (霞鹜文楷) */
body, button, input, select, textarea {
    font-family: "LXGW WenKai Screen", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}

/* === 3. 各区域字体应用 === */
/* 3.1 导航菜单 */
.menu a {
    font-family: 'JingNanYuanTi', sans-serif;
    font-weight: 700; /* 与@font-face声明对应 */
    font-size: 1.8em;
    letter-spacing: 1px;
}

/* 3.2 文章主标题 */
.post h1 {
    font-family: 'JiangXiZhuoKai', "LXGW WenKai Screen", serif;
    font-size: 1.9em;
    font-weight: normal;
    text-indent: 0;
    margin-top: 0;
    line-height: 1;
    text-rendering: optimizeLegibility;
}

/* 3.3 文章正文核心区 */
.single.viewall.indent {
    font-size: 16px;
    line-height: 1.6;
}
.single.viewall.indent p {
    margin-bottom: 1.2em;
    text-indent: 2em;
}

/* 3.4 正文内的小标题 (h2-h6) */
.single.viewall.indent h2,
.single.viewall.indent h3,
.single.viewall.indent h4,
.single.viewall.indent h5,
.single.viewall.indent h6 {
    font-family: "LXGW WenKai Screen", serif; /* 继承正文字体 */
    font-weight: bold; /* 通过加粗区分 */
    text-indent: 0;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
}

/* 3.5 正文内的引用块 */
.single.viewall.indent blockquote {
    font-family: "LXGW WenKai Screen", serif;
    padding-left: 1.5em;
    font-style: italic;
    border-left: 3px solid #ddd;
    margin: 1.5em 0;
    color: #555;
    background: #f9f9f9;
}

/* 3.6 文章元信息 */
.info {
    font-family: "LXGW WenKai Screen", serif;
    font-size: 0.9em;
    color: #666;
}

/* 3.7 版权声明区域 */
.copynotice {
    font-family: 'LiPinHui', "LXGW WenKai Screen", cursive;
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
}

/* 3.8 评论表单区域 */
#divCommentPost,
#divCommentPost input,
#divCommentPost textarea,
#divCommentPost button {
    font-family: 'LiPinHui', "LXGW WenKai Screen", cursive, sans-serif;
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}
#divCommentPost textarea {
    font-family: 'LiPinHui', "LXGW WenKai Screen", cursive, sans-serif;
    font-size: 1em;
}

/* === 4. 移动端优化 === */
@media (max-width: 768px) {
    body {
        font-size: 17px;
        line-height: 1.75;
    }
    .single.viewall.indent {
        font-size: 17px;
        line-height: 1.85;
    }
    .single.viewall.indent p {
        text-indent: 1.5em;
    }
    .post h1 {
        font-size: 1.7em;
    }
    .menu a {
        font-size: 1.2em;
    }
}