/* ==========================================================================
   enroll.css —— 招生专区三页专用组件（career.html / start.html / hobby.html）
   · 依赖 main.css 的 CSS 变量与公共组件，请在其后引入
   · 类名统一 en- 前缀，避免与 main.css / major.css / module.css 冲突
   · 配色沿用全站设计系统：#E60023 唯一强调色 + 暖白/暖浅灰基底 + 李子黑文字
   · 断点与全站一致：1024 / 720
   ========================================================================== */

/* ---------- 0. 区块节奏：修复 .section--cream 与 .section--white 同为纯白 ---------- */
.section--cream { background: var(--bg-soft); }

/* ---------- 1. 关键数据条（Hero 下方 / 通用 4 格） ---------- */
.en-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.en-fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.en-fact b {
  display: block; font-family: var(--num-font); font-size: 27px; font-weight: 700;
  color: var(--red); line-height: 1.05; letter-spacing: -.01em;
}
.en-fact span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ---------- 2. 数据表（薪资 / 案例 / 课表共用） ---------- */
.en-table-wrap {
  overflow-x: auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}
.en-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.en-table th,
.en-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft);
  font-size: 14px; vertical-align: middle;
}
.en-table thead th {
  background: var(--bg-soft); font-size: 12px; font-weight: 700; color: var(--ink-3);
  letter-spacing: .08em; white-space: nowrap;
}
.en-table tbody tr:last-child td { border-bottom: 0; }
.en-table tbody tr:hover { background: #FCFCFA; }
.en-table .en-td-strong { font-weight: 700; color: var(--ink); white-space: nowrap; }
.en-table .en-td-num { font-family: var(--num-font); font-weight: 700; color: var(--red); font-size: 15.5px; white-space: nowrap; }
.en-table .en-td-sub { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.en-table .en-td-who { font-size: 12.5px; color: var(--ink-3); }

/* 标签（就业方式等） */
.en-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.en-tag--rec  { background: rgba(230, 0, 35, .09); color: var(--red); }
.en-tag--stay { background: #EEF3EC; color: #4C6A40; }
.en-tag--free { background: #F1F0F7; color: #565083; }

/* ---------- 3. 对比卡（三种合作模式 / 三条进阶路径） ---------- */
.en-cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.en-cmp--two { grid-template-columns: repeat(2, 1fr); }
.en-cmp__card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.en-cmp__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(230, 0, 35, .28); }
.en-cmp__no {
  position: absolute; top: 18px; right: 22px; font-family: var(--num-font);
  font-size: 34px; font-weight: 800; color: rgba(230, 0, 35, .10); line-height: 1;
}
.en-cmp__name { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.en-cmp__name em {
  display: block; margin-top: 4px; font-style: normal; font-size: 11.5px;
  font-weight: 600; letter-spacing: .14em; color: var(--ink-3);
}
.en-cmp__for {
  margin-top: 14px; padding: 11px 14px; background: var(--bg-soft);
  border-radius: 12px; font-size: 13px; line-height: 1.7; color: var(--ink-2);
}
.en-cmp__for b { color: var(--ink); font-weight: 700; }
.en-cmp__list { margin-top: 16px; }
.en-cmp__list li {
  position: relative; padding-left: 16px; margin-bottom: 8px;
  font-size: 13.5px; line-height: 1.65; color: var(--ink-2);
}
.en-cmp__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
}
.en-cmp__list li:last-child { margin-bottom: 0; }

/* ---------- 4. 流程条（就业保障 / 报名路径） ---------- */
.en-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 10px; }
.en-flow__step { position: relative; padding-right: 18px; }
.en-flow__step::after {
  content: ""; position: absolute; top: 19px; right: 4px; width: calc(100% - 48px);
  height: 1px; background: var(--line);
}
.en-flow__step:last-child::after { display: none; }
.en-flow__no {
  position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--red); color: var(--red);
  font-family: var(--num-font); font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.en-flow__tt { margin-top: 13px; font-size: 15px; font-weight: 800; color: var(--ink); }
.en-flow__ds { margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--ink-3); }

/* ---------- 5. 标签墙（就业出口 / 岗位） ---------- */
.en-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.en-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
}
.en-chip::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}

/* ---------- 6. 双列信息块（左标题右说明，用于"随到随学"等） ---------- */
.en-rows { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.en-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.en-row:last-child { border-bottom: 0; }
.en-row__k { font-size: 14px; font-weight: 800; color: var(--ink); }
.en-row__k em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); }
.en-row__v { font-size: 13.8px; line-height: 1.8; color: var(--ink-2); }
.en-row__v b { color: var(--ink); font-weight: 700; }

/* ---------- 7. 重点提示条 ---------- */
.en-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 22px; padding: 16px 20px;
  background: rgba(230, 0, 35, .045); border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0;
  font-size: 13.5px; line-height: 1.8; color: var(--ink-2);
}
.en-note b { color: var(--ink); }
.en-note__ico { flex: none; font-family: var(--num-font); font-weight: 800; color: var(--red); }

/* ---------- 8. 章节锚点导航（页内跳转，服务端渲染利于抓取） ---------- */
.en-anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.en-anchor {
  padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: all .18s ease;
}
.en-anchor:hover { border-color: var(--red); color: var(--red); background: #FFF8F8; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .en-facts { grid-template-columns: repeat(2, 1fr); }
  .en-cmp { grid-template-columns: 1fr; }
  .en-flow { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .en-flow__step::after { display: none; }
}
@media (max-width: 720px) {
  .en-facts { gap: 10px; }
  .en-fact { padding: 14px 15px; }
  .en-fact b { font-size: 22px; }
  .en-fact span { font-size: 12px; margin-top: 4px; }
  .en-table th, .en-table td { padding: 11px 14px; font-size: 13px; }
  .en-table thead th { font-size: 11.5px; }
  .en-cmp__card { padding: 20px 18px; }
  .en-flow { grid-template-columns: 1fr; gap: 18px; }
  .en-flow__step { padding-right: 0; }
  .en-row { grid-template-columns: 1fr; gap: 6px; padding: 15px 16px; }
  .en-chip { padding: 7px 13px; font-size: 12.5px; }
  .en-note { padding: 13px 15px; font-size: 12.8px; }
}
