/* =========================================================
   中研供应链 SCMP & CPPS 证书报考中心
   全局样式 · 响应式 · 大气专业配色
   ========================================================= */

:root {
  --brand-blue: #0e2a6e;        /* 主深蓝 */
  --brand-blue-2: #16439c;      /* 亮蓝 */
  --brand-blue-light: #eaf1ff;  /* 浅蓝底 */
  --accent-red: #d4232a;        /* 点缀红 */
  --accent-gold: #e8a23d;       /* 金点点缀 */
  --ink-1: #10203f;             /* 主文字 */
  --ink-2: #44506b;             /* 次文字 */
  --ink-3: #7c879e;             /* 弱文字 */
  --line: #e4e8f0;              /* 描边 */
  --bg-soft: #f5f7fb;           /* 浅灰段 */
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px rgba(16, 32, 63, .06);
  --shadow-md: 0 12px 34px rgba(16, 32, 63, .10);
  --shadow-blue: 0 18px 44px rgba(14, 42, 110, .22);
  --maxw: 1200px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Noto Sans CJK SC", "微软雅黑", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink-1);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 通用容器：内容居中 1200px，但外层区块 100% 宽 */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== 顶部条 ===================== */
.topbar {
  background: var(--brand-blue);
  color: #cdd9f3;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar a { color: #cdd9f3; }
.topbar a:hover { color: #fff; }
.topbar .tb-left span { margin-right: 18px; }
.topbar .tb-left i { color: var(--accent-gold); font-style: normal; }
.topbar .tb-right { display: flex; align-items: center; gap: 14px; }
.topbar .tb-cta {
  background: linear-gradient(135deg, var(--accent-red), #b51d23);
  color: #fff !important;
  padding: 5px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(212, 35, 42, .3);
}
.topbar .tb-cta:hover { color: #fff !important; filter: brightness(1.08); }

/* ===================== 头部导航 ===================== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 18px rgba(16, 32, 63, .07);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo .mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
  color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue);
}
.logo .txt { white-space: nowrap; }
.logo .txt b { font-size: 19px; color: var(--brand-blue); letter-spacing: .5px; white-space: nowrap; }
.logo .txt span { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: 2px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav a {
  padding: 10px 16px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: 8px;
  font-weight: 600;
  transition: .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--brand-blue); background: var(--brand-blue-light); }

.nav-cta {
  margin-left: 10px;
  background: linear-gradient(135deg, var(--accent-red), #b51d23);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(212, 35, 42, .3);
}
.nav-cta:hover { filter: brightness(1.06); background: linear-gradient(135deg, var(--accent-red), #b51d23) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 3px; background: var(--brand-blue); border-radius: 3px; transition: .3s; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  width: 100%;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(22,67,156,.55), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(232,162,61,.25), transparent 55%),
    linear-gradient(135deg, #0b1f4d 0%, #0e2a6e 55%, #143f96 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: .6;
}
.hero .container {
  position: relative; z-index: 2;
  padding: 78px 20px 70px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 .hl { color: var(--accent-gold); }
.hero .sub {
  font-size: 18px;
  color: #d7e2fb;
  max-width: 560px;
  margin-bottom: 14px;
}
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.hero .badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: #eaf1ff;
}
.hero .btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-size: 16px; font-weight: 700;
  transition: .25s; cursor: pointer; border: 0;
}
.btn-gold { background: linear-gradient(135deg, #f3b24a, var(--accent-gold)); color: #5a3500; box-shadow: 0 12px 26px rgba(232,162,61,.4); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* hero 右侧卡片 */
.hero-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  color: var(--ink-1);
  box-shadow: var(--shadow-blue);
}
.hero-card h3 { font-size: 18px; color: var(--brand-blue); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-card .row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.hero-card .row:last-of-type { border-bottom: 0; }
.hero-card .row b { color: var(--accent-red); }
.hero-card .mini-btn { margin-top: 18px; width: 100%; background: var(--brand-blue); color: #fff; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; }
.hero-card .mini-btn:hover { background: var(--brand-blue-2); }

/* ===================== 数据条 ===================== */
.stats {
  background: var(--brand-blue-2);
  color: #fff;
}
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 30px 20px; text-align: center;
}
.stats .num { font-size: 34px; font-weight: 800; color: var(--accent-gold); }
.stats .lab { font-size: 14px; color: #d7e2fb; margin-top: 4px; }

/* ===================== 通用段 ===================== */
.section { padding: 70px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--accent-red);
  font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; color: var(--brand-blue); font-weight: 800; position: relative; padding-bottom: 16px; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 64px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red));
}
.section-head p { color: var(--ink-2); margin-top: 16px; font-size: 15.5px; }

/* 关于中研 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h3 { font-size: 24px; color: var(--brand-blue); margin-bottom: 16px; }
.about-text p { color: var(--ink-2); margin-bottom: 14px; }
.about-text .feat { display: flex; gap: 12px; margin: 14px 0; align-items: flex-start; }
.about-text .feat .ic { flex: 0 0 38px; height: 38px; border-radius: 10px; background: var(--brand-blue-light); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.about-text .feat b { color: var(--ink-1); }
.about-text .feat span { color: var(--ink-2); font-size: 14.5px; }
.about-img {
  border-radius: var(--radius-lg);
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(14,42,110,.92), rgba(22,67,156,.82)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='2' fill='%23ffffff' opacity='0.25'/%3E%3C/svg%3E");
  color: #fff; padding: 38px; display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--shadow-md);
}
.about-img h4 { font-size: 22px; margin-bottom: 18px; }
.about-img ul li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 15px; }
.about-img ul li::before { content: "✓ "; color: var(--accent-gold); font-weight: 800; }

/* ===================== 证书中心 卡片 ===================== */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cert-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .3s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert-top {
  padding: 30px 30px 24px; color: #fff; position: relative;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
}
.cert-top .tag { font-size: 13px; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 999px; }
.cert-top h3 { font-size: 27px; margin: 14px 0 6px; font-weight: 800; }
.cert-top .en { font-size: 14px; opacity: .85; letter-spacing: 1px; }
.cert-body { padding: 26px 30px 30px; }
.cert-body p { color: var(--ink-2); font-size: 14.8px; margin-bottom: 16px; }
.cert-body .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.cert-body .kv div { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; }
.cert-body .kv b { display: block; color: var(--brand-blue); font-size: 13px; }
.cert-body .kv span { font-size: 14px; color: var(--ink-1); }
.cert-body .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cert-body .chip { background: var(--brand-blue-light); color: var(--brand-blue); font-size: 13px; padding: 6px 12px; border-radius: 8px; }
.cert-body .more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-red); font-weight: 700; font-size: 15px; }
.cert-body .more:hover { gap: 10px; }
.cert-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 8px; }

/* ===================== 报考条件对比表 ===================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.8px; }
table.cmp thead th { background: var(--brand-blue); color: #fff; font-weight: 700; }
table.cmp tbody tr:nth-child(even) { background: var(--bg-soft); }
table.cmp tbody tr:hover { background: var(--brand-blue-light); }
table.cmp td b { color: var(--brand-blue); }

/* ===================== 课程体系 ===================== */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.course-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.course-box h3 { color: var(--brand-blue); font-size: 21px; margin-bottom: 6px; }
.course-box .desc { color: var(--ink-3); font-size: 14px; margin-bottom: 18px; }
.mod { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mod:last-child { border-bottom: 0; }
.mod .no { flex: 0 0 38px; height: 38px; border-radius: 10px; background: var(--brand-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.mod .info b { color: var(--ink-1); font-size: 15px; }
.mod .info span { display: block; color: var(--ink-3); font-size: 13px; }
.mod.opt .no { background: var(--accent-gold); }

/* ===================== 考试安排 ===================== */
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exam-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: .3s; }
.exam-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.exam-card .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: var(--brand-blue-light); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.exam-card h4 { color: var(--brand-blue); font-size: 18px; margin-bottom: 10px; }
.exam-card p { color: var(--ink-2); font-size: 14.2px; }

/* ===================== 证书价值 ===================== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent-gold); transition: .3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .ic { font-size: 30px; margin-bottom: 14px; }
.value-card h4 { color: var(--brand-blue); font-size: 18px; margin-bottom: 10px; }
.value-card p { color: var(--ink-2); font-size: 14.3px; }

/* ===================== 报考优势 ===================== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card { text-align: center; padding: 28px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.adv-card .ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.adv-card h4 { color: var(--ink-1); font-size: 16.5px; margin-bottom: 8px; }
.adv-card p { color: var(--ink-2); font-size: 13.8px; }

/* ===================== 报考流程 ===================== */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.flow .step .n { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--brand-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.flow .step h4 { color: var(--brand-blue); font-size: 15.5px; margin-bottom: 6px; }
.flow .step p { color: var(--ink-2); font-size: 13px; }

/* ===================== FAQ ===================== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--ink-1); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font); }
.faq-q .pm { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--brand-blue-light); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: .3s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--accent-red); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-2); font-size: 14.8px; }

/* ===================== 资讯 ===================== */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: .3s; padding: 22px 24px; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-blue-2); }
.news-card .nc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-card .nc-date { color: var(--ink-3); font-size: 13px; }
.news-card h4 { font-size: 17px; color: var(--ink-1); line-height: 1.5; margin: 0 0 10px; }
.news-card h4 a { color: inherit; text-decoration: none; }
.news-card h4 a:hover { color: var(--accent-red); }
.news-card p { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin: 0 0 14px; flex: 1; }
.news-card .ni-more { color: var(--accent-red); font-weight: 700; font-size: 14px; text-decoration: none; align-self: flex-start; display: inline-flex; gap: 6px; }
.news-card .ni-more:hover { gap: 10px; }

/* ===================== 咨询区 ===================== */
.contact { background: linear-gradient(135deg, #0b1f4d, #143f96); color: #fff; }
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 60px 20px; }
.contact h2 { font-size: 30px; margin-bottom: 14px; }
.contact p { color: #d7e2fb; margin-bottom: 20px; }
.contact .info-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact .info-row b { color: var(--accent-gold); min-width: 76px; }
.contact .form { background: #fff; border-radius: var(--radius-lg); padding: 28px; color: var(--ink-1); }
.contact .form h3 { color: var(--brand-blue); font-size: 19px; margin-bottom: 18px; }
.contact .form input, .contact .form select, .contact .form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; font-family: var(--font); color: var(--ink-1);
}
.contact .form input:focus, .contact .form select:focus, .contact .form textarea:focus { outline: none; border-color: var(--brand-blue-2); }
.contact .form .submit { width: 100%; background: linear-gradient(135deg, var(--accent-red), #b51d23); color: #fff; border: 0; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 16px; cursor: pointer; }
.contact .form .submit:hover { filter: brightness(1.06); }
.contact .form .note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 8px; }
.form-msg { font-size: 14px; margin: 10px 0 0; min-height: 18px; font-weight: 600; }
.form-msg.ok { color: #1c7a3e; }
.form-msg.err { color: #c0271f; }

/* ===================== 页脚（遵守字体偏好：正常无衬线、字号≥13.5px、对比度充足） ===================== */
.footer {
  width: 100%;
  background: #0a1c44;
  color: #c4cfe6;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.9;
}
.footer .container { padding: 54px 20px 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .f-brand .logo .mark { background: linear-gradient(135deg, var(--brand-blue-2), var(--accent-gold)); }
.footer .f-brand p { margin: 16px 0; color: #9fb0d0; font-size: 14px; max-width: 320px; }
.footer .f-brand .social a { display: inline-block; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.08); margin-right: 10px; color: #c4cfe6; font-size: 14px; }
.footer .f-brand .social a:hover { background: var(--brand-blue-2); color: #fff; }
.footer h5 { color: #ffffff; font-size: 15.5px; margin-bottom: 16px; font-weight: 700; position: relative; padding-left: 12px; }
.footer h5::before { content: ""; position: absolute; left: 0; top: 4px; width: 4px; height: 16px; border-radius: 4px; background: var(--accent-gold); }
.footer ul li { padding: 5px 0; }
.footer ul li a { color: #aab9d6; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer .f-contact li { color: #aab9d6; font-size: 14px; }
.footer .f-contact li b { color: #fff; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 36px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #8294b8; font-size: 13.5px;
}
.footer-bottom a { color: #8294b8; }
.footer-bottom a:hover { color: #fff; }
.footer .links { display: flex; flex-wrap: wrap; gap: 14px; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 26px; width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-blue); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: .3s; z-index: 900;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--brand-blue-2); }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .about-grid, .cert-grid, .courses, .contact .container { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .exam-grid, .value-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav a { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .nav { position: fixed; top: 112px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 20px; gap: 2px; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: .3s; max-height: calc(100vh - 112px); overflow-y: auto; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .header-cta { margin-left: 8px; padding: 8px 14px !important; font-size: 13px; }
  .hamburger { display: flex; }
  .topbar .tb-left,
  .topbar .tb-right a:not(.tb-cta) { display: none; }
  .topbar .container { justify-content: flex-end; }
  .topbar .tb-cta { font-size: 13px; padding: 5px 14px; }
  .hero { text-align: center; }
  .hero h1 { font-size: 30px; }
  .hero .sub { font-size: 16px; margin: 0 auto; }
  .hero .badges, .hero .btns { justify-content: center; }
  .hero .container { padding: 54px 20px 48px; }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 25px; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 14px; padding: 24px 16px; }
  .exam-grid, .value-grid, .news-grid, .adv-grid, .flow, .footer-top { grid-template-columns: 1fr; }
  .cert-body .kv { grid-template-columns: 1fr; }
  .contact .container { padding: 44px 18px; }
  .footer-bottom { flex-direction: column; }
  .footer .links { gap: 10px; }
}

/* ===================== 资讯栏目页 ===================== */
.page-hero {
  width: 100%;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(22,67,156,.5), transparent 60%),
    linear-gradient(135deg, #0b1f4d 0%, #0e2a6e 60%, #143f96 100%);
  color: #fff;
}
.page-hero .container { padding: 56px 20px 50px; }
.page-hero .crumb { font-size: 13.5px; color: #b9c8ee; margin-bottom: 14px; }
.page-hero .crumb a { color: #b9c8ee; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: 1px; }
.page-hero h1 .hl { color: var(--accent-gold); }
.page-hero p { margin-top: 14px; color: #d7e2fb; font-size: 16px; max-width: 720px; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: -28px auto 40px; position: relative; z-index: 5; }
.filter-btn {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  padding: 10px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: .2s; font-family: var(--font);
}
.filter-btn:hover { color: var(--brand-blue); border-color: var(--brand-blue-2); }
.filter-btn.active { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }

.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.news-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.news-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-item:hover .ni-more { gap: 10px; }
.news-item .ni-head { padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.news-item .ni-tag { background: var(--brand-blue-light); color: var(--brand-blue); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.news-item .ni-date { color: var(--ink-3); font-size: 13px; }
.news-item .ni-body { padding: 14px 24px 24px; }
.news-item h3 { font-size: 18px; color: var(--ink-1); line-height: 1.5; margin-bottom: 10px; }
.news-item p { color: var(--ink-2); font-size: 14.3px; line-height: 1.85; }
.news-item.hide { display: none; }
.news-item .ni-more { margin-top: 14px; color: var(--accent-red); font-weight: 700; font-size: 14.5px; display: inline-flex; gap: 6px; }
.news-item .ni-more:hover { gap: 10px; }

/* ============ 新闻详情页 ============ */
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.article-main { min-width: 0; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.article-meta .src { color: var(--ink-3); font-size: 13px; }
.article-body { line-height: 1.95; }
.article-body p { color: var(--ink-2); font-size: 16px; margin-bottom: 18px; }
.article-cta { margin-top: 30px; background: linear-gradient(135deg,#0e2a6e,#16439c); color: #fff; border-radius: var(--radius); padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.article-cta b { font-size: 18px; }
.article-cta span { color: #cdd9f0; font-size: 14px; line-height: 1.7; }
.article-cta .btn { margin-top: 10px; align-self: flex-start; }
.related { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; box-shadow: var(--shadow-sm); }
.related h4 { margin-bottom: 6px; font-size: 16px; color: var(--ink-1); }
.rel-item { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-1); }
.rel-item:first-of-type { border-top: none; }
.rel-item:hover .rel-t { color: var(--accent-red); }
.rel-cat { display: inline-block; font-size: 12px; color: var(--brand-blue); background: var(--brand-blue-light); padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.rel-t { display: block; font-size: 14.5px; line-height: 1.5; font-weight: 600; }
.rel-back { display: inline-block; margin-top: 14px; color: var(--accent-red); font-weight: 700; font-size: 14px; text-decoration: none; }

@media (max-width: 768px) {
  .page-hero h1 { font-size: 27px; }
  .news-list { grid-template-columns: 1fr; }
  .filters { gap: 8px; padding: 0 12px; margin-top: -18px; }
  .filter-btn { padding: 8px 16px; font-size: 13.5px; }
  .article-wrap { grid-template-columns: 1fr; gap: 26px; }
  .related { position: static; }
}
