/* ============ 西安启航综合高中 - 全站样式 ============ */
:root {
  --blue: #16418c;
  --blue-dark: #0e2f6b;
  --blue-light: #eef3fb;
  --red: #e0342b;
  --gold: #f5a623;
  --text: #333;
  --muted: #7a8499;
  --border: #e8ecf3;
  --bg: #f5f7fa;
  --shadow: 0 8px 24px rgba(22, 65, 140, .10);
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); font-size: 15px; line-height: 1.7; background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* ===== 顶栏 ===== */
.topbar { background: var(--blue-dark); color: #cdd8ee; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar .hotline { display: flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); }

/* ===== 头部导航 ===== */
.header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge {
  width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), #2f6fd6);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; flex-shrink: 0;
}
.logo-name { font-size: 22px; font-weight: 700; color: var(--blue-dark); line-height: 1.3; }
.logo-sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 18px; font-size: 16px; font-weight: 600; color: #444; border-radius: 6px; position: relative;
}
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a.active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 3px;
  background: var(--red); border-radius: 2px;
}
.header-phone {
  display: flex; align-items: center; gap: 8px; background: var(--red); color: #fff;
  padding: 10px 18px; border-radius: 24px; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 12px rgba(224,52,43,.35);
}
.header-phone svg { width: 18px; height: 18px; fill: #fff; }
.header-phone:hover { background: #c9251d; color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--blue-dark); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ===== 轮播图 ===== */
.banner { position: relative; height: 540px; overflow: hidden; }
.banner-track { height: 100%; position: relative; }
.banner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background-size: cover;
  background-position: center; display: flex; align-items: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,30,70,.72) 0%, rgba(10,30,70,.35) 55%, rgba(10,30,70,.05) 100%);
}
.banner-text { position: relative; color: #fff; max-width: 640px; }
.banner-text h2 { font-size: 44px; line-height: 1.25; margin-bottom: 14px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.banner-text p { font-size: 19px; opacity: .92; margin-bottom: 26px; }
.banner-btns { display: flex; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; border-radius: 28px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none; transition: .25s;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(224,52,43,.4); }
.btn-red:hover { background: #c9251d; transform: translateY(-2px); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.28); color: #fff; }
.banner-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.banner-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s; }
.banner-dots i.on { background: #fff; width: 30px; border-radius: 6px; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.4);
  font-size: 20px; cursor: pointer; z-index: 5; transition: .3s; font-family: serif;
}
.banner-arrow:hover { background: rgba(255,255,255,.4); }
.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }

/* ===== 数据条 ===== */
.stats { background: linear-gradient(135deg, var(--blue) 0%, #2359b8 100%); color: #fff; position: relative; overflow: hidden; }
.stats::after {
  content: "QIHANG"; position: absolute; right: -20px; bottom: -30px; font-size: 130px; font-weight: 800;
  color: rgba(255,255,255,.05); letter-spacing: 8px; pointer-events: none;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); padding: 42px 0; }
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.22);
}
.stat-num { font-size: 44px; font-weight: 800; font-family: Georgia, serif; }
.stat-num em { font-style: normal; font-size: 22px; margin-left: 2px; }
.stat-label { font-size: 15px; opacity: .85; margin-top: 2px; }

/* ===== 通用标题 ===== */
.section { padding: 70px 0; }
.section.gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 32px; color: var(--blue-dark); position: relative; display: inline-block; padding-bottom: 14px; }
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 46px; height: 4px; border-radius: 2px; background: var(--red);
}
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* ===== 课程体系 ===== */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.course-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s; position: relative;
}
.course-card:hover { transform: translateY(-8px); box-shadow: 0 14px 34px rgba(22,65,140,.18); }
.course-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course-card:hover .course-img img { transform: scale(1.08); }
.course-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(22,65,140,.88); color: #fff;
  font-size: 13px; padding: 4px 12px; border-radius: 4px; letter-spacing: 1px;
}
.course-body { padding: 18px 18px 22px; }
.course-body h3 { font-size: 19px; color: var(--blue-dark); margin-bottom: 8px; }
.course-body p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ===== 优势 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  display: flex; gap: 18px; align-items: flex-start; transition: .3s; border: 1px solid transparent;
}
.adv-card:hover { transform: translateY(-6px); border-color: var(--blue); }
.adv-icon {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), #3a7bd5); display: flex; align-items: center; justify-content: center;
}
.adv-icon svg { width: 28px; height: 28px; fill: #fff; }
.adv-card:nth-child(2n) .adv-icon { background: linear-gradient(135deg, #e0342b, #ff7a45); }
.adv-card h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 6px; }
.adv-card p { font-size: 14px; color: var(--muted); }

/* ===== 校园环境 ===== */
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.campus-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.campus-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.campus-item:hover img { transform: scale(1.1); }
.campus-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: 15px; font-weight: 600;
  background: linear-gradient(transparent, rgba(10,25,60,.78));
}

/* ===== 校园资讯 ===== */
.news-wrap { display: grid; grid-template-columns: 5fr 4fr; gap: 30px; }
.news-featured { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; display: block; }
.news-featured .nf-img { aspect-ratio: 16/9; overflow: hidden; }
.news-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-featured:hover img { transform: scale(1.06); }
.news-featured .nf-body { padding: 20px 22px 24px; }
.news-featured h3 { font-size: 19px; color: var(--blue-dark); line-height: 1.5; margin: 8px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-featured:hover h3 { color: var(--red); }
.news-featured p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); transition: .3s; }
.news-item:hover { transform: translateX(6px); }
.news-thumb { width: 150px; height: 96px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h4 { font-size: 15.5px; color: var(--text); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.news-item:hover h4 { color: var(--red); }
.news-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.news-meta .cat { background: var(--blue-light); color: var(--blue); padding: 1px 8px; border-radius: 3px; }
.news-more { text-align: center; margin-top: 36px; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(22,65,140,.3); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); color: #fff; }
.news-col { min-width: 0; }
.news-col .news-list { margin-top: 16px; }
.news-col--notice { display: flex; flex-direction: column; }
.col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.col-head h3 { font-size: 21px; color: var(--blue-dark); position: relative; padding-left: 13px; }
.col-head h3::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 18px; background: var(--red); border-radius: 2px;
}
.col-head a { font-size: 13px; color: var(--muted); }
.col-head a:hover { color: var(--red); }
.notice-list {
  flex: 1; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 6px 22px; display: flex; flex-direction: column;
}
.notice-list li { flex: 1; display: flex; align-items: center; border-bottom: 1px dashed #e5e8ef; }
.notice-list li:last-child { border-bottom: none; }
.notice-list li a { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 0; }
.notice-list .n-date { flex-shrink: 0; width: 56px; text-align: center; background: #f2f5fb; border-radius: 8px; padding: 6px 0 7px; }
.notice-list .n-date b { display: block; font-size: 20px; font-family: Georgia, serif; color: var(--blue-dark); line-height: 1.15; }
.notice-list .n-date span { font-size: 11.5px; color: var(--muted); }
.notice-list h4 {
  flex: 1; font-size: 15px; color: var(--text); font-weight: 500; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notice-list li a:hover h4 { color: var(--red); }
.notice-cta {
  margin-top: 18px; border-radius: var(--radius); text-align: center; color: #fff; padding: 22px 18px;
  background: linear-gradient(135deg, var(--blue), #2f6fd6); box-shadow: var(--shadow);
}
.notice-cta .nc-label { font-size: 14px; opacity: .85; }
.notice-cta .nc-phone { display: block; font-size: 28px; font-weight: 800; color: #ffd76e; letter-spacing: 1px; margin: 6px 0 6px; }
.notice-cta .nc-phone:hover { color: #fff; }
.notice-cta .nc-name { font-size: 13px; opacity: .9; }

/* ===== 发展历程 ===== */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 10px 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #d6e0f0; transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 40px 40px 0; }
.tl-item:nth-child(even) { left: 50%; padding: 0 0 40px 40px; }
.tl-item::before {
  content: ""; position: absolute; right: -7px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--red); z-index: 2;
}
.tl-item:nth-child(even)::before { right: auto; left: -7px; }
.tl-year {
  display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px;
  padding: 3px 16px; border-radius: 16px; margin-bottom: 10px;
}
.tl-body { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.tl-body h3 { font-size: 17px; color: var(--blue-dark); margin-bottom: 6px; }
.tl-body p { font-size: 14px; color: var(--muted); }

/* ===== 联系我们 ===== */
.contact { background: linear-gradient(135deg, #0e2f6b, #16418c); color: #fff; text-align: center; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.contact::after {
  content: ""; position: absolute; right: -40px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.contact h2 { font-size: 30px; margin-bottom: 8px; }
.contact .sub { opacity: .8; margin-bottom: 26px; }
.contact-phone {
  font-size: 46px; font-weight: 800; letter-spacing: 2px; color: #ffd76e;
  text-shadow: 0 4px 14px rgba(0,0,0,.25); position: relative; z-index: 2;
}
.contact-info { margin: 18px 0 30px; font-size: 17px; opacity: .92; position: relative; z-index: 2; }
.contact-info b { color: #ffd76e; }
.btn-gold { background: linear-gradient(135deg, #ffb62e, #ff8f1f); color: #fff; box-shadow: 0 6px 18px rgba(255,150,30,.45); font-size: 17px; padding: 14px 44px; }
.btn-gold:hover { transform: translateY(-2px); color: #fff; }

/* ===== 页脚 ===== */
.footer { background: #101d33; color: #93a1b8; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 4fr 2fr 3fr; gap: 40px; padding: 52px 0 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer p { line-height: 1.9; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--gold); margin-top: 4px; flex-shrink: 0; }
.footer-contact b { color: #ffd76e; font-size: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: #93a1b8; }
.footer-bottom a:hover { color: #fff; }

/* ===== 悬浮工具 ===== */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); cursor: pointer; transition: .3s; border: none;
}
.float-btn svg { width: 24px; height: 24px; fill: #fff; }
.float-phone { background: var(--red); }
.float-top { background: var(--blue); opacity: 0; pointer-events: none; }
.float-top.show { opacity: 1; pointer-events: auto; }
.float-btn:hover { transform: scale(1.1); }
.mobile-callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; box-shadow: 0 -4px 14px rgba(0,0,0,.12); padding: 8px 12px; }
.mobile-callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff;
  height: 44px; border-radius: 22px; font-size: 16px; font-weight: 700;
}
.mobile-callbar svg { width: 18px; height: 18px; fill: #fff; }

/* ===== 内页头图 ===== */
.page-head { background: linear-gradient(120deg, #0e2f6b, #2359b8); color: #fff; text-align: center; padding: 46px 0; }
.page-head h1 { font-size: 30px; margin-bottom: 6px; }
.page-head p { opacity: .8; font-size: 14px; }
.breadcrumb { font-size: 14px; padding: 14px 0; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

/* ===== 新闻列表页 ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-chip {
  padding: 8px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border);
  font-size: 15px; cursor: pointer; transition: .25s; color: #555;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; min-height: 300px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(22,65,140,.16); }
.nc-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .nc-img img { transform: scale(1.07); }
.nc-tag { position: absolute; top: 10px; left: 10px; background: rgba(224,52,43,.92); color: #fff; font-size: 12.5px; padding: 3px 10px; border-radius: 3px; }
.nc-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.nc-body h3 {
  font-size: 16.5px; color: var(--text); line-height: 1.55; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card:hover h3 { color: var(--blue); }
.nc-body p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.nc-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: #a5aec0; margin-top: 12px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager button {
  min-width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); background: #fff;
  cursor: pointer; font-size: 14px; color: #555; transition: .2s; padding: 0 10px;
}
.pager button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pager button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.pager button:disabled { opacity: .45; cursor: not-allowed; }
.empty-tip { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 60px 0; font-size: 16px; }

/* ===== 文章详情 ===== */
.article-wrap { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px 44px 46px; }
.article-wrap h1 { font-size: 27px; color: #222; line-height: 1.5; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13.5px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.article-meta .cat { background: var(--blue-light); color: var(--blue); padding: 2px 10px; border-radius: 3px; }
.article-cover { border-radius: 8px; overflow: hidden; margin-bottom: 26px; }
.article-cover img { width: 100%; }
.article-content { font-size: 16px; line-height: 2; color: #3a3f4a; word-break: break-word; }
.article-content p { margin-bottom: 16px; text-align: justify; }
.article-content h3 { font-size: 19px; color: var(--blue-dark); margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--red); }
.article-content img { border-radius: 8px; margin: 10px auto; }
.article-content strong { color: var(--red); }
.article-cta {
  margin: 34px 0 10px; background: linear-gradient(135deg, #eef3fb, #fdf3ec); border: 1px dashed #f0b28a;
  border-radius: var(--radius); padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.article-cta .cta-txt b { color: var(--red); font-size: 20px; }
.article-cta .cta-txt p { color: var(--muted); font-size: 14px; margin: 0; }
.article-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; }
.article-nav a {
  flex: 1; background: var(--bg); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #555;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.article-nav a:hover { background: var(--blue-light); color: var(--blue); }
.article-nav .next { text-align: right; }
.related h3 { font-size: 20px; color: var(--blue-dark); margin: 46px 0 20px; padding-left: 12px; border-left: 4px solid var(--blue); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .course-grid, .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-wrap { grid-template-columns: 1fr; }
  .banner { height: 420px; }
  .banner-text h2 { font-size: 34px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 14px; }
  .topbar .tips { display: none; }
  .header .container { height: 62px; position: relative; }
  .logo-name { font-size: 18px; }
  .logo-badge { width: 40px; height: 40px; font-size: 22px; }
  .nav {
    position: absolute; top: 62px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 8px 16px 14px; box-shadow: 0 12px 20px rgba(0,0,0,.1); display: none; z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--bg); }
  .nav a.active::after { display: none; }
  .header-phone span { display: none; }
  .header-phone { padding: 10px 12px; }
  .nav-toggle { display: block; }
  .banner { height: 300px; }
  .banner-text h2 { font-size: 26px; }
  .banner-text p { font-size: 15px; margin-bottom: 16px; }
  .btn { padding: 10px 22px; font-size: 14px; }
  .banner-arrow { display: none; }
  .section { padding: 48px 0; }
  .sec-head h2 { font-size: 25px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 22px 0; padding: 30px 0; }
  .stat-num { font-size: 32px; }
  .stat-item:nth-child(3)::before { display: none; }
  .adv-grid, .news-grid, .related-grid { grid-template-columns: 1fr; }
  .course-grid, .campus-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .course-body { padding: 12px; }
  .course-body h3 { font-size: 16px; }
  .course-body p { display: none; }
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; padding: 0 0 26px 32px; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 1px; right: auto; }
  .contact-phone { font-size: 32px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 28px; }
  .article-wrap { padding: 24px 18px 30px; }
  .article-wrap h1 { font-size: 21px; }
  .mobile-callbar { display: block; }
  body { padding-bottom: 60px; }
  .float-bar { bottom: 74px; }
  .news-item { flex-direction: column; }
  .news-thumb { width: 100%; height: 160px; }
  .notice-list { padding: 4px 14px; }
  .notice-list li a { gap: 10px; }
  .notice-list .n-date { width: 48px; }
  .notice-cta .nc-phone { font-size: 24px; }
}
@media (max-width: 480px) {
  .campus-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 26px; }
  .contact-info { font-size: 14px; }
}
