/* ==========================================================================
   依米书院官网 · 设计系统 (Design System)
   品牌色：深绿 #006835 / 橄榄绿 #BCC22E / 霞金 #C89B3C / 米白 #FAF7E6
   ========================================================================== */

:root {
  /* ---- 品牌色 ---- */
  --brand: #006835;
  --brand-deep: #00512A;
  --brand-dark: #003D20;
  --brand-soft: #E6F2EA;
  --brand-tint: #F2F8F4;

  --olive: #BCC22E;
  --olive-deep: #8E9A1E;
  --olive-soft: #F4F6D9;

  --gold: #C89B3C;
  --gold-deep: #A87C22;
  --gold-soft: #FBF4E4;

  --cream: #FAF7E6;
  --bg: #F6F8F3;
  --paper: #FFFFFF;

  /* ---- 中性色 ---- */
  --ink: #17251C;
  --ink-2: #33453A;
  --ink-3: #5C6E62;
  --ink-4: #8A998F;
  --line: #E2E9E3;
  --line-2: #EFF3F0;

  /* ---- 功能色 ---- */
  --up: #C62828;      /* 涨 / 提醒 */
  --down: #1B7F4C;    /* 跌 / 成功 */
  --warn: #B26A00;

  /* ---- 阴影 ---- */
  --sd-1: 0 1px 2px rgba(16, 44, 28, .05), 0 1px 3px rgba(16, 44, 28, .04);
  --sd-2: 0 4px 12px rgba(16, 44, 28, .07), 0 2px 4px rgba(16, 44, 28, .04);
  --sd-3: 0 12px 32px rgba(16, 44, 28, .10), 0 4px 10px rgba(16, 44, 28, .05);
  --sd-4: 0 24px 60px rgba(16, 44, 28, .14);

  /* ---- 尺寸 ---- */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --hdr-h: 72px;

  --ff: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
        "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-num: "DIN Alternate", "Helvetica Neue", Arial, var(--ff);
}

/* ========================== Reset ========================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
/* 行内图标默认尺寸（更具体的尺寸规则会覆盖它） */
svg { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.18em; }
a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: none; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--brand-soft); color: var(--brand-deep); }

/* ========================== 布局 ========================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
.sec { padding: 84px 0; }
.sec-sm { padding: 56px 0; }
.sec-tint { background: var(--bg); }
.sec-cream { background: var(--cream); }
.sec-dark { background: linear-gradient(160deg, var(--brand-dark), var(--brand) 130%); color: #DCEBE1; }
.sec-dark h2, .sec-dark h3 { color: #fff; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .gap24 { gap: 24px; }
.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}
.mt32{margin-top:32px}.mt40{margin-top:40px}.mt56{margin-top:56px}
.mb8{margin-bottom:8px}.mb12{margin-bottom:12px}.mb16{margin-bottom:16px}
.mb24{margin-bottom:24px}.mb32{margin-bottom:32px}.mb40{margin-bottom:40px}
.tc { text-align: center; }
.hide { display: none !important; }

/* ========================== 排版 ========================== */
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--olive); border-radius: 2px; }
.sec-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; }
.sec-sub { margin-top: 16px; font-size: 16px; color: var(--ink-3); line-height: 1.8; }
.lead { font-size: 18px; line-height: 1.85; color: var(--ink-2); }
.strong-line { font-weight: 700; color: var(--brand-deep); }

/* ========================== 按钮 ========================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0, 104, 53, .22); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 104, 53, .28); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(200, 155, 60, .26); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: #fff; color: var(--brand-deep); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ========================== 页头 ========================== */
.topbar {
  background: var(--brand-dark); color: #B9D6C4; font-size: 13px;
  padding: 7px 0; letter-spacing: .01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: #D6E8DC; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .hot { color: var(--olive); font-weight: 600; }

.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s ease;
}
.hdr.scrolled { box-shadow: var(--sd-2); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 40px; height: 35px; object-fit: contain; }
.brand > img.brand-h { width: auto; height: 42px; }
.brand-txt b { display: block; font-size: 19px; font-weight: 800; color: var(--brand-deep); letter-spacing: .02em; line-height: 1.15; }
.brand-txt span { display: block; font-size: 10.5px; color: var(--ink-4); letter-spacing: .16em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 10px 15px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--brand); background: var(--brand-tint); }
.nav > li > a.has-sub::after {
  content: ""; display: inline-block; margin-left: 6px;
  border: 4px solid transparent; border-top-color: currentColor;
  transform: translateY(1px); opacity: .55;
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 208px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sd-3); padding: 8px;
  opacity: 0; visibility: hidden; transition: all .2s ease;
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--ink-2); font-weight: 500;
}
.dropdown a:hover { background: var(--brand-tint); color: var(--brand); }

.hdr-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.hdr-phone small { font-size: 11px; color: var(--ink-4); }
.hdr-phone b { font-size: 16px; font-weight: 800; color: var(--brand); font-family: var(--ff-num); letter-spacing: .01em; }

.burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: #fff;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; padding: 18px 20px 60px;
}
.mnav.open { transform: translateX(0); }
.mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mnav-close { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); font-size: 22px; color: var(--ink-3); }
.mnav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-size: 16px; font-weight: 600; color: var(--ink); }
.mnav .sub a { padding-left: 18px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); border-bottom: none; }

/* ========================== Hero ========================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--brand-dark) 0%, var(--brand-deep) 46%, var(--brand) 100%);
  color: #fff; padding: 76px 0 88px;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(188,194,46,.20), transparent 62%); pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; left: -120px; bottom: -200px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200,155,60,.16), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill); font-size: 13px; color: #D6E8DC; margin-bottom: 22px;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 3px rgba(188,194,46,.28); }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.18; color: #fff; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--olive); }
.hero-sub { margin-top: 22px; font-size: 17px; line-height: 1.85; color: #C4DCCF; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: 44px; background: rgba(255,255,255,.14); border-radius: var(--r); overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
}
.hero-stats div { background: rgba(255,255,255,.05); padding: 18px 20px; }
.hero-stats b { display: block; font-size: 27px; font-weight: 800; color: #fff; font-family: var(--ff-num); line-height: 1.1; }
.hero-stats b small { font-size: 14px; font-weight: 600; margin-left: 3px; }
.hero-stats span { display: block; font-size: 13px; color: #A9C8B5; margin-top: 4px; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.97); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--sd-4); color: var(--ink-2);
}
.hero-card h3 { font-size: 17px; margin-bottom: 4px; }
.hero-card > p { font-size: 13.5px; color: var(--ink-3); margin-bottom: 16px; }
.hero-list li {
  display: flex; align-items: flex-start; gap: 11px; padding: 11px 0;
  border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.hero-list li:last-child { border-bottom: none; }
.hero-list .ic {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.hero-list b { display: block; color: var(--ink); font-size: 14.5px; }
.hero-list span { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

/* ========================== 卡片 ========================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; transition: all .24s ease; height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { border-color: #C9DED0; box-shadow: var(--sd-2); transform: translateY(-3px); }
.card-ic {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; flex: 1; }
.card-more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.card-more::after { content: "→"; transition: transform .2s ease; }
.card:hover .card-more::after { transform: translateX(4px); }

.biz-card { position: relative; overflow: hidden; padding-top: 30px; }
.biz-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--olive)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.biz-card:hover::before { transform: scaleX(1); }
.biz-tag {
  display: inline-block; align-self: flex-start; width: auto;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: var(--r-pill); background: var(--olive-soft); color: var(--olive-deep);
  margin-bottom: 12px;
}
.biz-tag.gold { background: var(--gold-soft); color: var(--gold-deep); }

/* ========================== 数据条 ========================== */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stat-band div { background: #fff; padding: 28px 22px; text-align: center; }
.stat-band b { display: block; font-size: 34px; font-weight: 800; color: var(--brand); font-family: var(--ff-num); line-height: 1.05; }
.stat-band b small { font-size: 15px; margin-left: 2px; }
.stat-band span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }

/* ========================== 新闻 ========================== */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.tab {
  padding: 9px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  color: var(--ink-3); background: #fff; border: 1px solid var(--line); transition: all .18s ease;
}
.tab:hover { color: var(--brand); border-color: #C9DED0; }
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; transition: all .24s ease;
}
.post:hover { box-shadow: var(--sd-2); transform: translateY(-3px); border-color: #C9DED0; }
.post-cover {
  aspect-ratio: 16 / 9; background: linear-gradient(145deg, var(--brand-soft), var(--olive-soft));
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .ph { font-size: 30px; font-weight: 800; color: rgba(0,104,53,.28); letter-spacing: .1em; }
.post-cat {
  position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.94); color: var(--brand-deep); font-size: 11.5px; font-weight: 700;
}
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 10px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--brand); }
.post-body p { font-size: 13.8px; color: var(--ink-3); line-height: 1.75; flex: 1; }
.post-meta { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-4); }
.post-src { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand); font-weight: 600; }
.post-src.manual { background: var(--gold-soft); color: var(--gold-deep); }

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-row {
  display: grid; grid-template-columns: 92px 176px 1fr auto; gap: 22px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .18s ease;
}
.news-row:hover { background: var(--brand-tint); }
/* 列表缩略图 */
.news-thumb {
  aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden;
  background: linear-gradient(145deg, var(--brand-soft), var(--olive-soft));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-row:hover .news-thumb img { transform: scale(1.05); }
.news-thumb .ph { font-size: 15px; font-weight: 800; color: rgba(0,104,53,.3); letter-spacing: .08em; }
/* 内联精简行（相关阅读 / 板块相关资讯） */
.news-row-compact { grid-template-columns: 150px 1fr auto; padding: 18px 4px; }
.news-row-compact .news-thumb { border-radius: 8px; }
.news-date { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.news-date b { display: block; font-size: 26px; font-weight: 800; color: var(--brand); font-family: var(--ff-num); line-height: 1; }
.news-date span { font-size: 12px; color: var(--ink-4); }
.news-row h3 { font-size: 16.5px; margin-bottom: 6px; }
.news-row h3 a { color: var(--ink); }
.news-row h3 a:hover { color: var(--brand); }
.news-row p { font-size: 13.8px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.chip { font-size: 11.5px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-3); }

/* 每日教育新闻板 */
.dnews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.dnews-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
  padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .18s ease;
}
.dnews-item:hover { background: var(--brand-tint); }
.dnews-idx {
  font-family: var(--ff-num); font-size: 20px; font-weight: 800; line-height: 1.15;
  color: var(--olive-deep); padding-top: 1px; letter-spacing: .02em;
}
.dnews-body h3 { font-size: 15.5px; line-height: 1.55; margin-bottom: 7px; color: var(--ink); }
.dnews-item:hover .dnews-body h3 { color: var(--brand); }
.dnews-body p { font-size: 13.2px; color: var(--ink-3); line-height: 1.68; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dnews-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 11.8px; color: var(--ink-4); }
.dnews-region { padding: 3px 9px; border-radius: var(--r-pill); font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.dnews-region.dom { background: var(--brand-soft); color: var(--brand-deep); }
.dnews-region.intl { background: var(--gold-soft); color: var(--gold-deep); }
.dnews-src::before, .dnews-date::before {
  content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-4); margin-right: 7px; vertical-align: 2px;
}
.dnews-date { font-family: var(--ff-num); }

/* 侧栏 */
.layout-side { display: grid; grid-template-columns: 1fr 328px; gap: 48px; align-items: start; }
/* ⚠️ 网格项默认 min-width:auto，正文里的宽表格会把整页撑出横向滚动 → 必须允许收缩 */
.layout-side > * { min-width: 0; }
/* ⚠️ .article 自带 margin:0 auto，作为网格项时会退化成 shrink-to-fit（下限=表格 min-content）
   → 窄屏被表宽顶出页面。作为网格项时改回拉伸。 */
.layout-side > .article { margin-left: 0; margin-right: 0; justify-self: stretch; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 22px; }
.side-card h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.side-card h3::before { content: ""; display: inline-block; width: 3px; height: 15px; background: var(--olive); border-radius: 2px; margin-right: 9px; vertical-align: -2px; }
.side-list li { border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border-bottom: none; }
.side-list a { display: block; padding: 11px 0; font-size: 14px; color: var(--ink-2); }
.side-list a:hover { color: var(--brand); padding-left: 5px; }
.side-list .rank { display: inline-block; width: 19px; height: 19px; line-height: 19px; text-align: center; border-radius: 5px; background: var(--bg); color: var(--ink-4); font-size: 11.5px; font-weight: 700; margin-right: 9px; }
.side-list li:nth-child(1) .rank { background: var(--brand); color: #fff; }
.side-list li:nth-child(2) .rank { background: var(--olive); color: #fff; }
.side-list li:nth-child(3) .rank { background: var(--gold); color: #fff; }
.side-cta { background: linear-gradient(155deg, var(--brand-deep), var(--brand)); color: #fff; border: none; }
.side-cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,.18); }
.side-cta h3::before { background: var(--olive); }
.side-cta p { font-size: 13.5px; color: #C4DCCF; margin-bottom: 18px; line-height: 1.7; }

/* ========================== 文章详情 ========================== */
.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-4); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
/* 文章详情封面大图 */
.article-cover { margin: 0 0 34px; border-radius: var(--r); overflow: hidden; background: var(--brand-soft); }
.article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* 视频门面：封面 + 播放按钮，点击后由 site.js 就地换成 <video>（首屏不加载 17MB 视频） */
.video-facade { position: relative; cursor: pointer; background: #0E1A14; }
.video-facade img { transition: transform .5s ease, opacity .3s ease; }
.video-facade:hover img { transform: scale(1.015); opacity: .86; }
.video-facade:focus-visible { outline: 3px solid var(--olive); outline-offset: 4px; }
.video-play { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--brand); box-shadow: 0 8px 24px rgba(4,20,14,.28); pointer-events: none; transition: transform .25s ease, background .25s ease; }
.video-play-btn { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; transition: transform .25s ease; }
.video-play-btn svg { width: 18px; height: 18px; margin-left: 2px; fill: currentColor; stroke: none; }
.video-facade:hover .video-play { transform: translateY(-1px); background: #fff; }
.video-facade:hover .video-play-btn { transform: scale(1.05); }
.video-play-txt { display: flex; flex-direction: column; line-height: 1.25; color: var(--ink); }
.video-play-txt b { font-size: 14.5px; font-weight: 700; letter-spacing: .02em; color: var(--brand-deep, #0B5C33); }
.video-play-txt i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.video-facade.is-playing { cursor: default; background: #000; }
.video-facade video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 640px) {
  .video-play { top: 10px; left: 10px; padding: 5px 12px 5px 5px; gap: 7px; }
  .video-play-btn { width: 32px; height: 32px; }
  .video-play-btn svg { width: 15px; height: 15px; }
  .video-play-txt b { font-size: 12.5px; }
  .video-play-txt i { font-size: 10.5px; }
}
.article-body { font-size: 16.5px; line-height: 2.05; color: var(--ink-2); overflow-wrap: anywhere; }
.article-body > * + * { margin-top: 20px; }
.article-body h2 { font-size: 22px; margin-top: 44px; padding-left: 14px; border-left: 4px solid var(--olive); }
.article-body h3 { font-size: 18.5px; margin-top: 32px; }
.article-body h4 { font-size: 16.5px; margin-top: 24px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body ul, .article-body ol { padding-left: 4px; }
.article-body li { position: relative; padding-left: 22px; margin-top: 10px; }
.article-body ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }
.article-body ol { counter-reset: n; }
.article-body ol > li { counter-increment: n; }
.article-body ol > li::before { content: counter(n); position: absolute; left: 0; top: .28em; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; }
.article-body blockquote {
  margin: 26px 0; padding: 18px 22px; background: var(--brand-tint);
  border-left: 3px solid var(--brand); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 15.5px; color: var(--ink-2);
}
.article-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r-sm); display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body th, .article-body td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line-2); }
.article-body th { background: var(--brand-tint); color: var(--brand-deep); font-weight: 700; font-size: 14px; }
.article-body tr:last-child td { border-bottom: none; }
.article-body tbody tr:nth-child(even) { background: #FBFCFB; }
.article-body a { border-bottom: 1px solid rgba(0,104,53,.3); }
.article-body img { border-radius: var(--r-sm); margin: 24px 0; }
.ai-summary {
  background: linear-gradient(150deg, var(--brand-tint), var(--olive-soft));
  border: 1px solid #D8E8DD; border-radius: var(--r); padding: 22px 24px; margin-bottom: 34px;
}
.ai-summary b { display: flex; align-items: center; gap: 8px; color: var(--brand-deep); font-size: 14px; margin-bottom: 10px; letter-spacing: .02em; }
.ai-summary p { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq details[open] { border-color: #C9DED0; box-shadow: var(--sd-1); }
.faq summary {
  padding: 16px 20px; font-weight: 600; color: var(--ink); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 14px; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 20px 18px; font-size: 14.5px; color: var(--ink-3); line-height: 1.85; }
.faq .ans p + p { margin-top: 10px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-4); padding: 18px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span.sep { opacity: .5; }

/* ========================== 分页 ========================== */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .dis { opacity: .4; pointer-events: none; }
/* 全部资讯归档分页：省略号不做成按钮，上一页/下一页略宽一点 */
.pager .dots { border: 0; background: transparent; min-width: 20px; padding: 0; color: var(--ink-3); }
.pager .pg-arrow { padding: 0 16px; }

/* ========================== 表单 ========================== */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field label .req { color: var(--up); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,104,53,.10);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.field .err { display: block; margin-top: 6px; font-size: 12.5px; color: var(--up); min-height: 0; }
.privacy-note { font-size: 12px; color: var(--ink-4); line-height: 1.7; margin-top: 14px; display: flex; gap: 8px; }
.privacy-note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--brand); }
.form-note { padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 16px; }
.form-note.ok { background: var(--brand-soft); color: var(--brand-deep); }
.form-note.bad { background: #FDECEC; color: var(--up); }

/* ========================== 悬浮组件 ========================== */
.float-dock { position: fixed; right: 20px; bottom: 24px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.dock-btn {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sd-2); display: flex; align-items: center; justify-content: center;
  color: var(--brand); transition: all .2s ease; position: relative;
}
.dock-btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: var(--sd-3); }
.dock-btn svg { width: 23px; height: 23px; }
.dock-btn.wecom { background: var(--brand); color: #fff; }
.dock-btn.wecom:hover { background: var(--brand-deep); }
.dock-btn .tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 13px; padding: 7px 12px; border-radius: var(--r-sm);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.dock-btn:hover .tip { opacity: 1; }

.wecom-pop {
  position: fixed; right: 20px; bottom: 24px; z-index: 80; width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sd-4); padding: 24px; text-align: center; display: none;
}
.wecom-pop.open { display: block; animation: popIn .22s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.wecom-pop .qr { width: 190px; height: 190px; margin: 0 auto 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wecom-pop .qr img { width: 100%; height: 100%; object-fit: contain; }
.wecom-pop .qr .ph { font-size: 12.5px; color: var(--ink-4); padding: 16px; line-height: 1.7; }
.wecom-pop h4 { font-size: 16px; margin-bottom: 6px; }
.wecom-pop p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.wecom-pop .x { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); color: var(--ink-3); }
.wecom-pop .wecom-alt { margin-top: 12px; font-size: 12.5px; color: var(--ink-4); }

/* 微信客服二维码（二维码图片统一包一层 <a> 链到 kfid） */
.qr-pic { display: block; width: 100%; height: 100%; }
.qr-pic img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.side-qr { background: #fff; border-radius: 14px; padding: 14px; margin-top: 14px; }
.side-qr .qr-box { width: 178px; height: 178px; margin: 0 auto 12px; border-radius: 10px; overflow: hidden; background: #fff; }
.side-qr .qr-pic img { border-radius: 0; }

.modal { position: fixed; inset: 0; z-index: 100; background: rgba(16,32,22,.5); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: var(--sd-4); animation: popIn .24s ease; }
.modal-head { padding: 24px 28px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h3 { font-size: 19px; }
.modal-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.modal-head .x { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--ink-3); flex: none; font-size: 19px; }
.modal-body { padding: 22px 28px 28px; }

/* ========================== 页脚 ========================== */
.ftr { background: #0E1F16; color: #93A99B; padding: 62px 0 0; font-size: 14px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.ftr a { color: #93A99B; }
.ftr a:hover { color: #fff; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.8fr; gap: 40px; padding-bottom: 46px; }
.ftr-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ftr-brand img { width: 46px; height: 46px; object-fit: contain; }
.ftr-brand b { color: #fff; font-size: 19px; font-weight: 800; }
.ftr-brand span { display: block; font-size: 10.5px; color: #6F8A79; letter-spacing: .15em; }
.ftr-nap li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.7; }
.ftr-nap svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--olive); }
.ftr-nap b { color: #D6E4DA; font-weight: 600; }
.ftr-links li { margin-bottom: 11px; }
.ftr-qrs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ftr-qr { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); padding: 10px 9px; text-align: center; }
.ftr-qr .box { width: 100%; height: auto; aspect-ratio: 1 / 1; margin: 0 auto 7px; background: #1A2E22; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ftr-qr .box .qr-link { display: block; width: 100%; height: 100%; }
.ftr-qr .box img { width: 100%; height: 100%; object-fit: contain; }
.ftr-qr .box .ph { font-size: 10.5px; color: #6F8A79; padding: 6px; line-height: 1.45; }
.ftr-qr span { display: block; font-size: 11px; line-height: 1.35; color: #93A99B; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.ftr-bottom .police { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ftr-admin {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-pill); font-size: 12.5px;
}
.ftr-admin:hover { border-color: var(--olive); color: var(--olive) !important; }
.ftr-admin svg { width: 14px; height: 14px; }
.ftr-seo { padding: 0 0 26px; font-size: 12px; color: #5E7466; line-height: 1.9; }
.ftr-seo b { color: #7C9485; font-weight: 600; }

/* 关联站点 / 友情链接 */
.ftr-sites { padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.07); }
.ftr-sites > b { display: inline-flex; align-items: center; gap: 7px; color: #D6E4DA; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.ftr-sites > b svg { width: 15px; height: 15px; color: var(--olive); }
.ftr-sites ul { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr-sites li { margin: 0; }
.ftr-sites li a { display: inline-flex; align-items: baseline; gap: 9px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--r-pill); font-size: 13px; }
.ftr-sites li a:hover { border-color: var(--olive); color: #fff; }
.ftr-sites li a b { font-weight: 700; color: #D6E4DA; }
.ftr-sites li a span { font-size: 11.5px; color: #6F8A79; letter-spacing: .02em; }
.ftr-sites li a:hover b, .ftr-sites li a:hover span { color: #fff; }

/* 备案信息 */
.ftr-bottom .icp-line { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ftr-bottom .icp-line b { color: #7C9485; font-weight: 600; }
.ftr-bottom .icp-num { color: #93A99B; }
.ftr-bottom .icp-police { color: #6F8A79; }

/* ========================== 响应式 ========================== */
@media (max-width: 1080px) {
  .nav, .hdr-phone { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .layout-side { grid-template-columns: 1fr; gap: 36px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

/* 1241–1500：桌面导航收紧。原 15px 内边距在 1366 / 1280 视口下会把顶栏撑破，
   出现整页横向滚动（实测 1280 时 scrollWidth=1363）。这里压到 11px 并略降字号。 */
@media (min-width: 1241px) and (max-width: 1500px) {
  .hdr .wrap { gap: 14px; }
  .nav > li > a { padding: 10px 11px; font-size: 14.5px; }
  .hdr-cta .btn { padding: 9px 12px; font-size: 13px; }
}
/* ≤1240：提前收进汉堡菜单。原来到 1080 才收，1081–1363 这段桌面导航必然溢出。 */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .sec { padding: 56px 0; }
  .wrap, .wrap-narrow { padding: 0 18px; }
  /* ⚠️ 窄屏顶栏：品牌 + 咨询按钮 + 汉堡必须放得下，否则会撑出横向滚动 */
  .hdr .wrap { gap: 10px; }
  .hdr-cta .btn { padding: 10px 14px; font-size: 13.5px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 30px; }
  .brand > img.brand-h { width: auto; height: 34px; }
  .brand-txt b { font-size: 16.5px; }
  .brand-txt span { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar-right { display: none; }
  .g2, .g3, .g4, .news-grid, .dnews { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 46px 0 56px; }
  .hero-stats { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; gap: 12px; }
  .news-row .news-thumb { width: 100%; max-width: 420px; }
  .news-date { display: flex; align-items: baseline; gap: 8px; border-right: none; border-left: 3px solid var(--brand); padding: 0 0 0 12px; text-align: left; }
  .news-date b { font-size: 18px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .float-dock { right: 14px; bottom: 16px; }
  .dock-btn { width: 46px; height: 46px; }
  .wecom-pop { right: 12px; left: 12px; width: auto; bottom: 16px; }
  .article-body { font-size: 16px; line-height: 1.95; }
  .modal-body, .modal-head { padding-left: 20px; padding-right: 20px; }
}

@media print {
  .hdr, .topbar, .float-dock, .wecom-pop, .ftr, .modal { display: none !important; }
}

/* ==================================================== 咨询电话区块（GEO / AI 可读）
   出现在每篇文章页与每个业务板块页，用于让搜索引擎与大模型直接抓取
   「板块 → 电话」的对应关系。 */
.hotline-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 34px 0 0; padding: 20px 24px;
  background: linear-gradient(135deg, var(--brand-tint) 0%, var(--brand-soft) 100%);
  border: 1px solid #CFE6D8; border-radius: 16px;
}
.hotline-ic {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
}
.hotline-ic svg { width: 24px; height: 24px; }
.hotline-main { flex: 1 1 260px; min-width: 0; }
.hotline-label {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-deep); margin-bottom: 2px;
}
.hotline-num {
  display: inline-block; font-family: var(--ff-num, inherit);
  font-size: 26px; font-weight: 800; line-height: 1.2;
  color: var(--brand-deep); letter-spacing: .01em;
  text-decoration: none;
}
.hotline-num:hover { text-decoration: underline; }
.hotline-dept { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.hotline-btn { flex: none; }
.hotline-note {
  margin: 10px 2px 0; font-size: 12.5px; line-height: 1.8; color: var(--ink-4);
}
.hotline-note a { color: var(--ink-3); }

/* 联系方式总表 */
.phone-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.phone-table th, .phone-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
}
.phone-table th { background: var(--brand-tint); color: var(--brand-deep); font-weight: 700; white-space: nowrap; }
.phone-table td.num { font-family: var(--ff-num, inherit); font-weight: 800; font-size: 16px; color: var(--brand-deep); white-space: nowrap; }
.phone-table tr:hover td { background: #FBFDFB; }

@media (max-width: 720px) {
  .hotline-card { padding: 18px; gap: 14px; }
  .hotline-num { font-size: 22px; }
  .hotline-btn { width: 100%; }
  .phone-table { font-size: 13px; }
  .phone-table th, .phone-table td { padding: 10px 8px; }
}

/* ==========================================================================
   文章页底部 · 免费领取学情诊断（2026-10-25）
   ========================================================================== */
.diag-box{margin:38px 0 10px;padding:28px 26px 24px;border:1px solid var(--line,#E4E0D2);border-radius:14px;
  background:linear-gradient(180deg,#FFFDF5 0%,#FFFFFF 62%);box-shadow:0 1px 2px rgba(20,22,26,.05)}
.diag-head b{display:block;font-size:21px;letter-spacing:.2px;color:var(--ink,#1D2321)}
.diag-head b::after{content:"";display:block;width:38px;height:3px;margin-top:9px;border-radius:2px;background:linear-gradient(96deg,#006835 0%,#C89B3C 100%)}
.diag-head span{display:block;margin-top:10px;font-size:13.5px;line-height:1.7;color:var(--ink-3,#5B6662)}
.diag-form{margin-top:20px}
.df-row{display:flex;gap:14px;flex-wrap:wrap}
.df-f{flex:1 1 210px;display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--ink-3,#5B6662)}
.df-f input,.df-f select,.df-f textarea{width:100%;padding:11px 13px;font-size:14px;font-family:inherit;color:var(--ink,#1D2321);
  background:#fff;border:1px solid var(--line,#E4E0D2);border-radius:10px;outline:none;transition:border-color .18s,box-shadow .18s}
.df-f input:focus,.df-f select:focus,.df-f textarea:focus{border-color:rgba(0,104,53,.45);box-shadow:0 0 0 3px rgba(0,104,53,.08)}
.df-f textarea{resize:vertical;min-height:78px}
.df-full{margin-top:14px}
.df-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.df-note{font-size:12px;color:var(--ink-4,#8A938F)}
.df-status{margin-top:10px;font-size:13.5px;line-height:1.6}
.df-status.ok{color:var(--brand,#006835)}
.df-status.bad{color:#C62828}
@media(max-width:640px){
  .diag-box{padding:22px 18px 18px;margin-top:26px}
  .diag-head b{font-size:18px}
  .df-row{gap:12px}
  .df-f{flex:1 1 100%}
  .df-foot .btn{width:100%}
}

/* ==================== 校区动态（各校区自主发布） ====================
   这个栏目和别的资讯栏目不一样：内容由 19 个校区自己投稿，页面要先说明
   「谁发的、在哪」，所以筛选条用金色系区分于常规栏目标签，校区卡带左侧金边。
   ---------------------------------------------------------------- */
.chip-campus { background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; }

.campus-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2);
}
.campus-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
  border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all .18s ease;
}
.campus-pill b {
  font-family: var(--ff-num); font-size: 11.5px; font-weight: 700; color: var(--ink-4);
  background: var(--bg); border-radius: 9px; padding: 1px 6px; line-height: 1.5;
}
.campus-pill:hover { border-color: var(--brand); color: var(--brand); }
.campus-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.campus-pill.active b { background: rgba(255,255,255,.22); color: #fff; }

.campus-note {
  background: var(--brand-tint); border: 1px solid #D9EADD; border-radius: var(--r);
  padding: 16px 20px; margin-bottom: 26px;
}
.campus-note b { display: block; font-size: 12.5px; color: var(--brand-deep); letter-spacing: .06em; margin-bottom: 6px; }
.campus-note p { font-size: 13.2px; color: var(--ink-3); line-height: 1.78; }

.campus-empty {
  text-align: center; padding: 56px 24px; background: #fff;
  border: 1px dashed var(--line); border-radius: var(--r);
}
.campus-empty b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.campus-empty p { font-size: 13.8px; color: var(--ink-3); line-height: 1.8; max-width: 520px; margin: 0 auto; }
.campus-empty .btn { display: inline-flex; margin-top: 18px; }

.campus-head {
  display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--r); padding: 22px 24px; margin-bottom: 28px;
}
.campus-head-main { flex: 1 1 320px; min-width: 0; }
.campus-head h2 { font-size: 19px; color: var(--ink); line-height: 1.4; }
.campus-facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.campus-facts li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.campus-facts span { flex: 0 0 64px; color: var(--ink-4); }
.campus-facts b { flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--ink-2); }
.campus-facts a { color: var(--brand); font-weight: 700; }

@media (max-width: 720px) {
  .campus-head { flex-direction: column; gap: 16px; }
  .campus-head .btn { width: 100%; }
  .campus-facts li { flex-direction: column; gap: 2px; }
  .campus-facts span { flex: none; font-size: 12px; }
}

/* 校区投稿没有封面时，缩略图位显示校区名（比显示栏目名更有信息量） */
.news-thumb.campus { background: linear-gradient(145deg, #EAF4EE 0%, #F8F3E7 100%); }
.news-thumb.campus .ph {
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  color: var(--brand-deep); opacity: .74; padding: 0 8px; text-align: center; line-height: 1.4;
}

/* ===== 各校区招聘表（contact#hiring）：手机上改卡片式，避免横滑看不到人数与投递 ===== */
@media (max-width: 720px){
  #hiring table{min-width:0!important;border:none!important;background:transparent!important}
  #hiring thead{display:none}
  #hiring tbody tr{display:block;background:#fff;border:1px solid #E6E9E4;border-radius:12px;padding:14px 16px;margin-bottom:12px}
  #hiring tbody td{display:block;border:none!important;padding:3px 0!important;white-space:normal!important;text-align:left!important}
  #hiring tbody td:nth-child(3):before{content:"人数：";color:var(--ink-4);font-weight:400}
  #hiring tbody td:nth-child(4){margin-top:10px}
  #hiring tbody td:nth-child(4) a{display:inline-block;padding:6px 16px;border:1px solid #C0392B;border-radius:999px}
}
