/* ========== 全局样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-align: center;
}
.btn-primary { background: #1a3a6c; color: #fff; }
.btn-primary:hover { background: #15305a; }
.btn-outline { background: transparent; border: 2px solid #1a3a6c; color: #1a3a6c; }
.btn-outline:hover { background: #1a3a6c; color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 14px 40px; font-size: 17px; }
.btn-block { display: block; width: 100%; }

/* ========== 顶部信息栏 ========== */
.top-bar {
  background: #0f2547;
  color: #a8b8d0;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #a8b8d0; }
.top-bar a:hover { color: #fff; }
.top-bar .sep { margin: 0 10px; color: #3a5070; }

/* ========== 主导航 ========== */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; flex-wrap: nowrap; gap: 10px; }
.logo, .header-phone, .nav { flex-shrink: 0; }
.logo a { display: flex; align-items: baseline; gap: 10px; }
.logo-text { font-size: 30px; font-weight: bold; color: #1a3a6c; letter-spacing: 2px; }
.logo-sub { font-size: 14px; color: #666; white-space: nowrap; }
.nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.nav li { flex-shrink: 0; }
.nav a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: #333;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.3s;
}
.nav a:hover, .nav a.active { color: #1a3a6c; background: #eef2f8; }
.header-phone a { display: flex; align-items: center; gap: 6px; color: #1a3a6c; white-space: nowrap; }
.phone-icon { font-size: 20px; }
.phone-num { font-size: 17px; font-weight: bold; }

/* ========== 汉堡按钮（默认隐藏，仅移动端显示） ========== */
.nav-toggle-cb { display: none; }
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;
  cursor: pointer;
  border-radius: 4px;
}
.nav-toggle-btn span {
  display: block;
  width: 24px; height: 2px;
  background: #1a3a6c;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle-cb:checked ~ .header .nav-toggle-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-cb:checked ~ .header .nav-toggle-btn span:nth-child(2) { opacity: 0; }
.nav-toggle-cb:checked ~ .header .nav-toggle-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== 面包屑 ========== */
.breadcrumb-wrap { background: #f5f7fa; padding: 12px 0; border-bottom: 1px solid #e8ecf1; }
.breadcrumb { font-size: 14px; color: #666; }
.breadcrumb a { color: #1a3a6c; }
.breadcrumb .sep { margin: 0 8px; color: #999; }
.breadcrumb .current { color: #333; }

/* ========== Hero Banner ========== */
.hero {
  background: linear-gradient(135deg, #0f2547 0%, #1a3a6c 50%, #2a5298 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.hero-content { flex: 1; max-width: 600px; }
.hero h1 { font-size: 44px; margin-bottom: 16px; line-height: 1.3; }
.hero-sub { font-size: 20px; color: #a8c4e8; margin-bottom: 12px; }
.hero-desc { font-size: 16px; color: #c8d8ee; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; }
.hero-btns .btn-outline { border-color: #fff; color: #fff; }
.hero-btns .btn-outline:hover { background: #fff; color: #1a3a6c; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-item {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}
.stat-num { font-size: 32px; font-weight: bold; color: #fff; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: #a8c4e8; }

/* ========== 通用Section ========== */
.section { padding: 70px 0; }
.section-alt { background: #f5f7fa; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; color: #1a3a6c; margin-bottom: 10px; }
.section-header p { font-size: 16px; color: #666; }
.section-more { text-align: center; margin-top: 40px; }

/* ========== CPPS简介 ========== */
.cpps-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.intro-text p { margin-bottom: 16px; color: #555; }
.intro-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #444; }
.feature-icon { color: #1a3a6c; font-weight: bold; }
.intro-card { background: #f5f7fa; padding: 30px; border-radius: 8px; }
.intro-card h3 { color: #1a3a6c; margin-bottom: 20px; text-align: center; }
.level-card { background: #fff; padding: 20px; border-radius: 6px; margin-bottom: 16px; border-left: 4px solid #1a3a6c; }
.level-card:last-child { margin-bottom: 0; }
.level-badge {
  display: inline-block;
  background: #1a3a6c;
  color: #fff;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 12px;
  margin-bottom: 8px;
}
.level-badge.advanced { background: #c8962e; }
.level-card h4 { font-size: 17px; margin-bottom: 6px; color: #333; }
.level-card p { font-size: 13px; color: #666; }

/* ========== 考试架构 ========== */
.exam-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.module-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid #1a3a6c;
}
.module-tag {
  display: inline-block;
  background: #eef2f8;
  color: #1a3a6c;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 14px;
}
.module-card h3 { font-size: 18px; margin-bottom: 10px; color: #1a3a6c; }
.module-card p { font-size: 14px; color: #666; }
.exam-elective h3 { text-align: center; margin-bottom: 24px; color: #1a3a6c; }
.elective-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.elective-card {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 2px solid #e8ecf1;
  transition: all 0.3s;
}
.elective-card:hover { border-color: #1a3a6c; transform: translateY(-4px); }
.elective-tag {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: #1a3a6c;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 14px;
}
.elective-card h4 { font-size: 18px; margin-bottom: 10px; color: #333; }
.elective-card p { font-size: 13px; color: #666; }

/* ========== 机构介绍 ========== */
.org-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.org-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}
.org-card.highlight { border: 2px solid #1a3a6c; }
.org-logo {
  width: 80px;
  height: 80px;
  line-height: 80px;
  background: linear-gradient(135deg, #1a3a6c, #2a5298);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  margin: 0 auto 20px;
}
.org-card h3 { font-size: 22px; color: #1a3a6c; margin-bottom: 8px; }
.org-role { color: #c8962e; font-weight: bold; margin-bottom: 16px; }
.org-card p { color: #666; font-size: 14px; margin-bottom: 16px; }

/* ========== 报考条件 ========== */
.condition-grid { display: flex; align-items: center; justify-content: center; gap: 30px; }
.condition-card {
  background: #fff;
  padding: 40px 60px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.condition-card.highlight { border: 2px solid #1a3a6c; }
.condition-degree { font-size: 18px; color: #666; margin-bottom: 10px; }
.condition-years { font-size: 48px; font-weight: bold; color: #1a3a6c; line-height: 1; }
.condition-card p { margin-top: 8px; color: #888; font-size: 14px; }
.condition-divider { font-size: 24px; color: #999; }
.condition-note { text-align: center; margin-top: 30px; color: #888; font-size: 14px; }

/* ========== 文章卡片 ========== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.article-cat {
  display: inline-block;
  background: #eef2f8;
  color: #1a3a6c;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  margin-bottom: 12px;
}
.article-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }
.article-card h3 a { color: #333; }
.article-card h3 a:hover { color: #1a3a6c; }
.article-card p { font-size: 13px; color: #888; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; justify-content: space-between; font-size: 12px; color: #aaa; }

/* ========== FAQ ========== */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 6px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.faq-question {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  gap: 14px;
}
.faq-num {
  background: #1a3a6c;
  color: #fff;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}
.faq-text { flex: 1; font-size: 15px; color: #333; font-weight: 500; }
.faq-toggle { font-size: 24px; color: #1a3a6c; font-weight: bold; flex-shrink: 0; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.open .faq-answer { padding: 0 24px 20px 70px; max-height: 500px; }
.faq-answer p { color: #666; font-size: 14px; }

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, #0f2547, #1a3a6c);
  padding: 60px 0;
  color: #fff;
  text-align: center;
}
.cta-content h2 { font-size: 30px; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: #a8c4e8; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; }
.cta-btns .btn-outline { border-color: #fff; color: #fff; }
.cta-btns .btn-outline:hover { background: #fff; color: #1a3a6c; }

/* ========== 页面Banner ========== */
.page-banner {
  background: linear-gradient(135deg, #0f2547, #1a3a6c);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 34px; margin-bottom: 10px; }
.page-banner p { font-size: 16px; color: #a8c4e8; }

/* ========== 内容页通用 ========== */
.content-wrap { max-width: 900px; margin: 0 auto; }
.content-wrap h2 { font-size: 24px; color: #1a3a6c; margin: 36px 0 16px; padding-left: 12px; border-left: 4px solid #1a3a6c; }
.content-wrap h3 { font-size: 19px; color: #333; margin: 24px 0 12px; }
.content-wrap p { margin-bottom: 14px; color: #555; }
.content-wrap ul { margin-bottom: 16px; padding-left: 24px; }
.content-wrap ul li { list-style: disc; margin-bottom: 8px; color: #555; }
.content-wrap table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-wrap table th, .content-wrap table td { border: 1px solid #ddd; padding: 10px 14px; text-align: left; }
.content-wrap table th { background: #f5f7fa; color: #1a3a6c; }
.cta-box {
  background: #f5f7fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 40px;
}
.cta-box h3 { color: #1a3a6c; margin-bottom: 8px; }
.cta-box p { color: #666; margin-bottom: 16px; }

/* 等级卡片 */
.level-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
.level-detail-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.level-detail-card.advanced { border-top: 4px solid #c8962e; }
.level-header { background: #f5f7fa; padding: 20px; text-align: center; }
.level-detail-card.advanced .level-header { background: #fdf8ed; }
.level-header .level-badge { margin-bottom: 8px; }
.level-header h3 { font-size: 20px; color: #1a3a6c; margin: 0; }
.level-body { padding: 24px; }
.level-body h4 { font-size: 15px; color: #1a3a6c; margin: 12px 0 6px; }
.level-body p { font-size: 14px; color: #666; margin-bottom: 8px; }

/* 优势网格 */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 20px 0; }
.advantage-item { text-align: center; padding: 24px; background: #f5f7fa; border-radius: 8px; }
.adv-icon { font-size: 36px; margin-bottom: 12px; }
.advantage-item h4 { font-size: 16px; color: #1a3a6c; margin-bottom: 8px; }
.advantage-item p { font-size: 13px; color: #666; }

/* ========== 课程页 ========== */
.course-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.overview-item { display: flex; align-items: center; gap: 16px; background: #f5f7fa; padding: 24px; border-radius: 8px; }
.overview-num { font-size: 36px; font-weight: bold; color: #1a3a6c; }
.overview-text h4 { font-size: 16px; color: #333; margin-bottom: 4px; }
.overview-text p { font-size: 13px; color: #888; }
.course-list { display: flex; flex-direction: column; gap: 24px; }
.course-card { display: flex; gap: 24px; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.course-code {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: linear-gradient(135deg, #1a3a6c, #2a5298);
  color: #fff;
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
}
.course-info { flex: 1; }
.course-info h3 { font-size: 20px; color: #1a3a6c; margin-bottom: 8px; }
.course-desc { color: #666; margin-bottom: 12px; font-size: 14px; }
.course-detail { display: flex; gap: 20px; margin-bottom: 12px; font-size: 13px; color: #888; }
.course-chapters { padding-left: 20px; }
.course-chapters li { list-style: disc; font-size: 13px; color: #666; margin-bottom: 4px; }
.elective-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.elective-course-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.elective-header { padding: 24px; text-align: center; color: #fff; }
.elective-header.x1 { background: linear-gradient(135deg, #1a3a6c, #2a5298); }
.elective-header.x2 { background: linear-gradient(135deg, #2a5298, #3a7bc8); }
.elective-header.x3 { background: linear-gradient(135deg, #0f2547, #1a3a6c); }
.elective-code { display: inline-block; background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 3px; font-weight: bold; margin-bottom: 8px; }
.elective-header h3 { font-size: 20px; }
.elective-body { padding: 24px; }
.elective-target { font-size: 13px; color: #1a3a6c; background: #eef2f8; padding: 8px 12px; border-radius: 4px; margin-bottom: 16px; }
.elective-body ul { padding-left: 18px; margin-bottom: 16px; }
.elective-body ul li { list-style: disc; font-size: 13px; color: #666; margin-bottom: 6px; }
.elective-footer { display: flex; justify-content: space-between; font-size: 13px; color: #888; padding-top: 12px; border-top: 1px solid #eee; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-item { text-align: center; padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.service-icon { font-size: 40px; margin-bottom: 14px; }
.service-item h4 { font-size: 17px; color: #1a3a6c; margin-bottom: 8px; }
.service-item p { font-size: 13px; color: #666; }

/* ========== 报考指南页 ========== */
.guide-tabs { max-width: 900px; margin: 0 auto; }
.tab-nav { display: flex; gap: 4px; margin-bottom: 30px; border-bottom: 2px solid #e8ecf1; }
.tab-btn {
  flex: 1;
  padding: 14px;
  background: none;
  border: none;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}
.tab-btn.active { color: #1a3a6c; border-bottom-color: #1a3a6c; font-weight: bold; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content h2 { font-size: 24px; color: #1a3a6c; margin-bottom: 20px; }
.tab-content h3 { font-size: 18px; color: #333; margin: 24px 0 12px; }
.tab-content p { color: #555; margin-bottom: 12px; }
.condition-box { background: #f5f7fa; padding: 30px; border-radius: 8px; margin-bottom: 20px; }
.condition-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.condition-col h4 { font-size: 16px; color: #1a3a6c; margin-bottom: 8px; }
.exp-list { padding-left: 20px; }
.exp-list li { list-style: disc; margin-bottom: 8px; color: #555; }
.material-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.material-item { display: flex; align-items: center; gap: 10px; background: #f5f7fa; padding: 12px 16px; border-radius: 4px; }
.mat-num { width: 24px; height: 24px; line-height: 24px; text-align: center; background: #1a3a6c; color: #fff; border-radius: 50%; font-size: 12px; flex-shrink: 0; }
.exam-schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
.exam-item { text-align: center; background: #f5f7fa; padding: 24px; border-radius: 8px; }
.exam-month { font-size: 32px; font-weight: bold; color: #1a3a6c; margin-bottom: 8px; }
.exam-item p { font-size: 13px; color: #666; margin: 0; }
.note { font-size: 13px; color: #999; font-style: italic; }
.exam-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.exam-table th, .exam-table td { border: 1px solid #ddd; padding: 10px; text-align: center; }
.exam-table th { background: #1a3a6c; color: #fff; }
.process-steps { position: relative; padding-left: 40px; }
.step-item { position: relative; padding-bottom: 24px; }
.step-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: #e8ecf1;
}
.step-item:last-child::before { display: none; }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #1a3a6c;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
}
.step-content h4 { font-size: 16px; color: #1a3a6c; margin-bottom: 4px; }
.step-content p { font-size: 14px; color: #666; }
.plan-timeline { margin: 20px 0; }
.plan-phase { background: #f5f7fa; padding: 20px; border-radius: 6px; margin-bottom: 12px; border-left: 4px solid #1a3a6c; }
.phase-title { font-size: 15px; font-weight: bold; color: #1a3a6c; margin-bottom: 6px; }
.plan-phase p { font-size: 14px; color: #666; }
.subject-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.tip-card { background: #fff; padding: 18px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.tip-card h4 { font-size: 15px; color: #1a3a6c; margin-bottom: 6px; }
.tip-card p { font-size: 13px; color: #666; }
.exam-tips { padding-left: 20px; }
.exam-tips li { list-style: disc; margin-bottom: 8px; color: #555; }

/* ========== 文章列表页 ========== */
.article-list-page { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.article-list-item {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.article-list-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.article-list-cat {
  display: inline-block;
  background: #eef2f8;
  color: #1a3a6c;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  margin-bottom: 12px;
}
.article-list-item h2 { font-size: 20px; margin-bottom: 10px; line-height: 1.5; }
.article-list-item h2 a { color: #333; }
.article-list-item h2 a:hover { color: #1a3a6c; }
.article-list-summary { color: #666; font-size: 14px; margin-bottom: 14px; }
.article-list-meta { display: flex; align-items: center; gap: 20px; font-size: 13px; color: #999; }
.read-more { color: #1a3a6c; margin-left: auto; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.page-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  font-size: 14px;
}
.page-link:hover, .page-link.active { background: #1a3a6c; color: #fff; border-color: #1a3a6c; }
.article-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-widget { background: #fff; padding: 24px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.sidebar-widget h3 { font-size: 17px; color: #1a3a6c; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #eef2f8; }
.hot-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.hot-list li:last-child { border-bottom: none; }
.hot-num {
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: #ccc;
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.hot-num.top { background: #e74c3c; }
.hot-list a { font-size: 13px; color: #555; line-height: 1.5; }
.hot-list a:hover { color: #1a3a6c; }
.cat-list li { padding: 6px 0; }
.cat-list a { font-size: 14px; color: #555; }
.cat-list a:hover { color: #1a3a6c; }
.contact-widget { text-align: center; background: linear-gradient(135deg, #0f2547, #1a3a6c); color: #fff; }
.contact-widget h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.contact-widget p { font-size: 13px; color: #a8c4e8; margin-bottom: 8px; }
.sidebar-phone a { font-size: 22px; font-weight: bold; color: #fff; }
.contact-widget .btn { margin-top: 12px; background: #fff; color: #1a3a6c; }

/* ========== 文章详情页 ========== */
.article-detail-page { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.article-detail { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.article-detail-cat {
  display: inline-block;
  background: #eef2f8;
  color: #1a3a6c;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  margin-bottom: 16px;
}
.article-detail-title { font-size: 28px; color: #222; line-height: 1.4; margin-bottom: 16px; }
.article-detail-meta { display: flex; gap: 20px; font-size: 13px; color: #999; padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 24px; }
.article-detail-content { font-size: 15px; line-height: 1.9; color: #444; }
.article-detail-content h2 { font-size: 22px; color: #1a3a6c; margin: 28px 0 14px; }
.article-detail-content h3 { font-size: 18px; color: #333; margin: 20px 0 10px; }
.article-detail-content p { margin-bottom: 14px; }
.article-detail-content ul, .article-detail-content ol { padding-left: 24px; margin-bottom: 14px; }
.article-detail-content li { margin-bottom: 6px; }
.article-detail-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-detail-content th, .article-detail-content td { border: 1px solid #ddd; padding: 10px; }
.article-detail-content th { background: #f5f7fa; color: #1a3a6c; }
.article-detail-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.article-tags { margin-bottom: 12px; font-size: 13px; }
.article-tags a { display: inline-block; background: #f5f7fa; color: #666; padding: 3px 10px; border-radius: 3px; margin-right: 6px; }
.article-share { font-size: 13px; color: #999; }
.article-share a { color: #1a3a6c; margin-right: 10px; }
.related-articles { background: #fff; padding: 30px; border-radius: 8px; margin-top: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.related-articles h3 { font-size: 18px; color: #1a3a6c; margin-bottom: 16px; }
.related-articles li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.related-articles li:last-child { border-bottom: none; }
.related-articles a { color: #555; font-size: 14px; }
.related-articles a:hover { color: #1a3a6c; }

/* ========== 关于页 ========== */
.about-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.about-intro h2 { font-size: 26px; color: #1a3a6c; margin-bottom: 20px; }
.about-intro p { margin-bottom: 16px; color: #555; line-height: 1.9; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.highlight-item { background: #f5f7fa; padding: 24px; border-radius: 8px; text-align: center; }
.highlight-num { font-size: 28px; font-weight: bold; color: #1a3a6c; margin-bottom: 6px; }
.highlight-item h4 { font-size: 15px; color: #333; margin-bottom: 4px; }
.highlight-item p { font-size: 12px; color: #888; }
.advantage-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-item { background: #fff; padding: 30px; border-radius: 8px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.adv-item .adv-icon { font-size: 40px; margin-bottom: 14px; }
.adv-item h3 { font-size: 18px; color: #1a3a6c; margin-bottom: 10px; }
.adv-item p { font-size: 14px; color: #666; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.culture-card { background: #f5f7fa; padding: 30px; border-radius: 8px; }
.culture-card h3 { font-size: 18px; color: #1a3a6c; margin-bottom: 12px; text-align: center; }
.culture-card p { font-size: 14px; color: #666; line-height: 1.8; }

/* ========== 联系页 ========== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h2 { font-size: 24px; color: #1a3a6c; margin-bottom: 24px; }
.contact-info-list { margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #eef2f8;
  color: #1a3a6c;
  border-radius: 8px;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 15px; color: #333; margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; color: #1a3a6c; font-weight: 500; }
.contact-sub { font-size: 12px; color: #999 !important; font-weight: normal !important; }
.contact-qa { background: #f5f7fa; padding: 24px; border-radius: 8px; }
.contact-qa h3 { font-size: 16px; color: #1a3a6c; margin-bottom: 12px; }
.contact-qa li { padding: 6px 0; font-size: 14px; color: #666; padding-left: 18px; position: relative; }
.contact-qa li::before { content: 'Q'; position: absolute; left: 0; color: #1a3a6c; font-weight: bold; }
.contact-form-wrap { background: #fff; padding: 36px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.contact-form-wrap h2 { font-size: 24px; color: #1a3a6c; margin-bottom: 8px; }
.form-desc { color: #888; font-size: 14px; margin-bottom: 24px; }
.form-success { background: #e8f5e9; color: #2e7d32; padding: 14px; border-radius: 4px; margin-bottom: 20px; }
.form-error { background: #ffebee; color: #c62828; padding: 14px; border-radius: 4px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: #333; font-weight: 500; }
.form-group .required { color: #e74c3c; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #1a3a6c; }
.form-privacy { text-align: center; font-size: 12px; color: #999; margin-top: 14px; }

/* ========== 底部 ========== */
.footer { background: #0f2547; color: #a8b8d0; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #a8b8d0; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact a { color: #a8b8d0; }
.footer-bottom {
  border-top: 1px solid #1a3a6c;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom a { color: #a8b8d0; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { margin: 0 10px; }

/* ========== 浮动按钮 ========== */
.float-contact { position: fixed; right: 20px; bottom: 80px; z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #1a3a6c;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.float-btn:hover { background: #2a5298; transform: scale(1.05); }
.float-btn span:first-child { font-size: 20px; margin-bottom: 2px; }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  /* 中等屏幕：收掉副标题 + 紧凑导航，7 个链接一行 */
  .logo-sub { display: none; }
  .nav a { padding: 8px 10px; font-size: 13.5px; }
  .phone-num { font-size: 16px; }
}
@media (max-width: 992px) {
  .hero .container { flex-direction: column; gap: 40px; }
  .hero-stats { width: 100%; }
  .cpps-intro, .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .article-list-page, .article-detail-page { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .exam-modules, .elective-cards, .elective-course-grid, .service-grid, .advantage-list, .culture-grid, .advantage-grid { grid-template-columns: 1fr 1fr; }
  .course-overview { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* 移动端：汉堡按钮 + 抽屉式下拉菜单（无 JS） */
  .nav-toggle-btn { display: flex; }
  .header-phone { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    z-index: 99;
    padding: 6px 0;
  }
  .nav-toggle-cb:checked ~ .header .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .nav li { width: 100%; }
  .nav a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid #f0f2f5;
  }
  .nav li:last-child a { border-bottom: none; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .section-header h2 { font-size: 24px; }
  .exam-modules, .elective-cards, .elective-course-grid, .service-grid, .advantage-list, .culture-grid, .advantage-grid, .level-cards, .article-grid { grid-template-columns: 1fr; }
  .condition-grid { flex-direction: column; }
  .course-overview { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  /* 移动端 brand 简化 */
  .logo-text { font-size: 22px; letter-spacing: 1px; }
  .nav { top: 64px; }
  .header .container { height: 64px; }
}
/* ========== 补充样式（PHP版页面） ========== */
/* 首页 3+X 考试架构 */
.exam-arch { display: flex; flex-direction: column; gap: 32px; }
.exam-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module-card { background: #fff; padding: 28px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-top: 4px solid #1a3a6c; }
.module-card .module-tag { display: inline-block; background: #1a3a6c; color: #fff; padding: 3px 10px; border-radius: 3px; font-size: 12px; margin-bottom: 12px; }
.module-card h3 { font-size: 18px; color: #333; margin-bottom: 8px; }
.module-card p { font-size: 14px; color: #666; }
.exam-elective h3 { font-size: 20px; color: #1a3a6c; margin-bottom: 16px; }
.elective-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.elective-card { background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-align: center; }
.elective-card .elective-tag { display: inline-block; width: 44px; height: 44px; line-height: 44px; border-radius: 50%; background: #1a3a6c; color: #fff; font-weight: bold; font-size: 15px; margin-bottom: 12px; }
.elective-card h4 { font-size: 16px; color: #333; margin-bottom: 8px; }
.elective-card p { font-size: 13px; color: #888; }

/* 报考条件提示 */
.condition-tip { margin-top: 30px; background: #f5f7fa; padding: 18px 24px; border-radius: 6px; text-align: center; }
.condition-tip p { color: #666; font-size: 14px; }

/* FAQ 编号 */
.faq-icon { background: #1a3a6c; color: #fff; width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 50%; font-size: 13px; font-weight: bold; flex-shrink: 0; }
.faq-question h3 { flex: 1; font-size: 15px; color: #333; font-weight: 500; }

/* 首页文章卡片子元素 */
.article-card-cat { display: inline-block; background: #eef2f8; color: #1a3a6c; padding: 3px 10px; border-radius: 3px; font-size: 12px; margin-bottom: 12px; }
.article-card-summary { color: #888; font-size: 13px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #aaa; }
.article-card-meta .read-more { color: #1a3a6c; }

/* 文章列表/详情主列 */
.article-list-main, .article-detail-main { min-width: 0; }

/* 404 页面 */
.error-404 { text-align: center; padding: 60px 0; }
.error-code { font-size: 120px; font-weight: bold; color: #1a3a6c; line-height: 1; margin-bottom: 24px; }
.error-404 h2 { font-size: 28px; color: #333; margin-bottom: 12px; }
.error-404 p { color: #666; font-size: 15px; margin-bottom: 30px; }
.error-btns { display: flex; gap: 12px; justify-content: center; }

/* 浮动按钮文字 */
.float-label { font-size: 12px; }
