/* ============================================================
   jdfz 主题 - 交大附中杨浦实验学校招生站
   配色取自 fz.sjtu.edu.cn/zsw：主色 var(--brand)，辅助 var(--brand-light)
   页面底色 #fff（白），描边 #e8eaee，正文 #333 / #666
   ============================================================ */

html { font-size: 62.5%; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); font-size: 1.4rem; color: var(--ink-2); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* 内容不满一屏时把页脚压到窗口底部：校园展示、单页、搜索结果这类
   内容很少的页面，页脚会跟在内容下面浮在半空 */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.section { flex: 1 0 auto; }
.footer { flex: 0 0 auto; }
a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
a:hover, a:focus { text-decoration: none !important; }
a:hover { color: var(--brand); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }
.text-center { text-align: center; }

/* ============ 站头 ============ */
.site-head { background: var(--brand); }
.site-head-in { height: 152px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: block; flex: none; order: 1; margin-right: auto; }
.nav-logo img { max-height: 118px; width: auto; display: block; }

.header-right { display: flex; align-items: center; gap: 26px; order: 2; }
.header-auth { display: flex; align-items: center; gap: 10px; flex: none; order: 3; font-size: 1.38rem; }
.header-auth a { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.86); }
.header-auth a:hover { color: #fff; }
.header-auth a i { font-size: 1.55rem; }
/* 登录态小头像：桌面与移动端统一为圆形小图，避免按原图尺寸撑破通栏 */
.header-auth-user img { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); object-fit: cover; vertical-align: middle; }
.header-auth-greet { color: rgba(255,255,255,.78); }
.header-auth-ico { display: none; }
.header-auth-sep { color: rgba(255,255,255,.32); }
/* 登录后的「退出」：比用户名弱一档，鼠标移上去才变亮 */
.header-auth a.header-auth-out { color: rgba(255,255,255,.66); }
.header-auth a.header-auth-out:hover { color: #fff; }
.header-search-form { display: flex; align-items: center; }
.header-search-form .layui-inline { margin: 0; }
.header-search-form .layui-input-wrap { display: flex; align-items: center; background: var(--white); border: 1px solid var(--white); border-radius: 999px; padding-left: 14px; transition: box-shadow .2s; }
.header-search-form .layui-input-wrap:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.header-search-form .search-submit { display: flex; align-items: center; justify-content: center; width: 20px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; padding: 0; }
.header-search-form .search-submit:hover { color: var(--brand); }
.header-search-form .search-ico { display: block; width: 16px; height: 16px; fill: var(--muted); flex: none; }
.header-search-form .search-submit:hover .search-ico { fill: var(--brand); }
.header-search-form .layui-input { width: 210px; height: 36px; border: 0; background: transparent; color: var(--ink-2); font-size: 1.3rem; padding: 0 14px 0 8px; }
.header-search-form .layui-input:focus { border: 0; }
.header-search-form .layui-input::placeholder { color: var(--muted-2); }

/* ============ 主导航（同参考站：浅灰条 + 等分 + 3px 红下划线） ============ */
/* 移动端汉堡与全屏菜单：默认隐藏，仅 820px 以下启用 */
.m-nav-toggle, .m-nav-mask, .m-nav-panel, .m-quick, .m-list-title { display: none; }
.pc-nav { background: #eaecef; border-bottom: 1px solid #e0e3e8; box-shadow: 0 2px 5px rgba(0,0,0,.06); }
.pc-nav-in { display: flex; align-items: stretch; justify-content: center; height: 50px; }
.pc-nav-item { position: relative; flex: 1 1 0; min-width: 0; text-align: center; }
.pc-nav-item > a { position: relative; display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 6px; font-size: 1.6rem; color: #333; letter-spacing: .01em; white-space: nowrap; }
.pc-nav-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: center; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.pc-nav-item > a:hover { color: var(--brand); }
.pc-nav-item > a:hover::after,
.pc-nav-item.current > a::after { transform: scaleX(1); }
.pc-nav-item.current > a { color: var(--brand); font-weight: 600; }

.sub-nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 168px; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--brand); box-shadow: 0 12px 28px -12px rgba(24,26,32,.28); z-index: 120; }
.sub-nav-dropdown a { display: block; padding: 11px 18px; font-size: 1.35rem; color: #4a4d52; white-space: nowrap; border-bottom: 1px solid var(--line-2); }
.sub-nav-dropdown a:last-child { border-bottom: 0; }
.sub-nav-dropdown a:hover { background: var(--brand-tint); color: var(--brand); }
.pc-nav-item:hover .sub-nav-dropdown { display: block; }

/* ============ 面包屑 ============ */
.page-location { background: #fff; border-bottom: 1px solid #eceef2; font-size: 1.25rem; color: var(--muted); }
.page-location .section-in { padding-top: 14px; padding-bottom: 14px; }
.page-location a { color: var(--muted); }
.page-location a:hover { color: var(--brand); }
.page-location .sep { color: #c8ccd3; margin: 0 8px; }

/* ============ 容器 ============ */
.section-in { max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section > .section-in { padding-top: 36px; padding-bottom: 52px; }
/* 内页（列表 / 详情等）浅灰底，白色卡片浮起来 */
.section--inner { background: #fff; }
.section--inner > .section-in { padding-top: 26px; padding-bottom: 56px; }

/* ============ 内页装饰斜纹：已停用（原来是参考站的淡粉斜线，属于纯装饰） ============ */
.section-in { position: relative; }
.inside-shadow { display: none; }
.section-footer { background: var(--white); }
.section-footer > .section-in { padding-top: 0; padding-bottom: 0; }

/* ============ 栏目标题（中文 + 英文 + MORE） ============ */
.sec-head { position: relative; display: flex; align-items: baseline; gap: 10px; padding-bottom: 13px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--brand); }
.sec-cn { font-size: 2rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.sec-en { display: none; }
.sec-bar { display: none; }
.sec-more { margin-left: auto; font-size: 1.2rem; color: var(--muted); letter-spacing: .04em; }
.sec-more:hover { color: var(--brand); }

/* 兼容旧模板标题结构 */
.section-in-title { position: relative; display: flex; align-items: baseline; gap: 8px; padding-bottom: 13px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-in-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--brand); }
.section-in-title i, .section-title-ico { display: none; }
.section-title-cn { font-size: 2rem; font-weight: 600; color: var(--ink); }
.section-title-en { display: none; }
.section-title-more { font-size: 1.2rem; color: var(--muted); }
.section-title-more:hover { color: var(--brand); }

/* ============ 首页：焦点图 + 最新动态 ============ */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 34px; align-items: stretch; margin-bottom: 46px; }
/* 栏目在后台停用后，首页对应板块整块不输出，空格子自动收成一列 */
.hero.no-news { grid-template-columns: 1fr; }
.announcement-box.no-notice { grid-template-columns: 1fr; }
.announcement-box.no-notice .announcement-box-right { justify-content: center; }
.blocks.is-single { grid-template-columns: 1fr; }
.home-m { display: none; }
.hero-media { position: relative; height: 360px; overflow: hidden; border-radius: var(--radius); background: var(--soft); }

/* 自建轮播：可点箭头、可点圆点、悬停暂停 */
.hero-slider { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s; color: #fff; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
/* JS 未执行时也先显示第一张，避免整块空白 */
.hero-slide:first-child { opacity: 1; visibility: visible; }
.hero-slider.is-ready .hero-slide:first-child:not(.is-active) { opacity: 0; visibility: hidden; }
.hero-slide-fallback { position: absolute; inset: 0; display: block; background: var(--brand); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 6s linear; }
.hero-slide.is-active img { transform: scale(1.045); }
.hero-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 22px 34px; background: linear-gradient(180deg, rgba(18,12,14,0) 0%, rgba(18,12,14,.4) 48%, rgba(18,12,14,.86) 100%); font-size: 1.65rem; font-weight: 600; color: #fff; z-index: 3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.hero-slide:hover .hero-slide-cap,
.hero-slide:hover img { color: #fff; }

.hero-arrow { position: absolute; top: 50%; z-index: 6; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(24,18,20,.34); color: #fff; cursor: pointer; opacity: 0; transition: opacity .25s, background .25s; display: flex; align-items: center; justify-content: center; }
.hero-arrow::before { content: ""; width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.hero-arrow.prev { left: 14px; }
.hero-arrow.prev::before { transform: rotate(45deg); margin-left: 3px; }
.hero-arrow.next { right: 14px; }
.hero-arrow.next::before { transform: rotate(-135deg); margin-right: 3px; }
.hero-arrow:hover { background: var(--brand); }
.hero-slider:hover .hero-arrow { opacity: 1; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 7; display: flex; align-items: center; justify-content: center; gap: 7px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; transition: width .3s, background .25s; }
.hero-dot:hover { background: rgba(255,255,255,.85); }
.hero-dot.is-active { width: 20px; border-radius: 999px; background: #fff; }

.hero-news { display: flex; flex-direction: column; min-width: 0; }
.hero-news .sec-head { margin-bottom: 4px; }
.hot-news-list { flex: 1; }
.hot-item { border-bottom: 1px solid var(--line-2); }
.hot-item:last-child { border-bottom: 0; }
.hot-item a { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.hot-item .news-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
/* 行首不再挂竖线：列表本身已有细分隔线，左侧再排一列短竖线只会显得碎 */
.news-arr { display: none; }
.hot-item a:hover .news-intro-t { color: var(--brand); }
.news-intro { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; font-size: 1.45rem; color: #3a3d42; }
.news-intro .news-intro-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-date { flex: none; font-size: 1.2rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* ============ 首页：网站公告 + 四色入口（规格同 fz.sjtu.edu.cn/zsw） ============ */
.announcement-box { display: grid; grid-template-columns: minmax(0, 1fr) 383px; gap: 30px; align-items: stretch; margin-bottom: 46px; }
.announcement-box-left { min-width: 0; min-height: 375px; background: var(--white); border: 1px solid var(--line); padding: 18px 24px 10px; }
.announcement-box-left .sec-head { margin-bottom: 12px; padding-bottom: 12px; }
.announcement-list { display: flex; flex-direction: column; }
.announcement-item { border-bottom: 1px dashed #eceef2; }
.announcement-item:last-child { border-bottom: 0; }
.announcement-item > a { display: flex; gap: 18px; padding: 12px 0; }
.announcement-time { flex: none; width: 70px; height: 70px; background: #f2f3f6; color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.announcement-time .date { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.announcement-time .dash { font-size: 11px; margin: 2px 0; opacity: .8; }
.announcement-time .month { font-size: 11px; }
.announcement-text { flex: 1; min-width: 0; }
.announcement-title { display: flex; align-items: center; min-width: 0; font-size: 15px; font-weight: 400; color: #333; line-height: 1.45; margin-bottom: 4px; }
.announcement-title .announcement-title-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement-item > a:hover .announcement-title { color: var(--brand); }
.announcement-intro { font-size: 13px; color: #666; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.announcement-empty { padding: 58px 0; text-align: center; color: var(--muted-2); font-size: 13px; }

/* 四个入口方块：184×184，2×2 排列，参考站同色值 */
.announcement-box-right { display: grid; grid-template-columns: repeat(2, 184px); grid-auto-rows: minmax(184px, 1fr); gap: 7px; justify-content: end; overflow: hidden; }
.color-sqaure { position: relative; width: 184px; height: auto; display: flex; flex-direction: column; align-items: center; color: #fff; text-align: center; transition: filter .25s ease; }
.color-sqaure:hover, .color-sqaure:focus { color: #fff; }
.color-sqaure-ico { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.color-sqaure-ico svg { width: 76px; height: 76px; display: block; }
.color-sqaure-name { padding-bottom: 26px; font-size: 18px; letter-spacing: .02em; }
.color-sqaure.apply { background-color: #126fc2; }
.color-sqaure.message { background-color: #66b031; }
.color-sqaure.login { background-color: #f7b72c; }
.color-sqaure.contact { background-color: #00988d; }
.color-sqaure.apply:hover { filter: brightness(1.06); }
.color-sqaure.message:hover { filter: brightness(1.05); }
.color-sqaure.login:hover { filter: brightness(1.05); }

/* 联系我们：悬停从左侧滑出微信公众号二维码面板，图片铺满整块 */
.sqaure-contact-box { position: absolute; top: 0; right: -184px; width: 184px; height: 184px; padding: 0; background: #fff; text-align: left; overflow: hidden; z-index: 3; transition: right .3s ease; }
.sqaure-contact-qr { display: block; width: 100%; height: 100%; object-fit: cover; }
.color-sqaure.contact:hover .sqaure-contact-box,
.color-sqaure.contact:focus-within .sqaure-contact-box { right: 0; }

/* ============ 首页：报考指导（三图卡，参考站规格） ============ */
.register-section { margin-bottom: 46px; }
.register-list { padding-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.register-item { min-width: 0; }
.register-item > a { display: block; }
.register-item-img { display: block; width: 100%; aspect-ratio: 320 / 185; object-fit: cover; background: var(--soft); border-radius: 2px; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.register-item > a:hover .register-item-img { transform: translateY(-3px); }
.register-title { display: flex; align-items: center; min-width: 0; font-size: 15.5px; line-height: 1.55; font-weight: 600; color: #2a2d33; margin-top: 15px; }
.register-title .register-title-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.register-item > a:hover .register-title { color: var(--brand); }
.register-intro { margin-top: 6px; font-size: 13px; color: #8b9099; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.register-empty { grid-column: 1 / -1; padding: 30px 0; text-align: center; color: var(--muted-2); font-size: 1.3rem; }

/* ============ 首页：招生政策（两列图文条目） ============ */
.admissions-section { margin-bottom: 44px; }
.admissions-list { padding-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.admissions-item { min-width: 0; border-bottom: 1px solid var(--line-2); }
.admissions-item > a { display: flex; gap: 20px; padding: 20px 0; }
.admissions-item-img { flex: none; width: 152px; height: 96px; object-fit: cover; display: block; background: var(--soft); border-radius: 2px; }
.admissions-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admissions-title { display: flex; align-items: center; min-width: 0; font-size: 15.5px; font-weight: 600; color: #2a2d33; line-height: 1.5; }
.admissions-title .admissions-title-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admissions-item > a:hover .admissions-title { color: var(--brand); }
.admissions-intro { margin-top: 5px; font-size: 13px; color: #8b9099; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admissions-time { margin-top: auto; padding-top: 6px; font-size: 12px; color: #b0b5bd; font-variant-numeric: tabular-nums; }
.admissions-empty { grid-column: 1 / -1; padding: 30px 0; text-align: center; color: var(--muted-2); font-size: 1.3rem; }

/* ============ 首页：学校介绍横条 ============ */
.intro-strip { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 38px; }
.intro-strip-media { position: relative; min-height: 200px; background: var(--soft); }
.intro-strip-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-strip-body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.intro-strip-title { font-size: 1.9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.intro-strip-en { display: none; }
.intro-strip-desc { font-size: 1.35rem; color: #6b7078; line-height: 1.85; max-width: 62ch; margin-bottom: 18px; }
.intro-strip-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--brand); color: var(--brand); font-size: 1.3rem; border-radius: 2px; transition: background .24s, color .24s; }
.intro-strip-link:hover { background: var(--brand); color: #fff; }

/* ============ 列表页 ============ */
.list-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 36px; align-items: start; }
.news-sidebar { min-width: 0; position: -webkit-sticky; position: sticky; top: 18px; align-self: start; }
/* 移动端抽屉的头部/遮罩/唤起按钮，桌面端不出现 */
.ns-panel-bar, .ns-panel-foot { display: none; }
.news-sidebar-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: 0 1px 3px rgba(24,26,32,.035); }
.news-sidebar-title { display: flex; align-items: center; gap: 13px; min-height: 84px; padding: 0 20px; background: var(--brand); color: #fff; }
.news-sidebar-ico { width: 32px; height: 32px; flex: none; }
.news-sidebar-title strong { display: block; font-size: 2rem; font-weight: 600; line-height: 1.22; letter-spacing: .04em; }
.news-sidebar-title span { display: none; }
.news-sidebar-item { border-bottom: 1px solid #edeef2; }
.news-sidebar-item:last-child { border-bottom: 0; }
.news-sidebar-item a { position: relative; display: flex; align-items: center; gap: 10px; padding: 15px 20px; font-size: 1.48rem; color: #55585e; transition: background .2s, color .2s; }
.news-sidebar-item a .nav-ico { width: 17px; height: 17px; flex: none; color: #a9aeb7; transition: color .2s; }
.news-sidebar-item a .text { flex: 1; min-width: 0; }
.news-sidebar-item a .arr { font-size: 1.35rem; color: #c8ccd3; transition: color .2s; }
/* 点击/选中态与账户中心侧栏一致：浅粉底 + 校红字，避免红底菜单紧贴上方红底标题连成一块 */
.news-sidebar-item a:hover,
.news-sidebar-item.current a { background: var(--brand-tint); color: var(--brand); }
.news-sidebar-item.current a { font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.news-sidebar-item a:hover .nav-ico,
.news-sidebar-item.current a .nav-ico,
.news-sidebar-item a:hover .arr,
.news-sidebar-item.current a .arr { color: var(--brand); }

.recommend-sidebar-title { position: relative; font-size: 1.6rem; font-weight: 600; color: var(--ink); padding: 0 0 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.recommend-sidebar-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 16px; width: 3px; background: var(--brand); }
.recommend-sidebar-item { padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.recommend-sidebar-item:last-child { border-bottom: 0; }
.recommend-sidebar-item p { font-size: 1.35rem; line-height: 1.6; margin-bottom: 3px; }
.recommend-sidebar-item p a { color: #45484e; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recommend-sidebar-item p a:hover { color: var(--brand); }
.recommend-sidebar-item .date { font-size: 1.15rem; color: var(--muted-2); }
.recommend-sidebar-empty { padding: 12px 0; font-size: 1.3rem; color: var(--muted-2); }

.news-content { min-width: 0; }
.news-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 26px 10px; box-shadow: 0 1px 3px rgba(24,26,32,.035); }
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-2); min-height: 158px; box-sizing: border-box; }
.news-item:last-child { border-bottom: 0; }
.news-item > a { flex: none; display: block; width: 170px; height: 114px; overflow: hidden; border-radius: 2px; background: var(--soft); }
.news-item > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.news-item > a:hover img { transform: scale(1.04); }
.news-text { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-title { margin-bottom: 8px; }
.news-title a { font-size: 1.65rem; font-weight: 600; color: #25272b; line-height: 1.5; }
.news-title a:hover { color: var(--brand); }
.news-meta { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.news-time { font-size: 1.2rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.news-list .news-intro { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-size: 1.32rem; color: var(--muted); line-height: 1.7; }
.list-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; color: var(--muted-2); font-size: 1.35rem; }
.list-empty svg { width: 54px; height: 54px; color: #dcdfe5; margin-bottom: 12px; }

/* 内容标记：头条高亮 */
.news-title.is-headline a, .announcement-title.is-headline a { color: var(--brand); font-weight: 600; }
.hot-item .news-intro.is-headline { color: var(--brand); font-weight: 600; }

/* ============ 内容属性标记：置顶/头条/特荐/推荐/热点（仅图标） ============ */
.flag-ico { position: relative; display: inline-block; width: 16px; height: 16px; margin: 0 0 0 9px; vertical-align: -3px; border-radius: 3px; background: var(--f-bg, #f0f1f4); flex: none; }
.flag-ico::after { content: ""; position: absolute; inset: 3px; background: var(--f-fg, #8b9099);
    -webkit-mask: var(--f-ico) center / contain no-repeat;
    mask: var(--f-ico) center / contain no-repeat; }

/* 置顶：顶部横杠 + 向上箭头 */
.flag-ico.i-top { --f-bg: var(--brand-tint); --f-fg: var(--brand);
    --f-ico: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4.5 2.5h15a1.5 1.5 0 0 1 0 3h-15a1.5 1.5 0 0 1 0-3zm7.5 5.2 7 7.3h-4.4V21h-5.2v-6H5z'/%3E%3C/svg%3E"); }
/* 头条：报纸 */
.flag-ico.i-head { --f-bg: var(--brand); --f-fg: #fff;
    --f-ico: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 4.5h17a1 1 0 0 1 1 1v13.5a2.5 2.5 0 0 1-2.5 2.5H5.5A2.5 2.5 0 0 1 3 19V4.5zm2.5 3v4.2h6.2V7.5H5.5zm0 6.6v1.6h11.7v-1.6H5.5zm0 3.4v1.6h8.2v-1.6H5.5zm8.6-10v4.2h3.1V7.5h-3.1z'/%3E%3C/svg%3E"); }
/* 特荐：星标 */
.flag-ico.i-best { --f-bg: #fdf3e2; --f-fg: #b5822a;
    --f-ico: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2.6l2.9 5.9 6.5.95-4.7 4.6 1.1 6.45L12 17.45 6.2 20.5l1.1-6.45-4.7-4.6 6.5-.95z'/%3E%3C/svg%3E"); }
/* 推荐：点赞 */
.flag-ico.i-rec { --f-bg: #ecf2fa; --f-fg: #2f6ea8;
    --f-ico: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.8 10.2V21H3.9A1.9 1.9 0 0 1 2 19.1v-7A1.9 1.9 0 0 1 3.9 10.2h2.9zm2.1 10.8V10.2l4.2-7.4a2.1 2.1 0 0 1 2.1 2.1v3.9h4.2a2.1 2.1 0 0 1 2.1 2.35l-1.5 7.3A2.1 2.1 0 0 1 17.9 21H8.9z'/%3E%3C/svg%3E"); }
/* 热点：火焰 */
.flag-ico.i-hot { --f-bg: #fdeee7; --f-fg: #d9480f;
    --f-ico: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M13.5.7s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.7z'/%3E%3C/svg%3E"); }

.block-item .flag-ico { vertical-align: -3px; }
.news-title .flag-ico { width: 17px; height: 17px; vertical-align: -2px; }
/* 文章标记：五种标记按权重分三档——实心最重、描边次之、中性最轻；
   颜色只在标签这个小面积里出现，不扩散到列表 */
.flag-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 0 5px;
    border: 1px solid #e2ddd6;
    border-radius: 2px;
    background: transparent;
    color: #5f5a54;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: .02em;
    vertical-align: 1px;
    white-space: nowrap;
    transition: background-color .18s, border-color .18s, color .18s, filter .18s;
}
/* 置顶：校红描边 */
.flag-tag.is-top { border-color: #d3a8b0; color: #9c2a3f; }
/* 头条：校红实心，最高权重 */
.flag-tag.is-head { border-color: #a12038; background: #a12038; color: #fff; }
/* 特荐：琥珀 */
.flag-tag.is-best { border-color: #e0c49a; color: #8a5a12; }
/* 推荐：墨绿 */
.flag-tag.is-rec { border-color: #bcd0c0; color: #3f6b4a; }
/* 热点：橙红实心，与头条同档但换成暖橙，避免顺序上被抢 */
.flag-tag.is-hot { border-color: #c05621; background: #c05621; color: #fff; }

/* 悬停标题时，描边类补一层同色淡底，实心类微微提亮 */
a:hover .flag-tag.is-top { background: #f8eef0; }
a:hover .flag-tag.is-best { background: #fbf3e6; }
a:hover .flag-tag.is-rec { background: #eff5f1; }
a:hover .flag-tag.is-head,
a:hover .flag-tag.is-hot { filter: brightness(1.08); }
.article-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 14px; }
.article-flags .flag-ico { width: 18px; height: 18px; margin: 0; vertical-align: 0; }
.article-flags .flag-ico::after { inset: 3.5px; }

/* ============ 详情页 ============ */
.simple-article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 46px 44px; box-shadow: 0 1px 3px rgba(24,26,32,.035); }
.news-article-title { font-size: 2.5rem; font-weight: 600; color: #1f2125; text-align: center; line-height: 1.5; letter-spacing: .01em; padding: 6px 0 18px; }
.news-article-time { text-align: center; font-size: 1.25rem; color: var(--muted-2); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; font-variant-numeric: tabular-nums; }
.article-body { font-size: 1.55rem; line-height: 1.95; color: #3c3f45; }
.article-body p { margin-bottom: 16px; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 16px auto; border-radius: 2px; }
.article-body p:has(> img) { text-indent: 0 !important; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 { color: var(--ink); line-height: 1.5; margin: 26px 0 14px; font-weight: 600; }
.article-body h2 { font-size: 1.95rem; }
.article-body h3 { font-size: 1.75rem; }
.article-body table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 1.4rem; }
.article-body td, .article-body th { border: 1px solid #e2e4e9; padding: 10px 12px; vertical-align: middle; }
/* 正文表格表头统一成暖灰，覆盖文章里自带的浅蓝底，和校红不再打架 */
.article-body th, .article-body table th, .article-body tr th { background: #f6f4f2 !important; color: #2f3237 !important; font-weight: 500 !important; text-align: center; }
.article-body table tr:nth-child(even) td { background: #fbfaf9; }
.article-body table p { margin-bottom: 0; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { border-left: 3px solid var(--brand); background: #fafafb; padding: 12px 18px; color: #5c6068; margin: 18px 0; }
.article-body .pdf-embed iframe { width: 100%; height: 820px; border: 0; background: #f6f7f9; }
.article-body .pdf-dl { font-size: 13px; color: var(--muted); }
.signature { margin-top: 30px; padding: 16px; background: #f7f8fa; border-radius: 2px; font-size: 1.3rem; color: var(--muted); text-align: center; }
.allow_visitor { text-align: center; padding: 30px 0; }

/* ============ 分页 ============ */
.wp-pagenavi { margin-top: 28px; padding: 20px 0 6px; text-align: center; }
.wp-pagenavi ul.pagination { display: flex !important; justify-content: center !important; align-items: center !important; gap: 8px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.wp-pagenavi ul.pagination li { display: inline-flex !important; }
.wp-pagenavi ul.pagination li a,
.wp-pagenavi ul.pagination li span { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 36px !important; height: 36px !important; padding: 0 12px !important; border: 1px solid var(--line) !important; border-radius: 2px !important; font-size: 1.35rem !important; color: #55585e !important; background: var(--white) !important; transition: all .2s !important; text-decoration: none !important; }
.wp-pagenavi ul.pagination li a:hover { border-color: var(--brand) !important; color: var(--brand) !important; }
.wp-pagenavi ul.pagination li.active span,
.wp-pagenavi ul.pagination li.current span { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.wp-pagenavi ul.pagination li.disabled span { color: #c8ccd3 !important; cursor: not-allowed !important; }
.layui-laypage { margin: 28px 0 !important; display: flex !important; justify-content: center !important; align-items: center !important; gap: 8px !important; }
.layui-laypage a, .layui-laypage span { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 36px !important; height: 36px !important; margin: 0 !important; border: 1px solid var(--line) !important; border-radius: 2px !important; font-size: 1.35rem !important; color: #55585e !important; background: var(--white) !important; }
.layui-laypage a:hover { border-color: var(--brand) !important; color: var(--brand) !important; }
.layui-laypage .layui-laypage-curr em { background: var(--brand) !important; color: #fff !important; font-style: normal !important; }
.layui-laypage .layui-laypage-prev, .layui-laypage .layui-laypage-next { padding: 0 16px !important; }

/* ============ 友情链接（规格同 fz.sjtu.edu.cn/zsw：logo 等分排满一行） ============ */
.friendly-list { padding: 30px 0 22px; }
.friendly-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; padding: 14px 0 0; }
.friendly-links a { flex: 0 0 190px; min-width: 0; height: 82px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #6b7078; }
.friendly-links a img { max-width: 100%; max-height: 82px; width: auto; object-fit: contain; display: block; transition: opacity .22s; }
.friendly-links a:hover { color: var(--brand); }
.friendly-links a:hover img { opacity: .84; }

/* ============ 页脚（参考站：灰底 + logo + 两行版权信息） ============ */
.footer { background: #dedfe4; padding: 20px 0 22px; }
.footer-in { max-width: 680px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 26px; }
.footer-logo { flex: none; width: 62px; height: 62px; display: block; }
.footer-text { flex: 1; min-width: 0; text-align: center; }
.footer-text p { font-size: 1.35rem; line-height: 1.95; color: #666; }
.footer-text a { color: #666; }
.footer-text a:hover { color: var(--brand); }
.footer-text .footer-addr { font-size: 1.28rem; color: #7a7f86; }
.footer-contact { font-size: 1.32rem; color: #666; }
.footer-contact-sep { margin: 0 10px; color: #b3b8bf; }

/* ============ 标签云 ============ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
.tag-cloud a.tag, .tag-cloud .tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--white); border: 1px solid var(--line); color: #55585e; font-size: 1.3rem; border-radius: 2px; }
.tag-cloud a.tag:hover, .tag-cloud .tag:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.tag-cloud .tag h2 { font-size: 1.4rem; color: inherit; margin: 0; }
.tag-cloud .tag .count { font-size: 1.2rem; opacity: .7; }
.tag-cloud-list { padding: 10px 0; }

/* ============ 搜索 ============ */
.search-box { padding: 26px 0; }
.search-form-row { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.search-select { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 1.35rem; outline: none; background: #fff; }
.search-input-lg { flex: 1; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; font-size: 1.35rem; outline: none; }
.search-input-lg:focus { border-color: var(--brand); }
.search-btn-lg { height: 44px; padding: 0 30px; background: var(--brand); color: #fff; border: 0; border-radius: 2px; font-size: 1.45rem; cursor: pointer; transition: background .2s; }
.search-btn-lg:hover { background: var(--brand-dark); }

/* ============ 产品 / 下载 / 排行 ============ */
.product-grid { display: flex; flex-wrap: wrap; gap: 18px; padding: 6px 0; }
.product-card { display: block; width: calc(33.333% - 12px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.product-card:hover { border-color: #d7b8bf; transform: translateY(-2px); }
.product-thumb { height: 180px; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb .placeholder { color: var(--muted-2); font-size: 1.3rem; }
.product-detail { padding: 16px; }
.product-detail h4 { font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-detail p { font-size: 1.25rem; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.product-meta { font-size: 1.2rem; color: var(--muted-2); }

.down-list { padding: 6px 0; }
.down-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line-2); }
.down-item:last-child { border-bottom: 0; }
.down-name { font-size: 1.4rem; color: #45484e; }
.down-name:hover { color: var(--brand); }
.down-date { font-size: 1.2rem; color: var(--muted-2); }

.rank-list { padding: 6px 0; }
.rank-list li { display: flex; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.rank-list li:last-child { border-bottom: 0; }
.rank-num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: #dfe2e8; color: #fff; font-size: 1.15rem; font-weight: 600; border-radius: 2px; margin-right: 10px; flex: none; }
.rank-num.hot { background: var(--brand); }
.rank-list li a { font-size: 1.4rem; color: #45484e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list li a:hover { color: var(--brand); }

/* ============ 通用按钮 ============ */
.layui-btn { border-radius: 2px; }
.layui-bg-red { background-color: var(--brand) !important; }
.layui-bg-red:hover { background-color: var(--brand-dark) !important; }

/* ============ 首页：双栏内容块（实验班 / 常见问题） ============ */
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 60px; margin-bottom: 20px; }
.block { min-width: 0; }
.block .sec-head { margin-bottom: 0; }
.block-list { display: flex; flex-direction: column; }
.block-item { display: flex; align-items: baseline; gap: 7px; height: 56px; line-height: 56px; border-bottom: 1px solid #e8eaee; }
.block-item:last-child { border-bottom: 0; }
.block-item-date { flex: none; font-size: 18px; color: #333; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.block-item-year { flex: none; font-size: 13px; color: #9aa0a8; }
.block-item-sep { flex: none; color: #cfd3d9; }
.block-item-title { display: flex; align-items: center; flex: 1; min-width: 0; font-size: 14px; color: #333; }
.block-item-title .block-item-title-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.block-item-title em.is-headline { font-style: normal; color: var(--brand); font-weight: 600; }
.block-item:hover .block-item-title { color: var(--brand); }
.block-empty { padding: 30px 0; text-align: center; color: var(--muted-2); font-size: 1.3rem; }
.hot-news-empty { padding: 40px 0; text-align: center; color: var(--muted-2); font-size: 1.3rem; }
.hero-media > .hero-media-empty { position: absolute; inset: 0; z-index: 1; }

/* ============ 补充细节 ============ */
.hero-media-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 40px; color: #fff; font-size: 1.8rem; font-weight: 600; text-align: center; background: var(--brand-dark); }
.news-meta .news-time { display: inline-flex; align-items: center; gap: 5px; }
.news-meta .news-time i { font-size: 1.4rem; color: #c2c6cd; }
.news-article-time { display: flex; align-items: center; justify-content: center; gap: 10px; }
.news-article-time i { margin-right: 4px; font-size: 1.4rem; vertical-align: -1px; }
.news-article-time .dot { color: #d6d9de; }
.intro-strip-link i { font-size: 1.4rem; }

/* ============ 首页：资讯 Tab ============ */
/* 网站公告：移动端首页的独立卡片块（桌面端用 .announcement-box） */
.news-notice { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 0 0 20px; padding: 16px 16px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); }
.notice-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.notice-badge { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 9px; font-size: 17px; font-weight: 600; color: #23262b; line-height: 1.2; letter-spacing: .01em; }
.notice-badge span { position: relative; }
.notice-badge span::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 42px; height: 2px; background: var(--brand); }
.notice-badge:hover { color: var(--brand); }
.notice-ico { flex: none; width: 19px; height: 19px; color: var(--brand); }
.notice-more { flex: none; padding-bottom: 9px; font-size: 1.15rem; color: var(--muted); letter-spacing: .04em; }
.notice-more:hover { color: var(--brand); }
/* 窗口高 = 3 行（行高 2.1em，等宽无额外间距），保证 translateY(-50%) 无缝衔接 */
.notice-list { flex: 1 1 auto; min-width: 0; height: 6.3em; overflow: hidden; font-size: 1.45rem; }
/* 逐行上移由 main.js 驱动：每 3.5s 滚一行，进出各带 0.5s 过渡 */
.notice-track { transition: transform .5s cubic-bezier(.16,1,.3,1); }
.notice-item { display: flex; align-items: center; gap: 6px; min-width: 0; height: 2.1em; font-size: inherit; color: #333; }
.notice-arr { flex: none; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.notice-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-item:hover { color: var(--brand); }
.notice-empty { font-size: 1.3rem; color: var(--muted-2); padding: 8px 0; }
.news-tabs { margin-bottom: 46px; }
.tabs-bar { display: flex; align-items: flex-end; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs-nav { display: flex; align-items: flex-end; gap: 34px; min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { position: relative; flex: none; padding: 0 0 13px; border: 0; background: none; font-family: inherit; font-size: 2.1rem; font-weight: 500; color: #6b7078; letter-spacing: .02em; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s; }
.tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: center; transition: transform .26s cubic-bezier(.16,1,.3,1); }
.tab-btn:hover { color: var(--brand); }
.tab-btn.is-active { color: var(--brand); font-weight: 600; }
.tab-btn.is-active::after { transform: scaleX(1); }
.tab-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.tabs-more { flex: none; margin-left: auto; padding-bottom: 13px; font-size: 1.3rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.tabs-more:hover { color: var(--brand); }

.tabs-panels { position: relative; }
.tab-panel[hidden] { display: none !important; }
.tab-panel.is-active { display: block; animation: tabsIn .34s ease-out both; }
@keyframes tabsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tabs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.tabs-card { display: flex; align-items: flex-start; gap: 18px; min-width: 0; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.tabs-card-img { flex: none; display: block; width: 148px; height: 94px; object-fit: cover; border-radius: 2px; background: var(--soft); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.tabs-card:hover .tabs-card-img { transform: translateY(-3px); }
.tabs-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* 标题默认常规字重，只有后台勾了「头条」等标记的才加粗并变品牌色 */
.tabs-card-title { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 16.5px; font-weight: 400; color: #2a2d33; line-height: 1.5; }
.tabs-card-title-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs-card-title-t.is-headline { font-weight: 600; color: var(--brand); }
.tabs-card:hover .tabs-card-title { color: var(--brand); }
.tabs-card-intro { margin-top: 5px; font-size: 13.5px; color: #8b9099; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tabs-card-date { margin-top: 8px; font-size: 12.5px; color: #b0b5bd; font-variant-numeric: tabular-nums; }
.tabs-empty { grid-column: 1 / -1; padding: 42px 0; text-align: center; color: var(--muted-2); font-size: 1.3rem; }
@media (prefers-reduced-motion: reduce) {
    .tab-panel.is-active { animation: none; }
    .tab-btn::after { transition: none; }
    .tabs-card-img { transition: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
    /* 平板区间：logo 与搜索框允许收缩，避免 821–1050px 顶栏撑出横向滚动条 */
    .nav-logo { flex: 0 1 auto; min-width: 0; }
    .nav-logo img { height: auto; max-width: 100%; }
    .header-right { flex: 0 1 auto; min-width: 0; gap: 16px; }
    .header-search-form .layui-input { width: 156px; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hero-media { height: 340px; }
    .announcement-box { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .announcement-box-right { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 7px; justify-content: stretch; overflow: visible; }
    .color-sqaure { width: auto; height: auto; aspect-ratio: 1 / 1; }
    .color-sqaure-ico { height: auto; flex: 1; }
    .color-sqaure-ico svg { width: 48px; height: 48px; }
    .color-sqaure-name { padding-bottom: 20px; font-size: 1.6rem; }
    .sqaure-contact-box { display: none; }
    .intro-strip { grid-template-columns: 260px minmax(0, 1fr); }
    .friendly-links { justify-content: flex-start; }
    .friendly-links a { flex: 0 0 calc((100% - 36px) / 4); height: auto; }
    .friendly-links a img { width: 100%; max-height: none; height: auto; }
    .register-list { gap: 20px; }
    .admissions-list { column-gap: 30px; }
    .admissions-item-img { width: 130px; height: 82px; }
}

@media (max-width: 820px) {
    /* 顶部通栏：第一行 = 汉堡(左) + logo(居中) + 登录(右)，第二行 = 全宽搜索 */
    .site-head { position: -webkit-sticky; position: sticky; top: 0; z-index: 900; }
    .site-head-in { position: relative; height: auto; padding: 10px 10px 12px; flex-wrap: wrap; column-gap: 6px; align-items: center; }
    /* logo 顶到 48px（原 42），并把这行两端的控件收紧一点，让它在 390px 宽也放得下 */
    .nav-logo { order: 2; flex: 1 1 0; min-width: 0; max-width: none; text-align: center; }
    .nav-logo img { max-width: 100%; max-height: 48px; height: auto; width: auto; }
    .header-right { order: 4; flex: 1 1 100%; width: 100%; flex-wrap: nowrap; gap: 10px; margin-top: 10px; }
    .header-search-form { order: 4; flex: 1 1 auto; width: auto; margin-top: 0; }
    .header-search-form .layui-inline,
    .header-search-form .layui-input-wrap { width: 100%; height: 38px; padding-left: 14px; box-sizing: border-box; }
    .header-search-form .search-submit { width: 20px; height: 36px; }
    .header-search-form .layui-input { width: 100%; height: 36px; font-size: 1.35rem; padding: 0 14px 0 8px; }
    .header-auth { order: 3; width: auto; flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 1.3rem; }
    /* 移动端登录态：只显示一个小人图标（桌面仍为「早上好 + 用户名」） */
    .header-auth-user { min-width: 0; align-items: center; justify-content: center; width: 34px; height: 34px; margin-right: -4px; gap: 0; }
    .header-auth-greet, .header-auth-name { display: none; }
    .header-auth-ico { display: block; width: 24px; height: 24px; }
    /* 窄屏顶部只留小人图标，退出走抽屉菜单里的「退出登录」 */
    .header-auth a.header-auth-out, .header-auth-user ~ .header-auth-sep { display: none; }

    /* 汉堡按钮：仅移动端 */
    .m-nav-toggle { order: 1; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; margin: 0 2px 0 -6px; padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .m-nav-toggle:active { background: rgba(255,255,255,.16); }
    .m-nav-bars { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 20px; height: 20px; }
    .m-nav-bars i { display: block; height: 2px; border-radius: 1px; background: #fff; transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .2s; }
    body.m-nav-open .m-nav-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    body.m-nav-open .m-nav-bars i:nth-child(2) { opacity: 0; }
    body.m-nav-open .m-nav-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* 顶部导航条收进抽屉 */
    .pc-nav { display: none; }

    /* ===== 移动端全屏菜单：左抽屉 ===== */
    .m-nav-mask { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18,20,26,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .34s; z-index: 100001; }
    body.m-nav-open .m-nav-mask { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
    body.m-nav-open { overflow: hidden; }
    .m-nav-panel { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; width: 86vw; max-width: 336px; height: 100%; height: 100dvh; background: #fff; z-index: 100002; box-shadow: 6px 0 26px rgba(18,20,26,.18); transform: translateX(-102%); visibility: hidden; transition: transform .34s cubic-bezier(.16,1,.3,1), visibility 0s linear .34s; }
    body.m-nav-open .m-nav-panel { transform: none; visibility: visible; transition: transform .34s cubic-bezier(.16,1,.3,1), visibility 0s; }
    .m-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 10px 14px 18px; background: var(--brand); }
    .m-nav-logo { max-height: 38px; max-width: 72%; width: auto; filter: brightness(0) invert(1); }
    .m-nav-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 4px; background: transparent; color: #fff; font-size: 2rem; cursor: pointer; }

    /* 抽屉用户卡片：头像 + 用户名 + 会员组，下面一条品牌色细线（与账户中心同款） */
    .m-nav-user { display: flex; align-items: center; gap: 12px; margin: 12px 14px 0; padding: 4px 2px 14px; border-bottom: 1px solid var(--brand); }
    .m-nav-ava { flex: 0 0 auto; display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #f4f5f7; }
    .m-nav-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--brand-tint, #f8eef0); color: var(--brand); font-size: 18px; font-weight: 600; }
    .m-nav-user-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
    .m-nav-user-txt b { font-size: 15px; font-weight: 600; color: #23262b; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .m-nav-user-txt i { font-style: normal; font-size: 12px; color: #9aa0a8; line-height: 1.2; }

    /* 抽屉菜单：CMS 主题页与 index 模块页共用同一套（图标 + 文字 + 右箭头 + 分隔线） */
    .m-menu { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 2px 0 8px; }
    .m-menu-item { box-sizing: border-box; position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid #f2f3f5; background: none; font-family: inherit; font-size: 1.45rem; line-height: 1.3; color: #2f3237; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .m-menu-item > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .m-menu-item::after { content: ""; flex: 0 0 auto; margin-left: auto; width: 6px; height: 6px; border-right: 1.5px solid #c9ced6; border-top: 1.5px solid #c9ced6; transform: rotate(45deg); transition: transform .2s ease-out; }
    .m-menu-item:active { background: #f7f8fa; }
    .m-menu-item:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
    .m-menu-ico { flex: 0 0 auto; width: 18px; height: 18px; color: #8b9099; }
    .m-menu-item.current { background: #fdf1f3; color: var(--brand); font-weight: 600; }
    .m-menu-item.current .m-menu-ico { color: var(--brand); }
    .m-menu-item.current::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }
    .m-menu-item.current::after { border-color: var(--brand); }
    /* 登录后「账户中心」：整行点进账户中心，右侧箭头单独展开侧边菜单 */
    .m-menu-acct { display: flex; align-items: stretch; border-bottom: 1px solid #f2f3f5; }
    .m-menu-acct-link { box-sizing: border-box; display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; padding: 13px 4px 13px 16px; font-size: 1.45rem; line-height: 1.3; color: #2f3237; text-decoration: none; -webkit-tap-highlight-color: transparent; }
    .m-menu-acct-link > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .m-menu-acct-link:active { background: #f7f8fa; }
    .m-menu-acct-link:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
    .m-menu-acct-toggle { box-sizing: border-box; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 46px; border: 0; background: none; color: #9aa0a8; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .m-menu-acct-toggle:hover { color: var(--brand); }
    .m-menu-acct-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; }
    .m-menu-caret { width: 17px; height: 17px; transition: transform .2s ease-out; }
    .m-menu-acct.is-open .m-menu-caret { transform: rotate(180deg); }
    .m-menu-acct.current { background: #fdf1f3; }
    .m-menu-acct.current .m-menu-acct-link { color: var(--brand); font-weight: 600; }
    .m-menu-acct.current .m-menu-acct-link .m-menu-ico { color: var(--brand); }
    .m-menu-sub { display: none; background: #fcfcfd; }
    .m-menu-acct.is-open + .m-menu-sub { display: block; }
    .m-menu-sub-item { box-sizing: border-box; padding-left: 46px; border-bottom: 1px solid #f6f7f8; font-size: 1.4rem; color: #4a4f57; }
    .m-menu-sub-item::after { display: none; }
    .m-menu-sub .m-menu-ico { width: 16px; height: 16px; }
    .m-nav-auth { display: flex; gap: 10px; padding: 12px 14px 16px; border-top: 1px solid #f0f2f5; }
    .m-nav-auth a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border: 1px solid var(--brand); border-radius: 8px; color: var(--brand); font-size: 1.4rem; }
    .m-nav-auth a:first-child { background: var(--brand); color: #fff; }

    /* 快捷入口：每个入口独立成块（不连成一整块），首页 / 列表页通用 */
    .m-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin: 0 0 20px; }
    .m-quick-tt { grid-column: 1 / -1; position: relative; padding-bottom: 11px; margin-bottom: 4px; font-size: 18px; font-weight: 600; color: #23262b; line-height: 1.25; letter-spacing: .01em; }
    .m-quick-tt::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--brand); }
    .m-quick a { --sc: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 74px; padding: 13px 0 11px; background: var(--white); border: 1px solid #eceef2; border-radius: 10px; box-shadow: 0 4px 12px -8px rgba(24,26,32,.28); color: var(--sc); -webkit-tap-highlight-color: transparent; transition: transform .16s ease-out, box-shadow .16s ease-out; }
    .m-quick a:active { transform: scale(.97); box-shadow: 0 2px 6px -4px rgba(24,26,32,.24); }
    .m-quick a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
    .m-quick svg { flex: 0 0 auto; width: 30px; height: 30px; }
    .m-quick span { font-size: 12.5px; font-weight: 400; line-height: 1.1; letter-spacing: 0; white-space: nowrap; color: #6a7078; }

    /* 列表页栏目标题：与「快捷入口」同款（18px 粗体 + 48px 品牌色短线） */
    .m-list-title { display: block; position: relative; margin: 0 0 14px; padding-bottom: 11px; font-size: 18px; font-weight: 600; color: #23262b; line-height: 1.25; letter-spacing: .01em; }
    .m-list-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--brand); }
    @media (prefers-reduced-motion: reduce) {
        .m-quick a { transition: none; }
        .m-quick a:active { transform: none; }
    }

    /* 超窄屏（iPhone SE 等 320px）：缩一档，避免四字标签顶到格子边 */
    @media (max-width: 360px) {
        .m-quick { gap: 5px; }
        .m-quick a { gap: 6px; padding: 11px 0 9px; }
        .m-quick svg { width: 27px; height: 27px; }
        .m-quick span { font-size: 11px; }
    }

    .hot-item a { gap: 8px; }
    .hot-news-list .news-intro { font-size: 1.38rem; }
    .hot-news-list .news-date { flex: 0 0 auto; font-size: 1.15rem; }
    .sub-nav-dropdown { display: none !important; }

    .section > .section-in { padding-top: 20px; padding-bottom: 32px; }
    .home-pc { display: none; }
    .home-m { display: block; }
    .hero { display: block; margin-bottom: 28px; }
    .hero-news { display: none; }
    .hero-media { height: 300px; }
    /* 首页四色块与资讯 Tab（移动端） */
    .news-notice { gap: 10px; padding: 14px 14px 12px; }
    .notice-list { font-size: 1.3rem; }
    .notice-item { gap: 4px; }
    .news-tabs { margin-bottom: 30px; }
    .tabs-bar { margin-bottom: 12px; gap: 10px; }
    /* 移动端四个 Tab 等分一行，MORE 收在行尾 */
    .tabs-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; flex: 1 1 auto; overflow: visible; }
    .tab-btn { font-size: clamp(13px, 4.1vw, 16px); padding: 0 0 10px; text-align: center; }
    .tab-btn::after { left: 8px; right: 8px; }
    .tabs-more { margin-left: 0; padding-bottom: 10px; font-size: 1.15rem; }
    .tabs-grid { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
    .tabs-card { gap: 14px; padding: 14px 0; }
    .tabs-card-img { width: 112px; height: 74px; }
    .tabs-card-title { font-size: 15.5px; }
    .tabs-card-intro { font-size: 13px; }
    .hero-arrow { width: 32px; height: 32px; margin-top: -16px; opacity: 1; background: rgba(24,18,20,.3); }
    .hero-slide-cap { font-size: 1.42rem; padding: 38px 14px 36px; }
    .sec-cn { font-size: 1.75rem; }
    .sec-en { display: none; }

    .announcement-box { margin-bottom: 28px; }
    .announcement-box-left { padding: 18px 16px 6px; }
    .announcement-time { width: 56px; height: 56px; }
    .announcement-time .date { font-size: 17px; }
    .announcement-title { font-size: 1.4rem; }
    .announcement-intro { font-size: 1.24rem; line-height: 1.7; }
    .announcement-box-right { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .color-sqaure-name { padding-bottom: 18px; font-size: 1.6rem; }
    .friendly-links { gap: 10px 12px; }
    .friendly-links a { flex: 0 0 calc((100% - 12px) / 2); height: auto; }
    .friendly-links a img { width: 100%; max-height: none; height: auto; }

    .register-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .register-title { margin-top: 12px; }
    .admissions-list { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
    .admissions-item-img { width: 118px; height: 76px; }
    .admissions-item > a { gap: 14px; padding: 16px 0; }

    .intro-strip { grid-template-columns: minmax(0, 1fr); }
    .intro-strip-media { min-height: 180px; position: relative; }
    .intro-strip-body { padding: 20px; }
    .intro-strip-title { font-size: 1.7rem; }

    .list-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }

    /* ===== 侧栏：左侧抽屉，表现与账户中心一致 ===== */
    .news-sidebar {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 86vw;
        max-width: 336px;
        height: 100%;
        height: 100dvh;
        margin: 0;
        padding: 0;
        background: #fff;
        z-index: 100002;
        display: flex;
        flex-direction: column;
        align-self: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 6px 0 26px rgba(18, 20, 26, .18);
        transform: translateX(-102%);
        visibility: hidden;
        transition: transform .34s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .34s;
    }
    body.ns-menu-open .news-sidebar { transform: none; visibility: visible; transition: transform .34s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
    body.ns-menu-open { overflow: hidden; }

    .ns-panel-bar {
        position: sticky;
        top: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 58px;
        padding: 0 8px 0 18px;
        background: var(--brand);
        color: #fff;
    }
    .ns-panel-title { display: flex; align-items: baseline; gap: 8px; font-size: 1.62rem; font-weight: 600; letter-spacing: .04em; }
    .ns-panel-title span { display: none; }
    .ns-panel-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: rgba(255, 255, 255, .92);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .ns-panel-close svg { width: 18px; height: 18px; }
    .ns-panel-close:active { background: rgba(255, 255, 255, .16); }

    .ns-mask {
        display: block;
        position: fixed;
        top: 0; right: 0; bottom: 0; left: 0;
        background: rgba(18, 20, 26, .5);
        opacity: 0;
        visibility: hidden;
        z-index: 100001;
        transition: opacity .3s ease, visibility 0s linear .34s;
    }
    body.ns-menu-open .ns-mask { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }

    .news-sidebar-list { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .news-sidebar-list:not(:has(.news-sidebar-item)) { display: none; }
    .news-sidebar-title { display: none; }
    .news-sidebar-item { border-bottom: 1px solid #edeef2; }
    .news-sidebar-item:last-child { border-bottom: 0; }
    .news-sidebar-item a { height: 50px; padding: 0 18px; border: 0; border-radius: 0; background: transparent; font-size: 1.5rem; justify-content: flex-start; }
    .news-sidebar-item a .nav-ico { display: block; width: 17px; height: 17px; }
    .news-sidebar-item a .text { flex: 1; }
    .news-sidebar-item a .arr { display: block; }
    .news-sidebar-item a:hover,
    .news-sidebar-item.current a { background: var(--brand-tint); color: var(--brand); }
    .news-sidebar-item.current a { font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
    .news-sidebar-item.current a::before { display: none; }
    .news-sidebar-item.current a:hover { color: var(--brand); }

    .ns-panel-foot {
        display: flex;
        position: sticky;
        bottom: 0;
        margin-top: auto;
        padding: 16px 18px 18px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        background: #fff;
    }
    .ns-panel-foot a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        height: 46px;
        border: 0;
        border-radius: 6px;
        background: var(--brand);
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: .08em;
        text-decoration: none;
        transition: background .2s;
        -webkit-tap-highlight-color: transparent;
    }
    .ns-panel-foot a:active { background: #871a2e; }

    .news-recommend { display: none; }
    .news-content { order: 1; }
    .news-list { padding: 2px 16px 6px; }
    .news-item { gap: 14px; padding: 16px 0; }
    .news-item > a { width: 108px; height: 82px; }
    .news-title { margin-bottom: 6px; }
    .news-title a { font-size: 1.5rem; }
    .news-list .news-intro { font-size: 1.25rem; -webkit-line-clamp: 2; }

    .simple-article { padding: 20px 18px 28px; }
    .news-article-title { font-size: 1.95rem; padding: 2px 0 14px; }
    .article-body { font-size: 1.5rem; line-height: 1.9; }
    .article-body .pdf-embed iframe { height: 520px; }

    .footer { padding: 18px 0; }
    .footer-in { flex-direction: column; gap: 12px; }
    .footer-logo { width: 50px; height: 50px; }
    .footer-text p { font-size: 1.22rem; line-height: 1.8; }
    .product-card { width: calc(50% - 9px); }

    .blocks { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .block-item { height: 48px; line-height: 48px; }
    .block-item-date { font-size: 16px; }
}

@media (max-width: 900px) {
    .inside-shadow { display: none; }
}

@media (max-width: 560px) {
    .footer-contact-sep { display: none; }
    .footer-contact span { display: block; }
    .hero-media { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .news-item > a:hover img { transform: none; }
    .hero-slide.is-active img { transform: none; }
}

/* ===== 回到顶部（returntop 插件）位置与尺寸微调 =====
   插件 JS 会写内联样式，这里必须用 !important 覆盖 */
#topcontrol a.top_stick {
    right: 30px !important;
    bottom: 44px !important;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(24, 26, 32, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}
#topcontrol a.top_stick:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 26, 32, .24);
}
@media (max-width: 768px) {
    #topcontrol a.top_stick {
        right: 14px !important;
        bottom: 22px !important;
        transform: scale(.88);
    }
    #topcontrol a.top_stick:hover { transform: scale(.88); }
}

/* ===== 搜索结果页（原 search.html / search_result.html 内联样式，2026-11-10 合并） ===== */

/* search.html */
/* ===== 站内搜索 ===== */
.srh-hero{position:relative;overflow:hidden;background:#fff;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06);padding:46px 52px 38px;margin-bottom:24px}
.srh-hero::before{content:"";position:absolute;left:0;top:0;width:48px;height:2px;background:var(--brand)}
.srh-hero::after{content:"";position:absolute;right:-90px;top:-90px;width:260px;height:260px;border-radius:50%;border:1px solid var(--line);box-shadow:0 0 0 26px rgba(161,32,56,.02),0 0 0 58px rgba(161,32,56,.014);pointer-events:none}
.srh-head{position:relative;z-index:1}
.srh-eyebrow{display:block;font-size:1.1rem;letter-spacing:.3em;color:var(--brand);text-transform:uppercase;margin-bottom:12px}
.srh-title{margin:0;font-size:3rem;font-weight:700;color:var(--ink);letter-spacing:.08em;line-height:1.2}
.srh-sub{margin:12px 0 0;font-size:1.3rem;color:var(--muted);letter-spacing:.02em}

.srh-form{position:relative;z-index:1;display:flex;gap:10px;margin-top:28px}
.srh-scope{position:relative;flex:0 0 136px}
.srh-scope select{width:100%;height:52px;appearance:none;-webkit-appearance:none;border:1px solid var(--line);border-radius:3px;background:var(--soft);padding:0 34px 0 14px;font-size:1.4rem;color:var(--ink-2);font-family:inherit;cursor:pointer}
.srh-scope select:focus{outline:none;border-color:var(--brand)}
.srh-scope::after{content:"";position:absolute;right:15px;top:50%;width:7px;height:7px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.srh-field{position:relative;flex:1;min-width:0}
.srh-field .srh-ico{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--muted-2);pointer-events:none;display:flex;align-items:center}
.srh-ico svg{width:18px;height:18px;display:block}
.srh-input{width:100%;height:52px;border:1px solid var(--line);border-radius:3px;padding:0 16px 0 46px;font-size:1.5rem;color:#333;font-family:inherit;transition:border-color .2s,box-shadow .2s}
.srh-input::placeholder{color:var(--muted-2)}
.srh-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(161,32,56,.08)}
.srh-submit{flex:0 0 auto;height:52px;padding:0 40px;border:none;border-radius:3px;background:var(--brand);color:#fff;font-size:1.5rem;letter-spacing:.12em;font-family:inherit;cursor:pointer;transition:background .2s}
.srh-submit:hover{background:var(--brand-dark)}

.srh-meta{position:relative;z-index:1;margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:1.3rem}
.srh-meta-label{color:var(--muted);margin-right:2px}
.srh-tag{display:inline-block;padding:5px 13px;border:1px solid var(--line-2);border-radius:2px;background:var(--soft);color:var(--ink-2);font-size:1.3rem;transition:all .2s}
.srh-tag:hover{background:var(--brand-tint);border-color:#eecdd0;color:var(--brand)}
.srh-history{margin-top:12px}

/* 最近发布 */
.srh-panel{background:#fff;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06);padding:20px 24px 12px}
.srh-panel .section-in-title{margin-bottom:6px}
.srh-panel .section-in-title .srh-ti{width:20px;height:20px;color:var(--brand);margin-right:8px;flex:0 0 auto}
.srh-panel .section-in-title .srh-ti svg{width:20px;height:20px;display:block}
.srh-rows{display:block}
.srh-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px dashed var(--line-2);font-size:1.4rem}
.srh-row:last-child{border-bottom:none}
.srh-row-date{flex:0 0 88px;font-size:1.2rem;color:var(--muted);font-variant-numeric:tabular-nums}
.srh-row-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srh-row-title a{color:#333}
.srh-row-title a:hover{color:var(--brand)}
.srh-row-cat{flex:0 0 auto;font-size:1.2rem;color:var(--muted);padding-left:10px}
.srh-empty{padding:28px 0 32px;text-align:center;color:var(--muted-2);font-size:1.3rem}

@media (max-width:880px){
  .srh-hero{padding:30px 20px 26px}
  .srh-title{font-size:2.2rem}
  .srh-hero::after{display:none}
  .srh-form{flex-wrap:wrap;gap:8px;margin-top:22px}
  .srh-scope{flex:0 0 100%}
  .srh-field{flex:1 1 100%}
  .srh-submit{flex:1 1 100%;padding:0}
  .srh-input{height:46px;font-size:1.4rem}
  .srh-scope select,.srh-submit{height:46px}
  .srh-panel{padding:16px 16px 8px}
  .srh-row{flex-wrap:wrap;gap:6px 10px;padding:12px 0}
  .srh-row-date{flex:0 0 auto}
  .srh-row-title{flex:1 1 100%;white-space:normal}
  .srh-row-cat{display:none}
}

/* search_result.html */
/* ===== 搜索结果 ===== */
.srr-bar{background:#fff;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06);padding:22px 24px;margin-bottom:24px}
.srr-bar-form{display:flex;gap:10px}
.srr-field{position:relative;flex:1;min-width:0}
.srr-field .srr-ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted-2);pointer-events:none;display:flex;align-items:center}
.srr-ico svg{width:17px;height:17px;display:block}
.srr-ti{width:20px;height:20px;color:var(--brand);margin-right:8px;flex:0 0 auto;display:flex;align-items:center}
.srr-ti svg{width:20px;height:20px;display:block}
.srr-mi svg{width:13px;height:13px;display:block;color:var(--muted-2)}
.srr-big{width:46px;height:46px;margin:0 auto;color:#e6e0d8}
.srr-big svg{width:46px;height:46px;display:block}
.srr-input{width:100%;height:46px;border:1px solid var(--line);border-radius:3px;padding:0 14px 0 42px;font-size:1.4rem;color:#333;font-family:inherit;transition:border-color .2s,box-shadow .2s}
.srr-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(161,32,56,.08)}
.srr-submit{flex:0 0 auto;height:46px;padding:0 34px;border:none;border-radius:3px;background:var(--brand);color:#fff;font-size:1.4rem;letter-spacing:.1em;font-family:inherit;cursor:pointer}
.srr-submit:hover{background:var(--brand-dark)}
.srr-summary{margin-top:14px;font-size:1.3rem;color:var(--muted)}
.srr-summary b{color:var(--brand);font-weight:600}
.srr-summary .srr-tip{color:var(--muted-2)}

.srr-layout{display:flex;gap:24px;align-items:flex-start}
.srr-main{flex:1;min-width:0;background:#fff;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06);padding:8px 24px 24px}
.srr-main .section-in-title{margin-bottom:4px}
.srr-item{display:flex;gap:18px;padding:20px 0;border-bottom:1px dashed var(--line-2)}
.srr-item:last-child{border-bottom:none}
.srr-date{flex:0 0 62px;height:62px;background:var(--soft);border:1px solid #f0ece6;border-radius:3px;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:flex-start}
.srr-date .d{font-size:2.2rem;font-weight:700;color:var(--brand);line-height:1.05;font-variant-numeric:tabular-nums}
.srr-date .m{font-size:1.1rem;color:var(--muted);margin-top:3px}
.srr-body{flex:1;min-width:0}
.srr-title{margin:0 0 8px;font-size:1.6rem;font-weight:600;line-height:1.5;text-wrap:balance}
.srr-title a{color:var(--ink)}
.srr-title a:hover{color:var(--brand)}
.srr-title em,.srr-desc em,
.srr-title span[style*="red"],.srr-desc span[style*="red"]{font-style:normal;color:var(--brand)!important;font-weight:600;background:rgba(178,20,26,.06);padding:0 1px;border-radius:1px}
.srr-desc{margin:0 0 10px;font-size:1.3rem;color:#6b645e;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.srr-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:1.2rem;color:var(--muted)}
.srr-meta span{display:inline-flex;align-items:center;gap:5px}
.srr-meta i{font-size:1.3rem;color:var(--muted-2)}

.srr-empty{padding:64px 20px 72px;text-align:center}
.srr-empty i{font-size:4.2rem;color:#e6e0d8}
.srr-empty h3{margin:16px 0 8px;font-size:1.7rem;font-weight:600;color:#4a443e}
.srr-empty p{margin:0;font-size:1.3rem;color:var(--muted)}
.srr-empty-tags{margin-top:20px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.srr-empty-tags a{padding:6px 14px;border:1px solid var(--line-2);border-radius:2px;background:var(--soft);font-size:1.3rem;color:var(--ink-2)}
.srr-empty-tags a:hover{background:var(--brand-tint);border-color:#eecdd0;color:var(--brand)}

.srr-side{flex:0 0 280px;display:flex;flex-direction:column;gap:20px;position:sticky;top:20px}
.srr-card{background:#fff;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06);padding:4px 18px 16px}
.srr-card .section-in-title{margin-bottom:2px;padding:14px 0}
.srr-card .section-title-cn{font-size:1.5rem}
.srr-rank li{display:flex;gap:10px;padding:11px 0;border-bottom:1px dashed #f0ede9;font-size:1.3rem;line-height:1.6}
.srr-rank li:last-child{border-bottom:none}
.srr-rank .num{flex:0 0 18px;height:18px;border-radius:2px;background:#f0ece6;color:var(--muted);font-size:1.1rem;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:2px}
.srr-rank .num.hot{background:var(--brand);color:#fff}
.srr-rank a{color:#4a443e;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.srr-rank a:hover{color:var(--brand)}

.srr-page{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;flex-direction:row!important;margin-top:24px!important}
.srr-page ul.pagination{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;list-style:none!important;padding:0!important;margin:0!important}
.srr-page ul.pagination li{display:inline-flex!important}
.srr-page ul.pagination li a,.srr-page ul.pagination li span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:36px!important;height:36px!important;padding:0 8px;border:1px solid var(--line-2);border-radius:3px;color:var(--ink-2);font-size:1.3rem;background:#fff}
.srr-page ul.pagination li a:hover{border-color:#e3b6b8;color:var(--brand);background:var(--brand-tint)}
.srr-page ul.pagination li.active span{background:var(--brand);border-color:var(--brand);color:#fff}
.srr-page ul.pagination li.disabled span{color:#c9c3bb;background:var(--soft)}

@media (max-width:880px){
  .srr-layout{flex-direction:column;gap:16px}
  .srr-side{flex:1 1 auto;width:100%;position:static;top:auto}
  .srr-main{padding:4px 16px 16px;width:100%}
  .srr-bar{padding:18px 16px}
  .srr-item{gap:12px;padding:16px 0}
  .srr-date{flex:0 0 52px;height:52px}
  .srr-date .d{font-size:1.8rem}
  .srr-thumb{display:none}
  .srr-title{font-size:1.5rem}
}
