/* ============================================================
   正文内容格式归一化（article-normalize）
   作用：防止从 Word / WPS / LibreOffice 复制内容时，
   自带的 inline style 污染网站样式。
   覆盖项：宋体字体、#333333 灰字、17px 字号、0.39in 缩进、
   class="western" / lang 等 OpenOffice/Word 残留。
   全部使用 !important，强制压过粘入内容的内联样式。
   作用范围：仅 .wp_articlecontent 内部，不影响网站其它部分。

   【本次修改】
   - 全站文章正文统一「仿宋」字体，字号 18px（原为微软雅黑 16px）。
   - 文章大标题（.title）与发布信息小字（.desc）也改用仿宋。
   ============================================================ */

/* 1. 字体 / 颜色 / 行距：统一为仿宋，覆盖所有后代的内联样式 */
.wp_articlecontent,
.wp_articlecontent * {
    font-family: "仿宋", "FangSong", "STFangsong", "仿宋_GB2312", "FangSong_GB2312", serif !important;
    color: #0c0c0c !important;
    line-height: 1.5em !important;
    letter-spacing: normal !important;
    font-style: normal !important;
}

/* 2. 正文字号 18px（表格另见第 9 条，用更小字号） */
.wp_articlecontent p,
.wp_articlecontent li,
.wp_articlecontent span {
    font-size: 18px !important;
}

/* 3. 加粗标题统一 18px（与正文同号，靠加粗区分层级） */
.wp_articlecontent p strong,
.wp_articlecontent strong,
.wp_articlecontent strong span {
    font-size: 18px !important;
    font-weight: bold !important;
}

/* 4. 正文段落缩进 2em、段距统一 */
.wp_articlecontent p {
    margin: 0 0 10px 0 !important;
}
.wp_articlecontent p:not(:has(strong)) {
    text-indent: 2em !important;
}

/* 5. 链接恢复为可见蓝色并加下划线 */
.wp_articlecontent a {
    color: #0066cc !important;
    text-decoration: underline !important;
}

/* 6. Office 残留 class 不影响布局 */
.wp_articlecontent p.western {
    text-indent: 2em !important;
}

/* 7. 图片居中：把"独占一段的图片"做块级居中（不影响行内小图） */
.wp_articlecontent p > img:only-child {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 8. 文章头（.wp_articlecontent 之外，属文章模板）
      8.1 大标题：黑体 24px（原 18px）
      8.2 发布信息小字：仿宋（原字号 14px / 颜色 #AAAAAA 不变） */
.nav_right .newscontent .title {
    font-family: "黑体", "SimHei", "Heiti SC", "Microsoft YaHei", sans-serif !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
    font-style: normal !important;
}

.nav_right .newscontent .desc,
.nav_right .newscontent .desc * {
    font-family: "仿宋", "FangSong", "STFangsong", "仿宋_GB2312", "FangSong_GB2312", serif !important;
    font-style: normal !important;
}

/* 9. 表格：保住边框显示 + 字号收小
      很多表格是 border="0"，线条全靠单元格内联 style 画，
      article-cleanup.js 已保留这些内联样式；这里只统一字号、
      并清掉表格内段落的首行缩进/段距（否则单元格会被撑歪）。
      注意本节放在最后，靠顺序压过上面 18px / 2em 的规则。 */
.wp_articlecontent table {
    border-collapse: collapse !important;
    max-width: 100% !important;
    /* 左右 auto = 表格水平居中（宽度小于容器的表格会居中，
       width=100% 的表格本身占满，不受影响） */
    margin: 10px auto !important;
}

.wp_articlecontent table,
.wp_articlecontent table * {
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #0c0c0c !important;
}

.wp_articlecontent table p,
.wp_articlecontent table div {
    margin: 0 !important;
    text-indent: 0 !important;
    line-height: inherit !important;
}

/* 10. 去掉内容里的关键词高亮色块
      网站会把「社会主义 / Socialism」等词自动包成
      <span class="sudy-mgc">，并加一条 5px 橙色下边框，
      视觉上就是文字下面一条橙色小横杠。这里统一清掉。
      不限定容器，正文 / 标题 / 列表页一并生效。 */
.sudy-mgc,
[class*="sudy-mgc"],
.wp_articlecontent [class*="sudy-"] {
    border: 0 none !important;
    border-bottom: 0 none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
