@charset "UTF-8";
/* =========================================================
   浙江建设职业技能培训学校 — 新版官网样式
   正规院校风格 · 深蓝 + 中国红 + 金色细线 · 响应式
   ========================================================= */

:root {
  /* 主色（签名藏蓝，权威、正式） */
  --c-primary: #14306e;
  --c-primary-dark: #0f2456;
  --c-primary-deep: #0a1a40;
  --c-primary-light: #eef2fb;
  --c-primary-soft: #f6f8fc;

  /* 重点强调（中国红，仅用于高信号处：报名 / 公告标签） */
  --c-red: #c0392b;
  --c-red-dark: #a7301f;

  /* 点缀金（细细的装饰线） */
  --c-gold: #c9a24b;
  --c-gold-soft: #f3e9d4;

  /* 品牌深蓝（页眉 / 页脚） */
  --c-navy: #12203f;

  /* 中性色 */
  --c-bg: #f2f5fa;   /* 原 #f5f6f8 是中性灰；改带一点品牌蓝，与 navy/gold 体系更贴合（2026-09-25 审美迭代，未定稿） */
  /* 三档背景层次（2026-09-25 审美迭代，未定稿）：
     原来只有"纯白 / #f5f6f8"两种中性色，对比太弱，几个 section 连起来像一整块。
     现在加入"品牌浅蓝"作为最深一档，与灰白拉开层次，仍全部取自现有的 navy/gold 体系。
     --c-bg-soft 最浅（冷白）· --c-bg 中（现有灰）· --c-bg-deep 最深（品牌浅蓝） */
  --c-bg-soft: #fbfcfe;
  --c-bg-deep: #eef3fa;
  /* 分区边界：用极淡的蓝灰代替纯黑描边，避免"表格感" */
  --c-divider: #e6ebf3;
  --c-white: #ffffff;
  --c-text: #24292f;
  --c-muted: #6b7280;
  --c-border: #d9dde5;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-xs: 4px;
  --shadow-sm: 0 1px 2px rgba(18, 32, 63, .06);
  --shadow: 0 4px 14px rgba(18, 32, 63, .09);
  --shadow-lg: 0 12px 30px rgba(18, 32, 63, .14);

  --container: 1280px;
  --header-h: 80px;

  /* 公文风字体栈 */
  --font-serif: SimSun, "Songti SC", "STSong", "NSimSun", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.75;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用 Section ---------- */
.section { padding: 60px 0; }
/* 三档背景：-bg 灰白（原有）· -bg-soft 冷白（新增，最浅）· -bg-deep 品牌浅蓝（新增，最深）
   交替使用以便分区可辨；仍保留 --bg 这个旧名字，向后兼容既有页面。 */
.section--bg { background: var(--c-bg); }
.section--bg-soft { background: var(--c-bg-soft); }
.section--bg-deep { background: var(--c-bg-deep); }
/* 两个同色 section 相邻时，用一条极淡的分界线把"一整块"切开 */
.section + .section { border-top: 1px solid var(--c-divider); }
/* 「快速通道」是页面第一动作区：用最深一档 + 顶部金色细线，把它从"普通一节"里提出来 */
.section--channels { background: var(--c-bg-deep); border-top: 4px solid var(--c-gold); }

.section__head { text-align: center; margin-bottom: 38px; }
.section__title {
  font-size: 28px; font-weight: 800; color: var(--c-navy);
  letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 14px;
}
/* 两侧装饰线用渐变，端头淡出：比实心横线更精致，也更像定稿的收尾处理 */
.section__title::before, .section__title::after {
  content: ""; width: 30px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold));
}
.section__title::after { background: linear-gradient(90deg, var(--c-gold), transparent); }
.section__sub { margin-top: 12px; color: var(--c-muted); font-size: 15px; letter-spacing: .3px; }

/* ---------- 顶部政府风红色页眉 ---------- */
.topbar { background: var(--c-navy); color: #b8c5e0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar__left { display: flex; gap: 24px; align-items: center; }
.topbar__left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--c-white); }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__dot { width: 3px; height: 3px; border-radius: 50%; background: #3a57a0; }

/* ---------- 主导航（规范深蓝） ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #083e7a;
  border-bottom: 4px solid var(--c-gold);
  color: #fff;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand__logo {
  width: 224px; height: 64px; border-radius: 0; flex-shrink: 0;
  background: #083e7a url(../images/logo.webp) no-repeat center / contain;
  color: transparent; border: none; box-shadow: none;
}
.brand__text { display: none; }
.brand__text { line-height: 1.25; }
.brand__name { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: 1.5px; }
.brand__en { font-size: 10.5px; color: #b8c5e0; letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: 8px 13px; color: #dce4f2;
  font-weight: 600; font-size: 16px; border-radius: 6px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__link.is-active { color: var(--c-gold); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--c-gold);
}
.nav__cta {
  margin-left: 10px; padding: 9px 18px; border-radius: var(--radius-xs);
  background: var(--c-gold); color: var(--c-navy) !important; font-weight: 700;
  box-shadow: none;
}

.nav__toggle {
  display: none; width: 44px; height: 40px; border: none; background: rgba(255,255,255,.12);
  border-radius: 6px; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav__toggle span { display: block; width: 20px; height: 2.5px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------- 导航下拉（换皮新增，原设计稿为扁平导航） ----------
   原站「学校概况 / 资讯中心 / 招生报考 / 证书查询 / 人力资源」都有子栏目。
   若照设计稿压平，组织架构、学校环境、发展历程、各新闻分类、学历教育、
   师资力量等页面会失去入口，故补回下拉。
   .nav__item 撑满整个导航条高度 —— 鼠标从主项往下移的途中不会掉出悬停区。 */
.nav__item { position: relative; display: flex; align-items: center; height: var(--header-h); }
.nav__drop {
  position: absolute; top: 100%; left: 0; min-width: 152px; padding: 6px;
  background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 120;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm); white-space: nowrap;
  color: var(--c-navy); font-size: 14px; font-weight: 600;
  transition: background .18s, color .18s;
}
.nav__drop a:hover { background: var(--c-primary-light); color: var(--c-primary); }

/* ---------- Hero：院校横幅 ---------- */
.hero {
  position: relative; color: var(--c-white); overflow: hidden;
  background: linear-gradient(150deg, #0e1c4d 0%, #16296b 55%, #1e3a8a 100%);
  border-bottom: 4px solid var(--c-gold);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .5; pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.35fr .85fr; gap: 40px; align-items: center; padding: 62px 0 70px; }
.hero__motto {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px;
  background: rgba(255,255,255,.10); border: 1px solid var(--c-gold);
  border-radius: var(--radius-xs); font-size: 13px; color: var(--c-gold-soft);
  letter-spacing: 2px; margin-bottom: 18px;
}
.hero__title { font-size: 42px; line-height: 1.3; font-weight: 800; letter-spacing: 2px; }
.hero__title em { font-style: normal; color: var(--c-gold); }
.hero__sub { margin: 20px 0 28px; font-size: 16px; color: #dbe4f5; max-width: 540px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-xs); font-weight: 700; font-size: 15px;
  border: none; transition: transform .12s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--white { background: var(--c-white); color: var(--c-navy); }
.btn--accent { background: var(--c-red); color: #fff; box-shadow: 0 6px 16px rgba(192,57,43,.30); }
.btn--accent:hover { background: var(--c-red-dark); }
.btn--outline { border: 2px solid rgba(255,255,255,.6); color: var(--c-white); background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.10); }
.btn--ghost { background: var(--c-white); color: var(--c-primary); border: 1px solid var(--c-border); }
.btn--ghost:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }

.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stat { text-align: center; border-right: 1px solid rgba(255,255,255,.18); padding-right: 24px; }
.hero__stat:last-child { border-right: none; }
.hero__stat b { display: block; font-size: 32px; font-weight: 800; color: var(--c-gold); line-height: 1.1; }
.hero__stat span { font-size: 13px; color: #c6d2ec; }

/* Hero 右侧联系卡 */
.hero__card {
  background: var(--c-white); border-top: 4px solid var(--c-gold);
  border-radius: var(--radius); padding: 28px; color: var(--c-text);
  box-shadow: var(--shadow-lg);
}

/* ---------- 报名入口：hero「立即报名」就地展开小程序码｜2026-10-23 ----------
   小程序是学校现在的报名入口。桌面端点击「立即报名」，按钮就地换成一张扫码卡
   （不新增常驻浮层、不遮挡正文，默认态与原来一致）。
   手机上二维码没有意义（自己扫自己），所以点了直接跳报名页，改由底部条给"搜一搜"。 */
.hero__btns { align-items: center; }
.hero-cta-wrap { position: relative; display: inline-flex; align-items: center; }
.hero-cta { cursor: pointer; font-family: inherit; border: none; }
.hero-cta__qr { width: 16px; height: 16px; opacity: .92; }
/* 手机端换成普通链接（扫码无意义），桌面端才是展开扫码卡的按钮 */
.hero-cta-mobile { display: none; }
@media (max-width: 768px) {
  .hero-cta { display: none; }
  .hero-cta-mobile { display: inline-flex; }
}
.hero-qr-pop { display: none; }
.hero-cta-wrap.is-open .hero-cta { display: none; }
.hero-cta-wrap.is-open .hero-qr-pop {
  display: flex; align-items: center; gap: 13px;
  padding: 10px 34px 10px 10px; position: relative;
  background: #fff; border-radius: 8px; border-left: 3px solid var(--c-gold);
  box-shadow: 0 14px 34px rgba(4, 12, 32, .38);
  text-align: left; color: var(--c-text);
}
.hero-qr-pop__qr { width: 112px; height: 112px; flex-shrink: 0; }
.hero-qr-pop__qr img { display: block; width: 100%; height: 100%; }
.hero-qr-pop__txt { display: flex; flex-direction: column; gap: 3px; }
.hero-qr-pop b { font-size: 14px; font-weight: 800; color: var(--c-navy); }
.hero-qr-pop span { font-size: 11px; color: var(--c-muted); }
.hero-qr-pop__alt {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  margin-top: 8px; padding: 5px 11px;
  font-size: 12px; font-weight: 600; color: var(--c-primary);
  background: #eef2fb; border: 1px solid #dbe3f4; border-radius: 5px;
  text-decoration: none; transition: background .15s, border-color .15s;
}
.hero-qr-pop__alt:hover { background: #e2e9f8; border-color: #c6d3ee; }
.hero-qr-pop__x {
  position: absolute; right: 7px; top: 6px; width: 20px; height: 20px;
  border: none; background: #eef2fb; color: #5b6b8a; border-radius: 4px;
  font-size: 13px; line-height: 1; cursor: pointer; font-family: inherit;
}
.hero-qr-pop__x:hover { background: #e0e7f5; }
.entry-bar { display: none; }
@media (max-width: 768px) {
  .entry-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    align-items: center; justify-content: center; gap: 6px;
    padding: 13px 16px; background: var(--c-primary); color: #fff;
    font-size: 14px; font-weight: 700; box-shadow: 0 -6px 18px rgba(9,20,48,.28);
  }
  .entry-bar b { color: #ffe9a8; }
  body { padding-bottom: 54px; }
  /* 底部条会压住 AI 悬浮按钮，把它抬上去 */
  .ai-chat-btn { bottom: 72px; }
}
.hero__card h3 { font-size: 18px; margin-bottom: 16px; color: var(--c-navy); }
.hero__card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__card li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-text); }
.hero__card li::before { content: ""; width: 6px; height: 6px; background: var(--c-gold); flex-shrink: 0; transform: rotate(45deg); }

/* ---------- Hero 右侧：实训场地「全出血」轮播（2026-10-23） ----------
   参考影视站头图：照片铺满右半区 + 左缘渐变溶进深蓝背景，不设卡片边框；
   图片层单独做 mask，图注/圆点/箭头不受遮罩影响。
   照片全部来自学校后台上传的原图（2025-12），图注只写照片里能看见的字。 */
.hero--media .container { position: relative; z-index: 4; pointer-events: none; }
.hero--media .hero__lead a,
.hero--media .hero__lead button { pointer-events: auto; }
.hero--media .hero__inner { grid-template-columns: 1fr; padding: 66px 0 74px; }
.hero--media .hero__lead { max-width: 620px; }

/* 尺寸 = C 方案（560×393，1.424:1，和图片比例一致）；margin-top 让图片中心与左侧文字块中心对齐 */
.hero__media {
  position: absolute; top: 50%; margin-top: -143px;
  /* 右边缘对齐 .container 的右内容边（1280 容器 + 24 内边距），不是贴视口右沿 */
  right: max(24px, calc((100% - 1280px) / 2 + 24px));
  width: 48%; max-width: 560px; height: 393px;
  z-index: 3; overflow: hidden; pointer-events: none;
}
/* 羽化已经烘焙进图片的 alpha 通道（feather.py），这里不再用 CSS mask，
   避免遮罩到边界只降到 ~60% 透明、在亮部留下一条边线 */
.hero__media-slides { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero__shot-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .6s ease;
}
.hero__shot-slide.is-active { opacity: 1; }

.hero__shot-badge {
  position: absolute; right: 18px; top: 14px; z-index: 4;
  background: rgba(10, 21, 54, .55); color: #f0d9a8;
  border: 1px solid rgba(201, 162, 75, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 3px;
}
.hero__shot-cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px; border-radius: 5px;
  background: rgba(8, 16, 40, .5); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
}
.hero__shot-cap::before { content: ""; width: 16px; height: 2px; background: var(--c-gold); }

.hero__shot-dots {
  position: absolute; right: 18px; bottom: 22px; z-index: 4;
  display: flex; gap: 7px; pointer-events: auto;
}
.hero__shot-dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .38); cursor: pointer;
  transition: width .22s, border-radius .22s, background .22s;
}
.hero__shot-dot:hover { background: rgba(255, 255, 255, .72); }
.hero__shot-dot.is-active { width: 22px; border-radius: 4px; background: var(--c-gold); }

.hero__shot-nav {
  position: absolute; top: 50%; margin-top: -17px; z-index: 5;
  width: 34px; height: 34px; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
  background: rgba(8, 18, 40, .38); pointer-events: auto;
  opacity: .7; transition: opacity .18s, background .18s;
}
.hero__shot-nav::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; margin: 0;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.hero__shot-nav--prev { left: 10px; }
.hero__shot-nav--next { right: 10px; }
.hero__shot-nav--prev::before { transform: translate(-50%, -50%) rotate(-135deg); }
.hero__shot-nav--next::before { transform: translate(-50%, -50%) rotate(45deg); }
.hero__shot-nav:hover { opacity: 1; background: rgba(8, 18, 40, .62); }
.hero__media:hover .hero__shot-nav { opacity: .95; }

@media (max-width: 1300px) {
  .hero__media { width: 46%; max-width: 480px; height: 337px; margin-top: -116px; }
}
@media (max-width: 1100px) {
  .hero__media { width: 44%; max-width: 400px; height: 281px; margin-top: -88px; }
  .hero--media .hero__lead { max-width: 480px; }
}
@media (max-width: 960px) {
  .hero__media { width: 42%; max-width: 340px; height: 239px; margin-top: -66px; }
  .hero--media .hero__lead { max-width: 460px; }
}
@media (max-width: 900px) {
  .hero--media .hero__inner { grid-template-columns: 1fr; padding: 38px 0 44px; }
  .hero--media .hero__lead { max-width: none; }
  .hero__media {
    position: relative; right: auto; top: auto; margin: 0 16px 26px;
    width: auto; max-width: none; height: 240px; border-radius: 8px;
  }

  .hero__shot-badge { right: 12px; top: 12px; }
  .hero__shot-cap { left: 12px; bottom: 14px; font-size: 12px; }
  .hero__shot-dots { right: 12px; bottom: 20px; }
  .hero__shot-nav { width: 30px; height: 30px; margin-top: -15px; }
  .hero__shot-nav--prev { left: 8px; }
  .hero__shot-nav--next { right: 8px; }
}

/* ---------- 快速通道 ---------- */
.channels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.channel {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  padding: 20px 14px; text-align: center; transition: .2s;
}
.channel:hover { border-color: var(--c-gold); box-shadow: var(--shadow); margin-top: -3px; }
.channel__icon {
  width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-white);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
}
.channel:nth-child(2n) .channel__icon { background: linear-gradient(135deg, var(--c-primary-deep), var(--c-primary)); }
.channel__icon svg { width: 26px; height: 26px; }
.channel__name { font-size: 14.5px; font-weight: 700; color: var(--c-navy); }

/* ---------- 培训项目 ---------- */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  /* overflow 不裁：下面 .program__top 用 min-height，窄屏折行时让它自然变高，
     不要被卡片裁掉（2026-09-25 修复竖向裁切）。 */
  overflow: visible; transition: .2s;
}
.program:hover { border-color: var(--c-gold); box-shadow: var(--shadow); }
.program__top {
  /* min-height 而不是 height：手机两列时卡片只有约 123px 宽，
     "特种作业培训"这类标题会折成 2–3 行；固定 88px 会被撑破，
     再配合父级 overflow:hidden 就会把标题竖向裁掉（实测 320px 被裁 10–26px）。 */
  min-height: 88px; display: flex; flex-direction: column; justify-content: center;
  padding: 12px 22px; color: var(--c-white); background: var(--c-primary);
  border-bottom: 3px solid var(--c-gold);
}
.program:nth-child(2) .program__top { background: var(--c-primary-dark); }
.program:nth-child(3) .program__top { background: var(--c-primary-deep); }
.program:nth-child(4) .program__top { background: #1c3f7c; }
.program__top b { font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.program__top span { font-size: 12px; opacity: .9; letter-spacing: 1px; }
.program__body { padding: 18px 22px; display: flex; flex-direction: column; flex: 1; }
.program__body p { font-size: 14px; color: var(--c-muted); margin-bottom: 12px; }
.program__body a { font-size: 14px; color: var(--c-primary); font-weight: 700; margin-top: auto; align-self: flex-start; }
.program__body a:hover { color: var(--c-gold); }
/* 卡片等高 +「立即报名」统一压到卡片底部（2026-10-23：文案长短不一导致链接高低不齐） */
.program { display: flex; flex-direction: column; }
.program__top { flex: 0 0 auto; }
@media (min-width: 901px) {
  .programs { grid-auto-rows: 1fr; }
}

/* ---------- 校园环境图墙（2026-10-23） ----------
   1 张大图 + 4 张方图，大图占 2×2 格。图源：老站「学校环境」原片 + 后台实训照。 */
.env { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.env__item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 8px; background: #dfe6f2; aspect-ratio: 4 / 3;
}
.env__item--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.env--three { grid-template-columns: repeat(3, 1fr); }
.env__item img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.env__item:hover img { transform: scale(1.045); }
.env__cap {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 30px 14px 11px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  background: linear-gradient(to top, rgba(7, 14, 34, .82), rgba(7, 14, 34, 0));
}
.env__item--big .env__cap { font-size: 15px; padding: 42px 18px 16px; }
@media (max-width: 900px) {
  .env { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .env__item--big { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 9; }
  .env__cap { padding: 24px 10px 8px; font-size: 12px; }
  .env__item--big .env__cap { font-size: 13px; padding: 28px 12px 10px; }
}

/* ---------- 通知公告（白板列表式） ---------- */
.news {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.news__tabs { display: flex; border-bottom: 2px solid var(--c-border); background: var(--c-primary-soft); overflow-x: auto; }
.news__tab {
  padding: 16px 28px; font-size: 16px; font-weight: 700; color: var(--c-muted);
  border: none; background: none; border-bottom: 3px solid transparent; white-space: nowrap;
}
.news__tab.is-active { color: var(--c-primary); border-bottom-color: var(--c-gold); background: var(--c-white); }
.news__pane { display: none; padding: 4px 24px 24px; }
.news__pane.is-active { display: block; }

.news__feature {
  display: grid; grid-template-columns: 280px 1fr; gap: 20px;
  padding: 18px; margin-bottom: 8px; background: var(--c-primary-soft);
  border-left: 4px solid var(--c-gold); border-radius: var(--radius-sm); align-items: center;
}
.news__feature-img {
  position: relative; height: 170px; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(140deg, #10214f 0%, #1a3172 55%, #27479a 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  color: #fff; font-weight: 800;
}
/* 招生简章封面：金线内框 + 点阵底纹 + 衬线标题，替代原来那块纯渐变色块 */
.news__feature-img::before {
  content: ""; position: absolute; inset: 9px; border: 1px solid rgba(201, 162, 75, .5);
  border-radius: 3px; pointer-events: none;
}
.news__feature-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 16px 16px;
}
.news__cover-kicker {
  position: relative; z-index: 1; font-size: 11px; font-weight: 700;
  letter-spacing: 4px; color: var(--c-gold-soft);
}
.news__cover-title {
  position: relative; z-index: 1; font-family: var(--font-serif);
  font-size: 27px; font-weight: 700; letter-spacing: 7px; text-indent: 7px;
}
.news__cover-line { position: relative; z-index: 1; width: 36px; height: 2px; background: var(--c-gold); }
.news__cover-year {
  position: relative; z-index: 1; font-size: 11px; font-weight: 400;
  letter-spacing: 1.5px; color: rgba(255, 255, 255, .74);
}
.news__feature-date { font-size: 13px; color: var(--c-gold); font-weight: 700; }
.news__feature h4 { font-size: 19px; color: var(--c-navy); margin: 6px 0; }
.news__feature p { font-size: 14px; color: var(--c-muted); }

.news__list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--c-border); }
.news__list li:last-child { border-bottom: none; }
.news__list a { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; color: var(--c-text); }
.news__list a::before { content: "■"; color: var(--c-gold); font-size: 10px; flex-shrink: 0; }
.news__list a:hover { color: var(--c-primary); }
.news__list a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news__list time, .article-list time { font-size: 13px; color: var(--c-muted); flex-shrink: 0; }
.news__tag { font-size: 11px; padding: 1px 7px; border-radius: var(--radius-xs); background: var(--c-primary-light); color: var(--c-primary); flex-shrink: 0; font-weight: 600; }

/* ---------- 学校介绍预览 ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__img {
  position: relative; height: 330px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #dde6f5, #b9c8e5 60%, #cfdaef);
  display: flex; align-items: center; justify-content: center; color: var(--c-primary-deep);
  font-weight: 800; font-size: 22px; letter-spacing: 3px;
  border: 1px solid var(--c-border);
}
.about__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__text h3 { font-size: 24px; color: var(--c-navy); margin-bottom: 12px; }
.about__text p { color: var(--c-muted); margin-bottom: 16px; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 26px; }
.about__point { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--c-navy); }
.about__point::before { content: "◈"; color: var(--c-gold); font-weight: 800; }

/* ---------- 底部 CTA ---------- */
.cta { background: var(--c-navy); color: #fff; border-top: 4px solid var(--c-gold); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 40px; flex-wrap: wrap; }
.cta__title { font-size: 24px; font-weight: 800; }
.cta__sub { margin-top: 6px; color: #c6d2ec; font-size: 15px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--c-navy); color: #b6c1d8; font-size: 14px; border-top: 4px solid var(--c-gold); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding: 52px 0 38px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--c-gold); display: inline-block; }
.footer p { margin-bottom: 10px; }
.footer__name { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a:hover { color: var(--c-gold); }
.footer__contact span { display: block; margin-bottom: 8px; }
.footer__qr {
  width: 120px; height: 120px; border-radius: 6px; background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--c-navy);
  font-weight: 700; margin-top: 8px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0; text-align: center; font-size: 13px; color: #8fa0c4; line-height: 1.8;
}
.footer__bottom a { color: #b6c1d8; }
.footer__bottom a:hover { color: #fff; }

/* 友情链接（原站页脚由 getList(16) 动态输出，换皮后保留，单独占一行） */
.footer__friend {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px;
  font-size: 13px; color: #8fa0c4;
}
.footer__friend b { color: #fff; font-weight: 700; flex-shrink: 0; }
.footer__friend a:hover { color: var(--c-gold); }

/* ---------- 面包屑 ---------- */
.crumb { background: var(--c-primary-soft); padding: 22px 0; border-bottom: 1px solid var(--c-border); }
.crumb h1 { font-size: 25px; color: var(--c-navy); }
.crumb ol { display: flex; gap: 8px; font-size: 14px; color: var(--c-muted); margin-top: 6px; }
.crumb ol a:hover { color: var(--c-primary); }
.crumb ol span { color: var(--c-primary); }

/* ---------- 内页横向子导航（换皮新增，原设计稿没有） ----------
   老站每个内页左侧都有一列子栏目（学校概况下 5 个子页、人力资源 2 个、
   资讯中心按分类……）。新版设计稿没有左侧栏。
   两个选择：另写一套左侧栏（偏离设计稿 + 移动端要另做折叠），
   或者把那一列改成横向子导航。选后者 —— 复用 .news__tabs 的观感，
   移动端本来就是横向可滑，不需要额外写折叠逻辑，
   而且子页面在手机上不会再像老站那样"藏在左边一列里"点不到。 */
.subtabs { background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.subtabs__inner { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.subtabs__item {
  flex-shrink: 0; padding: 14px 18px; font-size: 15px; font-weight: 600;
  color: var(--c-muted); border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.subtabs__item:hover { color: var(--c-primary); }
.subtabs__item.is-active { color: var(--c-primary); border-bottom-color: var(--c-gold); }

/* ---------- 通用列表 / 卡片页 ---------- */
.page { padding: 46px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: .2s; border-top: 3px solid var(--c-gold);
}
.card:hover { box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(20, 48, 110, .22);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 18px; color: var(--c-navy); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--c-muted); }

.article-list, .detail { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 8px 26px; box-shadow: var(--shadow-sm); }
.article-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px dashed var(--c-border); }
.article-list li:last-child { border-bottom: none; }
.article-list a { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--c-text); min-width: 0; }
.article-list a::before { content: "■"; color: var(--c-gold); font-size: 10px; flex-shrink: 0; }
.article-list a:hover { color: var(--c-primary); }
/* 演示占位条目：保留列表观感与方块符号，但**不可点**。
   演示包里没有这些附件/岗位详情页。做成假链接会让人以为"点了跳页首 = 坏了"；
   指到真实目标又属编造。所以明确表现为"暂不可用"（灰色 + 默认光标）。 */
.is-demo-dead { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--c-muted); min-width: 0; cursor: default; }
.is-demo-dead::before { content: "■"; color: var(--c-border); font-size: 10px; flex-shrink: 0; }
.pagination .is-demo-dead { color: var(--c-muted); cursor: default; background: #fafbfd; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 8px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); border-radius: var(--radius-xs); color: var(--c-text); font-weight: 600;
}
.pagination .is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* 分页外面包一层，用来放老站就有的「跳转：__ 页」输入框（换皮保留，不砍功能） */
.pagination-wrap { margin-top: 34px; }
.pagination-wrap .pagination { margin-top: 0; }
.pagination-jump {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 14px; color: var(--c-muted);
}
.pagination-jump input {
  width: 68px; padding: 7px 10px; text-align: center; font-family: inherit; font-size: 14px;
  border: 1px solid var(--c-border); border-radius: var(--radius-xs); background: var(--c-white);
}
.pagination-jump input:focus { outline: 2px solid var(--c-primary-light); border-color: var(--c-primary); }
.pagination-jump .go {
  padding: 7px 16px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--c-primary); border-radius: var(--radius-xs);
  background: var(--c-primary); color: var(--c-white);
}
.pagination-jump .go:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }

/* ---------- 课件中心列表（换皮新增） ----------
   老站的 .load 列表每条是：标题 + 下载次数 + 「下载文档」按钮 + 上传时间。
   设计稿没有这一块组件，按现有设计变量补一个。
   注意用 flex-wrap + flex-basis：标题长短不一，窄屏要能整行落下，
   否则「标题 + 次数 + 按钮 + 时间」挤在一行必然横向溢出。 */
.file-list {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 8px 26px; box-shadow: var(--shadow-sm);
}
.file-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 16px 0; border-bottom: 1px dashed var(--c-border);
}
.file-list li:last-child { border-bottom: none; }
.file-list__title { flex: 1 1 260px; min-width: 0; font-size: 16px; font-weight: 600; color: var(--c-text); }
.file-list__meta {
  display: flex; align-items: center; gap: 18px; flex-shrink: 0;
  font-size: 13px; color: var(--c-muted);
}
.file-list__num { display: inline-flex; align-items: center; gap: 5px; }
.file-list__num b { color: var(--c-primary); font-weight: 700; }
.btn-down {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 8px 16px; font-size: 14px; font-weight: 600; font-family: inherit;
  border: 1px solid var(--c-primary); border-radius: var(--radius-xs);
  background: var(--c-primary); color: var(--c-white) !important; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-down:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn-down--locked { background: var(--c-white); color: var(--c-primary) !important; }

/* ---------- 轻量弹窗（换皮新增） ----------
   老站课件中心有一道「姓名 + 身份证号」的登录门（cid=21 要登录才能下载），
   弹窗原本靠 js/open.js 的 opLoad()/cl() 加 .popbox 实现。
   新版改成这里这套：不依赖那个老脚本，也不再需要 jQuery。 */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 26, 64, .55);
}
.modal.is-open { display: flex; }
.modal__box {
  position: relative; width: 100%; max-width: 380px; padding: 26px 24px;
  background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.modal__title { font-size: 18px; font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.modal__sub { font-size: 13px; color: var(--c-muted); margin-bottom: 18px; line-height: 1.7; }
.modal__close {
  position: absolute; top: 8px; right: 12px; padding: 4px; border: none; background: none;
  font-size: 24px; line-height: 1; color: var(--c-muted); cursor: pointer;
}
.modal__close:hover { color: var(--c-text); }
.modal__row { margin-bottom: 14px; }
.modal__row label { display: block; font-size: 13px; color: var(--c-muted); margin-bottom: 6px; }
.modal__row input {
  width: 100%; padding: 10px 12px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--c-border); border-radius: var(--radius-xs);
}
.modal__row input:focus { outline: 2px solid var(--c-primary-light); border-color: var(--c-primary); }
.modal__submit {
  width: 100%; margin-top: 4px; padding: 11px 0; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 700; border: 1px solid var(--c-primary);
  border-radius: var(--radius-xs); background: var(--c-primary); color: var(--c-white);
}
.modal__submit:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }

/* ---------- 外嵌查询框（换皮新增，用于证书 / 成绩查询） ----------
   老站这两页是直接塞一个 <iframe width="1000px" height="449px">，
   在 998px 的固定容器里。手机上必然横向溢出（1000px 比屏幕还宽）。
   这里改成外层容器撑满、iframe 跟随 100%，窄屏再降一点高度。 */
.embed-box {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.embed-note { font-size: 15px; color: var(--c-text); margin-bottom: 14px; line-height: 1.8; }
.embed-frame {
  position: relative; width: 100%; height: 449px; overflow: hidden;
  border: 1px solid var(--c-border); border-radius: var(--radius-xs);
  background: var(--c-primary-soft);
}
.embed-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.embed-fallback { margin-top: 12px; font-size: 13px; color: var(--c-muted); line-height: 1.8; }
.embed-fallback a { color: var(--c-primary); text-decoration: underline; }
@media (max-width: 768px) {
  .embed-box { padding: 16px; }
  .embed-frame { height: 400px; }
}

/* ---------- 在线报名入口（换皮新增） ----------
   老站的 .enr_inline 就是把三张 335×84 的横幅图堆在正文里，点了外链出去。
   问题：横幅图在窄屏会溢出（写死 width 属性），而且看不出"这是能点的入口"。
   改法：卡片式，明确「前往报名」，图片 max-width:100% 自适应。
   另外原始链接是 http，实测两个外部站点都会 301 到 https，所以直接写 https，
   少一跳、也不会有明文请求。 */
.enroll-groups { display: grid; gap: 30px; }
.enroll-group__title {
  font-size: 18px; font-weight: 700; color: var(--c-navy);
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--c-gold-soft);
}
.enroll-links { display: grid; gap: 14px; }
.enroll-link {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.enroll-link:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.enroll-link img { display: block; max-width: 100%; height: auto; }
.enroll-link__go { flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.enroll-link:hover .enroll-link__go { color: var(--c-primary-dark); }
@media (max-width: 768px) {
  .enroll-link { justify-content: center; }
  .enroll-link__go { width: 100%; text-align: center; }
}

/* ---------- 站内搜索表单（换皮新增） ----------
   enroll.php 服务端本来就有搜索逻辑（keytype=title|intro + keyword），
   但页面上**从来没有渲染过搜索表单**，所以那段代码一直是死的。
   换皮时把表单补上，让它真的能用。 */
.searchbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 16px 20px; margin-bottom: 22px;
  background: var(--c-primary-soft); border: 1px solid var(--c-border); border-radius: var(--radius);
}
.searchbar select, .searchbar input[type="text"] {
  padding: 10px 12px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--c-border); border-radius: var(--radius-xs); background: var(--c-white);
}
.searchbar input[type="text"] { flex: 1 1 240px; min-width: 0; }
.searchbar select:focus, .searchbar input[type="text"]:focus {
  outline: 2px solid var(--c-primary-light); border-color: var(--c-primary);
}
.searchbar button {
  flex-shrink: 0; padding: 10px 22px; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 700; border: 1px solid var(--c-primary);
  border-radius: var(--radius-xs); background: var(--c-primary); color: var(--c-white);
}
.searchbar button:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }

/* ---------- 表单 ---------- */
.form { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--c-primary); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { margin-bottom: 18px; }
.form__group label { display: block; font-size: 14px; font-weight: 700; color: var(--c-navy); margin-bottom: 8px; }
.form__group input, .form__group select, .form__group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-xs);
  font-size: 15px; font-family: inherit; background: var(--c-bg); transition: border-color .2s, box-shadow .2s;
}
.form__group textarea { resize: vertical; min-height: 120px; }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
  outline: none; border-color: var(--c-primary); background: var(--c-white); box-shadow: 0 0 0 3px rgba(30,58,138,.10);
}
.form__submit { width: 100%; }

/* ---------- 联系我们 ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact__info { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact__item {
  display: flex; gap: 16px; align-items: flex-start; background: var(--c-white);
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 16px 20px;
  border-left: 4px solid var(--c-gold);
}
.contact__item-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 12px rgba(20,48,110,.18);
}
.contact__item-icon svg { width: 24px; height: 24px; }
.contact__item b { display: block; color: var(--c-navy); margin-bottom: 2px; }
.contact__item span { font-size: 14px; color: var(--c-muted); }

/* ---------- 详情页 ---------- */
.detail { max-width: 860px; margin: 0 auto; padding: 40px; }
.detail__title { font-size: 25px; color: var(--c-navy); margin-bottom: 14px; }
.detail__meta { display: flex; gap: 20px; font-size: 13px; color: var(--c-muted); padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--c-border); }
.detail__meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail__body { font-size: 16px; color: var(--c-text); }
.detail__body p { margin-bottom: 18px; }
.detail__body h3 { margin: 22px 0 12px; color: var(--c-primary-deep); }
.detail__body ul { margin: 0 0 18px 22px; }
.detail__body ul li { list-style: disc; margin-bottom: 6px; }

/* =========================================================
   单页聚合版（One-Page）—— 少滚动、少跳转，关键信息一页呈现
   ========================================================= */
.one-info { background: var(--c-navy); color: #b6c1d8; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.one-info__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0; }
.one-info__left { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.one-info__left span { display: inline-flex; align-items: center; gap: 6px; }
.one-info__right { display: flex; gap: 12px; align-items: center; }
.one-info__right .jump { font-weight: 700; color: var(--c-gold); }
.one-info__right .jump:hover { color: #fff; }

.hero--one { padding: 36px 0 44px; }
.hero--one .hero__inner { padding: 0; }
.hero--one .hero__title { font-size: 34px; }
.hero--one .hero__sub { margin-bottom: 22px; }
.hero--one .hero__stats { margin-top: 24px; }
.hero--one .hero__stat b { font-size: 26px; }

.one-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }

.one-card {
  background: var(--c-white); border-top: 4px solid var(--c-gold);
  border-radius: var(--radius); padding: 24px; color: var(--c-text);
  box-shadow: var(--shadow-lg);
}
.one-card__title { color: var(--c-navy); font-size: 17px; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--c-gold); }
.one-card__row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--c-text); }
.one-card__row .k {
  flex-shrink: 0; min-width: 40px; text-align: center; font-weight: 700;
  background: var(--c-primary-light); color: var(--c-primary); border-radius: var(--radius-xs); padding: 2px 8px;
}
.one-card__row b { color: var(--c-gold); }
.one-card__btn { margin-top: 6px; width: 100%; }

.one .section { padding: 44px 0; }
.one .section__head { margin-bottom: 26px; }
.one .section__title { font-size: 25px; }
.one .channels { gap: 12px; }
.one .channel { padding: 16px 12px; }
.one .programs { gap: 16px; }

.one .news__pane { display: block; padding: 4px 20px 20px; }
.one-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* 网格项默认 min-width:auto，不会收缩到内容宽度以下；
   而列内 li a span 是 nowrap，会把列撑宽导致横向溢出。 */
.one-news-col { min-width: 0; }
.one-news-col h4 {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; color: var(--c-navy); padding-bottom: 10px; margin-bottom: 6px;
  border-bottom: 2px solid var(--c-gold);
}
.one-news-col h4 a { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.one-news-col h4 a:hover { color: var(--c-primary); }
.one-news-col li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px; }
.one-news-col li:last-child { border-bottom: none; }
.one-news-col li a { display: flex; align-items: center; gap: 7px; min-width: 0; }
.one-news-col li a::before { content: "■"; color: var(--c-gold); font-size: 9px; flex-shrink: 0; }
.one-news-col li a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-news-col li:hover a { color: var(--c-primary); }
.one-news-col time { font-size: 12px; color: var(--c-muted); flex-shrink: 0; }

.contact--compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact--compact .contact__item { min-width: 0; }
.contact--compact .contact__item { padding: 14px 16px; }
.contact--compact .contact__item-icon { width: 38px; height: 38px; }

#programs, #news, #channels, #schoolinfo, #contactsec { scroll-margin-top: 90px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .channels { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about__grid { gap: 32px; }
  .brand__logo { width: 186px; height: 53px; }
  .nav__link { font-size: 15px; padding: 8px 10px; }

  /* ---- 导航在 1024 档就收进汉堡菜单（原设计稿是 768 档，太晚）----
     实测：导航一行放得下需要约 820px 内容宽（校徽 186 + 导航 634），
     而 .container 左右各有 24px 内边距，所以视口小于约 870px 时
     导航就被压窄 1~2px。中文可以在任意字符间换行，被压窄后
     每个标签都会折成两行 —— 实测视口 910~770 区间全部是两行，
     连「首页」两个字都会上下叠起来。
     把收起断点提到 1024，这个区间就不存在了。 */
  .nav { display: none; }
  .nav__toggle { display: flex; }
  .nav.nav--open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--c-navy); border-bottom: 4px solid var(--c-gold);
    padding: 12px 24px 20px; gap: 2px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  /* 面板里的项要够大好点，所以改回 16px 并加大内边距 */
  .nav__link { border-radius: var(--radius-xs); font-size: 16px; padding: 11px 14px; }
  .nav__cta { margin: 10px 0 0; text-align: center; }

  /* 触摸屏没有 hover，下拉改为常显的缩进子菜单（等于完整站点地图，
     也避免子页面在手机上完全点不到） */
  .nav__item { display: block; height: auto; }
  .nav__drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 4px 14px; background: transparent;
    border-radius: 0; box-shadow: none;
  }
  .nav__drop a { color: #b8c5e0; padding: 9px 12px; }
  .nav__drop a:hover { background: rgba(255,255,255,.08); color: #fff; }
}

/* ---------------------------------------------------------------
   窄桌面 / 大平板收拢档（1000–1100px 的夹缝）
   ---------------------------------------------------------------
   为什么加这一档：hero 两栏是 1.35fr / .85fr，1024px 时右栏只剩约 323px，
   "安全生产（三类人员）"这类项目名会被折成三行；四张培训卡在 1024px 时
   每张仅约 227px，也必然折行。所以提前到 960px 就收成两列。
   位置在 1024 之后、768 之前，与文件既有的覆盖顺序一致。 */
@media (max-width: 960px) {
  .programs { grid-template-columns: repeat(2, 1fr); }
  .hero__card ul { grid-template-columns: 1fr; }
}

/* hero 单栏提前到 900px：原来只在 768px 以下收单栏，导致 769–960px 这段
   左栏被压到约 380px，主标题「技能成就未来 匠心筑梦」折行、末字单独成行。
   收单栏后卡片恢复两列，项目名不再折行。 */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 52px 0 56px; }
  .hero__card ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* 顶部工具条在手机上放不下：电话 + 邮箱 + 3 个链接会挤成两行，
     而且每个链接自己还折成「在线/留言」这样两行。
     改成上下两行居中，并让邮箱先让位。 */
  .topbar__inner { height: auto; padding: 7px 0; flex-direction: column; gap: 4px; }
  .topbar__left { gap: 14px; justify-content: center; flex-wrap: wrap; font-size: 12px; }
  .topbar__left span:last-child { display: none; }
  .topbar__links { gap: 14px; font-size: 12px; }
  .topbar__links a { white-space: nowrap; }
  .topbar__dot { display: none; }

  .hero__inner { grid-template-columns: 1fr; padding: 48px 0 52px; text-align: center; }
  .hero__title { font-size: 32px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__btns, .hero__stats { justify-content: center; }
  .hero__card { text-align: left; }

  .news__feature { grid-template-columns: 1fr; }
  .news__feature-img { height: 150px; }

  /* 信息聚合首页（home.html）的两处网格原先没做响应式折叠，窄屏会横向溢出 */
  .one-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .one-news-grid { grid-template-columns: 1fr; gap: 18px; }
  /* 三列紧凑联系方式在窄屏同样放不下（电话/地址不可断行） */
  .contact--compact { grid-template-columns: 1fr; gap: 12px; }

  .section { padding: 48px 0; }
  .section__title { font-size: 24px; }
  /* 手机端保持两列：四张培训卡各占满宽会让这一节拉得很长。
     窄屏靠缩小间距与卡内边距容纳，两列每张约 165px 足够放项目名。 */
  .programs { gap: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 24px; }
  .form__row { grid-template-columns: 1fr; }
  .detail { padding: 26px; }
}

@media (max-width: 480px) {
  .channels { grid-template-columns: repeat(2, 1fr); }
  .topbar__links { display: none; }
  .hero--one .hero__inner { text-align: center; }
  .hero--one .hero__stats, .hero--one .hero__btns { justify-content: center; }
  .one-card { text-align: left; }
}

/* =========================================================
   AI 智能咨询浮动窗口
   ========================================================= */
.ai-chat-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(10, 31, 68, .35);
}
.ai-chat-btn:hover { transform: scale(1.05); }
.ai-chat-btn svg { width: 26px; height: 26px; }
.ai-chat-btn__badge {
  position: absolute; top: -4px; right: -4px; background: var(--c-gold); color: var(--c-navy);
  font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px;
}
.ai-chat {
  position: fixed; right: 20px; bottom: 90px; z-index: 999;
  width: 350px; max-width: calc(100vw - 40px);
  height: 470px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(18px); opacity: 0; pointer-events: none; transition: .25s;
}
.ai-chat.is-open { transform: none; opacity: 1; pointer-events: auto; }
.ai-chat__head {
  background: linear-gradient(120deg, var(--c-primary), var(--c-primary-deep));
  color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px;
}
.ai-chat__avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--c-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.ai-chat__title { font-weight: 800; font-size: 15px; }
.ai-chat__sub { font-size: 12px; color: #d6e0f5; }
.ai-chat__close {
  margin-left: auto; background: rgba(255,255,255,.16); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 6px; font-size: 16px; line-height: 1;
}
.ai-chat__body { flex: 1; overflow-y: auto; padding: 16px; background: #f6f8fc; display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 82%; padding: 9px 12px; border-radius: 10px; font-size: 14px; line-height: 1.55; }
.ai-msg--bot { background: #fff; color: var(--c-text); border: 1px solid var(--c-border); align-self: flex-start; border-bottom-left-radius: 2px; }
.ai-msg--user { background: var(--c-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }
.ai-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.ai-chip {
  border: 1px solid var(--c-primary); color: var(--c-primary); background: #fff;
  border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.ai-chip:hover { background: var(--c-primary-light); }
.ai-chat__input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--c-border); }
.ai-chat__input input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--c-border); border-radius: 8px;
  font-size: 14px; font-family: inherit;
}
.ai-chat__input input:focus { outline: none; border-color: var(--c-primary); }
.ai-chat__input button { background: var(--c-primary); color: #fff; border: none; border-radius: 8px; padding: 0 16px; font-weight: 700; }
.ai-chat__input button:hover { background: var(--c-primary-dark); }

/* =========================================================
   竞价高转化落地页（landing）
   ========================================================= */
.land-hero { padding: 40px 0 52px; }
.land-hero .hero__inner { padding: 0; }
.land-badge { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.land-badge span {
  background: rgba(255,255,255,.12); border: 1px solid var(--c-gold); color: var(--c-gold-soft);
  padding: 4px 12px; border-radius: 3px; font-size: 12.5px; letter-spacing: 1px;
}
.land-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
.land-cta-card {
  background: #fff; border-top: 4px solid var(--c-gold); border-radius: 14px; padding: 26px;
  box-shadow: var(--shadow-lg); color: var(--c-text);
}
.land-cta-card h3 { color: var(--c-navy); font-size: 19px; margin-bottom: 4px; font-family: var(--font-serif); }
.land-cta-card > p { font-size: 14px; color: var(--c-muted); margin-bottom: 16px; }
.land-call {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 18px; border-radius: 8px; background: var(--c-red); color: #fff;
  font-weight: 800; font-size: 19px; letter-spacing: 1px; box-shadow: 0 6px 16px rgba(192,57,43,.3);
}
.land-call:hover { background: var(--c-red-dark); }
.land-qr {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
  border: 1px dashed var(--c-border); border-radius: 8px; padding: 12px;
}
.land-qr-box {
  width: 92px; height: 92px; background: #f0f3f8; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  color: var(--c-muted); text-align: center;
}
.land-qr b { display: block; font-size: 14px; color: var(--c-navy); }
.land-qr span { font-size: 13px; color: var(--c-muted); display: block; margin-top: 4px; }
.land-form { margin-top: 16px; }
.land-form .form__group { margin-bottom: 14px; }
.land-cross {
  background: var(--c-primary-soft); border-left: 4px solid var(--c-gold);
  border-radius: 8px; padding: 14px 18px; font-size: 14px; color: var(--c-muted); line-height: 1.7;
}
.land-cross b { color: var(--c-navy); }
.land-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.land-trust .t { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 18px 14px; text-align: center; }
.land-trust .t b { display: block; font-size: 18px; color: var(--c-primary); margin-bottom: 2px; }
.land-trust .t span { font-size: 13px; color: var(--c-muted); }
.faq { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 6px 24px; }
.faq details { border-bottom: 1px dashed var(--c-border); padding: 14px 0; }
.faq details:last-child { border-bottom: none; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--c-navy); }
.faq details p { margin-top: 8px; font-size: 14px; color: var(--c-muted); }
.land-mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; background: var(--c-navy); border-top: 3px solid var(--c-gold); }
.land-mbar__inner { display: flex; gap: 10px; padding: 10px 14px; align-items: stretch; }
.land-mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0; border-radius: 8px; font-weight: 700; font-size: 15px; }
.land-mbar .mb-tel { background: var(--c-red); color: #fff; }
.land-mbar .mb-wx { background: var(--c-white); color: var(--c-primary); }
.land-mbar .mb-form { background: var(--c-gold); color: var(--c-navy); }
@media (max-width: 900px) {
  .land-grid { grid-template-columns: 1fr; }
  .land-trust { grid-template-columns: repeat(2, 1fr); }
  .land-mbar { display: block; }
  body.has-mbar { padding-bottom: 64px; }
}

/* =========================================================
   正规院校门面：校名横幅 / 滚动公告 / 公文风
   ========================================================= */

/* 重磅校名横幅（含校徽式 logo） */
.school-banner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 22px;
  padding: 24px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.school-banner__cn { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: 5px; line-height: 1.2; font-family: var(--font-serif); }
.school-banner__en { font-size: 12px; color: #b8c5e0; letter-spacing: 3px; margin-top: 7px; text-transform: uppercase; }
.school-banner__tags { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.school-banner__tag { font-size: 12px; color: var(--c-gold-soft); border: 1px solid var(--c-gold); border-radius: 3px; padding: 3px 10px; letter-spacing: 1px; white-space: nowrap; }

/* 滚动公告栏 */
.notice-bar { background: var(--c-gold-soft); border-bottom: 1px solid var(--c-gold); color: #6a4f10; font-size: 14px; }
.notice-bar__inner { display: flex; align-items: center; gap: 16px; }
.notice-bar__label {
  flex-shrink: 0; background: var(--c-red); color: #fff; font-weight: 700;
  padding: 6px 14px; border-radius: 3px; letter-spacing: 2px; font-size: 13px; margin: 8px 0;
}
.notice-bar__track { overflow: hidden; flex: 1; }
.notice-bar__list { display: inline-flex; gap: 52px; white-space: nowrap; animation: notice-scroll 26s linear infinite; padding-left: 20px; will-change: transform; }
.notice-bar__list a { display: inline-flex; align-items: center; gap: 8px; }
.notice-bar__list a::before { content: "●"; color: var(--c-gold); font-size: 9px; }
.notice-bar__list a:hover { color: var(--c-gold); }
@keyframes notice-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.notice-bar:hover .notice-bar__list { animation-play-state: paused; }

/* 公文风：宋体标题 */
.section__title, .crumb h1, .detail__title, .cta__title, .footer h4,
.about__text h3, .news__feature h4, .detail__body h3, .one-card__title,
.program__top b, .hero__title, .news__tabs .news__tab, .contact__item b {
  font-family: var(--font-serif);
}
/* 政务感：标题字重略轻，更稳重 */
.section__title, .crumb h1, .detail__title { font-weight: 700; letter-spacing: 1px; }

/* 分栏结构（政府公文式） */
.doc-cols { columns: 2; column-gap: 32px; }
.doc-cols p { margin-bottom: 14px; color: var(--c-muted); }

/* Hero 内，横幅与主区间距 */
.hero__inner { padding-top: 22px; }
.hero--one .hero__inner { padding-top: 0; }
.hero--one .hero__inner { gap: 26px; }

@media (max-width: 860px) {
  .school-banner { flex-wrap: wrap; gap: 16px; }
  .school-banner__cn { font-size: 27px; letter-spacing: 3px; }
  .school-banner__tags { margin-left: 0; justify-content: flex-start; }
  .doc-cols { columns: 1; }
}

/* =========================================================
   小屏细调（必须放在文件最后）
   ---------------------------------------------------------
   注意：本文件的媒体查询**不是**由宽到窄排列，实测出现顺序为
   768 → 768 → 1024 → 960 → 900 → 768 → 480 → 900 → 860 → 480。
   同权重下后写的规则胜出，因此针对 480px 以下的覆盖必须放在最末尾，
   否则会被同文件靠后的 860px 档覆盖掉（下面这一块就是为此存在的）。
   TODO: 后续整理时建议把所有 @media 按由宽到窄重排，再把这一块并回 480 档。
   ========================================================= */
@media (max-width: 480px) {
  /* 860px 档把校名设为 27px/3px 字距：12 字需 360px，
     而 390px 手机减去容器内边距只剩 342px，
     结果"校"字被挤到第二行单独成行。
     21px/1.5px 后约占 268px，可单行放下。 */
  .school-banner__cn { font-size: 21px; letter-spacing: 1.5px; line-height: 1.3; }
  .school-banner__en { font-size: 10px; letter-spacing: 1.2px; }

  /* 同理由：768px 档的 32px 下，主标题"技能成就未来 匠心筑梦"共 10 字，
     在 342px 可用宽度内会把末字"梦"挤到第二行单独成行。
     26px 后约占 270px，可单行放下。 */
  .hero__title { font-size: 26px; }

  /* 极窄屏（≤460px）两列培训卡只有约 123–158px 宽，
     "特种作业培训"会折成 3 行。收一点内边距与字号，
     配合 .program__top 的 min-height 让它自然变高而不被裁。 */
  .program__top { padding: 10px 14px; }
  .program__top b { font-size: 16px; letter-spacing: .5px; }
  .program__top span { font-size: 11px; }
  .program__body { padding: 14px; }
  .program__body p { font-size: 13px; }
}

/* =========================================================
   关注我们：官方公众号 / 官方小程序二维码（2026-10-22 新增）
   ---------------------------------------------------------
   首页 index.html 新增一节，两张码并排；页脚原来那个写死
   "官方公众号"的白框占位也换成了真图（页脚模板在
   zjjedu_ops\tools\header-footer.mjs，改完要跑一次 --apply）。

   图片：assets/images/qr-wechat.webp（公众号，取自老站 wei.jpg）
         assets/images/qr-miniprogram.png（小程序，目前是占位图，
         拿到学校原图后**直接覆盖同名文件**即可，不用改 HTML/CSS）
   ========================================================= */
.follow-section { background: var(--c-bg-soft); }
.follow {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px; max-width: 680px; margin: 0 auto;
}
.follow__card {
  background: var(--c-white); border: 1px solid var(--c-divider); border-radius: var(--radius);
  padding: 30px 24px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.follow__card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.follow__qr {
  width: 156px; height: 156px; margin: 0 auto 18px; padding: 8px;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px;
}
.follow__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 小程序码原图暂缺时的临时"微信搜一搜"卡（2026-10-23）
   拿到官方小程序码后，把 HTML 换回 <img> 即可，这块样式留着不碍事 */
.follow__qr--soon { background: #f6fbf7; border-style: dashed; border-color: #bfe0c8; }
.follow__qr--soon .follow__soon { text-align: center; color: #2f7d47; line-height: 1.3; }
.follow__qr--soon svg { width: 34px; height: 34px; margin: 0 auto 6px; display: block; }
.follow__qr--soon b { display: block; font-size: 13px; font-weight: 700; letter-spacing: .5px; }
.follow__qr--soon span { display: block; margin-top: 4px; font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.follow__title { font-size: 18px; font-weight: 800; color: var(--c-navy); margin-bottom: 6px; }
.follow__desc { font-size: 14px; color: var(--c-muted); line-height: 1.7; }

/* 页脚二维码框里现在是真图，不再是文字占位 */
.footer__qr { padding: 4px; overflow: hidden; }
.footer__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 480px) {
  .follow { grid-template-columns: 1fr; gap: 18px; }
  .follow__card { padding: 24px 18px; }
}
/* =========================================================
   首页紧凑版（2026-10-23）
   节距收紧 + 板块标题单行 + 常用入口条（原快速通道并入）
   只作用于首页（body.home-compact）
   ========================================================= */
body.home-compact .section { padding: 44px 0; }

/* 板块标题：金色竖条 + 标题 + 副标题同行，底部分隔线 */
body.home-compact .section__head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  text-align: left; margin-bottom: 18px;
  padding-bottom: 11px; border-bottom: 1px solid var(--c-divider);
}
body.home-compact .section__title {
  font-size: 20px; font-weight: 800; letter-spacing: .5px;
  display: inline-flex; align-items: center; gap: 9px;
}
body.home-compact .section__title::before {
  content: ""; width: 3px; height: 17px; background: var(--c-gold);
  background-image: none; border-radius: 2px; flex-shrink: 0;
}
body.home-compact .section__title::after { display: none; }
body.home-compact .section__sub { margin: 0 0 1px; font-size: 12.5px; color: var(--c-muted); letter-spacing: .3px; }

/* hero 收紧；底部那条 4px 金线去掉（有反馈说突兀），交给入口条自己的细线分隔 */
body.home-compact .hero--media { border-bottom: none; }
body.home-compact .hero--media .hero__inner { padding: 34px 0 40px; }
body.home-compact .hero__motto { margin-bottom: 12px; }
body.home-compact .hero__sub { margin: 14px 0 20px; }
body.home-compact .hero__stats { margin-top: 22px !important; }

/* 卡片统一 */
body.home-compact .program,
body.home-compact .channel { border-radius: 10px; box-shadow: 0 2px 10px rgba(16, 32, 64, .05); }
body.home-compact .channel { padding: 18px 12px; }

/* 资讯中心 */
body.home-compact .news__feature { border-radius: 10px; padding: 16px; gap: 20px; }
body.home-compact .news__feature-img { height: 148px; }

/* 培训项目 */
body.home-compact .program__top { min-height: 66px; }

/* 紧凑版细节：正文略收、卡片内边距收紧 */
body.home-compact .program__body { padding: 15px 18px 16px; }
body.home-compact .program__body p { font-size: 13.5px; margin-bottom: 10px; }
body.home-compact .program__top { padding: 10px 18px; }
body.home-compact .news__feature h4 { font-size: 18px; margin: 4px 0; }
body.home-compact .news__list li { padding: 11px 0; }
body.home-compact .news__list a { font-size: 14px; }
body.home-compact .follow-section { padding-top: 40px; }

@media (max-width: 900px) {
  .live-bar__inner { display: grid; grid-template-columns: 1fr 1fr; }
  .lb-item {
    border-left: none; border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 11px 12px; justify-content: flex-start; font-size: 12.5px;
  }
  .lb-item:nth-child(-n+2) { border-top: none; }
  .lb-item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .07); }
}
/* ---------- 快速通道按钮条（Q3 定宽居中 + V1 渐变 + V4 轮廓边，2026-10-23 定稿） ---------- */
body.home-compact .home-strip { padding: 22px 0 10px; border-top: none; background: #fff; }
body.home-compact .home-strip .channels { display: flex; justify-content: center; gap: 16px; }
body.home-compact .home-strip .channel {
  flex: 0 0 142px; width: 142px; padding: 10px 4px;
  background: linear-gradient(180deg, #ffffff 0%, #e3eaf7 100%);
  border: 1px solid #c3cfe4; border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(188, 201, 224, .38),
              4px 4px 0 #c3cfe4,
              0 10px 20px rgba(22, 44, 86, .12),
              inset 0 1px 0 #fff;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
body.home-compact .home-strip .channel__icon { width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 10px; }
body.home-compact .home-strip .channel__name { font-size: 13px; }
body.home-compact .home-strip .channel:hover {
  transform: translate(3px, 3px);
  border-color: #c9a24b;
  box-shadow: 0 0 0 2px rgba(201, 162, 75, .40), 1px 1px 0 #c3cfe4,
              0 5px 12px rgba(22, 44, 86, .12), inset 0 1px 0 #fff;
}

/* ---------- 资讯中心：往上收紧、空间用满 ---------- */
body.home-compact .home-news { padding: 14px 0 30px; border-top: none; }
body.home-compact .home-news .section__head { margin-bottom: 10px; padding-bottom: 8px; }
body.home-compact .news__tabs { margin-bottom: 12px; }
body.home-compact .news__tab { padding: 11px 20px; font-size: 14px; }
body.home-compact .news__feature { padding: 14px; gap: 18px; }
body.home-compact .news__feature-img { height: 132px; }
body.home-compact .news__feature h4 { font-size: 17px; margin: 3px 0; }
body.home-compact .news__feature p { font-size: 13px; }
body.home-compact .news__list li { padding: 9px 0; }
body.home-compact .news__list a { font-size: 13.5px; }
@media (max-width: 900px) {
  /* 手机上 6 张卡排 3 列 x 2 行，别占满一屏 */
  body.home-compact .home-strip { padding: 10px 0 12px; }
  body.home-compact .home-strip .channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  body.home-compact .home-strip .channel { flex: 0 0 calc(33.333% - 7px); width: auto; }
  body.home-compact .home-strip .channel { padding: 12px 6px; }
  body.home-compact .home-strip .channel__icon { width: 34px; height: 34px; margin-bottom: 6px; border-radius: 8px; }
  body.home-compact .home-strip .channel__icon svg { width: 18px; height: 18px; }
  body.home-compact .home-strip .channel__name { font-size: 12px; }
}
/* ---------- 报名须知：政府指导价收费表 ---------- */
.fee-table { width: 100%; border-collapse: collapse; margin: 10px 0 12px; font-size: 14.5px; }
.fee-table th, .fee-table td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; }
.fee-table thead th { background: var(--c-primary-soft); color: var(--c-navy); font-weight: 800; }
.fee-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.fee-table td:last-child { color: var(--c-primary); font-weight: 700; }
.fee-note { font-size: 12.5px; color: var(--c-muted); }

/* ---------- 面包屑右侧「返回首页」大按钮（P1，内页专用，2026-10-23） ---------- */
.crumb .container { position: relative; }
.crumb-home {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; background: var(--c-primary); color: #fff;
  border-radius: 8px; font-size: 16px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 12px rgba(16, 32, 64, .18);
  transition: background .16s, box-shadow .16s;
}
.crumb-home svg { width: 19px; height: 19px; }
.crumb-home:hover { background: var(--c-primary-deep); box-shadow: 0 8px 20px rgba(16, 32, 64, .26); color: #fff; }
@media (max-width: 820px) {
  .crumb-home { position: static; transform: none; margin-top: 12px; width: 100%; justify-content: center; padding: 11px; font-size: 15px; }
}

/* ---------- 左下角「招聘」方形入口（2026-10-28，P3 原版设计 + 与右下 AI 镜像） ----------
   尺寸 96×96，深蓝渐变 + 金边（P3 原版）；位置 left:20 / bottom:20，
   与右下角 AI 助手球（right:20 / bottom:20）左右镜像对称。 */
.recruit-badge {
  position: fixed; left: 20px; bottom: 20px; z-index: 998;
  width: 96px; height: 96px; border-radius: 12px;
  background: linear-gradient(150deg, var(--c-primary), var(--c-primary-deep));
  color: #fff; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border: 2px solid var(--c-gold);
  box-shadow: 0 12px 30px rgba(10, 31, 68, .40);
  opacity: 0; transform: translateX(-24px);
  animation: rcIn .4s cubic-bezier(.2, .8, .3, 1) both;
  transition: box-shadow .18s, background .18s;
}
.recruit-badge b { font-size: 26px; line-height: 1.05; letter-spacing: 2px; font-weight: 800; }
.recruit-badge span { font-size: 12px; letter-spacing: 3px; color: #ffe9a8; }
.recruit-badge:hover { box-shadow: 0 16px 36px rgba(10, 31, 68, .48); }

@keyframes rcIn {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 呼吸光环 */
.recruit-badge::after {
  content: ""; position: absolute; inset: -6px; border-radius: 16px;
  border: 2px solid rgba(201, 162, 75, .8); pointer-events: none;
  opacity: 0;
  animation: rcGlow 2.8s ease-out .5s infinite;
}
@keyframes rcGlow {
  0% { opacity: .8; transform: scale(.95); }
  70% { opacity: 0; transform: scale(1.16); }
  100% { opacity: 0; transform: scale(1.16); }
}
.recruit-badge:hover::after,
.recruit-badge:focus-visible::after { animation-play-state: paused; opacity: .35; }

/* 说明卡：在方块右侧、向上展开（避开底部边缘） */
.recruit-badge__tip {
  position: absolute; left: 108px; bottom: 4px; width: 216px;
  transform: translateX(6px);
  background: #fff; color: var(--c-text); text-align: left;
  border: 1px solid var(--c-border); border-radius: 8px; padding: 11px 13px;
  box-shadow: 0 10px 26px rgba(16, 32, 64, .18);
  font-size: 12.5px; line-height: 1.55; letter-spacing: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .16s, transform .16s, visibility .16s;
  pointer-events: none;
}
.recruit-badge:hover .recruit-badge__tip,
.recruit-badge:focus-visible .recruit-badge__tip { opacity: 1; visibility: visible; transform: none; }
.recruit-badge__tip b { display: block; font-size: 13px; color: var(--c-navy); margin-bottom: 3px; }
.recruit-badge__tip i { display: block; margin-top: 5px; font-style: normal; color: var(--c-primary); font-weight: 700; }

/* 中等屏略缩，避免占太多内容 */
@media (max-width: 1440px) {
  .recruit-badge { width: 88px; height: 88px; border-radius: 11px; }
  .recruit-badge b { font-size: 23px; }
  .recruit-badge span { font-size: 11px; letter-spacing: 2px; }
  .recruit-badge__tip { left: 100px; }
  .recruit-badge::after { inset: -5px; border-radius: 15px; }
}

/* 手机：与右下 AI 球左右镜像（AI 在 bottom:72） */
@media (max-width: 768px) {
  .recruit-badge { left: 16px; bottom: 72px; width: 64px; height: 64px; border-radius: 10px; }
  .recruit-badge b { font-size: 18px; letter-spacing: 1px; }
  .recruit-badge span { font-size: 9.5px; letter-spacing: 0; }
  .recruit-badge__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-badge { animation: rcFade .3s ease both; }
  .recruit-badge::after { animation: none; opacity: 0; }
  @keyframes rcFade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- 资讯中心列表：双列排布（2026-10-28，P1 方案） ----------
   右侧不再被一条长虚线撑出大片空白：5 条拆两列，列间一条虚线分隔。 */
.news__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 38px; }
.news__list li { border-bottom: 1px dashed var(--c-border); }
.news__list li:nth-child(odd):not(:last-child) { border-right: 1px dashed var(--c-border); padding-right: 38px; }
.news__list li:nth-last-child(1), .news__list li:nth-last-child(2) { border-bottom: none; }
.news__list a { font-size: 14.5px; }
@media (max-width: 900px) {
  /* 手机/窄屏回单列 */
  .news__list { grid-template-columns: 1fr; column-gap: 0; }
  .news__list li:nth-child(odd):not(:last-child) { border-right: none; padding-right: 0; }
  .news__list li:nth-last-child(2) { border-bottom: 1px dashed var(--c-border); }
  .news__list li:last-child { border-bottom: none; }
}
/* ---------- 资讯中心：左右两个模块并排（2026-10-28） ---------- */
.news-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.news-split .news { min-width: 0; }
/* 半幅里：两个 Tab 平分宽度 */
.news-split .news__tabs { display: flex; }
.news-split .news__tab { flex: 1; text-align: center; }
/* 半幅里：封面缩成左侧小图（N1 方案，2026-10-28），蓝色块不再抢眼 */
@media (min-width: 1001px) {
  /* 两张封面卡等高：标题/摘要各限 2 行，按钮统一尺寸，整卡固定 172px */
  .news-split .news__feature { grid-template-columns: 150px 1fr; gap: 16px; align-items: start; padding: 14px;
    height: 200px; overflow: hidden; }
  .news-split .news__feature h4 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin: 2px 0 5px; }
  .news-split .news__feature p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 0; }
  .news-split .news__feature .btn { margin-top: 9px !important; padding: 8px 16px; font-size: 12.5px; }
  .news-split .news__feature-img { height: 144px; }
  .news-split .news__feature-img { height: 112px; }
  .news-split .news__cover-line,
  .news-split .news__cover-year { display: none; }
  .news-split .news__cover-title { font-size: 20px; }
}
.news-split .news__feature h4 { font-size: 15.5px; margin: 3px 0; }
.news-split .news__feature p { font-size: 12.5px; }
/* 半幅里列表回单列（双列在这里太窄） */
.news-split .news__list { grid-template-columns: 1fr; column-gap: 0; }
.news-split .news__list li:nth-child(odd):not(:last-child) { border-right: none; padding-right: 0; }
.news-split .news__list li { padding: 10px 0; font-size: 13.5px; }
.news-split .news__list a { font-size: 13.5px; }
@media (max-width: 1000px) {
  .news-split { grid-template-columns: 1fr; }
}
/* ---------- 校园环境：翻页轮播（2026-10-28） ---------- */
.env-carousel { position: relative; }
.env-viewport { overflow: hidden; border-radius: 10px; }
.env-track { display: flex; transition: transform .55s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.env-page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.env-page .env__item { aspect-ratio: 4 / 3; }
.env-page .env__item img { width: 100%; height: 100%; object-fit: cover; }

.env-nav {
  position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -21px; z-index: 3;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(10, 31, 68, .22);
  transition: background .16s, transform .16s;
}
.env-nav::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; border-top: 2px solid var(--c-primary); border-right: 2px solid var(--c-primary);
}
.env-nav--prev { left: 12px; }
.env-nav--prev::before { transform: translate(-50%, -50%) rotate(-135deg); }
.env-nav--next { right: 12px; }
.env-nav--next::before { transform: translate(-50%, -50%) rotate(45deg); }
.env-nav:hover { background: #fff; transform: scale(1.06); }

.env-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.env-dot {
  width: 26px; height: 4px; border: none; border-radius: 2px; cursor: pointer;
  background: #d3dcef; transition: background .18s, width .18s;
}
.env-dot.is-active { background: var(--c-gold); width: 40px; }

@media (max-width: 900px) {
  /* 手机上每页的 3 张改横向滑动（一屏放不下 3 张） */
  .env-page { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .env-page .env__item { flex: 0 0 82%; scroll-snap-align: start; }
  .env-nav { width: 34px; height: 34px; margin-top: -17px; }
  .env-nav--prev { left: 6px; }
  .env-nav--next { right: 6px; }
}
/* 手机上资讯封面同样缩小，避免挤掉正文 */
@media (max-width: 768px) {
  .news-split .news__feature { grid-template-columns: 118px 1fr; gap: 12px; padding: 12px; align-items: center; }
  .news-split .news__feature-img { height: 92px; }
  .news-split .news__cover-title { font-size: 16px; }
  .news-split .news__cover-line, .news-split .news__cover-year { display: none; }
  .news-split .news__feature h4 { font-size: 14.5px; }
}

/* ---------------------------------------------------------------- 扫码页（2026-11-05）
   用途：快速通道「特种作业人员」不再外链旧平台，改为本站 /special 页展示
   学校微信小程序码（assets/images/qr-special.webp）。
   版面：左文右码；手机上码排在最前（order:-1），进来就能扫。 */
.qrpage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }

.qrpage__tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: #8a6a1f; background: var(--c-gold-soft); border: 1px solid #e6d3a8;
}
.qrpage__title { font-size: 27px; line-height: 1.35; color: var(--c-navy); margin: 12px 0 10px; }
.qrpage__lead { font-size: 15px; line-height: 1.85; color: var(--c-muted); }

.qrpage__steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: qs; }
.qrpage__steps li {
  position: relative; counter-increment: qs; padding-left: 42px; margin-bottom: 14px;
  font-size: 14.5px; line-height: 1.75; color: var(--c-text);
}
.qrpage__steps li::before {
  content: counter(qs); position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; background: var(--c-primary);
  box-shadow: 0 4px 10px rgba(20, 48, 110, .22);
}
.qrpage__steps b { color: var(--c-navy); }

.qrpage__note {
  margin-top: 4px; padding: 12px 14px; border-radius: 8px;
  font-size: 13.5px; line-height: 1.75; color: #5a6473;
  background: var(--c-primary-soft); border-left: 3px solid var(--c-gold);
}
.qrpage__help { margin-top: 18px; font-size: 14px; color: var(--c-muted); }
.qrpage__help a { color: var(--c-primary); font-weight: 700; }
.qrpage__help a:hover { text-decoration: underline; }

.qrpage__card {
  background: #fff; border: 1px solid var(--c-divider); border-top: 4px solid var(--c-gold);
  border-radius: 14px; padding: 22px 22px 18px; text-align: center;
  box-shadow: 0 12px 30px rgba(16, 32, 64, .08);
}
.qrpage__qr {
  width: 260px; max-width: 100%; aspect-ratio: 1; margin: 0 auto;
  padding: 8px; background: #fff;
}
.qrpage__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qrpage__cap { margin-top: 8px; }
.qrpage__cap b { display: block; font-size: 15px; color: var(--c-navy); }
.qrpage__cap span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--c-muted); }

.qrpage__links { margin-top: 16px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.qrpage__links a {
  font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--c-border); color: var(--c-primary); background: var(--c-bg-soft);
  transition: border-color .16s, background .16s;
}
.qrpage__links a:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }

@media (max-width: 900px) {
  .qrpage { grid-template-columns: 1fr; gap: 26px; }
  .qrpage__card { order: -1; width: 100%; max-width: 340px; margin: 0 auto; }
  .qrpage__title { font-size: 23px; }
}

/* ---------------------------------------------------------------- 首页资讯四宫格（2026-11-05，N1 方案）
   结构照老站——招生简章 / 教务信息 / 学校动态 / 行业政策 四块，每块
   深蓝标题条 + 头条（真照片 + 日期 + 标题 + NEW 徽章）+ 带日期的六条列表。
   数据、照片均取自原站真实内容（非编造）。 */
.news4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.news4__card {
  background: #fff; border: 1px solid var(--c-divider); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
}
.news4__head {
  display: flex; align-items: center; gap: 9px; padding: 8px 14px;
  background: linear-gradient(90deg, var(--c-primary), #1d4a94);
}
.news4__head h3 { font-size: 15.5px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.news4__head span {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
}
.news4__head a { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .8); }
.news4__head a:hover { color: var(--c-gold); }

.news4__feat {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  padding: 9px 14px 0; align-items: start;
}
.news4__cover {
  position: relative; height: 90px; border-radius: 6px; overflow: hidden; background: var(--c-bg-deep);
}
.news4__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news4__badge {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  background: var(--c-red); color: #fff; font-size: 9.5px; font-weight: 800;
  padding: 2px 5px; border-radius: 3px; letter-spacing: .06em;
}
.news4__feat time { font-size: 11.5px; color: #8a94a6; font-variant-numeric: tabular-nums; }
.news4__feat h4 {
  font-size: 13.5px; line-height: 1.45; color: var(--c-navy); margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news4__feat h4 a:hover { color: var(--c-primary); }

/* 行业政策没有真实照片，用深蓝「《》」政策卡，不硬塞不相干的图 */
.news4__cover--policy {
  display: grid; place-items: center; position: relative;
  background: linear-gradient(150deg, var(--c-navy), var(--c-primary-deep));
}
.news4__cover--policy b {
  font-family: Georgia, "Songti SC", serif; font-size: 34px; line-height: 1;
  color: var(--c-gold); opacity: .92;
}
.news4__cover--policy i {
  position: absolute; bottom: 7px; font-style: normal;
  font-size: 9px; letter-spacing: .3em; color: rgba(255, 255, 255, .42);
}

.news4__list { list-style: none; margin: 0; padding: 9px 14px 12px; }
.news4__list li {
  display: flex; align-items: baseline; gap: 10px; padding: 5.5px 0;
  line-height: 1.55; border-bottom: 1px dashed #edf1f7; font-size: 12.5px;
}
.news4__list li:last-child { border-bottom: none; }
.news4__list a {
  flex: 1; min-width: 0; color: #3d4757;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news4__list a:hover { color: var(--c-primary); }
.news4__list time { flex: 0 0 auto; font-size: 11.5px; color: #a3acbb; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .news4 { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .news4__feat { grid-template-columns: 104px 1fr; gap: 10px; }
  .news4__cover { height: 78px; }
  .news4__feat h4 { font-size: 13px; }
  .news4__list li { font-size: 12.3px; padding: 5px 0; }
  .news4__list { padding: 7px 12px 9px; }
}

/* ---------------------------------------------------------------- 首页两栏（2026-11-05，P1 框架改版）
   左：资讯四块 2×2；右：关注我们（两个二维码两行）→ 下载中心 → 地图 + 电话/QQ/地址。
   原顶部「快速通道」七按钮条、首页「联系我们 C1」大块、「关注我们」整节都已并进右栏。 */
.home-main { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 20px; align-items: stretch; }
/* 右栏撑满整块：高度跟左侧资讯四块一致，最后一张（地图）吃掉剩余高度，底边对齐 */
.home-side { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.home-side .side-card:last-child { flex: 1 1 auto; display: flex; flex-direction: column; }
.home-side .side-card:last-child .side-map { flex: 1 1 auto; min-height: 170px; }

.side-card {
  background: #fff; border: 1px solid var(--c-divider); border-radius: 10px; overflow: hidden;
}
.side-card__head {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #eef2f8;
}
.side-card__head h4 { font-size: 14.5px; font-weight: 800; color: var(--c-navy); }
.side-card__head a { margin-left: auto; font-size: 12px; color: var(--c-muted); }
.side-card__head a:hover { color: var(--c-primary); }

/* 两个二维码，上下两行 */
.qr2 { padding: 12px 14px 14px; display: grid; gap: 12px; }
.qr2__row { display: flex; align-items: center; gap: 12px; }
.qr2__row img {
  flex: 0 0 auto; width: 120px; height: 120px; object-fit: contain;
  border: 1px solid #eef2f8; border-radius: 8px; background: #fff;
}
.qr2__row b { display: block; font-size: 13.5px; color: var(--c-navy); }
.qr2__row span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--c-muted); }
.qr2__pc {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; padding: 5px 9px;
  border-radius: 6px; background: #f3f6fb; color: var(--c-primary); font-size: 11.5px; font-weight: 700;
}
.qr2__pc:hover { background: #e8eff9; }

/* 下载中心三条 */
.dl-list { padding: 2px 12px 12px; }
.dl-list a {
  display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 9px 12px;
  border-radius: 7px; background: var(--c-primary); color: #fff; font-size: 13px; font-weight: 600;
  transition: background .16s;
}
.dl-list a svg { width: 16px; height: 16px; opacity: .9; }
.dl-list a i { font-style: normal; font-size: 9.5px; letter-spacing: .12em; opacity: .6; margin-left: 2px; }
.dl-list a:hover { background: var(--c-primary-dark); }

/* 右栏地图 + 联系 */
.side-map { position: relative; height: 170px; background: var(--c-bg-deep); }
.side-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.side-map__nav {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 7px; background: #fff; color: var(--c-primary);
  font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 12px rgba(16, 32, 64, .2);
}
.side-map__nav svg { width: 14px; height: 14px; }
.side-map__nav:hover { background: var(--c-primary); color: #fff; }
.side-contact { padding: 10px 14px 13px; display: grid; gap: 6px; }
.side-contact span { font-size: 12.5px; line-height: 1.55; color: var(--c-text); }
.side-contact b { font-size: 11.5px; font-weight: 600; color: #8a94a6; margin-right: 6px; }

@media (max-width: 1024px) {
  .home-main { grid-template-columns: 1fr; gap: 16px; }
  .home-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-side .side-card:first-child { grid-row: span 2; }
}
@media (max-width: 680px) {
  .home-side { grid-template-columns: 1fr; }
  .home-side .side-card:first-child { grid-row: auto; }
  .qr2__row img { width: 88px; height: 88px; }
  .side-map { height: 130px; }
}

/* ---------------------------------------------------------------- 联系我们 · 地图 + 信息（C1 方案）
   左信息右地图；手机端地图在前。地图是原站那张百度地图截图（静态），
   点击跳百度地图「查看大地图」，一键导航走高德 uri。 */
.contact-c1 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: stretch; }
.contact-c1__kicker { font-size: 12px; letter-spacing: .12em; font-weight: 700; color: #8a6a1f; }
.contact-c1__name { font-size: 25px; color: var(--c-navy); margin: 8px 0 6px; }
.contact-c1__addr { font-size: 15px; color: #3d4757; line-height: 1.7; }
.contact-c1__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 22px 0 24px; }
.contact-c1__item { display: flex; gap: 10px; align-items: flex-start; }
.contact-c1__ico {
  flex: 0 0 32px; height: 32px; border-radius: 8px; background: var(--c-primary-light);
  display: grid; place-items: center; color: var(--c-primary);
}
.contact-c1__ico svg { width: 17px; height: 17px; }
.contact-c1__item b { display: block; font-size: 12px; font-weight: 600; color: #8a94a6; }
.contact-c1__item span { display: block; font-size: 14px; line-height: 1.5; color: var(--c-text); }
.contact-c1__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-c1__map {
  position: relative; border-radius: 10px; overflow: hidden; min-height: 330px; background: var(--c-bg-deep);
}
.contact-c1__map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.contact-c1__nav {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 8px; background: #fff; color: var(--c-primary);
  font-size: 13.5px; font-weight: 700; box-shadow: 0 6px 18px rgba(16, 32, 64, .22);
}
.contact-c1__nav svg { width: 16px; height: 16px; }
.contact-c1__nav:hover { background: var(--c-primary); color: #fff; }
.contact-c1__attr {
  position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #5b6b85;
  background: rgba(255, 255, 255, .82); padding: 1px 6px; border-radius: 4px;
}

@media (max-width: 960px) {
  .contact-c1 { grid-template-columns: 1fr; gap: 24px; }
  .contact-c1__map { order: -1; min-height: 240px; }
}
@media (max-width: 560px) {
  .contact-c1__grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------------------------------------------------------------- 页脚友情链接（2026-11-05，L5 方案）
   三张原站 banner（人社厅 / 建设信息港 / 应急管理厅）放进等宽卡框，
   白底条压在全站深蓝页脚的最上面。图片从老站友情链接截图裁出、2 倍放大。 */
.footer-links { background: #fff; padding: 26px 0; border-top: 1px solid var(--c-divider); }
.footer-links__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-links__head h4 { font-size: 16px; font-weight: 800; color: var(--c-navy); }
.footer-links__head span {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #a8b2c2;
}
.footer-links__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.footer-links__item {
  display: grid; place-items: center; height: 104px; padding: 0 16px;
  border: 1px solid #e2e8f2; border-radius: 10px; background: #fff;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.footer-links__item:hover {
  border-color: #b9c8de; box-shadow: 0 8px 20px rgba(16, 32, 64, .10); transform: translateY(-1px);
}
.footer-links__item img { display: block; max-height: 78px; max-width: 100%; width: auto; }

@media (max-width: 768px) {
  .footer-links { padding: 20px 0; }
  .footer-links__grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-links__item { height: 82px; }
  .footer-links__item img { max-height: 60px; }
}

/* ==================================================================== 2026-11-06 首页美化 A（已按反馈回滚首屏）
   用户反馈「上面的蓝色部分光影不好看」→ hero 的背景光斑、金色渐变按钮、毛玻璃数据卡、
   照片圆角与深投影全部撤回，恢复原样；只保留下面两项：区块标题金色竖线 + 卡片柔和阴影。
   注意：竖线只给首页（body.home-compact 的标题是左对齐）；内页标题居中 + 两侧渐变线，不能加。 */
body.home-compact .section__title { position: relative; padding-left: 14px; }
body.home-compact .section__title::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--c-gold), #e6c877); flex-shrink: 0;
}
.card, .news4__card, .side-card, .channel { box-shadow: 0 10px 28px rgba(12, 28, 64, .06); }
.card:hover, .channel:hover { box-shadow: 0 16px 34px rgba(12, 28, 64, .12); }

@media (max-width: 768px) {
  body.home-compact .section__title { padding-left: 12px; }
  body.home-compact .section__title::before { width: 3px; }
}
