/* ==========================================================================
   理根教育官网 · 设计系统
   品牌：橙红 #F26522  +  藏青 #1B3A5C  +  暖金 #C9A227
   ========================================================================== */
:root {
  --brand: #F26522;
  --brand-dark: #d85412;
  --brand-soft: #fdeae0;
  --navy: #16324a;
  --navy-deep: #0e2438;
  --navy-2: #1e4a6d;
  --gold: #C9A227;
  --gold-soft: #faf3dc;
  --green: #22C55E;
  --green-soft: #e7f8ee;
  --ink: #1F2937;
  --ink-2: #374151;
  --gray: #6B7280;
  --gray-2: #9CA3AF;
  --line: #E8ECF1;
  --bg: #F6F8FB;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(16, 42, 67, .08);
  --shadow: 0 6px 18px rgba(16, 42, 67, .08);
  --shadow-lg: 0 16px 40px rgba(16, 42, 67, .14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; transition: color .18s; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
.icon-svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
h1, h2, h3, h4 { line-height: 1.35; color: var(--navy); margin: 0 0 14px; font-weight: 700; }
p { margin: 0 0 14px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── 顶部信息条 ── */
.top-bar {
  background: var(--navy-deep);
  color: #c4d3e2;
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #c4d3e2; }
.top-bar a:hover { color: #fff; }
.top-bar .hotline { color: var(--gold); font-weight: 600; letter-spacing: .5px; }

/* ── 头部导航 ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: 68px;
  box-shadow: 0 2px 12px rgba(16, 42, 67, .05);
}
.site-header .container { display: flex; align-items: center; height: 100%; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: 30px; white-space: nowrap; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; flex: 1; height: 100%; }
.main-nav > a, .nav-drop > .drop-toggle {
  position: relative; display: inline-flex; align-items: center; height: 100%;
  padding: 0 15px; font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; flex-shrink: 0; transition: color .2s; cursor: pointer;
}
.main-nav > a::after, .nav-drop > .drop-toggle::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--brand); border-radius: 3px 3px 0 0;
  transition: width .28s ease;
}
.main-nav > a:hover, .nav-drop:hover > .drop-toggle { color: var(--brand); }
.main-nav > a:hover::after, .nav-drop:hover > .drop-toggle::after { width: 22px; }
.main-nav > a.active, .nav-drop.active > .drop-toggle { color: var(--brand); font-weight: 600; }
.main-nav > a.active::after, .nav-drop.active > .drop-toggle::after { width: 22px; }

/* 校区下拉菜单 */
.nav-drop { position: relative; display: flex; align-items: center; height: 100%; }
.drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  display: none; gap: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 18px 22px;
  min-width: 520px; z-index: 120;
}
.nav-drop:hover .drop-menu { display: flex; }
.drop-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.drop-col { min-width: 132px; }
.drop-title { font-size: 13px; font-weight: 700; color: var(--gray-2); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.drop-menu a {
  display: block; padding: 5px 0; font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.drop-menu a:hover { color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: 16px; margin-left: 18px; white-space: nowrap; flex-shrink: 0; }
.header-cta .cta-link { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.header-cta .cta-link:hover { color: var(--brand); }

/* 汉堡按钮 */
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; flex-shrink: 0;
  background: none; border: 1.5px solid var(--line); border-radius: 9px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; line-height: 1.2; transition: all .2s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #ff7a34, var(--brand));
  color: #fff; box-shadow: 0 6px 16px rgba(242, 101, 34, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(242, 101, 34, .4); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(242,101,34,.28), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(201,162,39,.16), transparent 55%),
    linear-gradient(130deg, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-2) 100%);
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero .container { position: relative; display: flex; align-items: center; gap: 56px; }
.hero-text { flex: 1.25; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 1px; color: #f3c48d;
}
.hero-text h1 {
  color: #fff; font-size: 46px; font-weight: 800; line-height: 1.22; margin: 20px 0 18px; letter-spacing: 1px;
}
.hero-text h1 .accent { color: #ff8a4c; }
.hero-text .sub { font-size: 18px; color: #cdddec; margin-bottom: 28px; line-height: 1.7; }
.hero-stats { display: flex; gap: 40px; margin: 30px 0 32px; flex-wrap: wrap; }
.hero-stat { position: relative; padding-left: 16px; }
.hero-stat::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  background: linear-gradient(var(--brand), var(--gold)); border-radius: 3px;
}
.hero-stat b { font-size: 34px; font-weight: 800; color: #fff; display: block; line-height: 1.15; font-variant-numeric: tabular-nums; }
.hero-stat b em { font-style: normal; color: var(--gold); }
.hero-stat span { color: #a9c2d8; font-size: 13.5px; }
.hero-cta { display: flex; gap: 14px; }
.hero-cta .btn { padding: 15px 34px; font-size: 16px; }

.hero-panel {
  flex: .95; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 30px; backdrop-filter: blur(6px);
}
.hero-panel h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.hero-panel ul { list-style: none; padding: 0; margin: 0; }
.hero-panel li {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  color: #dbe7f2; font-size: 15px;
}
.hero-panel li:last-child { border-bottom: none; }
.hero-panel .tick { color: var(--gold); font-weight: 700; flex-shrink: 0; }
.hero-panel .note { margin-top: 16px; font-size: 13px; color: #93b0c9; }

/* ── 三大业务标签 ── */
.business-tabs { background: var(--bg); border-bottom: 1px solid var(--line); padding: 34px 0 8px; }
.business-tabs .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.business-tab {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: all .22s;
}
.business-tab:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #ffd4bc; }
.business-tab .icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  color: var(--brand); background: var(--brand-soft); transition: background .2s, color .2s;
}
.business-tab h3 { margin: 0; font-size: 19px; color: var(--navy); }
.business-tab p { margin: 3px 0 0; font-size: 13px; color: var(--gray); }
.business-tab.active { border-color: var(--brand); box-shadow: 0 8px 22px rgba(242,101,34,.16); }
.business-tab.active .icon { background: var(--brand); color: #fff; }

/* ── 区块 ── */
.section { padding: 76px 0; }
.section-alt { background: var(--bg); }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head .eyebrow {
  display: inline-block; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; margin-bottom: 12px; letter-spacing: .5px; }
.section-head .lead { color: var(--gray); font-size: 16px; margin: 0; max-width: 720px; }
.section-head.center .lead { margin: 0 auto; }
.section-head .more { font-size: 15px; color: var(--brand); font-weight: 600; white-space: nowrap; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head.row h2 { margin-bottom: 6px; }

/* ── 信任条 ── */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-bar .container { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.trust-bar .item { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.trust-bar .item .icon-svg { color: var(--green); }

/* ── 卡片网格 ── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px; transition: box-shadow .22s, transform .22s;
}
.card:hover { box-shadow: var(--shadow); }
.card.protocol { border-left: 4px solid var(--gold); }
.card h3 { font-size: 19px; }

/* 师资卡 */
.faculty-card { text-align: center; }
.faculty-card .avatar {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--brand-soft), 0 6px 14px rgba(16,42,67,.14);
  background: var(--bg);
}
.faculty-card .name { font-size: 19px; font-weight: 700; color: var(--navy); }
.faculty-card .title { font-size: 13px; color: var(--brand); font-weight: 600; margin-top: 2px; }
.faculty-card .subjects { font-size: 13px; color: var(--gray); margin: 10px 0; }
.faculty-card .meta { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* 标签 */
.tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px;
  background: #eef3f8; color: var(--navy); margin: 2px; font-weight: 500;
}
.tag.gold { background: var(--gold-soft); color: #a98a18; }
.tag.green { background: var(--green-soft); color: #159e46; }
.tag.brand { background: var(--brand-soft); color: var(--brand-dark); }

/* 数据展示 */
.data-row { display: flex; gap: 34px; flex-wrap: wrap; }
.data-item b {
  font-size: 40px; color: var(--brand); display: block; line-height: 1.15; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.data-item span { color: var(--gray); font-size: 14px; }

/* 课程分组 */
.course-group { margin-bottom: 38px; }
.course-group-title { font-size: 21px; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--brand); line-height: 1.4; }
.course-group-title a { color: var(--navy); }

/* ── 表单 ── */
.form-input, .form-select {
  width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line);
  border-radius: 11px; font-size: 15px; margin-bottom: 14px; background: #fbfcfe; color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.form-input:focus, .form-select:focus { border-color: var(--brand); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(242,101,34,.12); }
.form-note { font-size: 12px; color: var(--gray); margin-top: 10px; }

/* ── 筛选条 ── */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-bar .label { font-size: 14px; color: var(--gray); align-self: center; margin-right: 4px; }
.filter-bar a {
  padding: 7px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px;
  color: var(--ink-2); background: #fff; transition: all .18s;
}
.filter-bar a:hover { border-color: var(--brand); color: var(--brand); }
.filter-bar a.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* 校区下拉筛选 */
.campus-filter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding: 16px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.campus-filter .label { font-size: 15px; font-weight: 600; color: var(--navy); }
.campus-select {
  height: 42px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 15px; background: #fff; color: var(--ink); min-width: 200px; cursor: pointer;
}
.campus-select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(242,101,34,.12); }
.campus-clear { font-size: 14px; color: var(--gray); }
.campus-clear:hover { color: var(--brand); }
.search-input {
  height: 42px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 15px; background: #fff; color: var(--ink); flex: 1; min-width: 220px;
}
.search-input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(242,101,34,.12); }
.search-btn {
  height: 42px; padding: 0 22px; border: none; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.search-btn:hover { background: #d95514; }

/* ── 资讯列表 ── */
.news-item { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-item h3 { margin-bottom: 8px; font-size: 18px; }
.news-item .meta { font-size: 13.5px; color: var(--gray); }

/* ── 岗位检索页 ── */
.job-filter-bar { margin-bottom: 20px; }
.job-search-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.job-select-row { display: flex; gap: 10px; flex-wrap: wrap; }
.job-select-row select {
  height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 14px; background: #fff; color: var(--ink); cursor: pointer; min-width: 120px;
}
.job-select-row select:focus { border-color: var(--brand); outline: none; }
.job-list { display: block; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.job-title { font-size: 18px; margin: 0; }
.job-meta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 16px; }
.job-meta { display: flex; gap: 6px; font-size: 14px; }
.job-meta .k { color: var(--gray); flex-shrink: 0; }
.job-meta .v { color: var(--ink); }
.job-meta.full { grid-column: 1 / -1; }
.job-note { margin-top: 12px; font-size: 13.5px; color: var(--gray); line-height: 1.7; border-top: 1px dashed var(--line); padding-top: 10px; }
.job-foot { margin-top: 12px; display: flex; gap: 18px; }
.job-link { font-size: 14px; color: var(--brand); font-weight: 600; }
.job-link:hover { text-decoration: underline; }
.job-empty { text-align: center; padding: 50px 0; color: var(--ink); font-size: 16px; }

/* ── 分页 ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink); font-size: 14px; text-decoration: none; transition: all .15s;
}
.page-btn:hover { border-color: var(--brand); color: var(--brand); }
.page-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── 资讯详情页 ── */
.news-head { margin-bottom: 24px; }
.news-head h1 { font-size: 30px; line-height: 1.45; margin: 16px 0 14px; }
.news-meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--gray); font-size: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.news-meta a { color: var(--brand); font-weight: 600; }
.news-body { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.news-body p { margin-bottom: 14px; }
.news-cta { margin-top: 34px; padding: 30px; background: linear-gradient(135deg, var(--brand-soft), #fff7f0); border: 1px solid #ffd9c2; border-radius: var(--radius); text-align: center; }
.news-cta h3 { margin-bottom: 8px; }
.news-cta p { color: var(--gray); margin-bottom: 16px; }

/* 资讯正文三段式：SEO 前置 / 官方原文 / SEO 后置 */
.seo-prefix { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 18px 20px; border-radius: 10px; margin-bottom: 22px; }
.seo-prefix-title { font-weight: 700; color: var(--brand); margin-bottom: 8px; font-size: 15px; }
.source-original { margin-bottom: 22px; }
.source-original-title { font-weight: 700; color: var(--navy); margin-bottom: 14px; font-size: 16px; padding-left: 12px; border-left: 4px solid var(--navy); }
.seo-suffix { background: var(--bg); border: 1px solid var(--line); padding: 16px 20px; border-radius: 10px; color: var(--ink-2); }
.news-body .seo-prefix p, .news-body .seo-suffix p, .news-body .source-original p { margin-bottom: 12px; line-height: 1.9; }
.news-body .seo-prefix p:last-child, .news-body .seo-suffix p:last-child { margin-bottom: 0; }
.source-original strong { color: var(--navy); font-weight: 700; }

/* 资讯正文图片 */
.news-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.news-images a { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.news-images img { width: 100%; height: 160px; object-fit: cover; }

/* 资讯封面图 */
.news-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 24px; display: block; }

/* 附件下载卡片 */
.attach-card { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.attach-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.attach-card-head h3 { margin: 0; font-size: 17px; color: var(--navy); }
.attach-card-count { font-size: 13px; color: var(--gray); }
.attach-list { list-style: none; margin: 0; padding: 0; }
.attach-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.attach-item:first-child { border-top: none; }
.attach-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.file-icon {
  flex-shrink: 0; width: 30px; height: 36px; border-radius: 4px;
  position: relative;
  display: inline-flex; align-items: flex-end; justify-content: center;
  padding-bottom: 4px;
  font-size: 8px; font-weight: 700; color: #fff; letter-spacing: .3px;
  background: #7f8c8d;
}
.file-icon::before {
  content: '';
  position: absolute; top: 0; right: 0;
  border-style: solid;
  border-width: 0 9px 9px 0;
  border-color: rgba(255,255,255,.6) rgba(0,0,0,.12) rgba(0,0,0,0) rgba(0,0,0,0);
}
.ext-pdf { background: #E74C3C; }
.ext-doc, .ext-docx { background: #2B6FED; }
.ext-xls, .ext-xlsx { background: #27AE60; }
.ext-ppt, .ext-pptx { background: #F39C12; }
.ext-zip, .ext-rar, .ext-7z { background: #8E44AD; }
.ext-txt, .ext-csv, .ext-ofd, .ext-wps, .ext-et { background: #7f8c8d; }
.attach-name { min-width: 0; font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-actions { flex-shrink: 0; display: flex; gap: 8px; }
.attach-actions a { font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 7px; white-space: nowrap; }
.btn-open { color: #fff; background: var(--brand); }
.btn-open:hover { background: #d95514; }
.btn-download { color: var(--brand); border: 1px solid var(--brand); }
.btn-download:hover { background: var(--brand-soft); }

/* 富文本内附件下载 */
.richtext-attach {
  margin: 18px 0; padding: 16px 20px;
  background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px;
}
.richtext-attach-title { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 10px; }
.richtext-attach ul { list-style: none; margin: 0; padding: 0; }
.richtext-attach li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); }
.richtext-attach li:first-child { border-top: none; }
.richtext-attach .attach-ext {
  flex-shrink: 0; min-width: 34px; padding: 2px 6px; border-radius: 4px;
  background: #eef2f6; color: var(--navy); font-size: 11px; font-weight: 700;
  text-align: center; text-transform: uppercase;
}
.richtext-attach a { flex: 1; min-width: 0; color: var(--brand); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.richtext-attach a:hover { text-decoration: underline; }
.richtext-attach .attach-size { flex-shrink: 0; color: var(--gray); font-size: 13px; }

/* ── 时间线 ── */
.timeline { position: relative; border-left: 2px solid var(--line); padding-left: 30px; margin-left: 6px; }
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item::before {
  content: ""; position: absolute; left: -39px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.timeline-item .year { font-weight: 800; color: var(--brand); font-size: 17px; }
.timeline-item p { margin: 6px 0 0; color: var(--ink-2); }

/* ── 页脚 ── */
.site-footer { background: var(--navy-deep); color: #a7bccd; padding: 64px 0 0; font-size: 14.5px; }
.site-footer .container { display: grid; grid-template-columns: 2fr .9fr .9fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 16px; letter-spacing: .5px; }
.site-footer a { color: #a7bccd; line-height: 2.1; }
.site-footer a:hover { color: var(--brand); }
.site-footer .brand-line { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.site-footer .desc { line-height: 1.8; }
.site-footer .hotline { color: var(--gold); font-size: 20px; font-weight: 700; }
.site-footer .copyright { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 96px; text-align: center; font-size: 13px; color: #6d8294; }

/* ── 移动端底部转化栏 ── */
.mobile-bar { display: none; }

/* ── 响应式 ── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero .container { gap: 36px; }
  .hero-text h1 { font-size: 38px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; height: auto; flex: none;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(16, 42, 67, .16);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav > a, .nav-drop > .drop-toggle { height: 50px; padding: 0 26px; border-bottom: 1px solid var(--line); }
  .main-nav > a::after, .nav-drop > .drop-toggle::after { display: none; }
  .main-nav > a.active, .nav-drop.active > .drop-toggle { background: var(--brand-soft); }
  .nav-drop { display: block; height: auto; }
  .drop-menu { display: none !important; }
  .header-cta .cta-link { display: none; }
}
@media (max-width: 991px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .business-tabs .container { grid-template-columns: 1fr; }
  .hero .container { flex-direction: column; align-items: stretch; }
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .top-bar { display: none; }
  .site-header { height: 60px; }
  .main-nav { top: 60px; }
  .brand img { height: 38px; }
  .hero { padding: 56px 0 64px; }
  .hero-text h1 { font-size: 29px; }
  .hero-stats { gap: 26px; }
  .hero-stat b { font-size: 27px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 25px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,42,67,.1);
  }
  .mobile-bar a { flex: 1; text-align: center; padding: 13px 0; font-size: 14px; color: var(--navy); font-weight: 500; }
  .mobile-bar a.primary { background: var(--brand); color: #fff; font-weight: 600; }
}

/* ── 资讯「要点速览」（SEO/GEO：让引擎与读者先看到结构化要点）── */
.news-hl {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0 26px;
}
.news-hl-head { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.news-hl-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 0; }
.news-hl-item { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; }
.news-hl-item dt { color: var(--gray); min-width: 68px; flex-shrink: 0; margin: 0; }
.news-hl-item dd { margin: 0; color: var(--navy); font-weight: 600; }
.news-hl-note { margin: 12px 0 0; font-size: 12px; color: var(--gray-2); }
@media (max-width: 640px) { .news-hl-list { grid-template-columns: 1fr; } }

/* ── 资讯互动：点赞 / 分享 / 评论 ── */
.news-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 26px 0 6px; padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.na-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--navy); font-family: inherit;
  transition: all .16s;
}
.na-btn:hover { border-color: var(--brand); color: var(--brand); }
.na-btn.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.na-icon { font-size: 15px; line-height: 1; }
.na-stat { margin-left: auto; font-size: 13px; color: var(--gray-2); }

.na-toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(8px);
  background: rgba(22, 50, 74, .92); color: #fff; font-size: 14px;
  padding: 10px 20px; border-radius: 20px; opacity: 0; pointer-events: none;
  transition: all .2s; z-index: 999;
}
.na-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── 评论 ── */
.comments { margin-top: 36px; }
.comments-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.comments-head h3 { margin: 0; font-size: 19px; }
.comments-note { font-size: 12.5px; color: var(--gray-2); }

.comment-form { margin-bottom: 24px; }
.cf-row { margin-bottom: 10px; }
.comment-form input[type=text],
.comment-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; font-size: 14px; font-family: inherit; color: var(--navy);
  background: #fff;
}
.comment-form textarea { min-height: 96px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(242,101,34,.1);
}
.cf-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cf-count { font-size: 12.5px; color: var(--gray-2); }

.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.comment-item:last-child { border-bottom: none; }
.comment-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.comment-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.comment-time { font-size: 12px; color: var(--gray-2); }
.comment-text { margin: 0; font-size: 14.5px; line-height: 1.8; color: #374151; }
.comment-reply { margin: 6px 0 0; font-size: 12.5px; color: var(--gray-2); }
.comment-empty { padding: 20px 0; font-size: 14px; color: var(--gray-2); }

/* ── 栏目最后更新时间 ── */
.section-updated {
  display: inline-block; margin-top: 10px;
  font-size: 12.5px; color: var(--gray-2);
}
.section-updated::before { content: "↻ "; }

@media (max-width: 640px) {
  .news-actions { gap: 8px; }
  .na-btn { padding: 7px 12px; font-size: 13px; }
  .na-stat { width: 100%; margin-left: 0; }
}

/* ── 栏目页底部更新时间 ── */
.section-updated-foot {
  margin: 30px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--gray-2);
  text-align: right;
  letter-spacing: .3px;
}
@media (max-width: 640px) {
  .section-updated-foot { text-align: left; }
}

/* ── 资讯互动条（点赞 / 评论 / 分享） ── */
.nd-actions {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 28px 0 8px; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.nd-act {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--navy); font-family: inherit;
  transition: all .16s; text-decoration: none;
}
.nd-act svg { width: 17px; height: 17px; flex-shrink: 0; }
.nd-act:hover { border-color: var(--brand); color: var(--brand); }
.nd-act.is-on {
  background: var(--brand-soft); border-color: var(--brand);
  color: var(--brand-dark);
}
.nd-act.is-on svg { fill: var(--brand); stroke: var(--brand); }
.nd-act-count {
  font-variant-numeric: tabular-nums; color: var(--gray-2); font-size: 13.5px;
}
.nd-act.is-on .nd-act-count { color: var(--brand-dark); }

.nd-toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(8px);
  background: rgba(22, 50, 74, .93); color: #fff; font-size: 14px;
  padding: 10px 20px; border-radius: 20px; opacity: 0; pointer-events: none;
  transition: all .2s; z-index: 999; max-width: 80vw; text-align: center;
}
.nd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── 评论区 ── */
.nd-comments { margin-top: 38px; }
.nd-comments-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.nd-comments-head h2 { margin: 0; font-size: 19px; }
.nd-comments-head h2 span { color: var(--brand); font-size: 15px; margin-left: 4px; }
.nd-notice-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 13px; color: var(--gray-2); font-family: inherit;
  border-bottom: 1px dashed var(--gray-2);
}
.nd-notice-link:hover { color: var(--brand); border-color: var(--brand); }

.nd-comment-form {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; margin-bottom: 26px;
}
.nd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nd-cf-nickrow { display: flex; gap: 10px; margin-bottom: 10px; }
.nd-cf-nick {
  flex: 1; height: 42px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 14px; font-family: inherit; color: var(--navy);
}
.nd-cf-dice {
  flex-shrink: 0; padding: 0 16px; border: 1px solid var(--line); border-radius: 9px;
  background: #fafbfc; color: var(--navy); font-size: 13px; cursor: pointer;
  font-family: inherit;
}
.nd-cf-dice:hover { border-color: var(--brand); color: var(--brand); }
.nd-cf-text {
  width: 100%; min-height: 96px; padding: 12px 14px; resize: vertical;
  border: 1px solid var(--line); border-radius: 9px;
  font-size: 14.5px; font-family: inherit; color: var(--navy); line-height: 1.7;
}
.nd-cf-nick:focus, .nd-cf-text:focus, .nd-r-nick:focus, .nd-r-textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(242,101,34,.1);
}
.nd-cf-foot {
  display: flex; align-items: center; justify-content: space-between; margin-top: 10px;
}
.nd-cf-count { font-size: 12.5px; color: var(--gray-2); font-variant-numeric: tabular-nums; }
.nd-cf-submit {
  padding: 10px 26px; border: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #ff7a34, var(--brand));
  color: #fff; font-size: 14.5px; font-weight: 600; font-family: inherit;
  box-shadow: 0 6px 14px rgba(242,101,34,.28);
}
.nd-cf-submit:disabled { opacity: .6; cursor: not-allowed; }
.nd-cf-msg { margin-top: 8px; font-size: 13px; color: #c0392b; }
.nd-cf-closed { color: var(--gray); font-size: 14px; margin-bottom: 20px; }

.nd-comment-list { list-style: none; margin: 0; padding: 0; }
.nd-comment { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.nd-comment:last-child { border-bottom: none; }
.nd-c-avatar {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
}
.nd-c-body { flex: 1; min-width: 0; }
.nd-c-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.nd-c-name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.nd-c-badge {
  font-size: 11px; padding: 1px 6px; border-radius: 4px;
  background: var(--brand); color: #fff; font-weight: 500;
}
.nd-c-time { font-size: 12px; color: var(--gray-2); }
.nd-c-text { font-size: 14.5px; line-height: 1.85; color: #374151; word-break: break-word; }
.nd-c-meta {
  display: flex; gap: 14px; align-items: center;
  margin-top: 8px; font-size: 12px; color: var(--gray-2);
}
.nd-c-reply-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12px; color: var(--gray-2); font-family: inherit;
}
.nd-c-reply-btn:hover { color: var(--brand); }

.nd-replies { list-style: none; margin: 10px 0 0; padding-left: 14px; border-left: 2px solid var(--line); }
.nd-reply { padding: 8px 0; }
.nd-r-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.nd-r-name { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.nd-r-time { font-size: 11.5px; color: var(--gray-2); }
.nd-r-text { font-size: 14px; line-height: 1.8; color: #374151; }
.nd-r-meta { font-size: 11.5px; color: var(--gray-2); margin-top: 4px; }

.nd-reply-form {
  margin-top: 10px; padding: 12px; border-radius: 10px; background: #fafbfc;
  border: 1px solid var(--line);
}
.nd-r-nick, .nd-r-textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 12px; font-size: 13.5px; font-family: inherit; color: var(--navy);
  margin-bottom: 8px;
}
.nd-r-textarea { min-height: 72px; resize: vertical; }
.nd-r-foot { display: flex; gap: 10px; justify-content: flex-end; }
.nd-r-cancel, .nd-r-send {
  padding: 7px 16px; border-radius: 8px; font-size: 13px; cursor: pointer;
  font-family: inherit; border: 1px solid var(--line); background: #fff; color: var(--navy);
}
.nd-r-send { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.nd-r-msg { font-size: 12.5px; color: #c0392b; margin-top: 6px; }
.nd-c-empty { padding: 22px 0; color: var(--gray-2); font-size: 14px; }

/* 评论须知弹窗 */
.nd-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.nd-modal[hidden] { display: none; }
.nd-modal-mask { position: absolute; inset: 0; background: rgba(15, 34, 51, .55); }
.nd-modal-box {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  background: #fff; border-radius: 16px; padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.nd-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nd-modal-head h3 { margin: 0; font-size: 17px; }
.nd-modal-x {
  background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer;
  color: var(--gray-2); padding: 0 4px;
}
.nd-modal-body { font-size: 14px; line-height: 1.9; color: #374151; max-height: 60vh; overflow: auto; }

@media (max-width: 640px) {
  .nd-actions { gap: 8px; }
  .nd-act { padding: 8px 14px; font-size: 13px; }
  .nd-act svg { width: 16px; height: 16px; }
  .nd-comment { gap: 10px; }
  .nd-c-avatar { width: 32px; height: 32px; font-size: 14px; }
  .nd-cf-nickrow { flex-direction: column; }
  .nd-cf-dice { height: 38px; }
}

/* ── 栏目补充内容（SEO/GEO 长文本区）── */
.section-body {
  max-width: 860px; margin: 48px auto 0; padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.95; color: #374151;
}
.section-body h3 {
  margin: 30px 0 12px; font-size: 17.5px; color: var(--navy);
  padding-left: 12px; border-left: 3px solid var(--brand); line-height: 1.4;
}
.section-body h3:first-child { margin-top: 0; }
.section-body p { margin: 0 0 14px; }
.section-body ul { margin: 0 0 16px; padding-left: 20px; }
.section-body li { margin-bottom: 8px; }
.section-body b { color: var(--navy); font-weight: 600; }

@media (max-width: 640px) {
  .section-body { font-size: 14.5px; line-height: 1.9; margin-top: 34px; }
  .section-body h3 { font-size: 16px; }
}

/* ── 转载说明 ── */
.news-origin {
  margin: 28px 0 0; padding: 16px 18px; border-radius: 12px;
  background: #fff8f2; border: 1px solid #f6d6bf;
}
.news-origin-head {
  font-size: 14px; font-weight: 700; color: #b45309; margin-bottom: 10px;
}
.news-origin ul { list-style: none; margin: 0; padding: 0; }
.news-origin li {
  display: flex; gap: 10px; font-size: 13.5px; line-height: 1.8; color: #4b5563;
  margin-bottom: 6px;
}
.news-origin li span {
  flex-shrink: 0; width: 72px; color: #9a6b45; font-weight: 600;
}
.news-origin a { color: #b45309; text-decoration: underline; word-break: break-all; }

/* ── 内容来源与审核 ── */
.news-verify {
  margin: 20px 0 0; padding: 16px 18px; border-radius: 12px;
  background: #f8fafc; border: 1px solid #e5e9ee;
}
.news-verify-head {
  font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.news-verify-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
.news-verify-grid div {
  display: flex; gap: 8px; font-size: 13.5px; line-height: 1.7; color: #4b5563;
}
.news-verify-grid span { flex-shrink: 0; width: 68px; color: #94a3b8; }
.news-verify-grid b { font-weight: 600; color: #374151; }
.news-verify-grid b.ok { color: #047857; }
.news-verify-grid b.warn { color: #b45309; }
.news-verify-grid b.bad { color: #dc2626; }
.news-verify-note {
  margin: 12px 0 0; font-size: 12.5px; color: #94a3b8; line-height: 1.7;
}
.news-verify-note a { color: var(--brand); }

@media (max-width: 640px) {
  .news-verify-grid { grid-template-columns: 1fr; }
}

/* ── B 站视频嵌入（编辑器里是占位块，前台渲染成播放器）── */
.bili-embed {
  position: relative; width: 100%; margin: 24px 0;
  border-radius: 12px; overflow: hidden; background: #0f172a;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .12);
}
.bili-embed[data-aspect="16:9"], .bili-embed:not([data-aspect]) { aspect-ratio: 16 / 9; }
.bili-embed[data-aspect="9:16"] { aspect-ratio: 9 / 16; max-width: 420px; margin-left: auto; margin-right: auto; }
.bili-embed[data-aspect="1:1"] { aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; margin-right: auto; }
.bili-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
}
.news-body iframe { max-width: 100%; }

@media (max-width: 640px) {
  .bili-embed { margin: 18px 0; border-radius: 10px; }
}

/* ── 后台预览模式横幅 ── */
.preview-bar {
  background: #fff7ed; border-bottom: 1px solid #fed7aa;
  position: sticky; top: 0; z-index: 50;
}
.preview-bar-inner {
  max-width: 900px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13.5px; color: #9a3412;
}
.preview-tag {
  flex-shrink: 0; background: #F26522; color: #fff; font-size: 12px;
  font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.preview-text { flex: 1; min-width: 220px; line-height: 1.6; }
.preview-back {
  flex-shrink: 0; color: #9a3412; text-decoration: underline; font-size: 13px;
}

/* ── 原创 / 转载 标识 ── */
.origin-tag { font-weight: 700; letter-spacing: .3px; }
.origin-tag.original {
  background: #fff1e8; color: #c2410c; border: 1px solid #fed7aa;
}
.origin-tag.repost {
  background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0;
}

/* ══════════════════════════════════════════════════════════
   原创文章 / 转载文章：两种完全不同的版式
   · 原创  → 杂志式阅读版式：干净正文，大字号、宽行距
   · 转载  → 公告文档版式：解读框 + 原文面板 + 来源信息条
   ══════════════════════════════════════════════════════════ */

/* ── 转载：顶部来源信息条 ── */
.news-src-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin: 18px 0 22px; padding: 12px 16px;
  background: #f8fafc; border: 1px solid #e9eef3;
  border-left: 4px solid #16324a; border-radius: 8px;
  font-size: 13.5px; color: #4b5563;
}
.news-src-bar .src-k { color: #9aa5b1; font-size: 12.5px; }
.news-src-bar b { color: #16324a; font-size: 14px; }
.news-src-bar a {
  color: #c2410c; font-weight: 600; text-decoration: none;
  padding: 3px 10px; border: 1px solid #fed7aa; border-radius: 20px;
  background: #fff7ed; font-size: 12.5px;
}
.news-src-bar a:hover { background: #F26522; color: #fff; border-color: #F26522; }
.news-src-bar .src-time { margin-left: auto; color: #9aa5b1; font-size: 12.5px; }

/* ── 原创：杂志式阅读版式 ── */
.news-body--original {
  font-size: 16.5px; line-height: 2.05; color: #3f4753;
}
.news-body--original p { margin: 0 0 22px; }
.news-body--original .seo-prefix,
.news-body--original .seo-suffix { display: none; }
.news-body--original .source-original-title { display: none; }
.news-body--original > p:first-child,
.news-body--original .source-original > p:first-child {
  font-size: 17.5px; color: #16324a; font-weight: 600; line-height: 1.9;
}
.news-body--original img { border-radius: 12px; margin: 6px 0 22px; }
.news-body--original h2, .news-body--original h3 { color: #16324a; margin: 30px 0 14px; }
.news-body--original blockquote {
  border-left: 4px solid #F26522; background: #fff8f4;
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 24px 0; color: #6b7280;
}

/* ── 转载：公告文档版式 ── */
.news-body--repost { font-size: 15px; line-height: 1.9; color: #4b5563; }
.news-body--repost .seo-prefix {
  background: #fff7ed; border-left: 4px solid #F26522;
  border-radius: 0 10px 10px 0; padding: 18px 20px; margin: 0 0 24px;
}
.news-body--repost .seo-prefix-title {
  display: inline-block; font-size: 13px; font-weight: 700; color: #c2410c;
  background: #fff; border-radius: 4px; padding: 3px 10px; margin-bottom: 10px;
}
.news-body--repost .seo-prefix p { margin: 0 0 10px; font-size: 14.5px; color: #7c4a2d; }
.news-body--repost .seo-prefix p:last-child { margin-bottom: 0; }
.news-body--repost .source-original {
  background: #fbfcfd; border: 1px solid #e9eef3; border-radius: 10px;
  padding: 20px 22px 6px; margin: 0 0 22px;
}
.news-body--repost .source-original-title {
  display: inline-block; background: #16324a; color: #fff;
  font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 4px;
  margin-bottom: 14px; letter-spacing: .5px;
}
.news-body--repost .source-original p { margin: 0 0 14px; }
.news-body--repost .seo-suffix {
  font-size: 13px; color: #94a3b8; border-top: 1px dashed #e5e7eb;
  padding-top: 14px; margin-top: 6px;
}
.news-body--repost img { border-radius: 6px; }

@media (max-width: 640px) {
  .news-src-bar { font-size: 13px; }
  .news-src-bar .src-time { margin-left: 0; }
  .news-body--original { font-size: 16px; line-height: 1.95; }
  .news-body--repost .source-original { padding: 16px 14px 4px; }
}

/* ── 三种来源的标识配色 ── */
.origin-tag.original { background: #fff1e8; color: #c2410c; border: 1px solid #fed7aa; }
.origin-tag.manual   { background: #eef4ff; color: #1d4ed8; border: 1px solid #c7d7fe; }
.origin-tag.fetched  { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

/* ── 人工转载：文章版式 + 引用式原文 ── */
.news-body--manual {
  font-size: 16px; line-height: 1.95; color: #414a56;
}
.news-body--manual p { margin: 0 0 18px; }
.news-body--manual .seo-prefix {
  background: #f5f8ff; border-left: 4px solid #1d4ed8;
  border-radius: 0 8px 8px 0; padding: 16px 18px; margin: 0 0 20px;
}
.news-body--manual .seo-prefix-title { font-size: 12.5px; font-weight: 700; color: #1d4ed8; margin-bottom: 8px; }
.news-body--manual .seo-prefix p { font-size: 14.5px; color: #3b4a63; margin-bottom: 8px; }
.news-body--manual .seo-prefix p:last-child { margin-bottom: 0; }
.news-body--manual .source-original {
  border-left: 3px solid #d4dbe5; padding: 4px 0 4px 18px; margin: 0 0 20px;
  background: transparent;
}
.news-body--manual .source-original-title {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: #64748b;
  background: #eef2f7; border-radius: 4px; padding: 3px 10px; margin-bottom: 12px;
}
.news-body--manual .seo-suffix {
  font-size: 13px; color: #94a3b8; border-top: 1px dashed #e5e7eb;
  padding-top: 12px; margin-top: 16px;
}
.news-body--manual img { border-radius: 8px; }

/* 转载说明卡片：手动转载放顶部时更醒目 */
.news-origin--top {
  margin: 12px 0 22px;
  border-left: 4px solid #1d4ed8;
  background: #f5f8ff;
}
.news-origin--top .news-origin-head { color: #1d4ed8; }

/* ── 文章标题下的发布部门 ── */
.news-dept {
  display: inline-block; margin: 2px 0 12px;
  font-size: 13.5px; color: #6b7a8c; letter-spacing: .2px;
  padding: 3px 12px; background: #f4f6f9; border-radius: 20px;
}

/* 阅读数（静态展示，不可点击） */
.nd-act-static { cursor: default; }
.nd-act-static:hover { background: transparent; border-color: #e5e7eb; color: inherit; }

/* ── 资讯列表：带封面图的条目 ── */
.news-item--with-cover {
  display: flex; gap: 18px; align-items: flex-start;
}
.news-item-cover {
  flex: 0 0 200px; width: 200px; aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden; background: #eef2f7;
}
.news-item-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.news-item-body { flex: 1; min-width: 0; }
.news-item--with-cover h3 { margin-top: 0; }

@media (max-width: 640px) {
  .news-item--with-cover { gap: 12px; }
  .news-item-cover { flex: 0 0 110px; width: 110px; border-radius: 8px; }
  .news-item--with-cover h3 { font-size: 15.5px; line-height: 1.5; }
}

/* ── 页脚：全站访问统计 ── */
.site-stats {
  text-align: center; font-size: 12.5px; color: rgba(226, 232, 240, .62);
  padding: 4px 0 8px; letter-spacing: .2px;
}
.site-stats b { color: #ffb08a; font-weight: 600; }
.site-stats .ss-dot { margin: 0 8px; opacity: .4; }

@media (max-width: 640px) {
  .site-stats { font-size: 11.5px; line-height: 1.8; }
  .site-stats .ss-dot { margin: 0 4px; }
}

/* ══ 加微信领资料（全站底部）══ */
.follow-box { background: #f7f9fc; border-top: 1px solid #e9eef3; padding: 34px 0; }
.follow-inner {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  background: linear-gradient(115deg, #16324a 0%, #21506f 55%, #b8471c 100%);
  border-radius: 16px; padding: 26px 32px; color: #fff;
  box-shadow: 0 10px 30px rgba(22, 50, 74, .16);
}
.follow-left { flex: 1 1 420px; min-width: 0; }
.follow-kicker {
  font-size: 12.5px; letter-spacing: 2px; color: #ffd0b0;
  text-transform: uppercase; margin-bottom: 8px;
}
.follow-left h3 { font-size: 24px; margin: 0 0 12px; color: #fff; }
.follow-list { margin: 0 0 16px; padding-left: 19px; line-height: 2; font-size: 14.5px; color: #dbe6f0; }
.follow-btn {
  display: inline-block; padding: 10px 20px; border-radius: 24px;
  background: #F26522; color: #fff !important; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .2s;
}
.follow-btn:hover { background: #ff7a3d; }
.follow-right { flex: 0 0 auto; text-align: center; }
.follow-qr {
  width: 168px; height: 168px; background: #fff; border-radius: 12px;
  padding: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.follow-qr img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 6px; }
.follow-right p { margin: 10px 0 0; font-size: 12.5px; color: #cfe0ee; }

@media (max-width: 720px) {
  .follow-inner { padding: 22px 18px; gap: 20px; }
  .follow-left h3 { font-size: 19px; }
  .follow-list { font-size: 13.5px; }
  .follow-qr { width: 132px; height: 132px; }
  .follow-right { margin: 0 auto; }
}

/* ══ 资料网课：分类入口 ══ */
.mat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 28px; margin: 8px 0 26px; padding: 24px 26px;
  background: #fff; border: 1px solid #e9eef3; border-radius: 14px;
}
.mat-title {
  font-size: 16.5px; color: #16324a; margin: 0 0 10px; padding-bottom: 8px;
  border-bottom: 2px solid #F26522; display: inline-block;
}
.mat-list { list-style: none; margin: 0 0 10px; padding: 0; }
.mat-list li { margin: 0 0 6px; }
.mat-list a {
  color: #4b5563; font-size: 14px; text-decoration: none;
  transition: color .15s;
}
.mat-list a:hover { color: #F26522; }
.mat-more { font-size: 12.5px; color: #9aa5b1; text-decoration: none; }
.mat-more:hover { color: #F26522; }

@media (max-width: 900px) {
  .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px 16px; }
}
@media (max-width: 520px) {
  .mat-grid { grid-template-columns: 1fr; }
}

/* ══ 资料网课：资料卡片 ══ */
.res-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin: 8px 0 30px;
}
.res-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #e9eef3; border-radius: 14px; padding: 18px 20px;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.res-card:hover {
  border-color: #f6c7ac; box-shadow: 0 8px 24px rgba(22, 50, 74, .08);
  transform: translateY(-2px);
}
.res-top { display: flex; gap: 8px; margin-bottom: 10px; }
.res-tag {
  font-size: 12px; padding: 2px 9px; border-radius: 20px;
  background: #fff1e8; color: #c2410c; font-weight: 600;
}
.res-tag--link { background: #eef4ff; color: #1d4ed8; }
.res-title { font-size: 16px; color: #16324a; margin: 0 0 8px; line-height: 1.6; }
.res-sum { font-size: 13.5px; color: #6b7280; line-height: 1.75; margin: 0 0 14px; flex: 1; }
.res-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.res-meta { font-size: 12.5px; color: #9aa5b1; }
.res-btn {
  font-size: 13px; padding: 6px 16px; border-radius: 20px;
  background: #F26522; color: #fff !important; text-decoration: none; font-weight: 600;
}
.res-btn:hover { background: #ff7a3d; }

.res-empty {
  text-align: center; padding: 46px 20px; background: #f8fafc;
  border: 1px dashed #dbe3ec; border-radius: 14px; color: #6b7280;
}
.res-empty p { margin: 0 0 8px; }
.res-empty-sub { font-size: 13.5px; color: #9aa5b1; }
.res-empty a { color: #F26522; }

@media (max-width: 960px) {
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .res-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── 资料页：引导加微信 ── */
.mat-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  background: linear-gradient(115deg, #16324a, #21506f);
  border-radius: 12px; padding: 16px 22px; margin: 0 0 14px; color: #fff;
}
.mat-cta-text { font-size: 14.5px; color: #dbe6f0; line-height: 1.7; }
.mat-cta-text b { color: #ffd0b0; font-size: 15.5px; margin-right: 6px; }
.mat-cta-btn {
  flex-shrink: 0; padding: 9px 20px; border-radius: 22px;
  background: #F26522; color: #fff !important; font-size: 14px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.mat-cta-btn:hover { background: #ff7a3d; }

/* 分类条目不再可点 */
.mat-list li span { color: #4b5563; font-size: 14px; display: inline-block; }
.mat-list li { cursor: default; }

/* ── 翻页：首页/末页/跳页 ── */
.pagination { flex-wrap: wrap; }
.page-btn.disabled {
  color: #c3cbd6; background: #f7f9fc; cursor: not-allowed;
  pointer-events: none; border-color: #eef2f7;
}
.page-jump {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px; font-size: 13.5px; color: #6b7280;
}
.page-jump-label { white-space: nowrap; }
.page-jump-input {
  width: 58px; padding: 5px 8px; text-align: center;
  border: 1px solid #dbe3ec; border-radius: 8px; font-size: 13.5px;
}
.page-jump-input:focus { outline: none; border-color: #F26522; }
.page-jump-btn {
  padding: 5px 12px; border: 1px solid #F26522; border-radius: 8px;
  background: #fff; color: #c2410c; font-size: 13px; cursor: pointer;
}
.page-jump-btn:hover { background: #F26522; color: #fff; }

@media (max-width: 640px) {
  .page-jump { margin: 10px 0 0; width: 100%; justify-content: center; }
}


/* ══════════════════════════════════════════════════════════
   手机端整体优化（≤767px）：排版、间距、卡片、筛选、翻页
   ══════════════════════════════════════════════════════════ */
.page-title { font-size: 36px; }

@media (max-width: 767px) {

  /* ── 基础排版 ── */
  body { font-size: 14.5px; line-height: 1.8; }
  .container { padding: 0 16px; }
  .section { padding: 34px 0; }
  .section-head { margin-bottom: 22px; }
  .page-title { font-size: 22px !important; line-height: 1.42; letter-spacing: 0; }
  .section-head h2 { font-size: 21px; letter-spacing: 0; }
  .section-head .lead { font-size: 14px; line-height: 1.75; }
  .section-head .eyebrow { font-size: 11px; letter-spacing: 2px; }
  h1, h2, h3, h4 { line-height: 1.42; }

  /* ── 头部：更紧凑 ── */
  .site-header { height: 56px; }
  .brand img { height: 32px; }
  .main-nav { top: 56px; }
  .main-nav > a, .nav-drop > .drop-toggle { height: 46px; padding: 0 20px; font-size: 14.5px; }
  .header-cta { margin-left: 8px; gap: 8px; }
  .header-cta .btn { padding: 8px 14px; font-size: 13px; }
  .nav-toggle { width: 38px; height: 38px; }

  /* ── 搜索 / 筛选 ── */
  .campus-filter { padding: 12px 14px; gap: 10px; border-radius: 12px; }
  .campus-filter .label { font-size: 13.5px; }
  .campus-filter .search-input {
    flex: 1 1 100%; height: 40px; font-size: 14px; border-radius: 8px;
  }
  .campus-filter .search-btn { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 8px; }
  .campus-select { flex: 1 1 auto; height: 38px; font-size: 13.5px; }
  .filter-bar, .campus-tabs {
    flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 3px;
    margin-bottom: 16px; -webkit-overflow-scrolling: touch;
  }
  .filter-bar::-webkit-scrollbar, .campus-tabs::-webkit-scrollbar { display: none; }
  .filter-bar a, .campus-tabs .tab {
    flex: 0 0 auto; padding: 6px 14px; font-size: 13px; white-space: nowrap;
  }
  .job-select-row { gap: 8px; }
  .job-select-row select { flex: 1 1 calc(50% - 4px); height: 38px; font-size: 13.5px; }
  .job-search-row { gap: 8px; }

  /* ── 卡片与网格 ── */
  .grid { gap: 14px; }
  .card { padding: 16px; border-radius: 12px; }
  .card h3 { font-size: 16.5px; }

  /* ── 资讯列表 ── */
  .news-item { padding: 13px 14px; border-radius: 12px; }
  .news-item h3 { font-size: 15.5px; line-height: 1.55; margin-bottom: 8px; }
  .news-item .meta { font-size: 12.5px; line-height: 1.95; }
  .news-item--with-cover { gap: 11px; }
  .news-item-cover { flex: 0 0 96px; width: 96px; border-radius: 8px; }
  .news-item .tag { font-size: 11.5px; padding: 2px 8px; }

  /* ── 岗位卡片 ── */
  .job-card { padding: 14px 15px; margin-bottom: 12px; border-radius: 12px; }
  .job-title { font-size: 15.5px; line-height: 1.5; }
  .job-meta { font-size: 12.5px; }
  .job-meta-grid { gap: 6px 12px; }
  .job-foot { gap: 12px; flex-wrap: wrap; }
  .job-link, .brand-link { font-size: 13px; }

  /* ── 师资 / 课程卡片 ── */
  .faculty-card .avatar { width: 84px; height: 84px; margin-bottom: 10px; }
  .faculty-card .name { font-size: 17px; }
  .course-group-title { font-size: 17px; }

  /* ── 资讯详情 ── */
  .news-head h1 { font-size: 21px; line-height: 1.5; }
  .news-meta { font-size: 12.5px; gap: 6px 12px; }
  .news-dept { font-size: 12px; padding: 2px 10px; }
  .news-body--original { font-size: 15.5px; line-height: 1.95; }
  .news-body--repost, .news-body--manual { font-size: 14.5px; line-height: 1.85; }
  .news-body--original img, .news-body--repost img { border-radius: 8px; }
  .news-hl { padding: 14px 16px; }
  .news-verify { padding: 14px 16px; }
  .news-verify-grid { gap: 8px 12px; font-size: 12.5px; }
  .nd-actions { gap: 8px; }
  .nd-act { font-size: 13px; padding: 7px 12px; }
  .news-src-bar { font-size: 12.5px; padding: 10px 12px; }

  /* ── 翻页 ── */
  .pagination { gap: 6px; margin-top: 18px; }
  .page-btn { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
  .page-jump { width: 100%; justify-content: center; margin: 12px 0 0; font-size: 12.5px; }

  /* ── 页脚与转化区 ── */
  .site-footer { padding: 30px 0 54px; }
  .site-footer h4 { font-size: 14px; margin-bottom: 8px; }
  .site-footer a, .site-footer p { font-size: 13px; }
  .hotline { font-size: 18px; }
  .site-stats { font-size: 11.5px; }
  .follow-inner { padding: 18px 16px; gap: 16px; border-radius: 14px; }
  .follow-left h3 { font-size: 18px; }
  .follow-list { font-size: 13px; line-height: 1.9; }
  .follow-qr { width: 120px; height: 120px; }
  .follow-right { width: 100%; }

  /* ── 资料页 ── */
  .mat-cta { padding: 14px 16px; }
  .mat-cta-text { font-size: 13.5px; }
  .mat-cta-btn { width: 100%; text-align: center; }
  .mat-grid { padding: 16px; }
  .mat-title { font-size: 15px; }
  .res-card { padding: 15px 16px; }

  /* ── 时间轴 / 数据行 ── */
  .timeline-item { padding-left: 20px; }
  .data-item b { font-size: 20px; }
}

@media (max-width: 380px) {
  .page-title { font-size: 20px !important; }
  .news-item-cover { flex: 0 0 84px; width: 84px; }
  .header-cta .btn { display: none; }   /* 超小屏只留汉堡 + 底部转化栏 */
}


/* ── 手机端第二轮细节 ── */
@media (max-width: 767px) {

  /* 搜索框和按钮同一行 */
  .campus-filter .search-input { flex: 1 1 auto; min-width: 0; }
  .campus-filter .search-btn { flex: 0 0 auto; }
  .campus-filter .search-row { display: flex; gap: 8px; width: 100%; }

  /* 日期不拆行 */
  .meta-date { white-space: nowrap; }

  /* 资料分类：两列 + 标签式条目，页面更短 */
  .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding: 16px 14px; }
  .mat-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
  .mat-list li { margin: 0; }
  .mat-list li span {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    background: #f4f6f9; color: #4b5563; font-size: 12.5px; line-height: 1.7;
  }
  .mat-title { font-size: 15px; margin-bottom: 8px; }

  /* 岗位卡片更紧凑 */
  .job-card { padding: 13px 14px; margin-bottom: 10px; }
  .job-head { gap: 8px; margin-bottom: 8px; }
  .job-title { font-size: 15px; }
  .job-meta-grid { gap: 4px 12px; margin-bottom: 8px; }
  .job-meta { font-size: 12.5px; line-height: 1.7; }
  .job-foot { margin-top: 8px; }

  /* 首页 hero 徽标更小，避免两行 */
  .hero-eyebrow { font-size: 11.5px; padding: 4px 12px; letter-spacing: .5px; }
  .hero-text h1 { font-size: 26px; margin: 14px 0 12px; }
  .hero-text .sub { font-size: 15px; margin-bottom: 20px; }
  .hero { padding: 40px 0 46px; }

  /* 卡片正文行高 */
  .section-body { font-size: 14.5px; line-height: 1.9; padding: 18px 16px; }
}

@media (max-width: 380px) {
  .mat-grid { grid-template-columns: 1fr; }
}


/* ── 手机端第三轮细节 ── */
@media (max-width: 767px) {

  /* 筛选标签（「按科目」这类）不折行 */
  .filter-bar .label {
    white-space: nowrap; flex: 0 0 auto; margin-right: 0;
    font-size: 13px; color: var(--gray-2);
  }

  /* 页脚链接更紧凑 */
  .site-footer .container { gap: 20px; padding-bottom: 26px; }
  .site-footer a {
    display: inline-block; padding: 2px 0; line-height: 1.9; font-size: 13px;
  }
  .site-footer p { margin-bottom: 8px; }
  .site-footer h4 { margin-bottom: 6px; padding-bottom: 4px; }

  /* 师资卡片收紧 */
  .faculty-card { padding: 18px 14px 16px; }
  .faculty-card .avatar { width: 76px; height: 76px; }
  .faculty-card .name { font-size: 16.5px; }
  .faculty-card .meta { font-size: 12.5px; line-height: 1.75; }
  .faculty-card .tag { font-size: 11.5px; padding: 2px 8px; }

  /* 课程卡片 */
  .course-group { margin-bottom: 26px; }
  .course-group-title { font-size: 16px; }

  /* 时间轴 */
  .timeline-item { padding-left: 18px; }
  .timeline-item .year { font-size: 14px; }
  .timeline-item p { font-size: 13.5px; }

  /* 数据行 */
  .data-item b { font-size: 19px; }
  .data-item span { font-size: 12.5px; }
}

/* ══ 资料网课落地页（原 material.css，合并进来避免单独文件加载失败）══ */
/* ══════════════════════════════════════════════════════════
   资料网课：加微信领资料的转化落地页
   ══════════════════════════════════════════════════════════ */

/* ── 首屏 ── */
.mat-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #16324a 0%, #1d4664 58%, #b8471c 100%);
  padding: 56px 0 58px;
}
.mat-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.mat-hero-inner {
  position: relative; display: flex; align-items: center; gap: 48px;
}
.mat-hero-text { flex: 1 1 auto; min-width: 0; }
.mat-hero-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(242, 101, 34, .22); border: 1px solid rgba(255, 154, 102, .5);
  color: #ffd2b8; font-size: 12.5px; font-weight: 600; letter-spacing: 1px;
}
.mat-hero h1 {
  color: #fff; font-size: 42px; line-height: 1.28; margin: 16px 0 16px;
  font-weight: 800; letter-spacing: 1px;
}
.mat-hero h1 em { font-style: normal; color: #ff9a66; }
.mat-hero-sub {
  font-size: 16px; line-height: 1.85; color: #cfdeea; max-width: 620px; margin-bottom: 18px;
}
.mat-hero-points { list-style: none; margin: 0 0 24px; padding: 0; }
.mat-hero-points li {
  position: relative; padding-left: 24px; margin-bottom: 8px;
  font-size: 14.5px; color: #dbe7f1;
}
.mat-hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #7fe3a8; font-weight: 700;
}
.mat-hero-points li b { color: #fff; }
.mat-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mat-btn-main {
  display: inline-block; padding: 14px 32px; border-radius: 999px;
  background: #F26522; color: #fff !important; font-size: 16px; font-weight: 700;
  text-decoration: none; box-shadow: 0 10px 24px rgba(242, 101, 34, .35);
  transition: transform .16s, background .16s;
}
.mat-btn-main:hover { background: #ff7a3d; transform: translateY(-1px); }
.mat-btn-ghost {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff !important;
  font-size: 15px; text-decoration: none; transition: background .16s;
}
.mat-btn-ghost:hover { background: rgba(255,255,255,.12); }
.mat-hero-note { margin: 18px 0 0; font-size: 12.5px; color: #a9c2d8; }
.mat-hero-note b { color: #ffd2b8; }

/* 二维码卡片 */
.mat-hero-qr {
  flex: 0 0 268px; text-align: center;
  background: #fff; border-radius: 20px; padding: 20px 18px 16px;
  box-shadow: 0 18px 44px rgba(6, 20, 33, .38);
}
.mat-qr-frame {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 12px;
  background: #f7f9fc; display: flex; align-items: center; justify-content: center;
  padding: 8px; overflow: hidden;
}
.mat-qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.mat-qr-name { margin: 12px 0 2px; font-size: 14.5px; font-weight: 700; color: #16324a; }
.mat-qr-hint { margin: 0; font-size: 12.5px; color: #6b7a8c; }

/* ── 三步 ── */
.mat-steps { background: #fff; border-bottom: 1px solid #eef2f7; padding: 30px 0 34px; }
.mat-steps .container {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.mat-step {
  position: relative; background: #f8fafc; border: 1px solid #e9eef3;
  border-radius: 14px; padding: 20px 20px 18px;
}
.mat-step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: #F26522; color: #fff;
  font-size: 15px; font-weight: 700; margin-bottom: 10px;
}
.mat-step b { display: block; font-size: 16px; color: #16324a; margin-bottom: 6px; }
.mat-step p { margin: 0; font-size: 13.5px; color: #6b7a8c; line-height: 1.75; }

/* ── 资料目录 ── */
.mat-catalog { background: #fff; }
.mat-col-note { margin: 8px 0 0; font-size: 12px; color: #9aa5b1; }

/* ── 常见疑问 ── */
.mat-faq { background: #f7f9fc; }
.mat-faq-list { max-width: 760px; margin: 0 auto 34px; }
.mat-faq-list details {
  background: #fff; border: 1px solid #e9eef3; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.mat-faq-list summary {
  cursor: pointer; font-size: 15px; font-weight: 600; color: #16324a;
  list-style: none; position: relative; padding-right: 22px;
}
.mat-faq-list summary::-webkit-details-marker { display: none; }
.mat-faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: -2px; color: #F26522;
  font-size: 20px; font-weight: 400;
}
.mat-faq-list details[open] summary::after { content: "−"; }
.mat-faq-list p { margin: 10px 0 0; font-size: 14px; line-height: 1.85; color: #5b6675; }
.mat-faq-list p a { color: #c2410c; text-decoration: underline; }

.mat-final { text-align: center; }
.mat-final p { font-size: 15px; color: #4b5563; margin-bottom: 14px; }

/* ── 手机端 ── */
@media (max-width: 900px) {
  .mat-hero-inner { flex-direction: column; gap: 26px; align-items: stretch; }
  .mat-hero { padding: 34px 0 38px; }
  .mat-hero h1 { font-size: 30px; letter-spacing: 0; }
  .mat-hero-sub { font-size: 14.5px; }
  .mat-hero-qr { order: -1; flex: none; max-width: 260px; margin: 0 auto; }
  .mat-hero-actions { flex-direction: column; align-items: stretch; }
  .mat-btn-main, .mat-btn-ghost { text-align: center; }
  .mat-steps .container { grid-template-columns: 1fr; gap: 10px; }
  .mat-step { padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
  .mat-step-no { grid-row: span 2; margin: 0; }
  .mat-step b { font-size: 15px; margin: 0; }
  .mat-step p { font-size: 13px; }
  .mat-hero-note { font-size: 12px; }
}

/* 手机端悬浮「加微信」按钮 */
.mat-fab {
  display: none; position: fixed; right: 14px; bottom: 64px; z-index: 90;
  padding: 11px 18px; border-radius: 999px; background: #F26522; color: #fff !important;
  font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 22px rgba(242, 101, 34, .45);
}
.mat-fab::before { content: "▣ "; font-size: 13px; }
@media (max-width: 900px) {
  .mat-fab { display: inline-block; }
}

@media (max-width: 767px) {

  /* 资料目录：四个分类各自成卡，标题+计数一行，标签铺满整行 */
  .mat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .mat-col {
    position: relative;
    background: #fff;
    border: 1px solid #e9eef3;
    border-radius: 14px;
    padding: 15px 16px 14px;
    box-shadow: 0 1px 3px rgba(22, 50, 74, .04);
  }
  .mat-title {
    display: block;
    font-size: 16px;
    margin: 0 0 12px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .mat-title::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin-top: 7px;
    background: #F26522;
    border-radius: 2px;
  }
  .mat-col-note {
    position: absolute;
    top: 15px;
    right: 16px;
    margin: 0;
    padding: 2px 9px;
    border-radius: 20px;
    background: #f4f6f9;
    color: #7b8794;
    font-size: 11.5px;
    line-height: 1.7;
  }
  .mat-col-note b { color: #F26522; font-weight: 700; }
  .note-more { display: none; }

  .mat-list { gap: 7px; margin-bottom: 0; }
  .mat-list li span {
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 16px;
    background: #f4f6f9;
    color: #4b5563;
  }
}

/* ── 资料目录：分类配色 + 更精致的卡片（覆盖前面的通用规则）── */
.mat-col { --mc: #F26522; --mc-soft: #fff1e8; }
.mat-col--xingce  { --mc: #F26522; --mc-soft: #fff2ea; }
.mat-col--shenlun { --mc: #2563EB; --mc-soft: #eef4ff; }
.mat-col--mianshi { --mc: #0E9488; --mc-soft: #e8f8f5; }
.mat-col--zhuanye { --mc: #7C3AED; --mc-soft: #f3edff; }
.mat-col--other   { --mc: #64748B; --mc-soft: #f1f5f9; }

.mat-title { color: #16324a; }
.mat-title::after { background: var(--mc); }
.mat-title .mat-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--mc); margin-right: 8px; vertical-align: 2px;
}
.mat-list li span {
  background: var(--mc-soft);
  color: #3f4753;
  border: 1px solid transparent;
  transition: border-color .15s;
}
.mat-col-note b { color: var(--mc); }
.mat-col-note { background: var(--mc-soft); color: #6b7280; }

/* 桌面端：卡片也带主题色 */
.mat-col { border-top: 3px solid var(--mc); }

/* 手机端：每类一张卡，左侧色条 + 标题配色 */
@media (max-width: 767px) {
  .mat-col {
    border: 1px solid #e9eef3;
    border-left: 4px solid var(--mc);
    border-radius: 12px;
    padding: 14px 15px 15px;
  }
  .mat-title { font-size: 15.5px; margin-bottom: 10px; }
  .mat-title::after { display: none; }
  .mat-list { gap: 8px; }
  .mat-list li span {
    padding: 5px 12px; font-size: 13px; border-radius: 14px;
  }
  .mat-col-note {
    top: 14px; right: 14px; font-size: 11px; padding: 2px 8px;
  }
}

/* 目录下方的小提示 */
.mat-catalog-tip {
  margin: 22px auto 0; max-width: 620px; text-align: center;
  font-size: 13.5px; color: #8a94a3; line-height: 1.8;
}
.mat-catalog-tip a { color: #c2410c; font-weight: 600; }

/* ── 热门资讯模块 ── */
.hot-news {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px 8px; margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(22, 50, 74, .05);
}
.hot-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.hot-title {
  font-size: 16px; font-weight: 700; color: var(--navy);
  padding-left: 10px; border-left: 3px solid var(--brand); line-height: 1.2;
}
.hot-sub { font-size: 12.5px; color: var(--gray-2); }
.hot-list { list-style: none; margin: 0; padding: 0; }
.hot-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-top: 1px dashed #eef2f7;
}
.hot-item:first-child { border-top: 0; }
.hot-rank {
  flex: 0 0 22px; height: 22px; border-radius: 6px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; color: #98a2b0; background: #f2f5f9;
}
.hot-item--top .hot-rank { background: var(--brand); color: #fff; }
.hot-body { flex: 1; min-width: 0; }
.hot-link {
  display: block; font-size: 14.5px; color: var(--navy); line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis;
}
.hot-link:hover { color: var(--brand); }
.hot-meta { font-size: 12px; color: var(--gray-2); margin-top: 3px; }
.hot-tag {
  display: inline-block; padding: 0 7px; border-radius: 10px;
  font-size: 11.5px; margin-right: 6px; line-height: 1.7;
}
.hot-tag--orig { background: #fff1e8; color: #c2410c; font-weight: 600; }
.hot-sep { margin: 0 4px; color: #cbd5e1; }

@media (max-width: 767px) {
  .hot-news { padding: 14px 14px 6px; margin-bottom: 18px; border-radius: 12px; }
  .hot-title { font-size: 15px; }
  .hot-sub { display: none; }
  .hot-link { font-size: 14px; }
  .hot-item { gap: 9px; padding: 9px 0; }
}

/* ══ 首页 hero 原创新闻轮播 ══ */
.hero-slider {
  position: relative; padding: 18px 18px 14px; overflow: hidden;
}
.hero-slider[hidden] { display: none; }
.hs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hs-title {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .5px;
}
.hs-title i {
  width: 4px; height: 15px; border-radius: 3px; display: inline-block;
  background: linear-gradient(var(--brand), var(--gold));
}
.hs-ctrl { display: flex; align-items: center; gap: 6px; }
.hs-btn {
  width: 24px; height: 24px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08);
  color: #dbe7f2; font-size: 15px; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .16s, border-color .16s;
}
.hs-btn:hover { background: rgba(242,101,34,.85); border-color: transparent; color: #fff; }
.hs-count { font-size: 12px; color: #9db6cc; }
.hs-count b { color: #ffb38a; }

.hs-viewport { position: relative; height: 232px; }
.hs-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden; text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hs-img {
  display: block; height: 128px; background-size: cover; background-position: center;
}
.hs-text { display: flex; flex-direction: column; gap: 5px; padding: 11px 14px 12px; }
.hs-tag {
  align-self: flex-start; font-size: 11.5px; padding: 1px 9px; border-radius: 10px;
  background: rgba(242,101,34,.22); color: #ffc7a6; font-weight: 600;
}
.hs-h {
  font-size: 15px; font-weight: 700; color: #fff; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hs-p {
  font-size: 12.5px; color: #a9c2d8; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hs-date { font-size: 11.5px; color: #7f9ab3; margin-top: 2px; }
.hs-slide:hover .hs-h { color: #ffb38a; }

.hs-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.hs-dot {
  width: 6px; height: 6px; border-radius: 3px; padding: 0; cursor: pointer;
  border: 0; background: rgba(255,255,255,.3); transition: width .25s, background .25s;
}
.hs-dot.is-active { width: 18px; background: var(--brand); }

/* 无封面时（纯文字轮播）把高度收紧 */
.hs-slide:not(:has(.hs-img)) .hs-text { padding: 16px 16px 14px; gap: 8px; }
.hs-slide:not(:has(.hs-img)) .hs-h { -webkit-line-clamp: 3; font-size: 15.5px; }

@media (max-width: 991px) {
  .hs-viewport { height: 200px; }
  .hs-img { height: 110px; }
}
@media (max-width: 767px) {
  .hero-slider { padding: 14px 14px 12px; }
  .hs-viewport { height: 176px; }
  .hs-img { height: 96px; }
  .hs-h { font-size: 14px; }
  .hs-p { display: none; }
}

/* ── 资讯详情页：热门 / 最新 / 相关 推荐区 ── */
.nd-reco {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line);
}
.nd-box {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px 14px; box-shadow: 0 1px 3px rgba(22,50,74,.04);
}
.nd-box--wide { grid-column: 1 / -1; }
.nd-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.nd-box-title {
  font-size: 16px; font-weight: 700; color: var(--navy);
  padding-left: 10px; border-left: 3px solid var(--brand); line-height: 1.2;
}
.nd-box-title--hot { border-left-color: #ef4444; }
.nd-box-sub, .nd-box-more { font-size: 12.5px; color: var(--gray-2); }
.nd-box-more:hover { color: var(--brand); }

/* 热门排行 */
.nd-rank { list-style: none; margin: 0; padding: 0; }
.nd-rank-item { display: flex; gap: 10px; padding: 9px 0; border-top: 1px dashed #eef2f7; }
.nd-rank-item:first-child { border-top: 0; }
.nd-rank-no {
  flex: 0 0 20px; height: 20px; border-radius: 5px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #98a2b0; background: #f2f5f9;
}
.nd-rank-no.is-top { background: var(--brand); color: #fff; }
.nd-rank-body { flex: 1; min-width: 0; }
.nd-rank-link {
  display: block; font-size: 14px; color: var(--navy); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nd-rank-link:hover { color: var(--brand); }
.nd-rank-meta { font-size: 11.5px; color: var(--gray-2); margin-top: 3px; }
.nd-mini-tag {
  display: inline-block; padding: 0 6px; border-radius: 8px; margin-right: 5px;
  background: #fff1e8; color: #c2410c; font-weight: 600;
}

/* 最新列表 */
.nd-latest { list-style: none; margin: 0; padding: 0; }
.nd-latest-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-top: 1px dashed #eef2f7;
}
.nd-latest-item:first-child { border-top: 0; }
.nd-latest-link {
  flex: 1; min-width: 0; font-size: 14px; color: var(--navy); line-height: 1.55;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nd-latest-link:hover { color: var(--brand); }
.nd-latest-date { flex: 0 0 auto; font-size: 12px; color: var(--gray-2); }

/* 相关阅读卡片 */
.nd-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nd-related-card {
  display: flex; gap: 12px; align-items: center; padding: 10px;
  border: 1px solid #eef2f7; border-radius: 12px; background: #fbfcfe;
  transition: border-color .16s, box-shadow .16s;
}
.nd-related-card:hover { border-color: #f6c7ac; box-shadow: 0 6px 18px rgba(22,50,74,.07); }
.nd-related-cover {
  flex: 0 0 92px; width: 92px; height: 60px; border-radius: 8px;
  background-size: cover; background-position: center; background-color: #eef2f7;
}
.nd-related-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nd-related-tag { font-size: 11.5px; color: var(--brand); font-weight: 600; }
.nd-related-title {
  font-size: 14px; color: var(--navy); font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nd-related-card:hover .nd-related-title { color: var(--brand); }
.nd-related-date { font-size: 11.5px; color: var(--gray-2); }

@media (max-width: 767px) {
  .nd-reco { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; padding-top: 22px; }
  .nd-box { padding: 14px 15px 10px; border-radius: 12px; }
  .nd-box-title { font-size: 15px; }
  .nd-related-grid { grid-template-columns: 1fr; gap: 10px; }
  .nd-related-cover { flex: 0 0 76px; width: 76px; height: 52px; }
  .nd-rank-link, .nd-latest-link { font-size: 13.5px; }
}

/* 修正：热门/最新两栏宽度不对称 */
.nd-reco { grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); align-items: start; }
.nd-box-title { white-space: nowrap; }
.nd-rank-link { font-size: 13.8px; }
@media (max-width: 767px) {
  .nd-reco { grid-template-columns: 1fr; }
}

/* ── 教学点实景照片 ── */
.campus-gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin-bottom: 10px;
}
.cg-item {
  display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #f6f8fb;
  transition: transform .18s, box-shadow .18s;
}
.cg-item:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(22,50,74,.12); }
.cg-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 991px) {
  .campus-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 767px) {
  .campus-gallery { gap: 8px; border-radius: 10px; }
  .cg-item { border-radius: 10px; }
}

/* ══ 首页大屏热门新闻轮播 ══ */
.hb {
  position: relative; width: 100%; height: 420px; overflow: hidden;
  background: #16324a; color: #fff;
}
.hb-track { position: absolute; inset: 0; }

.hb-slide {
  position: absolute; inset: 0; display: block; text-decoration: none;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.hb-slide.is-active { opacity: 1; visibility: visible; }

.hb-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #16324a;
  transform: scale(1.04);
  transition: transform 7s linear;
}
.hb-slide.is-active .hb-bg { transform: scale(1); }

.hb-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,24,38,.92) 0%, rgba(10,24,38,.72) 38%,
              rgba(10,24,38,.28) 68%, rgba(10,24,38,.55) 100%);
}

.hb-inner {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  height: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.hb-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.hb-badge {
  font-size: 12.5px; padding: 3px 12px; border-radius: 20px;
  background: rgba(255,255,255,.16); color: #dbe7f2; font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
}
.hb-badge--hot { background: #E8452C; border-color: #E8452C; color: #fff; }
.hb-badge--orig { background: #F26522; border-color: #F26522; color: #fff; }
.hero-hot-badges .hb-badge { box-shadow: 0 2px 10px rgba(0,0,0,.35); }

.hb-title {
  display: block; font-size: 34px; font-weight: 800; line-height: 1.35;
  color: #fff; letter-spacing: .5px; max-width: 800px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hb-desc {
  display: block; margin-top: 14px; font-size: 15.5px; line-height: 1.8;
  color: #c7d8e6; max-width: 720px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hb-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 18px; font-size: 13.5px; color: #9db6cc;
}
.hb-dot { color: #5c7488; }
.hb-more { color: #ffb38a; font-weight: 600; margin-left: 8px; }
.hb-slide:hover .hb-title { color: #ffd0b0; }

/* 左右箭头 */
.hb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 3;
  border: 1px solid rgba(255,255,255,.28); background: rgba(10,24,38,.35);
  color: #fff; font-size: 24px; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s, background .2s;
}
.hb:hover .hb-arrow { opacity: 1; }
.hb-arrow:hover { background: #F26522; border-color: #F26522; }
.hb-arrow--prev { left: 26px; }
.hb-arrow--next { right: 26px; }

/* 底部指示条 */
.hb-bottom {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hb-dots { display: flex; gap: 8px; }
.hb-dot {
  width: 26px; height: 4px; border-radius: 2px; padding: 0; cursor: pointer;
  border: 0; background: rgba(255,255,255,.28); transition: background .25s, width .25s;
}
.hb-dot.is-active { background: #F26522; width: 42px; }
.hb-count { font-size: 13px; color: #9db6cc; }
.hb-count b { color: #fff; }

/* ── 手机端 ── */
@media (max-width: 900px) {
  .hb { height: 300px; }
  .hb-inner { padding: 0 18px; }
  .hb-title { font-size: 21px; line-height: 1.45; }
  .hb-desc { display: none; }
  .hb-badge { font-size: 11.5px; padding: 2px 9px; }
  .hb-meta { font-size: 12px; margin-top: 12px; }
  .hb-arrow { display: none; }
  .hb-bottom { bottom: 14px; padding: 0 18px; }
  .hb-dot { width: 18px; }
  .hb-dot.is-active { width: 28px; }
}

/* ══ Hero 多页轮播（第 1 页主视觉 + 第 2 页起热门新闻）══ */
.hero-carousel { position: relative; overflow: hidden; padding: 0; }
.hero-slides { position: relative; min-height: 470px; }

.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-slide .container { position: relative; z-index: 2; }

/* 热门页背景 */
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform 7s linear;
}
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,20,34,.72) 0%, rgba(8,20,34,.58) 30%,
                    rgba(8,20,34,.22) 62%, rgba(8,20,34,.36) 100%),
    linear-gradient(0deg, rgba(8,20,34,.42) 0%, rgba(8,20,34,0) 42%);
}

/* 热门页内容 */
.hero-hot-inner {
  display: flex !important; align-items: center; justify-content: flex-start;
  text-decoration: none; min-height: 470px;
}
.hero-hot-text { display: flex; flex-direction: column; max-width: 780px; }
.hero-hot-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.hb-badge {
  font-size: 12.5px; padding: 3px 12px; border-radius: 20px;
  background: rgba(255,255,255,.16); color: #dbe7f2; font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
}
.hb-badge--hot { background: #E8452C; border-color: #E8452C; color: #fff; }
.hb-badge--orig { background: #F26522; border-color: #F26522; color: #fff; }
.hero-hot-title {
  font-size: 34px; font-weight: 800; line-height: 1.35; color: #fff;
  letter-spacing: .5px; text-shadow: 0 2px 16px rgba(0,0,0,.35);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-hot-desc {
  margin-top: 14px; font-size: 15.5px; line-height: 1.8; color: #c7d8e6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-hot-meta { margin-top: 18px; font-size: 13.5px; color: #9db6cc; }
.hero-hot-meta b { color: #ffb38a; margin-left: 10px; font-weight: 600; }
.hero-hot-inner:hover .hero-hot-title { color: #ffd0b0; }

/* 箭头 */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 1px solid rgba(255,255,255,.28); background: rgba(10,24,38,.35);
  color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s, background .2s;
}
.hero-carousel:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: #F26522; border-color: #F26522; }
.hero-arrow--prev { left: 22px; }
.hero-arrow--next { right: 22px; }

/* 指示点 */
.hero-dots {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 8px;
}
.hero-dot {
  width: 26px; height: 4px; border-radius: 2px; padding: 0; cursor: pointer;
  border: 0; background: rgba(255,255,255,.3); transition: background .25s, width .25s;
}
.hero-dot.is-active { background: #F26522; width: 42px; }

@media (max-width: 991px) {
  .hero-slides { min-height: 460px; }
  .hero-hot-inner { min-height: 460px; }
}
@media (max-width: 767px) {
  .hero-slides { min-height: 430px; }
  .hero-hot-inner { min-height: 430px; padding: 0 18px; }
  .hero-hot-title { font-size: 21px; line-height: 1.45; }
  .hero-hot-desc { display: none; }
  .hb-badge { font-size: 11.5px; padding: 2px 9px; }
  .hero-hot-meta { font-size: 12px; margin-top: 12px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 12px; }
  .hero-dot { width: 18px; }
  .hero-dot.is-active { width: 28px; }
}

/* 移除之前独立大屏的样式影响 */
.hb { display: none !important; }

/* ── 修正：轮播页垂直留白（原来贴顶太紧）── */
.hero-carousel { padding: 0; }
.hero-slides { min-height: 0; }

.hero-slide {
  align-items: center;
  padding: 46px 0 58px;       /* 上 46 / 下 58，给指示点留位 */
}
.hero-slide .container { align-items: center; }

/* 第 1 页：内容区上下都要有呼吸空间 */
.hero-slide .hero-text { padding-top: 8px; }
.hero-slide .hero-panel { margin-top: 8px; }

/* 热门页同样居中偏下一点 */
.hero-hot-inner { min-height: 0 !important; padding: 46px 24px 58px; align-items: center; }
.hero-hot-text { padding-top: 8px; }

/* 指示点位置跟着页高走 */
.hero-dots { bottom: 22px; }

/* ── 平板 ── */
@media (max-width: 991px) {
  .hero-slide { padding: 40px 0 52px; }
  .hero-hot-inner { padding: 40px 24px 52px; }
}

/* ── 手机 ── */
@media (max-width: 767px) {
  .hero-slide { padding: 30px 0 46px; }
  .hero-hot-inner { padding: 30px 18px 46px; }
  .hero-dots { bottom: 15px; }
}

/* ── 轮播高度稳定：所有页共存于同一容器，高度取最高页 ── */
.hero-slides {
  position: relative !important;
  display: grid !important;
  grid-template-areas: "slide";
}

.hero-slide {
  grid-area: slide !important;
  position: relative !important;
  inset: auto !important;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity .55s ease, visibility .55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* ── 热门页文字可读性：标题所在区域压暗一层 ── */
.hero-slide--hot .hero-mask::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 12% 52%,
              rgba(6,16,28,.55) 0%, rgba(6,16,28,.32) 34%,
              rgba(6,16,28,0) 62%);
}
.hero-hot-title { text-shadow: 0 2px 6px rgba(0,0,0,.75), 0 4px 24px rgba(0,0,0,.55); }
.hero-hot-desc { color: #dbe7f2; text-shadow: 0 1px 4px rgba(0,0,0,.8), 0 2px 14px rgba(0,0,0,.5); }
.hero-hot-meta { color: #cfe0ee; text-shadow: 0 1px 4px rgba(0,0,0,.8); }

/* ── 置顶公告 ── */
.pin-box {
  background: #fff8f3; border: 1px solid #ffd9c0; border-left: 4px solid var(--brand);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(242, 101, 34, .06);
}
.pin-box--home { margin-bottom: 16px; padding: 12px 16px; }
.pin-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.pin-title {
  font-size: 15px; font-weight: 700; color: #c2410c; letter-spacing: .5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pin-title::before {
  content: ""; width: 14px; height: 14px; border-radius: 3px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 3l5 5-4 1-4 4 1 4-2 2-7-7 2-2 4 1 4-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 3l5 5-4 1-4 4 1 4-2 2-7-7 2-2 4 1 4-4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pin-sub { font-size: 12.5px; color: #a97355; }
.pin-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none;
  transition: background .16s;
}
.pin-item + .pin-item { margin-top: 6px; }
.pin-item:hover { background: #fff1e8; }
.pin-flag {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 700; color: #fff;
  background: var(--brand); padding: 2px 9px; border-radius: 10px;
  letter-spacing: .5px;
}
.pin-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pin-h {
  font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pin-item:hover .pin-h { color: #c2410c; }
.pin-meta { font-size: 12.5px; color: var(--gray-2); }
.pin-arrow { flex: 0 0 auto; color: var(--brand); font-size: 16px; }

@media (max-width: 767px) {
  .pin-box { padding: 12px 14px; border-radius: 12px; }
  .pin-h { font-size: 14px; }
  .pin-flag { font-size: 11px; padding: 1px 7px; }
  .pin-sub { display: none; }
}
