/*!
 * 适老化（关怀版）专用样式 —— 大字化 + 页面扁平化 + 版式自适应
 * ====================================================================
 * 对应整改问题：
 *   适老化问题2（PC端）：适老化功能下，字体大小不满足标准要求。
 *   适老化问题2（PC端）：适老化模式下部分网页布局不符合扁平化原则。
 *   适老化问题3（WAP端）：适老化功能下，字体存在遮挡及页面紊乱。
 *   适老化问题1（PC端）：部分页面未见适老化功能（本文件随模板全站加载）。
 *
 * 依据：《互联网网站适老化通用设计规范》
 *   6.2.2.3.1 独立的计算机适老化网页应至少提供一种不小于 28 dp/pt 的字体。
 *        → 关怀版下：
 *            · 内容页：文章大标题 h1 = 42px，按 pt 折算约 31.5pt，
 *              dp / pt 两种口径都不小于 28；
 *            · 首页、列表页没有 h1，栏目标题 h3 = 32px，
 *              按 dp（dp≈px）口径同样不小于 28。
 *          对应下面“零、字号档位”的 --of-fs-h1 / --of-fs-h3。
 *   6.2.2.3.2 在不依赖操作系统和浏览器的前提下，网页应提供不少于三种的
 *             网页字体放大设置。
 *        → 关怀版提供「标准 / 大 / 特大」三档页面内字号设置（见“零、字号档位”
 *          与“九、字号条”），由页面右下角的字号条切换，选择记入 localStorage，
 *          站内翻页保持一致；不依赖浏览器缩放，也不依赖操作系统设置。
 *   · 字体大小：计算机适老化网页应提供网页的放大设置与大字屏幕服务；
 *              移动网站至少提供一种 18dp/pt 及以上的大字体；
 *              标题和标签等文本的字体大小与样式应有明显的特征。
 *   · 样式要求：辅助工具开启后不应导致网页样式的变形或丢失。
 *   · 页面布局：应依照扁平化原则，避免阴影、透视、纹理等复杂装饰设计。
 *
 * --------------------------------------------------------------------
 * 触发机制
 *   点击页面右上角“关怀版”入口 → js/a11y.js 为 <body> 添加 useOldFixed 类
 *   → 本文件全部规则以 body.useOldFixed 为前缀生效；关闭时移除该类，
 *     页面完全恢复原样，正常模式不受任何影响。
 *   （平台侧若日后开启适老化配置，上海无障碍 SDK 加的类名同样是
 *     useOldFixed，两种来源幂等。）
 *
 * --------------------------------------------------------------------
 * 本次调整说明（为什么不再用 body{zoom} 整页放大）
 *   旧做法是给 body 加 zoom:1.25 做整页等比放大，实测出现三个问题：
 *     1) 版心是固定 1000px，zoom 后可视宽度变小，右侧栏与轮播（1250px）
 *        会顶出版心，出现横向滚动、标题压到灰色背景上；
 *     2) 移动端为流式布局，zoom 后各类固定高度（40px 日期块、60px 标题、
 *        410px 右栏）与放大后的文字错位，出现文字遮挡、页面紊乱；
 *     3) 与平台无障碍工具条自身的“放大”按钮叠加后倍率不受控。
 *   而《规范》要求“放大后不应导致网页样式变形或丢失”，因此这里改为
 *   “字号整体放大 + 行高加宽 + 版式自适应”的方案：
 *   正文 24px、栏目标题 32px、文章大标题 42px，行高 1.75，
 *   并在此基础上再提供「大 / 特大」两档（共三档）字号，
 *   所有依赖固定高度/不换行的容器全部改为自适应，页面自然向下延伸，
 *   既不溢出、不遮挡，也保留了“整体变大变松”的观感，
 *   且不会与平台工具条自带的“放大”按钮叠加出不可控的倍率。
 *   如需整页等比放大的观感，可打开下面【可选】段落（请先确认版心不溢出）。
 * ==================================================================== */

/* =========================================================
 * 零、字号档位 —— 三档页面内字体放大设置（6.2.2.3.2）
 *     1 标准 / 2 大 / 3 特大，由 js/a11y.js 在 <body> 上切换
 *     of-fs-1 / of-fs-2 / of-fs-3 三个类（右下角“字号条”）。
 *     本文件所有字号统一走下面的 --of-fs-* 变量，切档即整站同步，
 *     不依赖浏览器缩放，也不依赖操作系统设置。
 *
 *     档位与《规范》的对应关系：
 *       · 标准档：正文 24px，栏目标题 32px，文章大标题 42px（≈31.5pt）
 *       · 至少一种 ≥28dp/pt：
 *           - 内容页 h1 = 42px（≈31.5pt），dp / pt 两种口径都满足；
 *           - 首页、列表页无 h1，h3 = 32px（≥28dp/px），
 *             且“特大”档正文即可到 32px。
 *       · 提供不少于三种放大设置 → 标准 / 大 / 特大，共三档。
 *
 *     页头一级导航（--of-fs-nav）三档统一为 18px：
 *     12 个栏目在 1000px 版心里本就排满，再放大必然换行或顶出版心，
 *     反而违反“放大不应导致样式变形”，故导航条字号固定，
 *     其余内容全部按档位放大。
 * ========================================================= */
body.useOldFixed {
    /* 档 1「标准」—— 关怀版默认档 */
    --of-fs-note: 17px;    /* 时间 / 来源 / 版权等辅助小字 */
    --of-fs-sub: 19px;     /* 次要文本：更多、面包屑、二级导航 */
    --of-fs-body: 24px;    /* 正文 */
    --of-fs-read: 26px;    /* 文章正文阅读区 */
    --of-fs-nav: 18px;     /* 页头一级导航（固定，不随档位放大） */
    --of-fs-tab: 26px;     /* 选项卡标签（窄栏专属，见 3.4 说明） */
    --of-fs-head: 16px;    /* 页头顶部功能区（中文/ENGLISH/无障碍…），固定 */
    --of-fs-h3: 32px;      /* 栏目标题 / 三级标题 */
    --of-fs-h2: 36px;
    --of-fs-h1: 42px;      /* 文章大标题，42px ≈ 31.5pt（≥28pt ✓） */
}

body.useOldFixed.of-fs-2 {
    /* 档 2「大」 */
    --of-fs-note: 19px;
    --of-fs-sub: 22px;
    --of-fs-body: 28px;
    --of-fs-read: 31px;
    --of-fs-nav: 18px;
    --of-fs-tab: 26px;
    --of-fs-head: 16px;
    --of-fs-h3: 36px;
    --of-fs-h2: 42px;
    --of-fs-h1: 49px;
}

body.useOldFixed.of-fs-3 {
    /* 档 3「特大」 */
    --of-fs-note: 22px;
    --of-fs-sub: 25px;
    --of-fs-body: 32px;
    --of-fs-read: 35px;
    --of-fs-nav: 18px;
    --of-fs-tab: 26px;
    --of-fs-head: 16px;
    --of-fs-h3: 42px;
    --of-fs-h2: 48px;
    --of-fs-h1: 56px;
}

/* =========================================================
 * 一、可选：整页等比放大（默认关闭，建议保持关闭）
 *     仅用于要求“整体缩放”观感的场合，开启前请确认版心不溢出。
 * ========================================================= */
/*
body.useOldFixed { zoom: 1.15; }
html:has(body.useOldFixed) { overflow-x: auto !important; }
*/

/* 兜底：若能出现超出版心的元素，允许横向滚动而不是被裁切
   （base.css 中 html{overflow-x:hidden} 会把超出部分直接裁掉，
     对低视力用户来说“能滚动”比“被裁掉”更容易接受） */
html:has(body.useOldFixed) {
    overflow-x: auto !important;
}

/* =========================================================
 * 二、基础：底色、正文基准字号与行高
 *     选择器统一使用 body.useOldFixed.useOldFixed 双类名，
 *     以高于以下三类写法的优先级：
 *       · base.css   .post .con a { font-size:12px !important }
 *       · media.css  body,p,a { font-size:16px !important }
 *       · 无障碍 SDK  body.useOldFixed * { font-size:1em !important }
 *     否则手机端适老化时，SDK 会把全部文字压成同一个字号，
 *     标题层级丢失、字号失控进而撑破容器。
 * ========================================================= */
body.useOldFixed {
    background: #ffffff !important;
    font-size: var(--of-fs-body) !important;
    line-height: 1.75 !important;
    color: #1a1a1a !important;
}

body.useOldFixed.useOldFixed p,
body.useOldFixed.useOldFixed li,
body.useOldFixed.useOldFixed dd,
body.useOldFixed.useOldFixed dt,
body.useOldFixed.useOldFixed td,
body.useOldFixed.useOldFixed th,
body.useOldFixed.useOldFixed .wp_entry,
body.useOldFixed.useOldFixed .wp_entry p {
    font-size: var(--of-fs-body) !important;
    line-height: 1.75 !important;
    color: #1a1a1a !important;
}

/* 页面内的链接：模板给正文链接锁死了 12px，这里统一抬到正文字号 */
body.useOldFixed.useOldFixed .post .con a,
body.useOldFixed.useOldFixed .con a,
body.useOldFixed.useOldFixed .news_list a,
body.useOldFixed.useOldFixed .col_news_list a,
body.useOldFixed.useOldFixed .article .entry .read a,
body.useOldFixed.useOldFixed .purelist a,
body.useOldFixed.useOldFixed .purelist .lk_none,
body.useOldFixed.useOldFixed .links-box p a {
    font-size: var(--of-fs-body) !important;
    line-height: 1.75 !important;
}

/* 辅助性小字（时间、来源、版权）保持层级差，但不小于 15px */
body.useOldFixed.useOldFixed .news_meta,
body.useOldFixed.useOldFixed .arti_metas span,
body.useOldFixed.useOldFixed #footer .inner p,
body.useOldFixed.useOldFixed #footer .inner .copyright,
body.useOldFixed.useOldFixed #footer .inner .copyright a,
body.useOldFixed.useOldFixed .col_news_date,
body.useOldFixed.useOldFixed .timeline a {
    font-size: var(--of-fs-note) !important;
    line-height: 1.7 !important;
}

/* 标题：字号分档，且与正文有明显区别（规范要求“明显特征”）
   三档字号见“零、字号档位”；标题一律允许断行，杜绝放大后顶出版心 */
body.useOldFixed.useOldFixed h1,
body.useOldFixed.useOldFixed .article h1.arti_title {
    font-size: var(--of-fs-h1) !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

body.useOldFixed.useOldFixed h2 {
    font-size: var(--of-fs-h2) !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

body.useOldFixed.useOldFixed h3,
body.useOldFixed.useOldFixed h4,
body.useOldFixed.useOldFixed .post .tt .tit,
body.useOldFixed.useOldFixed .col_menu .col_menu_head h3.col_name,
body.useOldFixed.useOldFixed .identity-list-header .bt,
body.useOldFixed.useOldFixed .bt,
body.useOldFixed.useOldFixed .bt a {
    font-size: var(--of-fs-h3) !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    word-break: break-word !important;
}

/* h5 / h6：栏目正文里的分组小标题（如校学术委员会页的“主任：”“副主任：”，
   类名 intro_title02）。list.css 把它写死为 14px，编辑器又在标签上内联了
   style="font-size:14px;line-height:normal"，两者都优先于普通 CSS，
   所以必须在这里单独给一档字号，否则放大后仍停在 14px。 */
body.useOldFixed.useOldFixed h5,
body.useOldFixed.useOldFixed .intro_title02 {
    font-size: var(--of-fs-read) !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
}

body.useOldFixed.useOldFixed h6 {
    font-size: var(--of-fs-body) !important;
    line-height: 1.7 !important;
    font-weight: 700 !important;
}

/* 兜底：编辑器粘贴进来的内容常带内联字号（style="font-size:14px" 之类），
   内联样式优先级高于普通选择器，放大后会原地不动。
   这里统一抬到“不低于正文字号”，同时用 max() 保留本来就更大的设定；
   标题（h1~h6）已在上面的分档里处理，用 :not() 排除，避免被拉平。 */
body.useOldFixed.useOldFixed .wp_articlecontent [style*="font-size"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
body.useOldFixed.useOldFixed .wp_articlecontent [style*="FONT-SIZE"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
body.useOldFixed.useOldFixed .wp_entry [style*="font-size"]:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    font-size: var(--of-fs-body) !important;          /* 旧浏览器不支持 max() 时的兜底 */
    font-size: max(var(--of-fs-body), 1em) !important;
}

/* =========================================================
 * 三、版式自适应 —— 解决“内容超出版心 / 文字遮挡”
 *     模板大量使用 white-space:nowrap + 固定高度 + 省略号，
 *     字号一放大就会顶出容器（标题压到页面灰色背景上）或互相遮挡。
 *     适老化模式下改为“允许换行 + 高度自适应”。
 * ========================================================= */

/* 3.1 首页各栏目标题：取消不换行、取消固定行高 */
body.useOldFixed.useOldFixed .post-3 .news_list .news .news_title,
body.useOldFixed.useOldFixed .post-40 .news_list .news .news_title,
body.useOldFixed.useOldFixed .post-50 .news_list .news .news_title,
body.useOldFixed.useOldFixed .post-3 .news_list .news .news_title a,
body.useOldFixed.useOldFixed .post-40 .news_list .news .news_title a,
body.useOldFixed.useOldFixed .post-50 .news_list .news .news_title a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    max-height: none !important;
    font-size: var(--of-fs-body) !important;
    line-height: 1.7 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* 3.2 首页列表项：高度自适应，用分割线区分（替代阴影卡片） */
body.useOldFixed.useOldFixed .news_list .news,
body.useOldFixed.useOldFixed .news_list li.news,
body.useOldFixed.useOldFixed .news_list div.news {
    height: auto !important;
    min-height: 2.1em !important;
    line-height: 1.7 !important;
    padding: 7px 0 !important;
    border-bottom: 1px solid #e6e6e6 !important;
}

body.useOldFixed.useOldFixed .news_list .news p,
body.useOldFixed.useOldFixed .news_list .news_summary {
    height: auto !important;
    line-height: 1.75 !important;
    margin-top: 4px;
}

/* 3.3 要闻栏目左侧日期块：原为 60×60 固定块，字号放大后数字被裁切 */
body.useOldFixed.useOldFixed .post-3 .news_list .n1 {
    height: auto !important;
    padding-bottom: 12px !important;
}

body.useOldFixed.useOldFixed .post-3 .news_list .n1 .news_time {
    width: 72px !important;
    height: auto !important;
    min-height: 72px !important;
    padding: 4px 0;
    box-sizing: border-box;
}

body.useOldFixed.useOldFixed .post-3 .news_list .n1 .news_time .sudy-pubdate {
    height: auto !important;
}

body.useOldFixed.useOldFixed .post-3 .news_list .n1 .news_time .pub-day {
    height: auto !important;
    line-height: 1.25 !important;
    font-size: var(--of-fs-h3) !important;
    margin-top: 2px !important;
}

body.useOldFixed.useOldFixed .post-3 .news_list .n1 .news_time .pub-date {
    height: auto !important;
    line-height: 1.4 !important;
    font-size: var(--of-fs-note) !important;
}

body.useOldFixed.useOldFixed .post-3 .news_list .n1 .news_title {
    display: block !important;
    height: auto !important;
    margin-left: 88px !important;
    line-height: 1.7 !important;
}

body.useOldFixed.useOldFixed .post-3 .news_list .n1 .news_title a {
    margin-top: 2px !important;
    font-size: var(--of-fs-body) !important;
    line-height: 1.6 !important;
}

/* 3.4 栏目标题栏与选项卡：高度自适应，选中态加实线，扁平且特征明显 */
body.useOldFixed.useOldFixed .post .tt {
    height: auto !important;
    min-height: 46px;
    line-height: 46px !important;
    background-image: none !important;
    border-bottom: 2px solid #d9e9f3;
    margin-bottom: 14px !important;
}

/* 选项卡标签（如“通知公告 / 招标信息”）：字号放大后，右侧窄栏（约 200px）
   放不下两个四字标签，而 #one1/#one2 是行内文本，会被拆成“招标信 / 息”。
   这里改成行内块 + 不换行：放得下就同行，放不下就整块换到下一行，
   绝不断词。选中态另有加粗 + 3px 实线下划线，特征仍明显。 */
body.useOldFixed.useOldFixed .post .tt .tit .title.ts > span {
    display: inline-block !important;
    white-space: nowrap !important;
    vertical-align: bottom !important;
}

body.useOldFixed.useOldFixed .post .tt .tit .title,
body.useOldFixed.useOldFixed .post .tt .tit .title.ts .hover,
body.useOldFixed.useOldFixed .post .tt .tit .title.ts {
    height: auto !important;
    line-height: 46px !important;
    background-image: none !important;
}

body.useOldFixed.useOldFixed .post .tt .tit .title.ts .hover {
    border-bottom: 3px solid #0077bc;
    color: #005a91 !important;
    font-weight: 700 !important;
}

body.useOldFixed.useOldFixed #one1,
body.useOldFixed.useOldFixed #one2 {
    font-size: var(--of-fs-tab) !important;
    line-height: 46px !important;
}

/* 未选中的标签降低视觉权重：常规字重 + 深灰色
   （原来两个标签同为蓝色，选中特征只能靠下划线，放大了仍不易分辨）
   下划线用透明 3px 占位，切换时高度不跳动 */
body.useOldFixed.useOldFixed .post .tt .tit .title.ts > span:not(.hover) {
    color: #333333 !important;
    font-weight: 400 !important;
    border-bottom: 3px solid transparent !important;
}

/* “更多”文字按钮同步放大，否则放大后成了页面上最小的一行字 */
body.useOldFixed.useOldFixed .more_btn .more_text,
body.useOldFixed.useOldFixed .more_btn a,
body.useOldFixed.useOldFixed .w3_more {
    font-size: var(--of-fs-sub) !important;
    line-height: 1.6 !important;
}

body.useOldFixed.useOldFixed .post .tt .more_btn,
body.useOldFixed.useOldFixed .post .tt .more_btn a {
    height: 46px !important;
    line-height: 46px !important;
}

/* 选项卡所在的栏很窄（首页“媒体聚焦”一栏实测 314px，右侧“通知公告”一栏
   只有 160px），“更多”按钮还绝对定位压在右上角。标签一旦按栏目标题
   的 32px 放大，两个四字标签就会顶到“更多”上面，出现文字叠字。
   因此选项卡标签单独用 --of-fs-tab（26px 起），并在标签区右侧留出
   “更多”按钮的宽度；真放不下时整块换行，不做任何裁切或叠压。 */
body.useOldFixed.useOldFixed .sudy-tab .tab-menu {
    height: auto !important;
    min-height: 46px;
    background: none !important;
    border-bottom: 2px solid #d9e9f3;
    margin-bottom: 14px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    padding-right: 68px !important;   /* 给右上角“更多”让位 */
    box-sizing: border-box !important;
}

body.useOldFixed.useOldFixed .sudy-tab .tab-menu li {
    height: auto !important;
    line-height: 46px !important;
    font-size: var(--of-fs-tab) !important;
    /* extends.css 给每个标签加 margin-right:10px，这里保留它、去掉右侧内边距，
       一个标签的宽度就等于“4 个字 + 10px”，两个标签刚好排进 314px 的窄栏 */
    padding: 0 !important;
    margin: 0 10px 0 0 !important;
    background: none !important;
    border-bottom: 3px solid transparent;
    float: none !important;
    flex: 0 0 auto;
    white-space: nowrap;
}

/* 选中态：加粗 + 实线下划线（不依赖背景图，扁平化且一眼可辨） */
body.useOldFixed.useOldFixed .sudy-tab .tab-menu li.selected {
    border-bottom-color: #0077bc;
    color: #005a91 !important;
    font-weight: 700 !important;
}

/* 未选中的标签降低视觉权重，选中/未选中一眼可分 */
body.useOldFixed.useOldFixed .sudy-tab .tab-menu li:not(.selected) {
    color: #333333 !important;
    font-weight: 400 !important;
}

body.useOldFixed.useOldFixed .sudy-tab .more_btn {
    top: 8px !important;
}

/* 3.5 图片、表格不超出容器 */
body.useOldFixed.useOldFixed .news_list img,
body.useOldFixed.useOldFixed .wp_entry img,
body.useOldFixed.useOldFixed .col_news_list .wp_entry img,
body.useOldFixed.useOldFixed .article .entry .read img,
body.useOldFixed.useOldFixed .column-image img,
body.useOldFixed.useOldFixed .column-image-item {
    max-width: 100% !important;
    height: auto !important;
}

body.useOldFixed.useOldFixed table {
    max-width: 100% !important;
}

/* =========================================================
 * 四、扁平化：去阴影、去圆角、去渐变纹理，内容区改纯色底
 * ========================================================= */

/* 4.1 阴影、文字阴影全部去除（无障碍工具条自身不动） */
body.useOldFixed *:not([class*="aria"]):not([id*="aria"]),
body.useOldFixed *:not([class*="aria"]):not([id*="aria"])::before,
body.useOldFixed *:not([class*="aria"]):not([id*="aria"])::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* 4.2 圆角直角化，去装饰感 */
body.useOldFixed *:not([class*="aria"]):not([id*="aria"]),
body.useOldFixed *:not([class*="aria"]):not([id*="aria"]) img {
    border-radius: 0 !important;
}

/* 4.3 正文容器改为纯色底，去掉渐变/纹理背景
 *     只作用于内容区，学校标识（页头校徽底图）、功能按钮图标保留 */
body.useOldFixed.useOldFixed .post,
body.useOldFixed.useOldFixed .mbox,
body.useOldFixed.useOldFixed .news_list,
body.useOldFixed.useOldFixed .news_list li,
body.useOldFixed.useOldFixed .col_menu,
body.useOldFixed.useOldFixed .col_menu .col_menu_head,
body.useOldFixed.useOldFixed .infobox,
body.useOldFixed.useOldFixed .identity-list-header {
    background-image: none !important;
    background-color: #ffffff !important;
}

body.useOldFixed.useOldFixed .col_menu .col_menu_head {
    border-bottom: 1px solid #d9d9d9;
    border-left: 6px solid #0077bc;
    height: auto !important;
}

/* 左栏“位置栏”标题：.col_name_text 上写死了 line-height:24px、
   padding-left:30px（给栏目图标留位），字号放大后文字会被 24px 的行高
   压掉上下各一截，右侧还会顶出 180px 宽的栏。这里改为随字号的行高，
   并去掉不再需要的图标留白。 */
body.useOldFixed.useOldFixed .col_menu .col_menu_head h3.col_name .col_name_text {
    line-height: 1.5 !important;
    padding: 10px !important;
    word-break: break-word !important;
}

/* 栏目标题文字：手机端模板把它设为白色（配深灰底），扁平化后底色改成了白，
   就成了白底白字、整条标题看不见。这里统一改成深色字，桌面与手机都能读。 */
body.useOldFixed.useOldFixed .col_menu .col_menu_head h3.col_name,
body.useOldFixed.useOldFixed .col_menu .col_menu_head h3.col_name .col_name_text,
body.useOldFixed.useOldFixed .col_menu .col_menu_head h3.col_name .Column_Anchor {
    color: #1a1a1a !important;
    background-image: none !important;
}

/* 页脚底纹为装饰性渐变，扁平化处理为纯色 */
body.useOldFixed.useOldFixed #footer .inner {
    background-image: none !important;
}

/* =========================================================
 * 五、列表页 / 文章页：同样去除固定高度与不换行
 * ========================================================= */
body.useOldFixed.useOldFixed .col_news_list .col_news_item {
    /* 标题与日期改成弹性两栏：标题换行时日期仍固定在右侧，
       不会被挤到下一行，也不会与标题粘连 */
    display: flex !important;
    align-items: baseline;
    line-height: 1.75 !important;
    padding: 8px 0 8px 12px !important;
    background-position: 2px 16px !important;
}

body.useOldFixed.useOldFixed .col_news_item .col_news_title {
    flex: 1 1 auto;
    float: none !important;
    min-width: 0;
}

body.useOldFixed.useOldFixed .col_news_item .col_news_date {
    flex: 0 0 auto;
    float: none !important;
    padding-left: 12px;
    white-space: nowrap;
}

body.useOldFixed.useOldFixed .col_news_item .col_news_title,
body.useOldFixed.useOldFixed .col_news_item .col_news_title a {
    font-size: var(--of-fs-body) !important;
    line-height: 1.75 !important;
    white-space: normal !important;
    overflow: visible !important;
}

body.useOldFixed.useOldFixed .col_list_wrap li a,
body.useOldFixed.useOldFixed .col_list_wrap li a span,
body.useOldFixed.useOldFixed .purelist li a {
    font-size: var(--of-fs-body) !important;
    line-height: 1.75 !important;
    height: auto !important;
    white-space: normal !important;
}

body.useOldFixed.useOldFixed .article .entry .read,
body.useOldFixed.useOldFixed .article .entry .read p {
    font-size: var(--of-fs-read) !important;
    line-height: 1.9 !important;
}

body.useOldFixed.useOldFixed .col_metas .col_path,
body.useOldFixed.useOldFixed .wzlm,
body.useOldFixed.useOldFixed .wzlm a {
    font-size: var(--of-fs-sub) !important;
    line-height: 1.8 !important;
    height: auto !important;
}

/* 当前位置（面包屑）：base.css 里是 display:inline-block + white-space:nowrap，
   栏目标题稍微长一点、字号一放大就会顶出屏幕（手机上出现横向滚动条）。 */
body.useOldFixed.useOldFixed .col_metas .col_path {
    display: block !important;
    white-space: normal !important;
    max-width: 100% !important;
    line-height: 1.9 !important;
    word-break: break-word !important;
}

body.useOldFixed.useOldFixed .col_metas .col_path a {
    display: inline !important;
    white-space: normal !important;
}

/* 分隔符 .possplit 原本是 inline-block + 背景小箭头，字号放大、文字换行后
   会独占一行，出现“三个 > 单独一行”的错位。改为随文字流动的文本分隔符。 */
body.useOldFixed.useOldFixed .col_metas .col_path .possplit {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    line-height: inherit !important;
    background: none !important;
    font-size: 0 !important;
    vertical-align: baseline !important;
}

body.useOldFixed.useOldFixed .col_metas .col_path .possplit::after {
    content: "›";
    font-size: var(--of-fs-sub);
    color: #8c8c8c;
    padding: 0 6px;
    vertical-align: baseline;
}

/* 正文里的“名单 / 人员”型列表（intro_ul02、intro_ul03）：
   模板用 li{width:22%（或46%）;float:left;margin-left:10px} 硬排多列，
   固定百分比叠加固定内边距，窄屏和放大后必然横向溢出，
   名字被切成“陈多/陈良”这样的半截。这里改为按内容宽度自动折行的流式小卡片。 */
body.useOldFixed.useOldFixed .wp_articlecontent .intro_ul02,
body.useOldFixed.useOldFixed .wp_articlecontent .intro_ul03,
body.useOldFixed.useOldFixed .wp_entry .intro_ul02,
body.useOldFixed.useOldFixed .wp_entry .intro_ul03 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

body.useOldFixed.useOldFixed .wp_articlecontent .intro_ul02 li,
body.useOldFixed.useOldFixed .wp_articlecontent .intro_ul03 li,
body.useOldFixed.useOldFixed .wp_entry .intro_ul02 li,
body.useOldFixed.useOldFixed .wp_entry .intro_ul03 li {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    float: none !important;
    flex: 0 0 auto;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 2px 14px !important;
    line-height: 1.7 !important;
    text-indent: 0 !important;
    word-break: break-word !important;
}

body.useOldFixed.useOldFixed .wp_articlecontent .intro_ul02 li p,
body.useOldFixed.useOldFixed .wp_articlecontent .intro_ul03 li p {
    margin: 0 !important;
    text-indent: 0 !important;
    line-height: 1.7 !important;
}

/* =========================================================
 * 六、页头 / 导航 / 页脚
 *     一级导航与页头右上角的功能链接（中文 / ENGLISH / 无障碍 / 关怀版）
 *     是固定版式的窄条，字号统一固定（--of-fs-nav / --of-fs-head），
 *     不随档位放大：这两处一旦放大就会换行、压到校徽上或顶出版心，
 *     反而违反“放大不应导致样式变形”。页面主体内容仍按档位放大。
 * ========================================================= */
body.useOldFixed.useOldFixed .menu-bar .wp-menu .menu-item a.menu-link {
    font-size: var(--of-fs-nav) !important;
    padding: 0 7px !important;
}
body.useOldFixed.useOldFixed .leader-box-item>a span { font-size: var(--of-fs-read) !important;}
body.useOldFixed.useOldFixed .menu-bar .sub-menu .sub-item a,
body.useOldFixed.useOldFixed .menu-bar .sub-menu .sub-item a .item-name {
    font-size: var(--of-fs-sub) !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.9 !important;
    padding: 6px 10px !important;
    white-space: nowrap;
}

/* 页头右上角：模板给的是 14~15px 的一行小字，四周都是固定定位的容器。
   按档位放到 19~22px 就会折成两行、压住校徽，因此固定在 16px。 */
body.useOldFixed.useOldFixed #top-nav .menu-item .menu-link,
body.useOldFixed.useOldFixed .wp_nav .nav-item a {
    font-size: var(--of-fs-head) !important;
}

body.useOldFixed.useOldFixed .languages li a {
    font-size: var(--of-fs-head) !important;
    white-space: nowrap !important;
}

/* 移动端侧边导航（汉堡菜单）：整条可点区域随字号加高，避免误触 */
body.useOldFixed.useOldFixed .wp-navi-aside .navi-aside-wrap li a,
body.useOldFixed.useOldFixed .wp-navi-aside .navi-aside-title {
    font-size: var(--of-fs-body) !important;
    line-height: 1.7 !important;
    height: auto !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* 页头搜索框：输入框宽度随字号撑开，放大后会盖住左侧校徽，
   故与右上角功能链接同样固定在 16px。 */
body.useOldFixed.useOldFixed .search-title {
    font-size: var(--of-fs-head) !important;
}

/* 页脚：内容左对齐、行距放宽，避免放大后挤成一片 */
body.useOldFixed.useOldFixed #footer .inner {
    height: auto !important;
    padding: 20px 0 !important;
}

body.useOldFixed.useOldFixed #footer .inner p {
    line-height: 1.9 !important;
}

/* 轮播/焦点图标题：原来是 30px 高、不换行的一行小字压在图片底部。
   字号一放大，文字就会溢出这条 30px 的黑色标题带、压到图片上。
   这里把标题带改为“随文字增高 + 允许换行”，黑底改到标题带本身上，
   遮罩观感不变，文字也不会跑出底板。 */
body.useOldFixed.useOldFixed .focus-title-bar {
    height: auto !important;
    min-height: 30px;
    background: rgba(0, 0, 0, 0.72) !important;
}

body.useOldFixed.useOldFixed .focus-title-bg {
    display: none !important;
}

body.useOldFixed.useOldFixed .focus-title {
    position: static !important;
    display: block !important;
    height: auto !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-word !important;
    padding: 6px 10px !important;
    font-size: var(--of-fs-sub) !important;
}

/* 首页大图轮播（sudyslide 插件）的标题：h2.slide-title 是绝对定位、
   30px 行高、max-height:90px 的一行小字，副标题 + 短标题放大后会被裁掉半截。
   关怀版改为“随内容增高 + 允许换行”，标题底色随文字一起长。 */
body.useOldFixed.useOldFixed .slide-title-bar {
    white-space: normal !important;
    bottom: 0 !important;
    height: auto !important;
}

body.useOldFixed.useOldFixed .slide-title,
body.useOldFixed.useOldFixed h2.slide-title {
    position: static !important;
    bottom: auto !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    font-size: var(--of-fs-sub) !important;
}

body.useOldFixed.useOldFixed h2.slide-title span {
    padding: 6px 10px !important;
    line-height: 1.5 !important;
}

/* =========================================================
 * 七、移动端（WAP）专项
 *     规范要求移动端至少 18pt/dp 大字体；同时必须避免遮挡与错位。
 * ========================================================= */
@media screen and (max-width: 959px) {

    /* 7.0 手机端字号上限：窄屏上标题一旦超过 42px，一行只剩六七字，
           会竖成“柱状”，反而更难读。这里按档位给手机端另设一套上限，
           正文仍保持在 22~28px（≥18dp/pt），三档放大照样可用。
           三档选择器都写全，靠“同权重 + 后出现”覆盖上面的桌面值。 */
    body.useOldFixed {
        --of-fs-note: 16px;
        --of-fs-sub: 18px;
        --of-fs-body: 22px;
        --of-fs-read: 24px;
        --of-fs-tab: 24px;
        --of-fs-head: 16px;
        --of-fs-h3: 30px;
        --of-fs-h2: 32px;
        --of-fs-h1: 34px;
    }

    body.useOldFixed.of-fs-2 {
        --of-fs-note: 18px;
        --of-fs-sub: 20px;
        --of-fs-body: 25px;
        --of-fs-read: 27px;
        --of-fs-tab: 25px;
        --of-fs-head: 16px;
        --of-fs-h3: 33px;
        --of-fs-h2: 35px;
        --of-fs-h1: 38px;
    }

    body.useOldFixed.of-fs-3 {
        --of-fs-note: 20px;
        --of-fs-sub: 22px;
        --of-fs-body: 28px;
        --of-fs-read: 30px;
        --of-fs-tab: 26px;
        --of-fs-head: 16px;
        --of-fs-h3: 36px;
        --of-fs-h2: 38px;
        --of-fs-h1: 42px;
    }

    /* 7.1 还原为单列流式：模板在 768~959 仍保留部分固定宽度，这里统一放开 */
    body.useOldFixed.useOldFixed .wrapper .inner {
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.useOldFixed.useOldFixed .main-box,
    body.useOldFixed.useOldFixed .mbox,
    body.useOldFixed.useOldFixed .mod1,
    body.useOldFixed.useOldFixed .mod2,
    body.useOldFixed.useOldFixed .mod2 .mc,
    body.useOldFixed.useOldFixed .mod2 .mr,
    body.useOldFixed.useOldFixed .col_news {
        width: auto !important;
        max-width: 100% !important;
        float: none !important;
        box-sizing: border-box;
    }

    /* 7.2 右栏原来是 410px 固定高度 + 绝对定位底栏，放大后必然压字 */
    body.useOldFixed.useOldFixed .mod2 .mr {
        height: auto !important;
        min-height: 0 !important;
    }

    body.useOldFixed.useOldFixed .post-5 {
        position: static !important;
    }

    /* 7.3 轮播固定像素宽度会顶出屏幕，强制跟随容器 */
    body.useOldFixed.useOldFixed .slide-wrap,
    body.useOldFixed.useOldFixed .slide-container,
    body.useOldFixed.useOldFixed #banner .inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 7.4 字号：正文按档位（22/25/28px，均 ≥18dp），行高放宽，保证不重叠 */
    body.useOldFixed.useOldFixed,
    body.useOldFixed.useOldFixed p,
    body.useOldFixed.useOldFixed li,
    body.useOldFixed.useOldFixed .news_list a,
    body.useOldFixed.useOldFixed .post .con a {
        font-size: var(--of-fs-body) !important;
        line-height: 1.8 !important;
    }

    /* 7.5 选项卡在窄屏可横向滚动，放大的标签不再被裁切 */
    body.useOldFixed.useOldFixed .sudy-tab .tab-menu {
        display: flex;
        flex-wrap: wrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.useOldFixed.useOldFixed .sudy-tab .tab-menu li {
        float: none !important;
        flex: 0 0 auto;
    }

    /* 7.6 服务大厅、快捷入口等大图标区保持等高对齐 */
    body.useOldFixed.useOldFixed .servicehall {
        height: auto !important;
        min-height: 110px;
    }

    /* 7.7 页脚在窄屏单列左对齐，留出左右安全边距 */
    body.useOldFixed.useOldFixed #footer .inner {
        padding: 20px 12px !important;
    }

    body.useOldFixed.useOldFixed #footer .inner .copyright {
        float: none !important;
        display: block;
        text-align: left;
    }
}

/* =========================================================
 * 八、手机端（≤767px）功能入口精简
 *     断点与 media.css 的手机断点保持一致。
 * ========================================================= */
@media screen and (max-width: 767px) {
.wp-navi-aside .languages li.lang-old:nth-child(3){/*display:none*/}
    /* 8.1 手机端只保留“关怀版”，隐藏“无障碍”入口。
           页头那组按钮（ul.languages）在手机端已被 media.css 隐藏，
           真正可见的是 app.js 克隆进汉堡侧边栏（.navi-aside-wrap）的副本。
           优先用 a11y.js 打上的 data-a11y-entry 标记（不依赖 onclick 字符串，
           无障碍 SDK 即使把它改写成退出态也不受影响），onclick 作兜底。
           aria.start() 是“无障碍阅读”，aria.oldFixedStart() 是“关怀版”，
           两个字符串互不包含，不会误伤关怀版入口。 */
    a[data-a11y-entry="a11y"],
    a[onclick*="aria.start"] {
        display: none !important;
    }

    /* 父级 li 一并移除，避免残留空行或分隔线；
       不支持 :has() 的浏览器由上面隐藏 a 让 li 自然塌陷，同样不留白。 */
    li[data-a11y-entry-li="a11y"],
    li:has(> a[onclick*="aria.start"]) {
        display: none !important;
    }

    /* 8.2 关怀版开启后收起搜索框：
           手机端搜索框是页头里整条约 98% 宽的输入条，字号放大后
           会挤占首屏、把轮播整体下推，故在关怀版下隐藏。
           模板有两套搜索结构：首页 .searchbox + .wp-search，
           栏目页/内容页 .tools-bar + .wp_search，这里一并覆盖。 */
    body.useOldFixed.useOldFixed .searchbox,
    body.useOldFixed.useOldFixed .wp-search,
    body.useOldFixed.useOldFixed .tools-bar,
    body.useOldFixed.useOldFixed .wp_search {
        display: none !important;
    }

    /* 8.3 栏目名条（.column-name）：
           base.css 里它是绝对定位叠在栏目图上的白色描边文字，只在手机端显示。
           关怀版把正文改成深色字后，深色字压深色照片，几乎看不见，
           图上还残留一条空白带。这里改为图片下方独立一行：浅底 + 左侧色条，
           既保证对比度，也符合扁平化要求。 */
    body.useOldFixed.useOldFixed .column-image {
        overflow: visible !important;
    }

    /* 图片后的 <br> 会多出一行空行，去掉 */
    body.useOldFixed.useOldFixed .column-image br {
        display: none !important;
    }

    body.useOldFixed.useOldFixed .column-image .column-name {
        position: static !important;
        height: auto !important;
        margin: 0 !important;
        padding: 8px 12px !important;
        font-size: var(--of-fs-h3) !important;
        line-height: 1.5 !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        background: #eef4fa !important;
        border-left: 6px solid #0077bc !important;
        text-shadow: none !important;
        overflow: visible !important;
    }

    /* 8.4 搜索框收起后，页头高度随之收回，避免下方留出空白带 */
    body.useOldFixed.useOldFixed #header {
        height: auto !important;
        min-height: 110px;
        padding-bottom: 12px;
        box-sizing: border-box;
    }

    body.useOldFixed.useOldFixed #header .inner {
        height: auto !important;
        min-height: 96px;
    }

    /* 8.5 底部「关怀版菜单」（平台 SDK 生成的 .ariafooter：主题/阅读/设置/退出）
           是 position:fixed 的 85px 高操作条，不占文档流。
           这里给正文和汉堡侧边栏都留出等高空间，避免最后一段内容 / 最后一个
           入口被它压住点不到。注意 SDK 是把这条菜单挂在 <html> 上（不是 body），
           所以 :has() 要写在 html 上。
           不支持 :has 的浏览器只是保持原样，不影响功能。 */
    html:has(.ariafooter) body.useOldFixed {
        padding-bottom: 85px !important;
        box-sizing: border-box;
    }

    html:has(.ariafooter) body.useOldFixed .wp-navi-aside .aside-inner {
        padding-bottom: 85px !important;
        box-sizing: border-box;
    }
}

/* =========================================================
 * 九、字号条 —— 三档网页字体放大设置（6.2.2.3.2）
 *     由 js/a11y.js 生成并维护，仅关怀版显示。
 *     控件自身字号固定，不随档位放大：否则选到“特大”时按钮会
 *     跟着长成巨无霸，把正文顶下去，反而违背“不应导致样式变形”。
 *     整体保持扁平：直角、无阴影、纯色底 + 实线描边（规范 1 页面布局）。
 * ========================================================= */
.of-fontbar { display: none; }

body.useOldFixed .of-fontbar {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 10px;
    background: #ffffff;
    border: 2px solid #0077bc;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    line-height: 1.2;
    color: #1a1a1a;
}

body.useOldFixed .of-fontbar-label {
    font-size: 16px !important;
    line-height: 1.2 !important;
    color: #1a1a1a;
    padding-right: 2px;
    white-space: nowrap;
}

body.useOldFixed .of-fontbar .of-fs-btn {
    display: inline-block;
    min-width: 68px;
    min-height: 44px;          /* 触摸/点击目标不小于 44px */
    margin: 0;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #0077bc;
    border-radius: 0;
    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 400;
    color: #005a91;
    cursor: pointer;
    white-space: nowrap;
}

/* 当前档位：实心蓝底白字，与未选中档位一眼可分
   （不靠阴影、渐变区分，符合扁平化要求） */
body.useOldFixed .of-fontbar .of-fs-btn-on {
    background: #0077bc;
    color: #ffffff;
    font-weight: 700;
}

body.useOldFixed .of-fontbar .of-fs-btn:hover {
    background: #e6f2fa;
    color: #005a91;
}

body.useOldFixed .of-fontbar .of-fs-btn-on:hover {
    background: #005a91;
    color: #ffffff;
}

body.useOldFixed .of-fontbar .of-fs-btn:focus {
    outline: 3px solid #e08e00;
    outline-offset: 2px;
}

/* 档位变化的读屏播报（视觉隐藏，读屏可读） */
.of-fontbar-live {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media screen and (max-width: 767px) {
    /* 手机端底部有平台关怀版菜单（.ariafooter，85px 固定），
       字号条上移让开，避免盖住菜单上的“退出”。 */
    body.useOldFixed .of-fontbar {
        right: 8px;
        bottom: 96px;
        padding: 6px 8px;
        gap: 4px;
    }

    body.useOldFixed .of-fontbar-label {
        font-size: 15px !important;
    }

    body.useOldFixed .of-fontbar .of-fs-btn {
        min-width: 58px;
        min-height: 40px;
        padding: 5px 8px;
        font-size: 15px !important;
    }
}
