/* ============================================================
   升学领航 · 资讯门户样式表
   Version: 1.2.9
   
   目录结构：
   ─────────────────────────────────────────────
   A. 基础层
      A1. CSS 变量
      A2. 全局重置
      A3. 通用容器
   
   B. 公共模块（所有页面共用）
      B1. 顶部通栏
      B2. 头部（Logo + 搜索）
      B3. 主导航
      B4. 抽屉菜单（移动端触发器）
   
   C. 首页模块
      C1. 头条区
      C2. 频道卡片
      C3. 首页升学问答
   
   D. 列表页模块
      D1. 面包屑
      D2. 频道头部
      D3. 文章列表（list.html）
      D4. 问答列表（list_faq.html）
      D5. 院校列表（list_school.html）
      D6. 分页
   
   E. 详情页模块
      E1. 文章详情（content.html / content_faq.html）
      E2. 文章目录 TOC
      E3. 正文排版
      E4. 文章标签
      E5. 文章分享
      E6. 上下篇
      E7. 相关推荐
      E8. 院校详情头部信息卡（content_school.html）
      E9. 院校性质标签
   
   F. 表单与侧栏
      F1. 完整咨询表单
      F2. 侧边栏
      F3. 侧边咨询表单
   
   G. 底部与浮层
      G1. 页脚
      G2. 移动端底部栏
      G3. 返回顶部
      G4. 卡片预览浮层
      G5. Toast 提示
   
   H. 特殊页面
      H1. 404 页面
   
   I. 响应式（全部放最后）
      I1. 平板（769-1024px）
      I2. 移动端（≤768px）
      I3. 小屏（≤360px）
   ─────────────────────────────────────────────
   ============================================================ */


/* ============================================================
   A. 基础层
   ============================================================ */

/* ---------- A1. CSS 变量 ---------- */
:root {
    --primary: #1e3a8a;
    --primary-light: #2563eb;
    --primary-soft: #eef2ff;
    --accent: #f59e0b;
    --accent-deep: #d97706;
    --text: #1f2937;
    --text-2: #4b5563;
    --muted: #9ca3af;
    --line: #e5e7eb;
    --line-soft: #f1f5f9;
    --bg: #f5f7fa;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,.04), 0 2px 8px rgba(15,23,42,.04);
    --shadow-md: 0 2px 8px rgba(15,23,42,.06), 0 8px 20px rgba(15,23,42,.05);
}

/* ---------- A2. 全局重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- A3. 通用容器 ---------- */
.container { width: 1200px; max-width: 96%; margin: 0 auto; }


/* ============================================================
   B. 公共模块（所有页面共用）
   ============================================================ */

/* ---------- B1. 顶部通栏 ---------- */
.top-bar {
    background: linear-gradient(90deg, #1e3a8a, #1e40af);
    color: #c7d2fe;
    font-size: 13px;
    padding: 8px 0;
    line-height: 1.5;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top-bar .links a { color: #c7d2fe; margin-left: 18px; }
.top-bar .links a:hover { color: #fff; }

/* ---------- B2. 头部（Logo + 搜索） ---------- */
.header {
    background: #fff;
    padding: 18px 0;
    box-shadow: 0 1px 3px rgba(15,23,42,.03);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo-area { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: 52px; height: 52px; object-fit: contain; }
.logo { font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1.15; letter-spacing: .5px; }
.logo em { font-style: normal; color: var(--accent); }
.logo-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.search-box {
    display: flex;
    flex: 0 1 420px;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #f9fafb;
    transition: all .2s;
}
.search-box:focus-within { border-color: var(--primary-light); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.search-box form { display: flex; width: 100%; }
.search-box input {
    flex: 1;
    min-width: 0;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}
.search-box button {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: background .2s;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
}
.search-box button:hover { background: var(--primary-light); }

/* ---------- B3. 主导航 ---------- */
.main-nav {
    background: linear-gradient(90deg, var(--primary), #1e40af);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(15,23,42,.08);
}
.nav-inner { display: flex; justify-content: center; }
.nav-item { position: relative; }
.main-nav a { display: block; color: #e0e7ff; padding: 15px 26px; font-size: 15px; transition: all .18s; }
.nav-item:hover > a { background: rgba(255,255,255,.1); color: #fff; }

.nav-item.active > a,
.nav-item.current > a {
    color: #fff;
    font-weight: 600;
    background: rgba(255,255,255,.12);
}
.nav-item.active > a::after,
.nav-item.current > a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 26px; height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 28px rgba(15,23,42,.1);
    padding: 6px 0;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a { color: var(--text-2); padding: 10px 18px; font-size: 13.5px; }
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); }

/* ---------- B4. 抽屉菜单 ---------- */
.menu-toggle {
    display: none;
    position: fixed;
    top: 14px; right: 14px;
    z-index: 1001;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    font-size: 20px;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}
.drawer-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.55);
    z-index: 999;
}
.drawer-mask.open { display: block; }
.drawer {
    position: fixed;
    top: 0; left: -70%;
    width: 66%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: left .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.drawer.open { left: 0; }
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}
.drawer-header .title { font-size: 18px; font-weight: 700; }
.drawer-close { color: #fff; font-size: 26px; line-height: 1; padding: 0 4px; }
.drawer-menu > li { border-bottom: 1px solid var(--line-soft); }
.drawer-menu > li > a { display: block; padding: 12px 18px; font-size: 15px; color: var(--text); }
.drawer-parent { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; font-size: 15px; }
.drawer-parent .drawer-title { flex: 1; color: var(--text); }
.drawer-parent .arrow { color: var(--muted); font-size: 11px; padding: 6px; transition: transform .2s; }
.drawer-parent.open .arrow { transform: rotate(90deg); }
.drawer-sub { display: none; background: #fafbff; }
.drawer-sub.open { display: block; }
.drawer-sub a { display: block; padding: 9px 18px 9px 34px; font-size: 14px; color: var(--text-2); }
.drawer-sub a:active { background: var(--primary-soft); color: var(--primary); }


/* ============================================================
   C. 首页模块
   ============================================================ */

/* ---------- C1. 头条区 ---------- */
.hero { padding: 24px 0 12px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px; }

.hero-main {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: var(--radius);
    padding: 28px 32px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30,64,175,.18);
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.hero-item { color: inherit; display: block; min-width: 0; }
.hero-item:hover { color: inherit; }

.hero-item-meta {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    margin-bottom: 8px;
    letter-spacing: .3px;
}

.hero-item-title {
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-item-desc { display: none; }

/* ---------- 主头条（第 1 条） ---------- */
.hero-item:first-child {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
/* 主头条标题：PC 端 1 行 */
.hero-item:first-child .hero-item-title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 12px;
    -webkit-line-clamp: 1;
    color: #fff;
    transition: color .2s;
}
.hero-item:first-child:hover .hero-item-title { color: var(--accent); }

/* 主头条摘要：PC 端 2 行 */
.hero-item:first-child .hero-item-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14.5px;
    line-height: 25px;
    color: #dbeafe;
    -webkit-line-clamp: 2;
    word-break: break-word;
}

/* ---------- 次级头条（第 2、3 条，竖排） ---------- */
.hero-item:not(:first-child) {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.hero-item:not(:first-child):last-child { border-bottom: none; padding-bottom: 0; }

.hero-item:not(:first-child)::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 10px;
}

.hero-item:not(:first-child) .hero-item-meta {
    display: none;
}
/* 次级头条标题：PC 端 1 行 */
.hero-item:not(:first-child) .hero-item-title {
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: 1;
    color: #e0e7ff;
    transition: color .2s;
}
.hero-item:not(:first-child):hover .hero-item-title { color: var(--accent); }

/* ---------- 右侧小新闻 ---------- */
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-side-item {
    flex: 1;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: background .25s ease, border-left-color .25s ease, box-shadow .25s ease;
    min-width: 0;
    position: relative;
    overflow: hidden;
}
.hero-side-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 0;
    pointer-events: none;
}
.hero-side-item:hover::before { opacity: 1; }
.hero-side-item:hover { border-left-color: var(--accent); box-shadow: 0 6px 20px rgba(30,64,175,.22); }
.hero-side-item h4,
.hero-side-item p,
.hero-side-item .date { position: relative; z-index: 1; transition: color .25s ease; }
.hero-side-item h4 {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.hero-side-item h4 a { color: var(--text); transition: color .2s ease; }
.hero-side-item:hover h4 a { color: #fff; }
.hero-side-item:hover h4 a:hover { color: var(--accent); }
.hero-side-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.hero-side-item:hover p { color: rgba(255,255,255,.85); }
.hero-side-item .date { font-size: 12px; color: var(--muted); }
.hero-side-item:hover .date { color: rgba(255,255,255,.75); }

/* ---------- C2. 频道卡片 ---------- */
.channels-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.section-block {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
    min-width: 0;
}
.section-block:hover { box-shadow: var(--shadow-md); }
.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.block-header h3 { font-size: 16px; color: var(--primary); font-weight: 700; }
.block-header .more { font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
.block-header .more:hover { color: var(--primary); }
.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line-soft);
}
.news-list li:last-child { border-bottom: none; }
.news-list a { font-size: 14.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.news-list a:hover { color: var(--primary); }
.news-list .date { font-size: 12.5px; color: var(--muted); flex-shrink: 0; }

/* ---------- C3. 首页升学问答 ---------- */
.faq-list .faq-item { padding-bottom: 14px; border-bottom: 1px dashed var(--line-soft); }
.faq-list .faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0 8px; cursor: default; }
.faq-q .q-icon {
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.faq-q .q-text { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.55; word-break: break-word; }
.faq-q .q-text a { color: inherit; }
.faq-q .q-text a:hover { color: var(--primary); }

/* PC 端：答案 2 行 */
.faq-a {
    padding: 10px 14px 10px 32px;
    background: #e8eef6;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
    word-break: break-word;
    transition: background .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.faq-a:hover { background: #dde5ef; }
.faq-a a { color: var(--primary-light); }
.faq-a a:hover { color: var(--primary); }


/* ============================================================
   D. 列表页模块
   ============================================================ */

.main-content { padding: 12px 0 40px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.left-col { min-width: 0; }
.side-col { min-width: 0; }

/* ---------- D1. 面包屑 ---------- */
.breadcrumb { padding: 16px 0 4px; font-size: 13px; color: var(--muted); word-break: break-word; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: var(--primary); }

/* ---------- D2. 频道头部 ---------- */
.channel-header {
    position: relative;
    padding: 32px;
    margin: 12px 0 24px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    overflow: hidden;
}
.channel-header::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.channel-header h1 { font-size: 26px; margin-bottom: 10px; position: relative; z-index: 1; word-break: break-word; }
.channel-header p { font-size: 14px; line-height: 1.7; color: #dbeafe; max-width: 820px; position: relative; z-index: 1; word-break: break-word; }

/* ---------- D3. 文章列表 ---------- */
.article-list { background: #fff; border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow-sm); }
.article-item { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.article-item:last-child { border-bottom: none; }
.article-item h3 { font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; color: var(--text); word-break: break-word; }
.article-item h3 a { color: inherit; }
.article-item h3 a:hover { color: var(--primary); }
.article-item .desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.article-item .meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.article-item .meta time { color: var(--muted); }

/* ---------- D4. 问答列表 ---------- */
.faq-page-list { display: flex; flex-direction: column; gap: 16px; }

.faq-list-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
}
.faq-list-item:hover { box-shadow: var(--shadow-md); }

.faq-list-item .faq-question {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
    word-break: break-word;
}
.faq-list-item .q-badge {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 700;
}
.faq-list-item .faq-question a { color: inherit; }
.faq-list-item .faq-question a:hover { color: var(--primary); }

/* PC 端：答案 2 行 */
.faq-list-item .faq-answer {
    padding: 12px 16px;
    background: var(--primary-soft);
    border-radius: 8px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-2);
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-list-item .faq-meta {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
}
.faq-list-item .faq-meta span { color: var(--muted); }

/* ---------- D5. 院校列表 ---------- */
.school-list-page { display: flex; flex-direction: column; gap: 16px; }

.school-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: box-shadow .2s, border-left-color .2s;
}
.school-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}

.school-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}
.school-head h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: var(--text);
    word-break: break-word;
}
.school-head h3 a { color: inherit; }
.school-head h3 a:hover { color: var(--primary); }

/* 院校卡片 · 统一字段区（院校性质=head标签 + 热门专业/所在城市 字段行） */
.school-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.school-field {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px 14px;
    background: var(--primary-soft);
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.6;
}
.school-field .field-label {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}
.school-field .field-value {
    flex: 1;
    min-width: 0;
    color: var(--text-2);
    font-size: 13.5px;
    word-break: break-word;
    line-height: 1.6;
}
.school-field .info-tags {
    flex: 1;
    min-width: 0;
}
.school-field .info-tags .school-tag {
    font-size: 13px;
    padding: 3px 10px;
}

.school-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 14px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.school-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line-soft);
}
.school-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--muted);
}
.school-btn {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-size: 13.5px;
    font-weight: 500;
    transition: all .2s;
    white-space: nowrap;
}
.school-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------- D5.5 院校+文章列表页 · 顶部院校模块 ---------- */
.channel-school-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.school-recommend {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}
.channel-school-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    position: relative;
    padding-left: 13px;
}
.channel-school-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--primary);
    border-radius: 2px;
}
.channel-school-more {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.channel-school-more:hover {
    background: var(--accent);
    color: #fff;
}

/* ---------- D6. 分页 ---------- */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--text-2);
}
.pagination > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font-size: 13.5px;
    color: var(--text-2);
    text-decoration: none;
    transition: all .15s;
    line-height: 1;
    white-space: nowrap;
}
.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}
.pagination .current,
.pagination .active,
.pagination .on {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
}
.pagination .disabled,
.pagination a[disabled] {
    background: #f9fafb;
    color: var(--muted);
    border-color: var(--line);
    cursor: not-allowed;
}
.pagination > *:first-child {
    min-width: auto;
    padding: 0 14px;
}
.pagination .page-info {
    min-width: auto;
    height: auto;
    line-height: 1.6;
    padding: 0 10px;
    border: none;
    background: none;
    color: var(--muted);
    white-space: nowrap;
}
.pagination .page-num-current,
.pagination a.page-num-current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
}
.pagination .hide { display: none; }


/* ============================================================
   E. 详情页模块
   ============================================================ */

.article-detail { background: #fff; border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow-sm); }
.article-detail h1 { font-size: 26px; font-weight: 700; line-height: 1.45; margin-bottom: 16px; word-break: break-word; }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    color: var(--muted);
}

.article-toc {
    padding: 18px 22px;
    margin-bottom: 24px;
    background: #f8fafc;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}
.article-toc .toc-title { font-size: 14.5px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.article-toc .toc-list { counter-reset: toc; }
.article-toc .toc-list li { counter-increment: toc; padding: 5px 0; font-size: 14px; line-height: 1.65; word-break: break-word; }
.article-toc .toc-list li::before { content: counter(toc) '. '; color: var(--accent); font-weight: 700; margin-right: 6px; }
.article-toc .toc-list li.toc-level-h3 { padding-left: 22px; font-size: 13.5px; }
.article-toc .toc-list a { color: var(--text-2); }
.article-toc .toc-list a:hover { color: var(--primary); }

.article-content { font-size: 16px; line-height: 1.85; color: #374151; word-break: break-word; }
.article-content p { margin-bottom: 18px; }
.article-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
    scroll-margin-top: 80px;
    word-break: break-word;
}
.article-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; color: var(--text); scroll-margin-top: 80px; word-break: break-word; }
.article-content ul, .article-content ol { margin: 12px 0 20px 22px; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--primary-light); border-bottom: 1px dashed var(--primary-light); }
.article-content a:hover { color: var(--primary); border-bottom-style: solid; }
.article-content strong { color: var(--text); font-weight: 700; }
.article-content blockquote {
    margin: 18px 0;
    padding: 14px 20px;
    background: var(--primary-soft);
    border-left: 4px solid var(--primary-light);
    border-radius: 6px;
    color: var(--text-2);
}
.article-content table {
    width: 100%;
    margin: 18px 0 24px;
    border-collapse: collapse;
    font-size: 14.5px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
    max-width: 100%;
}
.article-content th { background: var(--primary-soft); color: var(--primary); padding: 12px 14px; text-align: left; font-weight: 600; border-bottom: 1px solid #c7d2fe; }
.article-content td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.article-content tr:nth-child(even) td { background: #fafbff; }
.article-content tr:last-child td { border-bottom: none; }
.article-content img { margin: 20px auto; border-radius: 8px; max-width: 100%; height: auto; }

/* ---------- 正文后 · 更新日期提示 ---------- */
.article-updated {
    margin: 16px 0 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-2);
    background: var(--primary-soft);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
}
.article-updated svg { flex: none; color: var(--primary); }
.article-updated strong { color: var(--primary); font-weight: 600; }

.article-tags { margin-top: 28px; margin-bottom: 0; line-height: 1.8; }
.article-tags a {
    display: inline-block;
    padding: 5px 14px;
    margin: 0 8px 8px 0;
    border-radius: 6px;
    background: var(--line-soft);
    color: var(--text-2);
    font-size: 12.5px;
    transition: all .15s;
}
.article-tags a:hover { background: var(--primary); color: #fff; }

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line-soft);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13.5px;
    color: var(--text-2);
    transition: all .2s ease;
    cursor: pointer;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
}
.share-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,.08); }
.share-icon { flex-shrink: 0; width: 16px; height: 16px; transition: transform .2s; }
.share-btn:hover .share-icon { transform: scale(1.1); }
.share-wechat:hover { border-color: #07c160; color: #07c160; }
.share-qr:hover { border-color: var(--accent); color: var(--accent); }
.share-card:hover { border-color: #7c3aed; color: #7c3aed; }

.share-item-wechat { display: none; }
.share-item-card { display: none; }
.share-item-qr { display: inline-block; }

.share-item { position: relative; display: inline-block; }
.qr-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(15,23,42,.18);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 100;
    pointer-events: none;
}
.share-item:hover .qr-popup { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
    margin-top: -1px;
}
.qr-popup-inner { text-align: center; }
.qr-popup-inner #qr-browse {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 8px;
    border-radius: 4px;
    background: #f8fafc;
    overflow: hidden;
}
.qr-popup-inner #qr-browse img,
.qr-popup-inner #qr-browse canvas { display: block; width: 150px !important; height: 150px !important; }
.qr-popup-inner p { font-size: 12px; color: var(--text-2); line-height: 1.5; margin: 0; white-space: nowrap; }

.article-prevnext {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    font-size: 14px;
    color: var(--text-2);
}
.article-prevnext a { color: var(--primary); }
.article-prevnext .prev, .article-prevnext .next { flex: 1; min-width: 0; word-break: break-word; }
.article-prevnext .next { text-align: right; }

.related-articles { margin-top: 24px; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.related-articles h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.related-articles li { padding: 10px 0; border-bottom: 1px dashed var(--line-soft); word-break: break-word; }
.related-articles li:last-child { border-bottom: none; }
.related-articles a { font-size: 14.5px; color: var(--text-2); }
.related-articles a:hover { color: var(--primary); }

/* 院校详情头部 */
.school-detail-head {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 32px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}
.school-detail-head h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
    word-break: break-word;
}
.school-detail-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.school-detail-info .info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    line-height: 1.7;
}
.school-detail-info .info-label {
    flex-shrink: 0;
    width: 72px;
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.7;
}
.school-detail-info .info-value {
    flex: 1;
    min-width: 0;
    color: var(--text-2);
    font-size: 14px;
    word-break: break-word;
    line-height: 1.7;
}
.school-detail-info .info-value a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}
.school-detail-info .info-value a:hover {
    text-decoration: underline;
}

.school-tags,
.info-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    vertical-align: middle;
}
.school-tag {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
    background: var(--primary-soft);
    color: var(--primary);
}
.school-tag[data-type="双高计划"] { background: #fef3c7; color: #92400e; }
.school-tag[data-type="公办"]     { background: #dcfce7; color: #166534; }
.school-tag[data-type="民办"]     { background: #f3e8ff; color: #6b21a8; }
.school-detail-info .info-tags .school-tag {
    font-size: 14px;
    padding: 3px 12px;
}


/* ============================================================
   F. 表单与侧栏
   ============================================================ */

.full-consult-form {
    margin-top: 24px;
    padding: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.full-consult-header {
    padding: 22px 32px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
}
.full-consult-header h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.full-consult-header p { font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.65; margin: 0; }

.full-form { padding: 24px 32px 28px; }
.full-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.full-form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.full-form-item { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.full-form-item-full { margin-bottom: 6px; }
.full-form-item label { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.full-form-item label .required { color: #dc2626; }
.full-form-item input[type="text"],
.full-form-item input[type="tel"],
.full-form-item select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    font-size: 13.5px;
    background: #f9fafb;
    transition: all .2s;
    box-sizing: border-box;
    color: var(--text);
    line-height: 1.4;
}
.full-form-item input[type="text"]:focus,
.full-form-item input[type="tel"]:focus,
.full-form-item select:focus {
    border-color: var(--primary-light);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.full-form-item textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    font-size: 13.5px;
    background: #f9fafb;
    transition: all .2s;
    box-sizing: border-box;
    resize: vertical;
    min-height: 88px;
    line-height: 1.65;
    color: var(--text);
}
.full-form-item textarea:focus {
    border-color: var(--primary-light);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.full-form-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 8px; }
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #dbeafe;
    cursor: pointer;
    word-break: break-word;
}
.privacy-check input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin: 3px 0 0 0; padding: 0; border-radius: 3px; }
.privacy-check a { color: #fff; text-decoration: underline; }
.privacy-check-full { display: flex; align-items: flex-start; gap: 8px; }
.privacy-check-full .privacy-text { flex: 1; line-height: 1.65; color: var(--text-2); }
.privacy-check-full .privacy-text a { color: var(--primary-light); text-decoration: underline; }
.full-form-footer .privacy-check { color: var(--text-2); flex: 1; min-width: 240px; font-size: 13px; }
.full-form-footer .privacy-check a { color: var(--primary-light); text-decoration: underline; }
.full-form-submit {
    padding: 12px 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.full-form-submit:hover { background: var(--accent-deep); }

.side-col { display: flex; flex-direction: column; gap: 20px; }
.side-card { padding: 20px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 0; }
.side-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.side-title.white { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
/* 侧边栏内复用的 block-header，字号对齐 side-title(15px)，保持与其他栏目标题合群 */
.side-card .block-header h3 { font-size: 15px; }

.rank-list { counter-reset: rank; }
.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line-soft);
}
.rank-list li:last-child { border-bottom: none; }
.rank-list li::before {
    counter-increment: rank;
    content: counter(rank);
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--line-soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.rank-list li:nth-child(1)::before { background: #ef4444; color: #fff; }
.rank-list li:nth-child(2)::before { background: #f97316; color: #fff; }
.rank-list li:nth-child(3)::before { background: var(--accent); color: #fff; }
.rank-list a { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rank-list a:hover { color: var(--primary); }

.side-consult { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: 0 8px 20px rgba(30,64,175,.18); }
.side-consult p { font-size: 12.5px; color: #dbeafe; margin-bottom: 14px; line-height: 1.65; }
.consult-form-side input[type="tel"],
.consult-form-side input[type="text"],
.consult-form-side input[type="email"],
.consult-form-side select {
    display: block;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 13.5px;
    box-sizing: border-box;
    background: #fff;
    color: var(--text);
}
.consult-form-side input[type="tel"]:focus,
.consult-form-side input[type="text"]:focus,
.consult-form-side input[type="email"]:focus,
.consult-form-side select:focus { box-shadow: 0 0 0 3px rgba(245,158,11,.35); }
.consult-form-side input[type="checkbox"] { width: 16px; height: 16px; padding: 0; margin: 0; flex-shrink: 0; border-radius: 3px; }
.consult-form-side button[type="submit"] {
    display: block;
    width: 100%;
    padding: 11px;
    margin-top: 4px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}
.consult-form-side button[type="submit"]:hover { background: var(--accent-deep); }
.side-consult .privacy-check { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 10px; font-size: 12px; line-height: 1.55; color: #dbeafe; }
.side-consult .privacy-check a { color: #fff; text-decoration: underline; }

.school-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); }
.school-list li:last-child { border-bottom: none; }
.school-list .name { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; text-decoration: none; }
.school-list .tag { flex-shrink: 0; padding: 2px 8px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 11px; }
.school-list .tag.national { background: #fef3c7; color: #92400e; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--line-soft);
    color: var(--text-2);
    font-size: 12.5px;
    transition: all .15s;
}
.tag-cloud a:hover { background: var(--primary); color: #fff; }

.question-list { display: flex; flex-direction: column; gap: 9px; }
.question-list a { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; color: var(--text-2); word-break: break-word; }
.question-list a:hover { color: var(--primary); }
.question-list .dot { color: var(--accent); font-weight: 700; flex-shrink: 0; }


/* ============================================================
   G. 底部与浮层
   ============================================================ */

.footer { margin-top: 40px; padding: 30px 0 20px; background: #1e3a8a; color: #b8d0e8; }
.footer-title {
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; padding: 8px 12px; background: #3b6db5; border-radius: 4px; display: block; }
.footer-col a { display: inline-block; padding: 4px 14px 4px 0; color: #a8c8e8; font-size: 13.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
    color: #8ba5c8;
    line-height: 1.8;
    text-align: center;
}
.footer-bottom .copy, .footer-bottom .note { color: #8ba5c8; }
.footer-bottom a { color: #8ba5c8; transition: color .2s; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { color: rgba(255,255,255,.2); user-select: none; }

.footer-links-bottom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.footer-links-bottom .sep-inline {
    color: rgba(255,255,255,.2);
    user-select: none;
}

.mobile-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 12px rgba(15,23,42,.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translateY(0);
    opacity: 1;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.mobile-bar.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.mobile-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
}
.mobile-bar-btn.phone { color: var(--primary); }
.mobile-bar-btn.consult { background: var(--accent); color: #fff; }
.mobile-bar-btn .ico { font-size: 16px; }

.back-top {
    position: fixed;
    right: 20px; bottom: 90px;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(30,64,175,.3);
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
    z-index: 890;
}
.back-top.show { opacity: 1; visibility: visible; }

.card-preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.88);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: overlayFadeIn .25s ease;
}
@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.card-preview-inner {
    text-align: center;
    max-width: 100%;
    animation: cardPopIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes cardPopIn {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}
.card-preview-inner img {
    max-width: 100%;
    max-height: 72vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    display: block;
    margin: 0 auto;
}
.card-preview-tip { margin-top: 16px; color: #fff; font-size: 14px; opacity: .92; letter-spacing: .5px; }
.card-preview-close {
    margin-top: 14px;
    padding: 10px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}
.card-preview-close:hover { background: var(--accent-deep); }

.share-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    background: rgba(15,23,42,.85);
    color: #fff;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    opacity: 0;
    transition: all .3s ease;
    z-index: 10000;
    pointer-events: none;
    max-width: 80vw;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(15,23,42,.2);
}
.share-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }


/* ============================================================
   H. 特殊页面
   ============================================================ */

.not-found { padding: 80px 24px; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.not-found-code { font-size: 80px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 20px; letter-spacing: -2px; }
.not-found-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.not-found-desc { font-size: 15px; color: var(--text-2); margin-bottom: 28px; }
.not-found-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.not-found-actions .btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
}
.not-found-actions .btn-primary { background: var(--primary); color: #fff; }
.not-found-actions .btn-primary:hover { background: var(--primary-light); }
.not-found-actions .btn-outline { background: #fff; color: var(--text-2); border: 1px solid var(--line); }
.not-found-actions .btn-outline:hover { border-color: var(--primary); color: var(--primary); }


/* ============================================================
   I. 响应式
   ============================================================ */

/* ---------- I1. 平板（769-1024px） ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .container { width: 96%; max-width: 96%; }
    .content-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
    .channels-grid { gap: 16px; }
    .article-detail { padding: 28px 32px; }
    .hero-main { padding: 24px 28px; }
    .hero-item:first-child .hero-item-title { font-size: 22px; }
    .hero-item:first-child .hero-item-desc { font-size: 14px; line-height: 24px; }
    .footer-links { gap: 18px; }
    .full-form-row.cols-3 { grid-template-columns: 1fr 1fr; }

    .school-item { padding: 20px 22px; }
    .school-head h3 { font-size: 17px; }
    .school-detail-head { padding: 24px 26px; }
    .school-detail-head h1 { font-size: 23px; }
}

/* ---------- I2. 移动端（≤768px） ---------- */
@media (max-width: 768px) {
    body { font-size: 16px; line-height: 1.75; padding-bottom: 56px; }
    .container { width: 100%; max-width: 100%; padding-left: 16px; padding-right: 16px; margin: 0; box-sizing: border-box; }

    .top-bar { display: none; }

    .header { padding: 14px 0; }
    .header .container { flex-direction: column; align-items: stretch; gap: 12px; }
    .logo-area { align-self: flex-start; }
    .logo-img { width: 44px; height: 44px; }
    .logo { font-size: 22px; }
    .logo-sub { font-size: 11.5px; }
    .search-box { flex: 1 1 auto; width: 100%; max-width: 100%; border-radius: 999px; }
    .search-box form { width: 100%; }
    .search-box input { padding: 11px 18px; font-size: 15px; min-width: 0; }
    .search-box button { padding: 11px 20px; font-size: 14px; flex-shrink: 0; }

    .main-nav { display: none; }
    .menu-toggle { display: flex; top: 14px; right: 14px; }

    /* 首页头条区 */
    .hero { padding: 14px 0 8px; }
    .hero-grid { display: flex; flex-direction: column; gap: 12px; }
    .hero-main { padding: 20px; border-radius: 10px; }
    .hero-item:first-child { padding-bottom: 16px; }
    .hero-item:first-child .hero-item-title { font-size: 18px; margin-bottom: 8px; }
    .hero-item:not(:first-child) { padding: 12px 0; gap: 8px; }
    .hero-item:not(:first-child)::before { margin-top: 8px; }
    .hero-item:not(:first-child) .hero-item-title { font-size: 15px; }

    /* 头条标题：移动端完整显示，不限行数 */
    .hero-item:first-child .hero-item-title,
    .hero-item:not(:first-child) .hero-item-title {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    /* 主头条摘要：移动端 3 行 */
    .hero-item:first-child .hero-item-desc {
        font-size: 14px;
        line-height: 26px;
        -webkit-line-clamp: 3;
    }

    .hero-side { gap: 10px; }
    .hero-side-item { padding: 16px 18px; border-left-width: 3px; border-radius: 10px; }
    .hero-side-item h4 { font-size: 16px; line-height: 1.5; }
    .hero-side-item p { font-size: 13.5px; }
    .hero-side-item .date { font-size: 12px; }

    .main-content { padding: 8px 0 24px; }
    .content-grid { grid-template-columns: 1fr; gap: 16px; }

    .channels-grid { grid-template-columns: 1fr; gap: 14px; }
    .section-block { padding: 18px; border-radius: 10px; }
    .block-header { padding-bottom: 10px; margin-bottom: 8px; }
    .block-header h3 { font-size: 17px; }
    .block-header .more { font-size: 13px; }
    .news-list li { padding: 9px 0; }
    .news-list a { font-size: 15.5px; line-height: 1.45; }
    .news-list .date { font-size: 12.5px; }

    /* 首页升学问答：移动端 3 行 */
    .faq-list .faq-item { padding-bottom: 16px; }
    .faq-q { padding: 15px 0 10px; gap: 12px; }
    .faq-q .q-icon { width: 24px; height: 24px; font-size: 13px; }
    .faq-q .q-text { font-size: 16px; line-height: 1.55; }
    .faq-a {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding: 12px 16px 12px 36px;
        margin-top: 2px;
        font-size: 15px;
        line-height: 26px;
        background: #e8eef6;
        border-radius: 8px;
    }

    .breadcrumb { padding: 10px 0 4px; font-size: 13px; line-height: 1.6; }
    .channel-header { padding: 22px 20px; margin: 8px 0 16px; border-radius: 10px; }
    .channel-header h1 { font-size: 21px; }
    .channel-header p { font-size: 14px; line-height: 1.7; }

    .article-list { padding: 4px 18px; border-radius: 10px; }
    .article-item { padding: 14px 0; }
    .article-item h3 { font-size: 17px; line-height: 1.5; margin-bottom: 6px; }
    .article-item .desc { font-size: 14.5px; line-height: 1.65; -webkit-line-clamp: 3; }
    .article-item .meta { font-size: 12.5px; gap: 12px; }

    /* 问答列表：移动端 3 行 */
    .faq-page-list { gap: 12px; }
    .faq-list-item { padding: 20px 18px; border-radius: 10px; }
    .faq-list-item .faq-question { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
    .faq-list-item .faq-answer {
        font-size: 15px;
        line-height: 27px;
        padding: 12px 14px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .faq-list-item .faq-meta { font-size: 12.5px; }

    .school-list-page { gap: 12px; }
    .school-item { padding: 18px; border-radius: 10px; border-left-width: 3px; }
    .school-head { gap: 8px; margin-bottom: 12px; }
    .school-head h3 { font-size: 17px; line-height: 1.5; }
    .school-tag { font-size: 12px; padding: 3px 10px; }
    .school-desc { font-size: 14px; -webkit-line-clamp: 3; margin-bottom: 12px; }
    .school-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
    .school-meta { font-size: 12px; gap: 12px; }
    .school-btn { display: block; width: 100%; text-align: center; padding: 11px; font-size: 14px; }

    .pagination { gap: 5px; margin-top: 20px; }
    .pagination > * { min-width: 32px; height: 32px; padding: 0 10px; font-size: 13px; }

    .article-detail { padding: 22px 18px; border-radius: 10px; }
    .article-detail h1 { font-size: 21px; line-height: 1.5; margin-bottom: 14px; }
    .article-meta { padding-bottom: 16px; margin-bottom: 20px; gap: 12px; font-size: 12.5px; flex-wrap: wrap; }

    .article-toc { padding: 16px 18px; margin-bottom: 20px; border-radius: 8px; }
    .article-toc .toc-title { font-size: 15px; }
    .article-toc .toc-list li { font-size: 15px; padding: 7px 0; }
    .article-toc .toc-list li.toc-level-h3 { font-size: 14px; padding-left: 20px; }

    .article-content { font-size: 17px; line-height: 1.85; }
    .article-content p { margin-bottom: 20px; }
    .article-content h2 { font-size: 19px; margin: 30px 0 14px; line-height: 1.5; }
    .article-content h3 { font-size: 17px; margin: 22px 0 10px; }
    .article-content ul, .article-content ol { margin: 12px 0 20px 24px; }
    .article-content li { margin-bottom: 10px; }
    .article-content table {
        display: block;
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .article-content th, .article-content td { padding: 11px 12px; font-size: 14.5px; }

    .article-tags { margin-top: 22px; line-height: 1.8; }
    .article-tags a { font-size: 13px; padding: 6px 14px; margin: 0 6px 8px 0; }

    .article-share { gap: 8px; padding: 18px 0; margin-top: 18px; }
    .share-btn { padding: 9px 16px; font-size: 14px; gap: 6px; }
    .share-icon { width: 16px; height: 16px; }
    .share-item-wechat { display: inline-flex; }
    .share-item-card { display: inline-flex; }
    .share-item-qr { display: none; }
    .qr-popup { display: none; }

    .article-prevnext { flex-direction: column; gap: 10px; font-size: 15px; margin-top: 0; }
    .article-prevnext .next { text-align: left; }

    .school-detail-head { padding: 20px; border-radius: 10px; border-left-width: 3px; }
    .school-detail-head h1 { font-size: 20px; margin-bottom: 14px; }
    .school-detail-info { gap: 12px; }
    .school-detail-info .info-row { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13.5px; }
    .school-detail-info .info-label { width: auto; font-size: 13.5px; }
    .school-detail-info .info-value { font-size: 13.5px; }
    .school-detail-info .info-tags .school-tag { font-size: 13.5px; }

    .full-consult-form { margin-top: 16px; border-radius: 10px; }
    .full-consult-header { padding: 18px; }
    .full-consult-header h3 { font-size: 17px; }
    .full-consult-header p { font-size: 13px; line-height: 1.6; }
    .full-form { padding: 18px 18px 22px; }
    .full-form-row, .full-form-row.cols-3 { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
    .full-form-item { margin-bottom: 14px; gap: 6px; }
    .full-form-item label { font-size: 14px; }
    .full-form-item input[type="text"],
    .full-form-item input[type="tel"],
    .full-form-item select { padding: 13px 14px; font-size: 14px; line-height: 1.4; }
    .full-form-item textarea { padding: 13px 14px; font-size: 14px; min-height: 100px; line-height: 1.7; }
    .full-form-footer { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 4px; }
    .full-form-footer .privacy-check { min-width: 0; font-size: 12.5px; line-height: 1.65; }
    .full-form-submit { width: 100%; padding: 14px; font-size: 16px; }

    .related-articles { padding: 20px 18px; border-radius: 10px; margin-top: 20px; }
    .related-articles h3 { font-size: 16px; margin-bottom: 8px; padding-bottom: 10px; }
    .related-articles a { font-size: 15.5px; line-height: 1.5; }
    .related-articles li { padding: 8px 0; }

    .side-col { gap: 16px; }
    .side-card { padding: 18px; border-radius: 10px; }
    .side-title { font-size: 16px; }
    .side-col .hot-schools,
    .side-col .hot-tags,
    .side-col .hot-questions { display: none; }
    .rank-list a { font-size: 15px; line-height: 1.4; }
    .rank-list li { padding: 8px 0; }
    .rank-list li::before { width: 22px; height: 22px; font-size: 12px; }

    .side-consult p { font-size: 14px; }
    .consult-form-side input[type="tel"],
    .consult-form-side input[type="text"],
    .consult-form-side input[type="email"],
    .consult-form-side select { padding: 12px 14px; font-size: 15.5px; margin-bottom: 12px; }
    .consult-form-side input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; }
    .consult-form-side button[type="submit"] { padding: 13px; font-size: 16px; }
    .side-consult .privacy-check { font-size: 12.5px; line-height: 1.65; }

    .footer { padding: 22px 0 16px; margin-top: 24px; }
    .footer-title, .footer-links { display: none; }
    .footer-bottom {
        flex-direction: column;
        gap: 2px;
        padding-top: 0;
        border: none;
        font-size: 12.5px;
        line-height: 1.85;
    }
    .footer-bottom > .sep { display: none; }
    .footer-links-bottom {
        margin-top: 2px;
        gap: 6px;
    }

    .has-full-form .side-consult {
        display: none;
    }

    .card-preview-overlay { padding: 14px; }
    .card-preview-inner img { max-height: 68vh; }
    .card-preview-tip { font-size: 13.5px; margin-top: 14px; }
    .card-preview-close { padding: 9px 28px; font-size: 13.5px; margin-top: 12px; }

    .mobile-bar { display: flex; }
    .back-top { bottom: 74px; right: 14px; width: 42px; height: 42px; }

    .not-found { padding: 50px 20px; }
    .not-found-code { font-size: 60px; }
    .not-found-title { font-size: 18px; }
    .not-found-desc { font-size: 14px; }
}

/* ---------- I3. 小屏（≤360px） ---------- */
@media (max-width: 360px) {
    body { font-size: 15.5px; }
    .article-content { font-size: 16.5px; }
    .logo { font-size: 20px; }
    .hero-item:first-child .hero-item-title { font-size: 16px; }
    .article-item h3 { font-size: 16px; }
    .faq-list-item .faq-question { font-size: 16px; }
    .share-btn { padding: 8px 12px; font-size: 12.5px; }

    .school-head h3 { font-size: 16px; }
    .school-desc { font-size: 13.5px; }
    .school-detail-head h1 { font-size: 18px; }
}
/* （注：内容由AI生成） */
