/* ============================================================
   山东国际学校网 - 全站样式
   颜色令牌与断点集中在此，改配色只需改 :root
   ============================================================ */

:root {
  --brand: #12457c;
  --brand-600: #1a5a9e;
  --brand-400: #4a86c2;
  --brand-50: #eef4fb;
  --accent: #e08a1e;
  --accent-50: #fdf4e6;
  --accent-200: #f6d9ae;
  --ink: #1c2634;
  --ink-2: #3d4b5c;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cdd8e5;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ok: #1f7a4d;
  --warn: #b26a00;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(18, 69, 124, .06), 0 6px 18px rgba(18, 69, 124, .06);
  --shadow-lg: 0 2px 6px rgba(18, 69, 124, .08), 0 14px 34px rgba(18, 69, 124, .10);
  --wrap: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; font-weight: 700; color: var(--ink); }
h1 { font-size: 30px; }
h2 { font-size: 23px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand);
  color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------------- 顶栏 ---------------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(18, 69, 124, .05);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 68px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 100%);
  color: #fff; font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 17px; color: var(--ink); letter-spacing: .3px; }
.logo-text em { font-size: 10px; font-style: normal; color: var(--muted); letter-spacing: .6px; }

.nav { display: flex; gap: 2px; flex: 1 1 auto; flex-wrap: wrap; }
.nav a {
  padding: 8px 12px; border-radius: var(--radius-sm); font-size: 15px;
  color: var(--ink-2); white-space: nowrap;
}
.nav a:hover { background: var(--brand-50); color: var(--brand); }
.nav a.is-active { color: var(--brand); font-weight: 600; background: var(--brand-50); }

.header-search { display: flex; gap: 0; flex: 0 0 auto; }
.header-search input {
  border: 1px solid var(--line-2); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 8px 12px; font-size: 14px; font-family: inherit;
  width: 168px; color: var(--ink); background: #fff;
}
.header-search input:focus { outline: 2px solid var(--brand-400); outline-offset: -1px; }
.header-search button {
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  padding: 8px 16px; font-size: 14px; font-family: inherit; cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.header-search button:hover { background: var(--brand-600); }

.nav-toggle, .nav-burger { display: none; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 46px 0; }
.section.tight { padding: 32px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; position: relative; padding-left: 14px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-400) 100%);
}
.section-head .more { font-size: 14px; color: var(--muted); }
.section-head .more:hover { color: var(--accent); }
.section-desc { color: var(--muted); font-size: 14px; margin: -12px 0 22px; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  background:
    radial-gradient(1100px 380px at 12% -30%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #0f3f73 0%, #1a5a9e 55%, #2f7bbd 100%);
  color: #fff; padding: 60px 0 54px;
}
.hero h1 { color: #fff; font-size: 36px; margin-bottom: 14px; letter-spacing: .5px; }
.hero p.lead { font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 660px; margin-bottom: 26px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stat b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: .5px; }
.hero-stat span { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* 首页搜索面板 */
.picker {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px; margin-top: 34px; color: var(--ink);
}
.picker-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.picker-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: end; }
.picker-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.picker-field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
  background: #fff; color: var(--ink);
}
.btn {
  display: inline-block; padding: 10px 22px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  font-family: inherit; font-size: 15px; cursor: pointer; text-align: center;
  transition: .15s;
}
.btn:hover { background: #c97a15; color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--brand-50); color: var(--brand); border-color: var(--brand-400); }
.btn.block { display: block; width: 100%; }
.btn.sm { padding: 7px 14px; font-size: 13px; }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* 学校卡片 */
.school-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; transition: .18s;
  position: relative;
}
.school-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--brand-400); }
.school-card .sc-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.sc-logo {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-50), #dbe8f6);
  color: var(--brand); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; letter-spacing: -.5px;
  border: 1px solid var(--line);
}
.sc-name { font-size: 16px; font-weight: 700; margin: 0 0 3px; line-height: 1.4; }
.sc-name a { color: var(--ink); }
.sc-name a:hover { color: var(--brand); }
.sc-loc { font-size: 12.5px; color: var(--muted); }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 4px;
  background: var(--brand-50); color: var(--brand); border: 1px solid #d6e4f4;
}
.tag.warm { background: var(--accent-50); color: var(--warn); border-color: #f0dcbb; }
.tag.plain { background: #f1f5f9; color: var(--muted); border-color: var(--line); }

.sc-rows { font-size: 13.5px; margin: 0 0 14px; }
.sc-row { display: flex; gap: 8px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.sc-row:last-child { border-bottom: none; }
.sc-row dt { color: var(--muted); flex: 0 0 62px; margin: 0; }
.sc-row dd { margin: 0; color: var(--ink-2); flex: 1; }
.sc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.sc-fee { font-size: 15px; font-weight: 700; color: var(--brand); }
.sc-fee small { font-weight: 400; color: var(--muted); font-size: 12px; }

.badge-check { font-size: 11px; padding: 1px 6px; border-radius: 3px; background: #e8f5ee; color: var(--ok); border: 1px solid #cbe8d8; }
.badge-todo { font-size: 11px; padding: 1px 6px; border-radius: 3px; background: #fdf4e6; color: var(--warn); border: 1px solid #f0dcbb; }
.badge-pin { font-size: 11px; padding: 1px 8px; border-radius: 3px; background: var(--accent); color: #fff; border: 1px solid var(--accent); font-weight: 600; }

/* 置顶 / 推荐学校卡片 */
.school-card.pinned { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-200) inset, var(--shadow); }
.school-card.pinned:hover { border-color: var(--accent); }
.pin-ribbon {
  position: absolute; top: -1px; right: 14px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 2px 10px 3px; border-radius: 0 0 5px 5px; letter-spacing: .6px;
}

/* ---------------- 列表页布局 ---------------- */
.page-head { padding: 30px 0 8px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span.sep { margin: 0 6px; color: var(--line-2); }

.layout { display: grid; grid-template-columns: 258px 1fr; gap: 26px; padding: 22px 0 50px; align-items: start; }

.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; position: sticky; top: 86px;
}
.filter-group { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group h4 { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 9px; letter-spacing: .3px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-list label {
  font-size: 13px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 20px;
  cursor: pointer; background: #fff; color: var(--ink-2); user-select: none;
}
.filter-list input { margin-right: 5px; vertical-align: -1px; }
.filter-list label:hover { border-color: var(--brand-400); color: var(--brand); }
.filter-list label.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.list-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px;
}
.result-count { font-size: 14px; color: var(--ink-2); }
.result-count b { color: var(--brand); font-size: 16px; }
.sortbar { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.sortbar button {
  border: 1px solid var(--line-2); background: #fff; padding: 5px 12px; border-radius: 20px;
  font-family: inherit; font-size: 13px; cursor: pointer; color: var(--ink-2);
}
.sortbar button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 50px 20px; text-align: center; color: var(--muted); }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; padding: 7px 10px; text-align: center; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: #fff; font-size: 14px; color: var(--ink-2);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------------- 学校详情页 ---------------- */
.detail-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 24px 0 26px; }
.detail-head { display: flex; gap: 20px; align-items: flex-start; }
.detail-logo {
  width: 74px; height: 74px; flex: 0 0 auto; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 100%);
  color: #fff; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.detail-title h1 { margin: 0 0 8px; font-size: 28px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--muted); }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.fact { padding: 15px 18px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
.fact dt { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.fact dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.fact dd .sub { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }

.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 28px 0 50px; align-items: start; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 20px; }
.panel > h2 { font-size: 19px; padding-bottom: 12px; border-bottom: 2px solid var(--brand-50); margin-bottom: 16px; }
.panel h3 { font-size: 16px; margin-top: 22px; }
.panel .prose { font-size: 15px; color: var(--ink-2); }
.panel .prose p { margin-bottom: .9em; }

.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table th, .info-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 130px; color: var(--muted); font-weight: 500; background: #fafcfe; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

.tuition-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tuition-table th, .tuition-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tuition-table thead th { background: var(--brand-50); color: var(--brand); font-weight: 600; font-size: 13.5px; }
.tuition-table td.fee { font-weight: 700; color: var(--brand); }
.tuition-table td.note { color: var(--muted); font-size: 13px; }

.notice {
  background: var(--accent-50); border: 1px solid #f0dcbb; border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 13px 16px; font-size: 13.5px; color: #7a5200; margin-bottom: 18px;
}
.notice.brand { background: var(--brand-50); border-color: #d6e4f4; border-left-color: var(--brand-400); color: var(--brand); }

.side sticky { position: sticky; top: 86px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.side-card h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-card.lead { border-color: var(--brand-400); box-shadow: var(--shadow); }
.side-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.side-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }
.side-list li:last-child { border-bottom: none; }
.side-list .k { color: var(--muted); flex: 0 0 auto; }
.side-list .v { text-align: right; color: var(--ink-2); }

.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
.form-row textarea { min-height: 74px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--brand-400); outline-offset: -1px; }
.form-tip { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

.lead-embed { margin-bottom: 4px; }
.lead-embed iframe { width: 100%; border: 0; display: block; min-height: 420px; }

.lead-phone { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.lead-phone-k { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.lead-phone-num { font-size: 21px; font-weight: 700; color: var(--brand); letter-spacing: .4px; }
.lead-phone-num:hover { color: var(--accent); }

/* ---------------- 首页联系我们 ---------------- */
.contact-band {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.contact-band h2 { font-size: 20px; margin-bottom: 8px; }
.contact-band p { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 44em; }
.contact-band-items { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-item {
  display: block; background: var(--brand-50); border: 1px solid #d6e4f4;
  border-radius: var(--radius-sm); padding: 12px 18px; min-width: 170px;
}
.contact-item span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.contact-item b { font-size: 18px; color: var(--brand); letter-spacing: .3px; }
a.contact-item:hover { border-color: var(--brand-400); }
@media (max-width: 860px) {
  .contact-band { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
}

/* ---------------- 首页推荐位（置顶学校） ---------------- */
.spotlight-sec { padding: 26px 0 6px; }
.spotlight {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: start;
  background: linear-gradient(135deg, var(--brand) 0%, #1d5c9e 55%, #23699f 100%);
  border-radius: 14px; padding: 32px 34px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.spotlight-badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .8px;
  background: var(--accent); color: #fff; padding: 3px 11px; border-radius: 3px; margin-bottom: 14px;
}
.spotlight h2 { color: #fff; font-size: 27px; margin-bottom: 8px; }
.spotlight-tagline { color: rgba(255, 255, 255, .87); font-size: 15px; margin-bottom: 18px; }
.spotlight-list { list-style: none; padding: 0; margin: 0 0 22px; }
.spotlight-list li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: 14.5px; color: rgba(255, 255, 255, .95); line-height: 1.62;
}
.spotlight-list li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.spotlight-actions .btn { background: #fff; color: var(--brand); border-color: #fff; }
.spotlight-actions .btn:hover { background: #eef4fb; color: var(--brand); }
.spotlight-actions .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.spotlight-actions .btn.ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.spotlight-facts {
  margin: 0; padding: 18px 20px; border-radius: 10px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .20);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px;
}
.spotlight-facts > div { min-width: 0; }
.spotlight-facts > div.wide { grid-column: 1 / -1; }
.spotlight-facts dt { font-size: 12px; color: rgba(255, 255, 255, .66); margin-bottom: 3px; }
.spotlight-facts dd { margin: 0; font-size: 14.5px; color: #fff; line-height: 1.55; }
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; }
  .spotlight h2 { font-size: 22px; }
  .spotlight-sec { padding-top: 18px; }
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; background: #fff; }
.related-item:hover { border-color: var(--brand-400); }
.related-item b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.related-item span { font-size: 12.5px; color: var(--muted); }

/* ---------------- 指南/文章 ---------------- */
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.guide-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-400); }
.guide-card .gc-cat { font-size: 12px; color: var(--warn); background: var(--accent-50); border: 1px solid #f0dcbb; padding: 1px 8px; border-radius: 3px; align-self: flex-start; margin-bottom: 10px; }
.guide-card h3 { font-size: 17px; margin-bottom: 8px; }
.guide-card h3 a { color: var(--ink); }
.guide-card h3 a:hover { color: var(--brand); }
.guide-card p { font-size: 13.8px; color: var(--muted); margin-bottom: 14px; }
.guide-card .gc-foot { margin-top: auto; font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; }

.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 46px; }
.article h1 { font-size: 29px; }
.article .article-meta { font-size: 13px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.article h2 { font-size: 20px; margin-top: 32px; padding-left: 12px; border-left: 4px solid var(--brand-400); }
.article h3 { font-size: 17px; margin-top: 24px; color: var(--brand); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.article thead th { background: var(--brand-50); color: var(--brand); }
.article strong { color: var(--ink); }

/* ---------------- 索引页（城市/课程/类型） ---------------- */
.index-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.index-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.index-item:hover { border-color: var(--brand-400); box-shadow: var(--shadow); }
.index-item b { font-size: 15.5px; color: var(--ink); }
.index-item span { font-size: 12.5px; color: var(--muted); }

/* ---------------- 富文本 ---------------- */
.prose-wide { max-width: 820px; }
.prose-wide h2 { margin-top: 28px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #10283f; color: #b9c8d8; margin-top: 20px; padding-top: 42px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 34px; }
.footer-col h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #b9c8d8; }
.footer-col a:hover { color: #fff; }
.footer-about p { color: #8fa5b9; font-size: 13.5px; line-height: 1.8; }
.footer-contact li { color: #8fa5b9; }
.footer-bottom { border-top: 1px solid #1d3c58; padding: 18px 0; }
.footer-bottom p { margin: 0 0 6px; font-size: 12.5px; color: #7d94a8; line-height: 1.7; }
.footer-bottom a { color: #7d94a8; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .index-grid { grid-template-columns: repeat(3, 1fr); }
  .picker-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: none; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--line); }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .header-search { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; margin-left: auto; cursor: pointer; border-radius: var(--radius-sm);
  }
  .nav-burger span { display: block; height: 2px; background: var(--brand); border-radius: 1px; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 11px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hero h1 { font-size: 27px; }
  .hero-stats { gap: 24px; }
  .hero-stat b { font-size: 24px; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article { padding: 26px 20px; }
  .panel { padding: 20px 18px; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .grid.cols-3, .grid.cols-4, .grid.cols-2, .index-grid, .related-grid, .picker-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--line); }
  .detail-head { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
}
