/* ==========================================================
   湖南成人高考网 - 前台样式
   风格：教育蓝白政务风
   ========================================================== */

:root {
  --c-primary: #0b4c8c;
  --c-primary-dark: #083a6b;
  --c-primary-mid: #12558f;
  --c-primary-soft: #e9f1fa;
  --c-primary-line: #cfe0f2;
  --c-accent: #d9541f;
  --c-accent-dark: #b6431299;
  --c-accent-soft: #fdf0e9;
  --c-text: #1c2b3a;
  --c-text-2: #55677a;
  --c-text-3: #8494a5;
  --c-border: #e3e9f0;
  --c-border-strong: #d3dde9;
  --c-bg: #f4f7fb;
  --c-white: #fff;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 70, .06);
  --shadow: 0 2px 10px rgba(16, 40, 70, .08);
  --shadow-lg: 0 8px 30px rgba(11, 76, 140, .14);
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-primary); text-decoration: none; transition: color .18s; }
a:hover { color: var(--c-accent); }

img { max-width: 100%; vertical-align: middle; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; }

ul, ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0 0 1em; }

button, input, select, textarea { font-family: inherit; font-size: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------------------------- 顶部工具条 ---------------------------- */
.topbar {
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  line-height: 34px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-right { display: flex; gap: 22px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #ffc9a8; }

/* ---------------------------- 站点头部 ---------------------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--c-border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 92px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--c-text); }
.brand:hover { color: var(--c-text); }
.brand-mark { display: block; line-height: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong {
  font-size: 25px; letter-spacing: 1px; color: var(--c-primary);
  font-weight: 800; line-height: 1.25;
}
.brand-text em {
  font-style: normal; font-size: 12.5px; color: var(--c-text-3);
  letter-spacing: 2.5px; margin-top: 2px;
}

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { text-align: right; line-height: 1.3; }
.hp-label { display: block; font-size: 12px; color: var(--c-text-3); }
.header-phone strong {
  font-size: 22px; color: var(--c-accent); font-weight: 800;
  letter-spacing: .5px; font-family: "DIN Alternate", var(--font);
}

.nav-toggle {
  display: none; width: 40px; height: 36px; padding: 8px;
  background: #fff; border: 1px solid var(--c-border-strong); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-primary); margin-bottom: 4px; }
.nav-toggle span:last-child { margin-bottom: 0; }

/* ---------------------------- 主导航 ---------------------------- */
.main-nav { background: var(--c-primary); box-shadow: 0 2px 6px rgba(11, 76, 140, .18); position: relative; z-index: 40; }
.nav-inner { display: flex; }
.nav-item {
  flex: 1; text-align: center; color: rgba(255, 255, 255, .94);
  font-size: 16px; font-weight: 500; line-height: 50px; padding: 0 4px;
  position: relative; white-space: nowrap;
}
.nav-item:hover, .nav-item.is-active { background: var(--c-primary-mid); color: #fff; }
.nav-item.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: #ffb27a;
}
.nav-item-signup { color: #ffe0c4; font-weight: 700; }

/* ---------------------------- 通用按钮 ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-mid); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: #c04715; color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--c-primary); border-color: var(--c-primary-line); }
.btn-ghost:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.btn-lg { height: 46px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------------------------- 首屏轮播 ---------------------------- */
.hero { background: #fff; padding: 0 0 4px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 18px; padding-top: 18px; }

.hero-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 372px; background: var(--c-primary);
}
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; padding: 46px 52px; color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .5s ease;
  background-image:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .13) 0, transparent 42%),
    radial-gradient(circle at 72% 92%, rgba(255, 255, 255, .08) 0, transparent 38%);
}
.slide.is-active { opacity: 1; visibility: visible; position: relative; }
.slide-tag {
  display: inline-block; align-self: flex-start;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  padding: 4px 12px; border-radius: 3px; font-size: 12.5px; letter-spacing: 1px;
  margin-bottom: 18px;
}
.slide h2 {
  font-size: 34px; line-height: 1.3; letter-spacing: .5px; margin-bottom: 14px;
  max-width: 90%; font-weight: 800;
}
.slide p { font-size: 15.5px; line-height: 1.85; color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 26px; }
.slide-actions { display: flex; gap: 12px; }
.slide-actions .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.slide-actions .btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.slider-dots {
  position: absolute; left: 52px; bottom: 24px; display: flex; gap: 8px; z-index: 3;
}
.slider-dots button {
  width: 26px; height: 4px; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0;
}
.slider-dots button.is-active { background: #ffb27a; width: 36px; }

/* 快捷报名卡 */
.quick-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.quick-head {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  color: #fff; padding: 16px 20px;
}
.quick-head strong { display: block; font-size: 18px; font-weight: 700; }
.quick-head span { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.quick-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.quick-body .field { margin: 0; }
.quick-note { font-size: 11.5px; color: var(--c-text-3); line-height: 1.6; text-align: center; }

/* ---------------------------- 数据条 ---------------------------- */
.stats-bar { background: var(--c-primary-dark); margin-top: 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat {
  text-align: center; padding: 20px 10px; color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-size: 30px; font-weight: 800; line-height: 1.2;
  font-family: "DIN Alternate", var(--font); color: #ffc9a0;
}
.stat span { font-size: 13px; color: rgba(255, 255, 255, .8); }

/* ---------------------------- 通用区块 ---------------------------- */
.section { margin-top: 26px; }
.section-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 52px; border-bottom: 1px solid var(--c-border);
}
.section-head h2, .section-head h3 {
  font-size: 18px; color: var(--c-text); display: flex; align-items: center; gap: 10px;
  font-weight: 700;
}
.section-head h2::before, .section-head h3::before {
  content: ""; width: 4px; height: 17px; background: var(--c-primary); border-radius: 2px;
}
.section-more { font-size: 13px; color: var(--c-text-3); }
.section-more:hover { color: var(--c-primary); }
.section-body { padding: 18px 20px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
/* 网格子项默认 min-width:auto 会被内部长标题（nowrap）撑宽，必须允许收缩 */
.hero-grid > *, .two-col > *, .three-col > *, .article-layout > *, .school-grid > *, .major-grid > * { min-width: 0; }

/* ---------------------------- 新闻列表 ---------------------------- */
.news-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--c-border);
}
.news-list li:last-child { border-bottom: 0; }
.news-list .nl-cat {
  flex: 0 0 auto; font-size: 12px; color: var(--c-primary);
  background: var(--c-primary-soft); border-radius: 2px; padding: 1px 7px;
}
.news-list .nl-title {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--c-text); font-size: 15px;
}
.news-list .nl-title:hover { color: var(--c-primary); }
.news-list .nl-date { flex: 0 0 auto; font-size: 13px; color: var(--c-text-3); }

.news-lead {
  display: flex; gap: 16px; padding-bottom: 16px; margin-bottom: 6px;
  border-bottom: 1px dashed var(--c-border);
}
.news-lead h3 { font-size: 19px; line-height: 1.5; margin-bottom: 8px; }
.news-lead h3 a { color: var(--c-text); }
.news-lead h3 a:hover { color: var(--c-primary); }
.news-lead p { font-size: 14px; color: var(--c-text-2); line-height: 1.75; margin: 0; }
.news-lead .nl-meta { margin-top: 8px; font-size: 12.5px; color: var(--c-text-3); }

/* ---------------------------- 院校网格 ---------------------------- */
.school-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.school-card {
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 14px; background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s;
  display: block;
}
.school-card:hover {
  border-color: var(--c-primary-line); box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.school-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.school-badge {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--c-primary-soft); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; border: 1px solid var(--c-primary-line);
  overflow: hidden;
}
.school-badge img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.school-name { font-size: 15px; font-weight: 600; color: var(--c-text); line-height: 1.35; }
.school-card:hover .school-name { color: var(--c-primary); }
.school-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--c-text-3); }
.tag {
  display: inline-block; font-size: 11.5px; line-height: 18px; padding: 0 7px;
  border-radius: 2px; background: #f1f5fa; color: var(--c-text-2); border: 1px solid var(--c-border);
}
.tag-blue { background: var(--c-primary-soft); color: var(--c-primary); border-color: var(--c-primary-line); }
.tag-hot { background: var(--c-accent-soft); color: var(--c-accent); border-color: #f6d3c2; }

/* ---------------------------- 表格 ---------------------------- */
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th {
  background: #f7f9fc; color: var(--c-text-2); font-weight: 600; text-align: left;
  padding: 11px 14px; border-bottom: 1px solid var(--c-border); white-space: nowrap;
}
table.data-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--c-border); color: var(--c-text);
}
table.data-table tbody tr:hover { background: #fafcfe; }
table.data-table tbody tr:last-child td { border-bottom: 0; }
table.data-table .strong { font-weight: 600; }

/* ---------------------------- 侧栏 ---------------------------- */
.side-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.side-card .section-head { height: 48px; padding: 0 16px; }
.side-card .section-head h3 { font-size: 16px; }
.side-body { padding: 14px 16px; }

.rank-list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--c-border); }
.rank-list li:last-child { border-bottom: 0; }
.rank-no {
  flex: 0 0 18px; height: 18px; line-height: 18px; text-align: center;
  font-size: 11px; font-weight: 700; border-radius: 2px; background: #eef2f7; color: var(--c-text-3);
  margin-top: 3px;
}
.rank-list li:nth-child(1) .rank-no { background: var(--c-accent); color: #fff; }
.rank-list li:nth-child(2) .rank-no { background: #e8843f; color: #fff; }
.rank-list li:nth-child(3) .rank-no { background: #f0a860; color: #fff; }
.rank-list a { font-size: 14px; color: var(--c-text); line-height: 1.55; display: block; }
.rank-list a:hover { color: var(--c-primary); }

/* ---------------------------- FAQ ---------------------------- */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 14px 30px 14px 0; font-size: 15px; color: var(--c-text); position: relative;
  font-weight: 500; line-height: 1.6;
}
.faq-q::before { content: "Q"; color: var(--c-primary); font-weight: 800; margin-right: 8px; }
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--c-text-3); font-size: 20px; font-weight: 300; transition: transform .2s;
}
.faq-item.is-open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 0 16px 24px; font-size: 14px; color: var(--c-text-2); line-height: 1.85; }
.faq-item.is-open .faq-a { display: block; }

/* ---------------------------- 报名表单 ---------------------------- */
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card-head {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  color: #fff; padding: 22px 26px;
}
.form-card-head h2 { font-size: 22px; margin-bottom: 6px; }
.form-card-head p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.form-card-body { padding: 24px 26px 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--c-text-2); margin-bottom: 6px; font-weight: 500; }
.field label .req { color: var(--c-accent); margin-left: 2px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--c-border-strong);
  border-radius: var(--radius); background: #fff; color: var(--c-text); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { height: auto; min-height: 88px; padding: 10px 12px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-primary-mid); box-shadow: 0 0 0 3px rgba(18, 85, 143, .12);
}
.field-hint { font-size: 12px; color: var(--c-text-3); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-errors {
  background: #fef2f2; border: 1px solid #fbd5d5; color: #b42318;
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; font-size: 13.5px;
}
.form-errors ul li { padding-left: 14px; position: relative; }
.form-errors ul li::before { content: "·"; position: absolute; left: 4px; }

.submit-note { font-size: 12px; color: var(--c-text-3); line-height: 1.7; margin-top: 12px; text-align: center; }

/* ---------------------------- 面包屑 ---------------------------- */
.crumb { padding: 14px 0; font-size: 13px; color: var(--c-text-3); }
.crumb a { color: var(--c-text-3); }
.crumb a:hover { color: var(--c-primary); }
.crumb .sep { margin: 0 7px; color: #c3cdd8; }

/* ---------------------------- 页面标题 ---------------------------- */
.page-head {
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  color: #fff; padding: 34px 0;
}
.page-head h1 { font-size: 27px; margin-bottom: 8px; }
.page-head p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .82); max-width: 820px; line-height: 1.75; }

/* ---------------------------- 文章详情 ---------------------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.article-box { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 32px 36px 40px; }
.article-title { font-size: 27px; line-height: 1.45; margin-bottom: 16px; color: var(--c-text); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--c-text-3);
  padding-bottom: 18px; border-bottom: 1px solid var(--c-border); margin-bottom: 24px;
}
.article-meta .am-cat { color: var(--c-primary); }
.article-summary {
  background: var(--c-primary-soft); border-left: 3px solid var(--c-primary);
  padding: 14px 18px; font-size: 14px; color: var(--c-text-2); line-height: 1.8;
  margin-bottom: 24px; border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content { font-size: 16px; line-height: 1.95; color: #263545; word-break: break-word; }
.article-content h2 {
  font-size: 20px; margin: 34px 0 14px; padding-left: 12px;
  border-left: 4px solid var(--c-primary); line-height: 1.4;
}
.article-content h3 { font-size: 17.5px; margin: 26px 0 12px; color: var(--c-primary-dark); }
.article-content p { margin: 0 0 1.1em; }
.article-content ul, .article-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: .5em; }
.article-content img { border-radius: var(--radius); margin: 12px 0; height: auto; }
.article-content a { text-decoration: underline; text-underline-offset: 2px; }
.article-content blockquote {
  margin: 18px 0; padding: 14px 18px; background: #f8fafc;
  border-left: 3px solid var(--c-primary-line); color: var(--c-text-2); font-size: 14.5px;
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--c-border-strong); padding: 10px 12px; text-align: left; }
.article-content th { background: #f7f9fc; font-weight: 600; color: var(--c-text-2); }
.article-content strong { color: #10263c; }
.article-content pre { background: #f6f8fa; padding: 14px; border-radius: var(--radius); overflow-x: auto; font-size: 13.5px; }
.article-content code { background: #f2f5f9; padding: 1px 5px; border-radius: 2px; font-size: .92em; }

.article-tags { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--c-border); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.article-tags .at-label { font-size: 13px; color: var(--c-text-3); }

.article-related { margin-top: 22px; }

/* ---------------------------- 分页 ---------------------------- */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 12px; line-height: 34px; text-align: center;
  border: 1px solid var(--c-border-strong); border-radius: var(--radius);
  font-size: 14px; color: var(--c-text-2); background: #fff;
}
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager .is-current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pager .is-disabled { color: #c3cdd8; background: #f7f9fc; pointer-events: none; }

/* ---------------------------- 筛选栏 ---------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center;
  padding: 14px 20px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); margin-bottom: 18px;
}
.filter-label { font-size: 13px; color: var(--c-text-3); margin-right: 2px; }
.filter-chip {
  font-size: 13.5px; padding: 5px 14px; border-radius: 3px; color: var(--c-text-2);
  border: 1px solid transparent; background: #f4f7fb;
}
.filter-chip:hover { color: var(--c-primary); background: var(--c-primary-soft); }
.filter-chip.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.filter-search { margin-left: auto; display: flex; gap: 8px; }
.filter-search input {
  height: 34px; width: 200px; padding: 0 12px; border: 1px solid var(--c-border-strong);
  border-radius: var(--radius); outline: none; font-size: 13.5px;
}
.filter-search input:focus { border-color: var(--c-primary-mid); }

/* ---------------------------- 专业卡片 ---------------------------- */
.major-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.major-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 16px 18px; transition: border-color .18s, box-shadow .18s;
}
.major-card:hover { border-color: var(--c-primary-line); box-shadow: var(--shadow); }
.major-card h3 { font-size: 16px; margin-bottom: 6px; }
.major-card h3 a { color: var(--c-text); }
.major-card h3 a:hover { color: var(--c-primary); }
.major-card .mc-school { font-size: 13px; color: var(--c-text-3); margin-bottom: 10px; }
.major-card .mc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.major-card .mc-price { font-size: 13px; color: var(--c-accent); font-weight: 600; }

/* ---------------------------- 单页 / 空状态 ---------------------------- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--c-text-3); }
.empty-state strong { display: block; font-size: 18px; color: var(--c-text-2); margin-bottom: 8px; }

/* ---------------------------- 页脚 ---------------------------- */
.site-footer { background: #0d2137; color: rgba(255, 255, 255, .68); margin-top: 40px; font-size: 14px; }
.footer-cta { background: linear-gradient(120deg, #0b4c8c 0%, #1468ae 100%); padding: 26px 0; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fcta-text strong { display: block; color: #fff; font-size: 21px; margin-bottom: 4px; }
.fcta-text span { font-size: 13.5px; color: rgba(255, 255, 255, .8); }

.footer-main { padding: 40px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; }
.footer-brand { font-size: 19px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-about p { font-size: 13px; line-height: 1.85; color: rgba(255, 255, 255, .58); margin-bottom: 16px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13px; line-height: 2; }
.footer-contact span { color: rgba(255, 255, 255, .42); flex: 0 0 64px; }
.footer-contact a, .footer-contact em { color: rgba(255, 255, 255, .82); font-style: normal; }
.footer-contact a:hover { color: #ffb27a; }

.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.footer-links a:hover { color: #ffb27a; }

.qr-box { display: flex; gap: 14px; align-items: center; }
.qr-img { background: #fff; padding: 6px; border-radius: var(--radius); line-height: 0; }
.qr-text strong { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.qr-text span { display: block; font-size: 12.5px; color: #ffb27a; }
.qr-text em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .45); }

.footer-links-row {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; color: rgba(255, 255, 255, .45); line-height: 2;
}
.footer-links-row a { color: rgba(255, 255, 255, .55); margin: 0 2px; }
.footer-links-row a:hover { color: #ffb27a; }
.footer-links-row i { font-style: normal; color: rgba(255, 255, 255, .18); margin: 0 6px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: 12.5px; color: rgba(255, 255, 255, .4); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .4); }
.footer-bottom a:hover { color: #ffb27a; }

/* ---------------------------- 悬浮条 ---------------------------- */
.float-bar {
  position: fixed; right: 16px; bottom: 84px; z-index: 60;
  display: flex; flex-direction: column; gap: 6px;
}
.float-item {
  width: 54px; padding: 9px 4px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); text-align: center; cursor: pointer;
  box-shadow: var(--shadow); color: var(--c-text-2); font-size: 11px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.float-item:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.float-ico { font-size: 15px; line-height: 1; }
.float-txt { font-size: 10.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.float-tel .float-txt { font-size: 9.5px; letter-spacing: -.2px; }

/* ---------------------------- 弹窗 / 提示 ---------------------------- */
.toast {
  position: fixed; left: 50%; top: 24px; transform: translateX(-50%);
  background: #1c2b3a; color: #fff; padding: 12px 22px; border-radius: var(--radius);
  font-size: 14px; box-shadow: var(--shadow-lg); z-index: 200; opacity: 0;
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(4px); }

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .quick-card { max-width: none; }
  .two-col, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .school-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .major-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-col { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 800px) {
  body { font-size: 14.5px; }
  .hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 68px; }
  .brand-text strong { font-size: 19px; }
  .brand-text em { font-size: 10px; letter-spacing: 1px; }
  .brand-mark svg { width: 34px; height: 34px; }
  .header-phone { display: none; }
  .header-actions .btn-lg { display: none; }
  .nav-toggle { display: block; }

  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-inner { flex-direction: column; padding: 4px 0 8px; }
  .nav-item { text-align: left; line-height: 42px; padding: 0 20px; flex: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav-item.is-active::after { display: none; }

  .hero-slider { min-height: 300px; }
  .slide { padding: 28px 22px; }
  .slide h2 { font-size: 22px; }
  .slide p { font-size: 13.5px; margin-bottom: 18px; }
  .slide-actions { flex-direction: column; }
  .slider-dots { left: 22px; bottom: 16px; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat strong { font-size: 24px; }

  .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .major-grid { grid-template-columns: minmax(0, 1fr); }
  .article-box { padding: 20px 18px 28px; }
  .article-title { font-size: 20px; }
  .article-content { font-size: 15.5px; }
  .page-head h1 { font-size: 21px; }
  .form-row, .field-row { grid-template-columns: minmax(0, 1fr); }

  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom-inner { flex-direction: column; gap: 6px; }

  .float-bar { right: 10px; bottom: 70px; }
  .float-item { width: 46px; }
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { flex: 1; width: auto; }

  .table-wrap table.data-table { min-width: 620px; }
  .news-lead { flex-direction: column; }
  .news-lead h3 { font-size: 16px; }
}

@media (max-width: 480px) {
  .school-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-text em { display: none; }
}

/* 视觉隐藏但保留给搜索引擎与读屏器（H1 语义） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
