/*
Theme Name: 格维教育 GLEVV EDU
Theme URI: https://edu.glevv.com
Author: Glevv
Description: 格维教育 GLEVV EDU —— 教培招生转化专用主题。独立导航菜单（首页/课程介绍/师资团队/校区环境/招生简章/FAQ/联系我们），桌面端主导航 + 移动端汉堡抽屉菜单，内置课程·师资·校区·学员·招生简章·FAQ 等内容类型与预约报名表单。
Version: 1.0
Text Domain: glevvedu
*/

/* ============================================================
   1. 设计变量
   ============================================================ */
:root {
  --brand: #1552b8;
  --brand-d: #0b3a7a;
  --brand-l: #eaf1ff;
  --accent: #ff7a1a;
  --accent-d: #e5650b;
  --accent-l: #fff4ea;
  --ink: #18212f;
  --ink-2: #5a6676;
  --ink-3: #8a95a5;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f4f7fe;
  --ok: #17a34a;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 6px 24px rgba(21, 82, 184, .08);
  --shadow-h: 0 14px 38px rgba(21, 82, 184, .16);
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial,
          sans-serif;
}

/* ============================================================
   2. 基础重置
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 0;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.35; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.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;
}

/* ============================================================
   3. 顶部信息条
   ============================================================ */
.topbar {
  background: var(--brand-d);
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.topbar .tb-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar .tb-left span { white-space: nowrap; }
.topbar .tb-left .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: middle; }
.topbar .tb-right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar .tb-cta {
  background: var(--accent); color: #fff; padding: 5px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px; white-space: nowrap;
}
.topbar .tb-cta:hover { background: var(--accent-d); color: #fff; text-decoration: none; }

/* ============================================================
   4. 站点头部 + 主导航（桌面）
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(135deg, #eeeeee 0%, #a9b8c3 100%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(24, 33, 47, .08); }
.header-inner {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 24px; min-height: 74px;
}
/* 页头/顶条容器放宽到 1400px（与 bi.glevv.com 一致：页头 1400 / 正文 1200），
   1366 视口下品牌离左约 24px，与 BI 对齐 */
.topbar .wrap, .site-header .wrap { max-width: 1400px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3; }
.brand-name { font-size: 21px; font-weight: 800; color: #000; letter-spacing: -.3px; }
.brand-en { font-size: 11px; letter-spacing: 2px; color: #475569; font-weight: 600; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-l); }
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a { color: var(--brand); background: var(--brand-l); }
.main-nav li.current-menu-item > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.tel-block { text-align: right; line-height: 1.25; }
.tel-block .tel-tip { font-size: 11px; color: var(--ink-3); letter-spacing: .5px; }
.tel-block .tel-num { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: -.2px; }
.tel-block .tel-num:hover { color: var(--accent-d); }

/* 汉堡按钮 */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; padding: 0;
  background: var(--brand-l); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle .bar { width: 20px; height: 2px; background: var(--brand-d); border-radius: 2px; transition: transform .22s ease, opacity .18s ease; }
.nav-toggle.is-open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(11, 58, 122, .45);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 90;
}
.drawer-mask.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 360px);
  background: #fff; z-index: 100; transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: -8px 0 32px rgba(11, 58, 122, .18);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.drawer-head .dh-name { font-weight: 800; color: var(--brand-d); font-size: 17px; }
.drawer-close { width: 38px; height: 38px; border: 0; background: var(--bg-soft); border-radius: 9px; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2); }
.drawer-nav { padding: 10px 12px; flex: 1; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { border-bottom: 1px solid var(--line); }
.drawer-nav li:last-child { border-bottom: 0; }
.drawer-nav a {
  display: flex; align-items: center; gap: 12px; padding: 15px 12px;
  font-size: 17px; font-weight: 600; color: var(--ink); border-radius: 9px;
}
.drawer-nav a:hover, .drawer-nav li.current-menu-item > a { background: var(--brand-l); color: var(--brand); }
.drawer-nav .idx { font-size: 12px; color: var(--ink-3); font-weight: 700; width: 18px; flex: none; }
.drawer-foot { padding: 18px 20px 24px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.drawer-foot .df-tel { display: block; font-size: 22px; font-weight: 800; color: var(--brand); margin-bottom: 10px; }
.drawer-foot .df-tip { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.drawer-foot .btn { width: 100%; justify-content: center; }

/* ============================================================
   5. 按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease;
  white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 122, 26, .28); }
.btn-primary:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 122, 26, .34); }
.btn-outline { background: #fff; color: var(--brand); border-color: #c9d8f6; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-l); transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-d); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   6. Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--brand-d) 0%, var(--brand) 55%, #2d6ee0 100%);
}
.hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 460px; height: 460px;
  border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; padding: 76px 0 84px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28); padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 2.85rem; line-height: 1.25; margin-bottom: 20px; letter-spacing: -.8px; }
.hero h1 em { font-style: normal; color: #ffd7ab; }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-actions .btn-outline { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero-actions .btn-outline:hover { background: #fff; color: var(--brand); border-color: #fff; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.hero-tags span::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 7px; }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-stats .st { }
.hero-stats .num { font-size: 30px; font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -1px; }
.hero-stats .num small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.hero-stats .lbl { font-size: 13px; color: rgba(255, 255, 255, .75); }

/* Hero 右侧：预约卡 */
.hero-card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 30px 28px;
  box-shadow: 0 22px 50px rgba(11, 58, 122, .25);
}
.hero-card h3 { margin-bottom: 4px; font-size: 21px; }
.hero-card .hc-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }

/* ============================================================
   7. 通用区块
   ============================================================ */
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 2px;
  color: var(--brand); background: var(--brand-l); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head .sub { color: var(--ink-2); font-size: 17px; margin: 0; }
.section-head.left { text-align: left; margin-left: 0; }

/* ============================================================
   8. 优势卡
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: all .22s ease; position: relative; overflow: hidden;
}
.adv-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand); opacity: 0; transition: opacity .22s ease;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: #d6e2fa; }
.adv-card:hover::before { opacity: 1; }
.adv-ico {
  width: 52px; height: 52px; border-radius: 13px; background: var(--brand-l); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 25px; margin-bottom: 16px;
}
.adv-card h3 { font-size: 18px; margin-bottom: 8px; }
.adv-card p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ============================================================
   9. 课程卡
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .24s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: #d6e2fa; }
.course-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-l); }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.course-card:hover .course-thumb img { transform: scale(1.06); }
.course-badge {
  position: absolute; left: 12px; top: 12px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; z-index: 2;
}
.course-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { font-size: 19px; margin-bottom: 10px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.course-meta span {
  font-size: 12.5px; color: var(--brand); background: var(--brand-l);
  padding: 3px 10px; border-radius: 6px; font-weight: 600;
}
.course-body .excerpt { color: var(--ink-2); font-size: 15px; flex: 1; margin-bottom: 16px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.course-foot .more { font-weight: 700; font-size: 15px; }

/* ============================================================
   10. 师资卡
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-align: center; transition: all .24s ease;
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: #d6e2fa; }
.teacher-photo { aspect-ratio: 3 / 4; background: var(--bg-soft); overflow: hidden; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-body { padding: 18px 16px 22px; }
.teacher-body h3 { font-size: 18px; margin-bottom: 4px; }
.teacher-body .role { color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.teacher-body .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 10px; }
.teacher-body .tags span { font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); padding: 2px 8px; border-radius: 5px; }
.teacher-body .quote { font-size: 13.5px; color: var(--ink-2); margin: 0; font-style: italic; }

/* ============================================================
   11. 校区环境
   ============================================================ */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.campus-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--bg-soft);
}
.campus-item.tall { grid-row: span 2; aspect-ratio: 2 / 3; }
.campus-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.campus-item:hover img { transform: scale(1.06); }
.campus-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px;
  background: linear-gradient(transparent, rgba(11, 58, 122, .88)); color: #fff;
  font-weight: 700; font-size: 15px;
}

/* ============================================================
   12. 学员风采
   ============================================================ */
.student-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.student-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: all .22s ease; position: relative;
}
.student-card::after {
  content: "”"; position: absolute; right: 20px; top: 6px; font-size: 62px;
  color: var(--brand-l); font-weight: 900; line-height: 1;
}
.student-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.sc-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.sc-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--brand-l); flex: none; }
.sc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sc-name { font-weight: 800; font-size: 16px; line-height: 1.3; }
.sc-tag { font-size: 12.5px; color: var(--ink-3); }
.student-card .sc-text { color: var(--ink); font-size: 15px; margin: 0 0 14px; position: relative; z-index: 1; }
.sc-gain { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ok); background: #e9f8ef; padding: 5px 12px; border-radius: 999px; }

/* ============================================================
   13. FAQ 手风琴
   ============================================================ */
.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s ease; }
.faq-item.open { border-color: #d6e2fa; box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.faq-q:hover { color: var(--brand); }
.faq-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-l); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; transition: transform .25s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { display: none; padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============================================================
   14. CTA 条 / 表单
   ============================================================ */
.cta-band { background: linear-gradient(100deg, var(--brand-d), var(--brand)); color: #fff; padding: 58px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .84); margin: 0; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-actions .btn-outline { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-actions .btn-outline:hover { background: #fff; color: var(--brand); }

.form-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { margin-bottom: 4px; }
.form-card .fc-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.frm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.frm-field { display: flex; flex-direction: column; gap: 6px; }
.frm-field.full { grid-column: 1 / -1; }
.frm-field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.frm-field label .req { color: var(--accent); margin-left: 2px; }
.frm-field input, .frm-field select, .frm-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #d7dee9; border-radius: 9px;
  font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease; background: #fff;
}
.frm-field textarea { min-height: 92px; resize: vertical; }
.frm-field input:focus, .frm-field select:focus, .frm-field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21, 82, 184, .12);
}
.frm-agree { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.frm-agree input { width: auto; margin-top: 3px; }
.frm-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
.frm-msg { grid-column: 1 / -1; font-size: 15px; padding: 12px 16px; border-radius: 9px; display: none; }
.frm-msg.ok { display: block; background: #e9f8ef; color: #0d6b2f; border: 1px solid #b7e6c6; }
.frm-msg.err { display: block; background: #fdecec; color: #a52424; border: 1px solid #f7c2c2; }
.frm-loading { opacity: .6; pointer-events: none; }

/* ============================================================
   15. 内页视觉
   ============================================================ */
/* 内页主标题横幅：BI 同款——hero.jpg 背景图卡 + 深蓝副标题条 */
.page-hero { padding: 18px 0 0; color: #fff; }
.page-hero h1 {
  margin: 0; padding: 26px 24px;
  font-size: 2.2rem; color: #fff; letter-spacing: .5px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, rgba(9,45,96,.52) 0%, rgba(9,45,96,.9) 100%),
              url(assets/img/hero.jpg) center/cover no-repeat;
}
.page-hero .ph-sub {
  margin: 0; padding: 12px 24px 16px;
  background: #0b3a7a; color: rgba(255, 255, 255, .84);
  font-size: 17px; line-height: 1.65; max-width: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.crumb a { color: var(--ink-2); }
.crumb span { margin: 0 8px; opacity: .6; }

.entry-content { font-size: 16.5px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }

/* ============================================================
   16. 联系页
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); }
.ci-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-l); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.ci-lab { font-size: 12.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .5px; }
.ci-val { font-size: 16px; font-weight: 700; color: var(--ink); }
.ci-val a { color: var(--ink); }
.ci-val a:hover { color: var(--brand); }
.ci-qr { text-align: center; }
.ci-qr img { width: 140px; height: 140px; margin: 0 auto 8px; border: 1px solid var(--line); border-radius: 10px; }
.ci-qr .qr-tip { font-size: 13px; color: var(--ink-2); }

.map-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); min-height: 260px; }

/* ============================================================
   17. 页脚
   ============================================================ */
.site-footer { background: #0d1b33; color: rgba(255, 255, 255, .72); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 58px 0 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-brand .fb-name { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 14.5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .fk { color: var(--accent); font-weight: 700; flex: none; }
.footer-contact .nb { white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   18. 移动端悬浮工具条
   ============================================================ */
.mobar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; box-shadow: 0 -2px 14px rgba(24, 33, 47, .12); border-top: 1px solid var(--line); }
.mobar-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.mobar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 0 11px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.mobar a .mi { font-size: 19px; line-height: 1; }
.mobar a.book { background: var(--accent); color: #fff; }
.mobar a.book:hover { color: #fff; }

/* ============================================================
   20. 导航下级菜单（招生简章 → 学科辅导班 / 托管班）
   ============================================================ */
.main-nav .menu-item-has-children > a .caret {
  display: inline-block; width: 7px; height: 7px; margin-left: 6px; vertical-align: 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .55;
}
.main-nav .sub-menu {
  display: block; position: absolute; top: 100%; left: 0; z-index: 70;
  min-width: 170px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(24, 33, 47, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .sub-menu li { width: 100%; border: 0; }
.main-nav .sub-menu a { padding: 9px 12px; font-size: 15px; border-radius: 8px; }
.main-nav .sub-menu a::before { content: "·"; margin-right: 7px; color: var(--brand); font-weight: 800; }
/* 页面内锚点定位避开吸顶导航 */
.adm-group, .adm-sub { scroll-margin-top: 96px; }

/* 手机抽屉里的子菜单：直接平铺展示，缩进一档 */
.drawer-nav ul.sub-menu {
  background: var(--bg-soft);
  border-top: 1px dashed var(--line);
  padding: 2px 0 6px;
}
.drawer-nav li li { border-bottom: 0; }
.drawer-nav li li:last-child { border-bottom: 0; }
.drawer-nav li li a { padding: 11px 12px 11px 34px; font-size: 15px; }
.drawer-nav li li a::before { content: "–"; color: var(--brand); margin-right: 8px; font-weight: 800; }

/* ============================================================
   21. 表单提交结果弹窗（屏幕正中）
   ============================================================ */
.ge-toast {
  position: fixed; left: 50%; top: 45%; z-index: 9999;
  transform: translate(-50%, -50%) scale(.94);
  max-width: min(420px, 86vw);
  background: #fff; border-radius: 14px;
  border-top: 4px solid var(--brand);
  box-shadow: 0 18px 50px rgba(24, 33, 47, .28);
  padding: 24px 30px; text-align: center;
  font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--ink);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.ge-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ge-toast .ge-toast-ico { display: block; font-size: 34px; line-height: 1; margin-bottom: 10px; }
.ge-toast.ok { border-top-color: #0a7d32; }
.ge-toast.ok .ge-toast-ico { color: #0a7d32; }
.ge-toast.err { border-top-color: #b91c1c; }
.ge-toast.err .ge-toast-ico { color: #b91c1c; }

/* ============================================================
   19. 响应式
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 66px; }
  .hero h1 { font-size: 2.4rem; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 921px) {
  .topbar { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .tel-block { display: none; }
  .header-cta .btn { padding: 10px 18px; font-size: 15px; }
  .header-inner { min-height: 64px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 18px; }
  .section { padding: 54px 0; }
  .hero { padding-top: 0; }
  .hero-inner { padding: 44px 0 52px; }
  .hero h1 { font-size: 1.95rem; }
  .hero .lead { font-size: 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-card { padding: 24px 20px; }
  .grid-3, .grid-4, .campus-grid, .student-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .campus-item.tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .cta-inner { grid-template-columns: 1fr; gap: 22px; }
  .cta-inner h2 { font-size: 1.6rem; }
  .page-hero { padding: 14px 0 0; }
  .page-hero h1 { font-size: 1.65rem; }
  .page-hero .ph-sub { font-size: 15.5px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
  .mobar { display: block; }
  body { padding-bottom: 62px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .grid-3, .grid-4, .adv-grid, .campus-grid, .student-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .frm-grid { grid-template-columns: 1fr; }
  .brand-en { font-size: 10px; letter-spacing: 1.5px; }
  .faq-q { font-size: 16px; padding: 16px 18px; }
  .section-head .sub { font-size: 16px; }
  .header-book { display: none; }
  .course-page-form { grid-template-columns: 1fr !important; }
  body { overflow-wrap: break-word; }
  .page-hero { padding: 10px 0 0; }
  .page-hero h1 { font-size: 1.5rem; padding: 20px 18px; }
  .page-hero .ph-sub { font-size: 15px; padding: 10px 18px 13px; }
  .frm-field input, .frm-field select, .frm-field textarea { font-size: 16px; }
  .adm-card-head h4 { font-size: 1.1rem; }
  .adm-body { font-size: 15px; }
}

@media (max-width: 921px) {
  .single-grid { grid-template-columns: 1fr !important; }
  .single-side { order: 2; }
}

/* ============================================================
   13. 品牌标识：GLEVV logo + 格维教育
   ============================================================ */
.brand .brand-logo { height: 46px; width: auto; border-radius: 8px; flex: none; }
.drawer-head .dh-logo { height: 34px; width: auto; border-radius: 8px; margin-right: 8px; }
.footer-brand .fb-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand .fb-logo { height: 42px; width: auto; border-radius: 8px; background: #fff; padding: 2px; flex: none; }
.footer-brand .fb-brand .fb-name { margin-bottom: 0; }

/* ============================================================
   14. 招生简章（学科辅导班 / 托管班 两级结构）
   ============================================================ */
.adm-quick { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 14px 0; }
.adm-quick-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.aq-lab { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.aq-group { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px 4px 12px; }
.aq-gname { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .3px; }
.aq-group a { font-size: 14px; font-weight: 600; color: var(--brand-d); background: var(--brand-l); border-radius: 999px; padding: 4px 12px; }
.aq-group a:hover { background: var(--brand); color: #fff; }
.aq-cta { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--accent-d); }

.adm-group { margin-bottom: 54px; }
.adm-group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--brand); margin-bottom: 26px; }
.adm-ico { font-size: 34px; line-height: 1; }
.adm-group-head h2 { margin: 0; font-size: 1.5rem; color: var(--brand-d); }
.adm-group-head p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }

.adm-sub { margin-bottom: 36px; scroll-margin-top: 96px; }
.adm-sub-title { margin: 0 0 16px; font-size: 1.18rem; padding-left: 12px; border-left: 4px solid var(--accent); }

.adm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); margin-bottom: 18px; scroll-margin-top: 96px; }
.adm-card-head h4 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; font-size: 1.22rem; }
.adm-badge { font-size: 12px; font-weight: 700; color: var(--accent-d); background: var(--accent-l); border: 1px solid #ffd9b8; border-radius: 999px; padding: 2px 10px; }

.adm-params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; background: var(--bg-soft); border-radius: var(--radius-s); padding: 16px 18px; margin-bottom: 16px; }
.adm-p { display: flex; flex-direction: column; }
.adm-p .pk { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.adm-p .pv { font-size: 15px; font-weight: 600; color: var(--ink); }

.adm-body { font-size: 15.5px; color: var(--ink-2); }
.adm-body ul { margin: 0 0 1em; padding-left: 1.2em; }
.adm-body li { margin-bottom: 5px; }
.adm-body strong { color: var(--ink); }
.adm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.adm-empty { color: var(--ink-2); background: var(--bg-soft); border-radius: var(--radius-s); padding: 16px 18px; margin: 0; }

.adm-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adm-mini { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.adm-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: #d6e2fa; }
.am-cat { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--brand); }
.am-name { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 6px 0 8px; }
.adm-mini:hover .am-name { color: var(--brand-d); }
.am-desc { font-size: 14.5px; color: var(--ink-2); }

@media (max-width: 921px) {
  .brand .brand-logo { height: 38px; }
  .adm-params { grid-template-columns: repeat(2, 1fr); }
  .adm-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .adm-group-head h2 { font-size: 1.35rem; }
}
@media (max-width: 620px) {
  .adm-params { grid-template-columns: 1fr; }
  .adm-mini-grid { grid-template-columns: 1fr; }
  .adm-card { padding: 20px 18px; }
  .aq-cta { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   移动端导航：汉堡抽屉 -> 单行横滑（与 bi.glevv.com 一致）
   断点与主题一致：921px
   ========================================================================== */
@media (max-width: 921px) {
	.nav-toggle { display: none !important; }
	/* 手机端第一行（logo+两行品牌文字）在灰条内垂直居中：
	   上行留白 13px，下方到分隔线约 14px */
	.header-inner { flex-wrap: wrap; padding-top: 13px; row-gap: 12px; }

	.main-nav {
		display: block !important;
		flex: 1 1 100% !important;
		width: 100% !important;
		min-width: 0;
		border-top: 1px solid var(--line);
		margin-top: 2px;
	}
	.main-nav ul {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		min-width: 0;
		align-items: center;
		gap: 0;
		padding: 4px 0;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.main-nav ul::-webkit-scrollbar { display: none; }
	.main-nav li {
		flex: none;
		position: relative;
		display: flex;
		align-items: center;
	}
	.main-nav a {
		padding: 8px 12px;
		font-size: 15px;
		white-space: nowrap;
	}

	/* 招生简章子菜单：手机端不摊平进横滑行（会被裁到屏外），
	   点击「招生简章」由 main.js 在按钮下方弹出 fixed 面板 */
	.main-nav .sub-menu {
		display: none !important;
		position: fixed !important;
		flex-direction: column;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		min-width: 0 !important;
		z-index: 95;
	}
	.main-nav .sub-menu.ge-sub-open { display: flex !important; }
	.main-nav .sub-menu li { width: auto !important; display: block; }
	/* 面板内三项样式统一：去掉当前页高亮蓝底和下划线，hover 时保留浅蓝反馈 */
	.main-nav .sub-menu li.current-menu-item > a,
	.main-nav .sub-menu li.current_page_item > a { color: var(--ink) !important; background: transparent !important; }
	.main-nav .sub-menu li.current-menu-item > a::after,
	.main-nav .sub-menu li.current_page_item > a::after { display: none !important; }
	.main-nav .sub-menu a { padding: 11px 14px !important; font-size: 15px !important; white-space: nowrap; }
	.main-nav .sub-menu a::before { content: "\00b7"; margin-right: 5px; }
	.main-nav .sub-menu li.ge-sub-all a { font-weight: 600; }
	.main-nav .menu-item-has-children > a .caret { display: inline-block !important; transition: transform .18s ease; }
	.main-nav .menu-item-has-children.ge-sub-open > a .caret { transform: rotate(225deg); }
}



/* ===== 校区环境：按模块分组 ===== */
.campus-group { margin-bottom: 40px; }
.campus-group:last-child { margin-bottom: 0; }
.cg-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px; font-size: 20px; font-weight: 800;
  color: var(--ink); letter-spacing: -.2px;
}
.cg-title::before {
  content: ""; width: 4px; height: 20px;
  border-radius: 2px; background: var(--brand);
}
@media (max-width: 620px) {
  .campus-group { margin-bottom: 28px; }
  .cg-title { font-size: 18px; margin: 0 0 12px; }
}

/* ===== 营养膳食：表格大图展示 + 全站灯箱 ===== */
  position: static; background: none; color: var(--ink);
  padding: 10px 14px; font-size: 15px; text-align: center;
}
.cg-tip { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
#ge-lightbox {
  position: fixed; inset: 0; background: rgba(10, 22, 44, .93);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 28px; cursor: zoom-out;
}
#ge-lightbox.on { display: flex; }
#ge-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
@media (max-width: 620px) {
  .cg-tip { display: none; }
}
