/* =========================================================
   寰球学涯 GLOBALPATH — 内容页版式（静态多页站）
   与 style.css 共用变量，不引入第二套设计语言
   ========================================================= */

/* ---------------- 无障碍跳转 ---------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; font-size: 13px;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------------- 二级页头 ---------------- */
.page-hero {
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 320px at 82% -40%, rgba(31, 78, 121, 0.07), transparent 70%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  padding: 34px 0 38px;
}
.page-hero .hgroup { max-width: 780px; }
.page-hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.22;
  margin-bottom: 12px;
}
.page-hero .lead {
  font-size: 14.5px;
  color: #4d5e6e;
  line-height: 1.75;
  max-width: 720px;
}
.page-hero .meta-row {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  margin-top: 18px; font-size: 12px; color: var(--muted);
}
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: #52616f; }
.crumb span.sep { margin: 0 6px; opacity: .5; }

/* ---------------- 首屏搜索 ---------------- */
.hero-search { position: relative; margin-top: 26px; max-width: 560px; }
.hero-search input {
  width: 100%; height: 52px; padding: 0 118px 0 44px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; border-radius: 2px;
  box-shadow: var(--shadow-sm);
}
.hero-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31,78,121,.08); }
.hero-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hero-search .go {
  position: absolute; right: 6px; top: 6px; bottom: 6px;
  border: 0; background: var(--navy); color: #fff;
  padding: 0 20px; font-size: 13px; border-radius: 2px;
}
.hero-search .go:hover { background: var(--navy-700); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); display: none; max-height: 340px; overflow: auto;
}
.suggest.on { display: block; }
.suggest a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px; color: var(--ink);
}
.suggest a:hover { background: var(--blue-soft-2); }
.suggest a .s-en { color: var(--muted); font-size: 11.5px; }
.suggest a .s-tag { font-size: 11px; color: var(--navy); background: var(--blue-soft); padding: 1px 7px; border-radius: 10px; }
.suggest-tip {
  margin: 8px 0 4px; font-size: 12.5px; color: var(--navy);
  background: var(--blue-soft); border-left: 3px solid var(--navy);
  padding: 7px 12px; border-radius: 0 4px 4px 0;
}

/* ---------------- 数据条 ---------------- */
.stat-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); background: #fff; margin-top: 30px;
}
.stat { padding: 18px 20px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--serif); font-size: 26px; color: var(--navy); line-height: 1.1; }
.stat .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------------- 入口卡 ---------------- */
.entry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.entry-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.salary-grid.half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-card {
  border: 1px solid var(--line); background: #fff; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 8px; min-height: 148px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.entry-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.entry-card .i { font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.entry-card h3 { font-size: 16.5px; }
.entry-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.entry-card .arrow { margin-top: auto; font-size: 12px; color: var(--navy); }

/* ---------------- 院校 / 专业 网格 ---------------- */
.uni-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.uni-card {
  border: 1px solid var(--line); background: #fff; padding: 14px 15px;
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color .15s, background .15s;
}
.uni-card:hover { border-color: var(--navy); background: var(--blue-soft-2); }
.uni-card .zh { font-size: 14px; color: var(--ink); font-weight: 500; }
.uni-card .en { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uni-card .rk { margin-top: 7px; font-size: 11px; color: var(--navy); font-family: var(--mono); }

.cat-block { margin-bottom: 30px; }
.cat-title {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); font-weight: 600; padding-bottom: 9px;
  border-bottom: 1px solid var(--line); margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.cat-title em { font-style: normal; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.mj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mj-card {
  border: 1px solid var(--line); background: #fff; padding: 15px 16px;
  display: flex; flex-direction: column; gap: 5px;
  transition: border-color .15s, box-shadow .15s;
}
.mj-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.mj-card .t { display: flex; align-items: baseline; gap: 8px; }
.mj-card .t b { font-family: var(--serif); font-size: 15px; color: var(--ink); font-weight: 600; }
.mj-card .t i { font-style: normal; font-size: 11px; color: var(--muted); }
.mj-card .top { font-size: 12px; color: #4d5e6e; line-height: 1.55; }
.mj-card .foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.mj-card .foot b { color: var(--navy); font-weight: 600; font-family: var(--mono); }

/* ---------------- 表格容器 ---------------- */
.table-wrap { border: 1px solid var(--line); background: #fff; overflow-x: auto; }
.table-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter-row .lab { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on .dot { background: #fff; opacity: .7; }
.chip-btn { cursor: pointer; }
.inline-search {
  height: 32px; padding: 0 12px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; border-radius: 2px; min-width: 180px;
}
.inline-search:focus { outline: none; border-color: var(--navy); }

.spread { font-family: var(--mono); font-size: 12.5px; }
.spread.hi { color: var(--red); font-weight: 600; }
.spread.mid { color: var(--gold); }
.spread.lo { color: var(--green); }

.rank-pill {
  display: inline-block; min-width: 34px; text-align: center;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
}
.rank-pill.na { color: #b9c3cd; }

.region-tag {
  font-size: 11px; padding: 1px 7px; border-radius: 10px;
  background: var(--blue-soft); color: var(--navy); white-space: nowrap;
}

/* ---------------- 文章区 ---------------- */
.article { padding: 40px 0 64px; }
.article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.article h2 {
  font-size: 21px; margin: 34px 0 12px; padding-top: 6px;
  scroll-margin-top: 80px;
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 15.5px; margin: 22px 0 8px; }
.article p { font-size: 14px; color: #46565f; line-height: 1.85; margin-bottom: 12px; }
.article ul.dots { margin: 0 0 14px; }
.article ul.dots li {
  position: relative; padding-left: 16px; font-size: 14px;
  color: #46565f; line-height: 1.8;
}
.article ul.dots li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--navy); opacity: .35;
}
.article ol { margin: 0 0 14px; padding-left: 20px; font-size: 14px; color: #46565f; line-height: 1.85; }
.article ol li { margin-bottom: 6px; }

.side-card {
  position: sticky; top: 86px;
  border: 1px solid var(--line); background: #fbfcfd; padding: 20px;
}
.side-card h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-card .lnk { display: block; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); color: #46565f; }
.side-card .lnk:last-child { border-bottom: 0; }
.side-card .lnk:hover { color: var(--navy); }

.key-box {
  border-left: 3px solid var(--navy); background: var(--blue-soft-2);
  padding: 18px 20px; margin-bottom: 26px;
}
.key-box h3 { font-size: 13px; letter-spacing: .06em; color: var(--navy); margin-bottom: 10px; }
.key-box ul li { font-size: 13.5px; color: #3d4c5b; line-height: 1.8; position: relative; padding-left: 15px; }
.key-box ul li::before { content: "—"; position: absolute; left: 0; color: var(--navy); opacity: .45; }

/* 四榜位次卡 */
.rk4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rk4 .c { border: 1px solid var(--line); background: #fff; padding: 15px 14px; }
.rk4 .c .b { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rk4 .c .v { font-family: var(--serif); font-size: 26px; color: var(--navy); line-height: 1.15; margin-top: 4px; }
.rk4 .c .v small { font-size: 11px; color: var(--muted); font-family: var(--sans); }
.rk4 .c.best { border-color: rgba(31,78,121,.35); background: #f6f9fc; }
.rk4 .c.best .b { color: var(--navy); }

/* 学院表 */
.college-row { border-bottom: 1px solid var(--line-soft); padding: 13px 0; }
.college-row:last-child { border-bottom: 0; }
.college-row .cn { font-size: 14px; color: var(--ink); }
.college-row .en { font-size: 11px; color: var(--muted); }
.college-row .mjs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.college-row .mjs a { font-size: 11.5px; color: var(--navy); background: var(--blue-soft); padding: 2px 8px; border-radius: 2px; }
.college-row .mjs a:hover { background: #dbe7f2; }

/* 薪资行 */
.sal-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.sal-row:last-child { border-bottom: 0; }
.sal-row .k { color: var(--muted); font-size: 12.5px; }
.sal-row .v { font-family: var(--mono); color: var(--ink); }

/* 页脚导航块 */
.footnote {
  font-size: 12px; color: var(--muted); line-height: 1.8;
  border-top: 1px solid var(--line-soft); padding-top: 18px; margin-top: 34px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uni-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr; gap: 30px; }
  .side-card { position: static; }
  .rk4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .split2, .entry-grid.g2 { grid-template-columns: 1fr; gap: 12px; }
  .page-hero { padding: 22px 0 26px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero .lead { font-size: 13.5px; }
  .hero-search input { height: 48px; padding-right: 96px; font-size: 14px; }
  .entry-grid, .uni-grid, .mj-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mj-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 14px 15px; }
  .stat .n { font-size: 21px; }
  .rk4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .section { padding: 40px 0; }
  .sec-head h2 { font-size: 21px; }

  /* 表格转卡片 */
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  table.rank { min-width: 0; display: block; width: auto; }
  table.rank tbody { display: block; }
  table.rank thead { display: none; }
  table.rank tbody tr {
    display: block; background: #fff; border: 1px solid var(--line);
    padding: 6px 14px; margin-bottom: 8px;
  }
  table.rank tbody tr:hover { background: #fff; }
  table.rank tbody td { border: 0; padding: 0; display: block; min-width: 0; width: auto; }
  table.rank tbody td.cell-rank {
    display: block; font-size: 12px; padding: 6px 0;
    border-top: 1px dashed var(--line-soft);
  }
  table.rank tbody td.cell-rank::before {
    content: attr(data-label); display: inline-block;
    color: var(--muted); font-size: 11.5px; margin-right: 12px; min-width: 56px;
  }
  table.rank tbody td.cell-uni { padding: 8px 0; }
  table.rank tbody td.cell-hide { display: none; }
  .u-avatar { width: 28px; height: 28px; font-size: 12px; }
}

/* ---------------- 国家维度（首页国家卡片 / 榜单国家标签） ---------------- */
.ctry-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 34px 0 14px; padding-top: 22px; border-top: 1px solid var(--line);
}
.ctry-head .hint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.ctry-grid .entry-card { padding: 16px 18px; }
.ctry-grid .entry-card h3 { font-size: 15px; }
.ctry-grid .entry-card .i { font-size: 10.5px; }
.ctry-grid .entry-card p { font-size: 12px; margin-bottom: 0; }
.bs-tag {
  display: inline-block; margin-left: 6px; font-size: 10px; letter-spacing: .04em;
  padding: 1px 6px; border-radius: 4px;
  background: rgba(31,78,121,.08); color: var(--navy);
}

/* ---------------- 检索入口页 ---------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.step-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 18px; }
.step .n {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--navy); opacity: .55; margin-bottom: 8px;
}
.step h3 { font-size: 15px; margin-bottom: 7px; }
.step p { font-size: 12.8px; line-height: 1.75; color: #52616f; margin: 0; }

.g-intro { font-size: 13px; color: #52616f; line-height: 1.8; margin: 2px 0 14px; max-width: 820px; }
.portal-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.portal-row {
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 14px 16px; transition: border-color .15s;
}
.portal-row:hover { border-color: rgba(31,78,121,.32); }
.pr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pr-name { font-size: 13.8px; font-weight: 600; color: var(--ink); }
.pr-name a { color: var(--navy); text-decoration: none; }
.pr-name a:hover { text-decoration: underline; }
.pr-tags { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.pr-tags .lv {
  font-size: 10px; padding: 1px 5px; border-radius: 3px;
  background: var(--sand, #f4f1ea); color: #6b5b3e; border: 1px solid rgba(0,0,0,.05);
}
.badge-third {
  font-size: 10px; padding: 1px 6px; border-radius: 3px;
  background: rgba(0,0,0,.05); color: #5b6672;
}
.pr-note { font-size: 12.3px; line-height: 1.72; color: #52616f; margin: 7px 0 0; }
.pr-url {
  font-family: var(--mono); font-size: 10.5px; color: #97a3ad;
  margin-top: 7px; word-break: break-all;
}

/* 专业页内的精简入口 */
.portal-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pm-card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 14px 16px; }
.pm-h {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px;
}
.pm-l { display: flex; flex-direction: column; gap: 6px; }
.pm-l a { font-size: 12.8px; color: var(--navy); text-decoration: none; }
.pm-l a:hover { text-decoration: underline; }
.pm-l .plain { font-size: 12.8px; color: #52616f; }

@media (max-width: 900px) {
  .portal-list, .portal-mini, .step-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ctry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-row { padding: 12px 14px; }
  .pr-name { font-size: 13px; }
}

/* ---------------- 专业搜索 ---------------- */
.mj-searchbar {
  display: flex; align-items: center; gap: 10px;
  max-width: 640px; margin-top: 22px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 0 14px;
  transition: border-color .15s, box-shadow .15s;
}
.mj-searchbar:focus-within {
  border-color: rgba(31,78,121,.45);
  box-shadow: 0 0 0 3px rgba(31,78,121,.08);
}
.mj-search-icon { display: inline-flex; color: var(--muted); flex-shrink: 0; }
.mj-searchbar input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14.5px; color: var(--ink);
  padding: 13px 0;
}
.mj-searchbar input::placeholder { color: #9aa7b1; }
.mj-count {
  flex-shrink: 0; font-size: 11.5px; color: var(--muted);
  white-space: nowrap; border-left: 1px solid var(--line-soft);
  padding-left: 12px;
}
.mj-empty {
  background: #fff; border: 1px dashed var(--line);
  border-radius: 10px; padding: 34px 20px; margin-bottom: 30px;
  text-align: center; color: var(--ink); font-size: 14.5px; line-height: 1.9;
}
@media (max-width: 720px) {
  .mj-searchbar { margin-top: 18px; }
  .mj-count { display: none; }
}

/* =========================================================
   院校页 · 全部学院与专业设置
   ========================================================= */
.hero-site-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.42);
  color: #fff; padding: 5px 12px; border-radius: 2px;
  font-size: 12px; letter-spacing: .02em; text-decoration: none;
  transition: background .16s;
}
.hero-site-btn:hover { background: rgba(255,255,255,.26); }
.page-hero .meta-row .hero-site-btn { color: #fff; }

.fac-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 0; margin-bottom: 16px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.fac-stat { font-size: 12px; color: var(--muted); }
.fac-stat b { font-family: var(--mono); font-size: 15px; color: var(--navy); margin-right: 2px; }
.fac-toggle {
  margin-left: auto; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--navy); font: inherit; font-size: 12px;
  padding: 6px 14px; border-radius: 2px;
  transition: border-color .16s, background .16s;
}
.fac-toggle:hover { border-color: var(--navy); background: var(--blue-soft-2); }
.fac-site { font-size: 12px; color: var(--navy); }

.fac-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 8px; background: var(--paper);
}
.fac-card[open] { border-color: #c6d6e4; }
.fac-h {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; cursor: pointer; list-style: none;
}
.fac-h::-webkit-details-marker { display: none; }
.fac-i {
  flex: 0 0 26px; width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--navy);
  font-size: 11px; border-radius: 2px;
}
.fac-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fac-t b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fac-t em { font-style: normal; font-size: 11px; color: var(--muted); line-height: 1.4; }
.fac-n { margin-left: auto; font-size: 11.5px; color: var(--muted); font-family: var(--mono); white-space: nowrap; }
.fac-h::after {
  content: '+'; flex: 0 0 16px; text-align: center;
  color: var(--muted); font-size: 14px; line-height: 1;
}
.fac-card[open] .fac-h::after { content: '−'; }
.fac-b { padding: 0 14px 13px 52px; }
.fac-mjs { display: flex; flex-wrap: wrap; gap: 6px; }
.mj-chip {
  font-size: 11.5px; color: var(--navy); background: var(--blue-soft);
  padding: 3px 9px; border-radius: 2px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.mj-chip:hover { background: #dbe7f2; border-color: #b9cfe4; }
.mj-chip .mj-go { font-size: 9px; opacity: .5; line-height: 1; }
.mj-chip:hover .mj-go { opacity: 1; }
/* 落到校级目录 / 学院页的，视觉上弱一档，避免看起来与项目页同等精确 */
.mj-chip[data-k="catalog"],
.mj-chip[data-k="faculty"],
.mj-chip[data-k="site"] {
  background: #fff; border-color: #d3dfea; color: #35566f;
}
.mj-chip[data-k="catalog"]:hover,
.mj-chip[data-k="faculty"]:hover,
.mj-chip[data-k="site"]:hover { background: #eef4f9; }
.fac-empty { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0; }
.fac-foot {
  margin-top: 11px; padding-top: 9px; border-top: 1px dashed var(--line-soft);
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 11.5px;
}
.fac-foot a { color: var(--navy); }
.fac-foot span { color: var(--muted); font-size: 11px; }

/* =========================================================
   专业页 · 院校行（项目直链 + 多项目）
   ========================================================= */
.u-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.uni-name { color: var(--ink); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.uni-name:hover { color: var(--navy); text-decoration: underline; }
.u-en { font-size: 11px; color: var(--muted); }
.pl-row { display: flex; align-items: center; gap: 10px; margin-top: 5px; flex-wrap: wrap; }
.pl-main { font-size: 11.5px; font-weight: 500; color: var(--navy); }
.pl-arch { font-size: 11px; color: var(--muted); }
.pl-more { margin-top: 5px; }
.pl-more summary { font-size: 11px; color: var(--navy); cursor: pointer; list-style: none; }
.pl-more summary::-webkit-details-marker { display: none; }
.pl-more summary::before { content: '▸ '; }
.pl-more[open] summary::before { content: '▾ '; }
.pl-more ul { margin: 5px 0 0; padding-left: 16px; }
.pl-more li { font-size: 11px; color: var(--body); margin-bottom: 3px; line-height: 1.6; }

/* =========================================================
   专业页 · 本硕录取要求
   ========================================================= */
.admit-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; margin-top: 6px;
}
.admit-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); padding: 16px 0 0; overflow: hidden;
}
.admit-h { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; }
.admit-badge {
  font-size: 10.5px; padding: 2px 8px; border-radius: 2px;
  letter-spacing: .04em; flex-shrink: 0;
}
.admit-badge.ug { background: var(--blue-soft); color: var(--navy); }
.admit-badge.pg { background: #f1ece1; color: var(--gold); }
.admit-h b { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.admit-tip {
  margin: 0 16px 12px; padding: 8px 10px;
  font-size: 11.5px; line-height: 1.7; color: var(--body);
  background: var(--blue-soft-2); border-left: 2px solid var(--navy);
}
.admit-card .table-wrap { border-top: 1px solid var(--line-soft); }
.admit-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.admit-table thead th {
  text-align: left; padding: 8px 10px; white-space: nowrap;
  background: var(--blue-soft-2); color: var(--muted);
  font-weight: 500; font-size: 11px;
}
.admit-table tbody td {
  padding: 9px 10px; border-top: 1px solid var(--line-soft);
  color: var(--body); line-height: 1.65; vertical-align: top;
}
.admit-table .mk { font-weight: 600; color: var(--ink); font-size: 12px; white-space: nowrap; }

@media (max-width: 1080px) {
  .admit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .fac-b { padding-left: 14px; }
  .fac-n { display: none; }
  .admit-table, .admit-table thead, .admit-table tbody, .admit-table tr, .admit-table td {
    display: block; width: 100%;
  }
  .admit-table thead { display: none; }
  .admit-table tr {
    border-top: 1px solid var(--line-soft); padding: 10px 12px;
  }
  .admit-table tbody td { border: 0; padding: 3px 0; }
  .admit-table tbody td::before {
    content: attr(data-label) '：';
    color: var(--muted); font-size: 10.5px;
  }
  .admit-table tbody td:first-child { margin-bottom: 5px; }
  .admit-table tbody td:first-child::before { content: ''; }
}

/* ---------- 爱尔兰四校制药项目对照（pharma-ie） ---------- */
.ie-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 14px 0 20px; padding: 10px 14px;
  background: var(--blue-soft-2); border-left: 2px solid var(--navy);
  font-size: 12px; color: var(--body);
}
.ie-stat { color: var(--muted); }
.ie-stat b { color: var(--ink); font-size: 13.5px; font-weight: 700; margin-right: 3px; }
.ie-src { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.ie-src a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(20, 45, 90, .25); }
.ie-h {
  margin: 24px 0 10px; font-size: 14px; font-weight: 600; color: var(--ink);
  padding-left: 9px; border-left: 3px solid var(--navy);
}
.ie-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ie-table thead th {
  text-align: left; padding: 9px 10px; white-space: nowrap;
  background: var(--blue-soft-2); color: var(--muted);
  font-weight: 500; font-size: 11px;
}
.ie-table tbody td {
  padding: 11px 10px; border-top: 1px solid var(--line-soft);
  color: var(--body); line-height: 1.68; vertical-align: top;
}
.ie-table tbody tr:hover { background: rgba(20, 45, 90, .022); }
.ie-uni { display: block; font-weight: 600; color: var(--navy); text-decoration: none; font-size: 12.5px; }
.ie-uni:hover { text-decoration: underline; }
.ie-tag {
  display: inline-block; margin-top: 4px; padding: 1px 6px;
  font-size: 10.5px; color: var(--muted); background: #F2F4F7; border-radius: 2px;
}
.ie-prog { display: block; font-weight: 600; color: var(--ink); text-decoration: none; }
.ie-prog:hover { color: var(--navy); text-decoration: underline; }
.ie-code { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.ie-table b { color: var(--ink); font-weight: 600; }
.ie-award { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.ie-req { min-width: 260px; }
.ie-extra { min-width: 180px; font-size: 11.5px; color: var(--muted); }

@media (max-width: 720px) {
  .ie-bar { flex-direction: column; align-items: flex-start; }
  .ie-src { margin-left: 0; }
  .ie-table, .ie-table thead, .ie-table tbody, .ie-table tr, .ie-table td { display: block; width: 100%; }
  .ie-table thead { display: none; }
  .ie-table tr { border-top: 1px solid var(--line-soft); padding: 12px 12px 6px; }
  .ie-table tbody td { border: 0; padding: 3px 0; min-width: 0; }
  .ie-table tbody td::before {
    content: attr(data-label) '：';
    color: var(--muted); font-size: 10.5px;
  }
  .ie-table tbody td:first-child::before { content: ''; }
}
.ie-table tbody td:first-child { min-width: 118px; }

/* ---------- 就业与薪资：检索面板 ---------- */
.sal-search {
  margin: 4px 0 20px; padding: 16px 18px 14px;
  border: 1px solid var(--line-soft); border-radius: 3px;
  background: #fff;
}
.sal-f-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.sal-f { display: flex; flex-direction: column; gap: 5px; min-width: 132px; }
.sal-f-q { flex: 1 1 260px; position: relative; }
.sal-f label {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.sal-f input, .sal-f select {
  height: 38px; padding: 0 11px; width: 100%;
  font-size: 13px; color: var(--ink); background: #fff;
  border: 1px solid #D8DFE6; border-radius: 3px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.sal-f input:focus, .sal-f select:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 78, 121, .1);
}
.sal-f input::-webkit-search-cancel-button { display: none; }
.sal-clear {
  position: absolute; right: 8px; bottom: 9px;
  width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: #EEF2F5; color: var(--muted); font-size: 15px; line-height: 1;
  cursor: pointer; display: none;
}
.sal-clear:hover { background: #E1E8EE; color: var(--ink); }
.sal-f-q:focus-within .sal-clear, .sal-f-q.has-val .sal-clear { display: block; }
.sal-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line-soft);
}
.sal-chips-l { font-size: 11.5px; color: var(--muted); margin-right: 2px; }
.sal-chip {
  padding: 4px 10px; font-size: 11.5px; color: var(--navy);
  background: var(--blue-soft-2); border: 1px solid transparent;
  border-radius: 999px; cursor: pointer; font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.sal-chip:hover { border-color: var(--navy); background: #fff; }
.sal-status { margin-top: 11px; font-size: 12px; color: var(--muted); }
.sal-status b { color: var(--ink); font-weight: 700; }
/* 官方链接覆盖清单（gaps.html） */
.g-en { display: block; font-size: 11px; color: var(--muted); font-style: normal; margin-top: 1px; }
.g-k {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px;
  white-space: nowrap; border: 1px solid #DCE4EA; color: #4A5A66; background: #F5F8FA;
}
.g-k-catalog { border-color: #C7D7E6; color: var(--navy); background: #EEF4F9; }
.g-k-faculty { border-color: #E3D5BC; color: #7A5E22; background: #FBF6EC; }
.g-k-site { border-color: #E0C9C9; color: #8A4A4A; background: #FBF1F1; }
#gapTable td a { word-break: break-all; }
.sal-posts { display: flex; flex-direction: column; gap: 3px; }
.sal-post {
  font-size: 11px; color: #4A5A66; line-height: 1.5;
  padding-left: 8px; border-left: 2px solid #DCE4EA;
}
tr.sal-row-item[style*="display: none"] { display: none !important; }

/* ---------- 院校页：英语授课项目清单 ---------- */
.pe-wrap { margin-top: 6px; }
.pe-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 11px 14px; background: var(--blue-soft-2);
  border-left: 2px solid var(--navy); font-size: 12.5px;
}
.pe-head + .pe-head { margin-top: 2px; }
.pe-t { display: flex; flex-direction: column; gap: 1px; min-width: 150px; }
.pe-t b { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.pe-t span { font-size: 11px; color: var(--muted); }
.pe-n { font-size: 12px; color: var(--muted); }
.pe-n b { color: var(--navy); font-weight: 700; font-size: 13.5px; }
.pe-go {
  margin-left: auto; font-size: 12px; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid rgba(31, 78, 121, .3); padding-bottom: 1px; white-space: nowrap;
}
.pe-go:hover { border-bottom-color: var(--navy); }
.pe-card {
  margin-top: 12px; border: 1px solid var(--line-soft); border-radius: 3px; background: #fff;
}
.pe-card[open] { border-color: #c6d6e4; }
.pe-sum {
  display: flex; align-items: baseline; gap: 9px;
  padding: 11px 14px; cursor: pointer; list-style: none;
  border-bottom: 1px solid transparent;
}
.pe-sum::-webkit-details-marker { display: none; }
.pe-card[open] .pe-sum { border-bottom-color: var(--line-soft); }
.pe-sum b { font-size: 13px; color: var(--ink); font-weight: 600; }
.pe-sum em { font-style: normal; font-size: 11px; color: var(--muted); }
.pe-cnt {
  margin-left: auto; font-size: 11px; color: var(--navy);
  background: var(--blue-soft-2); padding: 1px 8px; border-radius: 999px;
}
.pe-list {
  margin: 0; padding: 10px 16px 14px; list-style: none;
  columns: 2; column-gap: 26px;
}
.pe-list li {
  break-inside: avoid; padding: 5px 0; font-size: 12.5px; line-height: 1.62;
  border-bottom: 1px dotted #EDF1F4;
}
.pe-list a { color: #2A4A6B; text-decoration: none; }
.pe-list a:hover { color: var(--navy); text-decoration: underline; }
.pe-arw { font-size: 10px; color: #9AA9B5; }
.pe-list span { color: #4A5A66; }
.pe-empty .pe-cta {
  margin-top: 16px; padding: 16px 18px; background: #fff;
  border: 1px dashed #C6D6E4; border-radius: 3px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.pe-empty .pe-cta span { font-size: 12px; color: var(--muted); }
.pe-alts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pe-alt {
  display: flex; flex-direction: column; gap: 2px; padding: 9px 13px;
  border: 1px solid var(--line-soft); border-radius: 3px;
  font-size: 12.5px; color: var(--navy); text-decoration: none; background: #fff;
}
.pe-alt em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.pe-alt:hover { border-color: var(--navy); background: var(--blue-soft-2); }

/* 按学院分组的全量官方项目（faculty-programs） */
.fp-level { margin: 14px 0 4px; }
.fp-level:first-of-type { margin-top: 2px; }
.fp-lv {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 2px;
}
.fp-lv b { color: var(--ink); font-weight: 600; }
.fp-lv span {
  font-size: 10.5px; color: var(--navy);
  background: var(--blue-soft-2); padding: 1px 8px; border-radius: 999px;
}
.fac-b .pe-list { padding: 4px 0 2px; columns: 2; }
@media (max-width: 720px) {
  .fp-level { margin: 10px 0 2px; }
  .fac-b .pe-list { columns: 1; }
}

@media (max-width: 720px) {
  .sal-f { flex: 1 1 100%; }
  .sal-f-q { flex: 1 1 100%; }
  .pe-list { columns: 1; }
  .pe-go { margin-left: 0; }
}
