/* ==========================================================================
   人力资源职业技能评定中心 · 站点主样式
   主色 #194993 / 辅助红 #B61E2D / 底色 #f4f4f4 / 版心 1400px
   ========================================================================== */

:root {
  --blue: #194993;
  --blue-deep: #00378c;
  --blue-dark: #0e2f63;
  --red: #b61e2d;
  --ink: #1a1a1a;
  --text: #444;
  --muted: #888;
  --line: #e6e9ef;
  --bg: #f4f4f4;
  --wrap: 1400px;
  --shadow: 0 10px 30px rgba(14, 47, 99, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 锚点跳转时为吸顶导航留出空间 */
[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-wrap: break-word;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--ink); }

.w1400 { width: var(--wrap); max-width: 100%; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部条 ---------- */
.topbar {
  height: 38px;
  background: #edf2f9;
  border-bottom: 1px solid #e2e9f3;
  font-size: 13px;
  color: #5d6f88;
}
.topbar .w1400 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar .hello span#clock { color: #8b9bb0; margin-left: 6px; }
.topbar .links { display: flex; align-items: center; gap: 18px; }
.topbar .links a { color: #5d6f88; }
.topbar .links a:hover { color: var(--blue); }
.topbar .wx { position: relative; }
.topbar .wx .qr {
  display: none;
  position: absolute; right: 0; top: 26px; z-index: 30;
  width: 132px; padding: 10px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14, 47, 99, .12);
  text-align: center; font-size: 12px; color: #888;
}
.topbar .wx:hover .qr { display: block; }
.topbar .wx .qr i {
  display: block; width: 108px; height: 108px; margin: 0 auto 6px;
  background:
    repeating-linear-gradient(90deg, #1a3357 0 6px, #fff 6px 12px),
    repeating-linear-gradient(0deg, rgba(25, 73, 147, .35) 0 6px, transparent 6px 12px);
  background-blend-mode: multiply;
  border: 1px solid #dfe6f0;
}

/* ---------- 页头 ---------- */
.header-main { background: #fff; border-bottom: 1px solid #eef1f6; }
.header-main .w1400 {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 100px; gap: 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 auto; }
.logo-mark { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; }
.logo-text { min-width: 0; }
.logo-text h1 {
  font-size: 27px; letter-spacing: 1.5px; color: #14305c; line-height: 1.2;
}
.logo-text p {
  margin: 4px 0 0; font-size: 10.5px; letter-spacing: 3px;
  color: #94a7c1; text-transform: uppercase;
}
.header-tools { display: flex; align-items: center; gap: 18px; min-width: 0; flex: 1 1 auto; }
.search {
  display: flex; height: 40px; border: 1px solid #dfe6f0;
  border-radius: 5px; overflow: hidden; background: #fff; width: 380px;
}
.search input[type="text"] {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; padding: 0 12px; font-size: 14px; color: #333;
  font-family: inherit;
}
.search input[type="submit"] {
  width: 86px; border: 0; cursor: pointer; color: #fff; font-size: 15px;
  background: var(--blue); font-family: inherit;
}
.search input[type="submit"]:hover { background: var(--blue-deep); }
.tel { font-size: 13px; color: #7a8aa1; line-height: 1.4; }
.tel b { display: block; font-size: 20px; color: #14305c; letter-spacing: .5px; }

/* ---------- 主导航 ---------- */
.navbg {
  background-color: var(--blue);
  background-image: linear-gradient(to top right, #194993, #00378c, #194993);
  box-shadow: 0 2px 10px rgba(14, 47, 99, .16);
  position: sticky; top: 0; z-index: 20;
}
.nav_pc { display: flex; justify-content: space-between; align-items: center; }
.nav_pc > li { position: relative; flex: 1; text-align: center; }
.nav_pc > li > a {
  position: relative; display: block; line-height: 64px; height: 64px;
  font-size: 19px; color: rgba(255, 255, 255, .82);
}
.nav_pc > li > a::after {
  content: ""; position: absolute; left: 25%; bottom: 8px; width: 50%; height: 2px;
  background: #fff; transform: scaleX(0); transition: transform .3s ease;
}
.nav_pc > li > a:hover, .nav_pc > li.is-on > a { color: #fff; }
.nav_pc > li:hover > a::after, .nav_pc > li.is-on > a::after { transform: scaleX(1); }

.nav-2nd {
  display: none; position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%); width: 190px; z-index: 25;
  background: var(--blue); padding: 8px 0; box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}
.nav_pc > li:hover .nav-2nd { display: block; }
.nav-2nd li a {
  position: relative; display: block; padding: 9px 10px; text-align: center;
  font-size: 15px; color: #fff; overflow: hidden;
}
.nav-2nd li a::before {
  content: ""; position: absolute; inset: 0; background: var(--red);
  width: 0; transition: width .28s ease;
}
.nav-2nd li a span { position: relative; z-index: 2; }
.nav-2nd li:hover a::before { width: 100%; }

/* 小屏导航 */
.nav-mobile { display: none; }

/* ---------- 首屏轮播 ---------- */
.hero { position: relative; height: 430px; overflow: hidden; background: #0b2b5c; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.slide.is-active { opacity: 1; }
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 26, 58, .82) 0%, rgba(6, 26, 58, .46) 52%, rgba(6, 26, 58, .10) 100%);
}
.slide--1 { background-image: linear-gradient(120deg, #123a7a 0%, #194993 45%, #2f74c9 100%); }
.slide--2 { background-image: linear-gradient(120deg, #0b2b5c 0%, #123a7a 50%, #1f6bb0 100%); }
.slide--3 { background-image: linear-gradient(120deg, #0a2a56 0%, #0f4f86 55%, #16709a 100%); }
.hero-art {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 520px; max-width: 42vw; opacity: .9;
}
.slide .w1400 { position: relative; z-index: 3; height: 430px; display: flex; align-items: center; }
.slide-copy { max-width: 660px; color: #fff; }
.slide-copy .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 3px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px;
  padding: 4px 12px; color: rgba(255, 255, 255, .92); margin-bottom: 22px;
}
.slide-copy h2 { color: #fff; font-size: 46px; line-height: 1.25; letter-spacing: 2px; text-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.slide-copy p { margin: 18px 0 30px; font-size: 17px; line-height: 1.9; color: rgba(255, 255, 255, .86); }
.slide-copy .btn { background: #fff; color: var(--blue); }
.slide-copy .btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.slide-copy .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 6;
  display: flex; justify-content: center; gap: 14px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .55); padding: 0; transition: background .25s;
}
.hero-dots button[aria-selected="true"] {
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .32);
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block; padding: 0 26px; line-height: 42px; height: 42px;
  font-size: 15px; color: #fff; background: var(--blue); border-radius: 3px;
  border: 1px solid var(--blue); transition: all .25s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--blue); border-bottom: 1px solid rgba(25, 73, 147, .3);
  padding-bottom: 4px;
}
.btn-line::after { content: "›"; font-size: 18px; line-height: 1; }

/* ---------- 区块骨架 ---------- */
.sec { padding: 46px 0; background: #fff; }
.sec--alt { background: var(--bg); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; padding-bottom: 14px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.sec-head h2 {
  position: relative; font-size: 25px; letter-spacing: 1px; padding-left: 16px;
  color: #14294d;
}
.sec-head h2::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 22px; background: var(--red); border-radius: 1px;
}
.sec-head .sub { font-size: 13px; color: #9aa8bb; letter-spacing: 2px; margin-left: 10px; font-weight: 400; }
.sec-head .more { font-size: 14px; color: #7d8da5; white-space: nowrap; }
.sec-head .more:hover { color: var(--red); }

/* ---------- 首页：新闻区块 ---------- */
.tabs { display: flex; gap: 28px; margin: -8px 0 24px; }
.tabs button {
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: 16px; color: #6c7b91; padding: 4px 0 10px; position: relative;
}
.tabs button.is-on { color: var(--blue); font-weight: 700; }
.tabs button.is-on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
}

.news-grid { display: grid; grid-template-columns: 1fr 400px; gap: 44px; }
.featured { border: 1px solid var(--line); background: #fff; transition: box-shadow .25s; }
.featured:hover { box-shadow: var(--shadow); }
.featured .thumb {
  height: 236px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 22px;
}
.featured .thumb .tone {
  position: absolute; inset: 0;
}
.tone--blue { background: linear-gradient(135deg, #123a7a, #2f74c9); }
.tone--navy { background: linear-gradient(135deg, #0b2b5c, #194993); }
.tone--teal { background: linear-gradient(135deg, #0d4a63, #16709a); }
.featured .thumb .art {
  position: absolute; right: 16px; top: 16px; width: 170px; opacity: .75;
}
.featured .thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 16px);
}
.featured .thumb .chip {
  position: relative; z-index: 2; font-size: 12px; letter-spacing: 2px;
  color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35);
  padding: 3px 10px; border-radius: 2px;
}
.featured .body { padding: 22px 24px 26px; }
.featured .body h3 { font-size: 21px; line-height: 1.5; color: #14294d; }
.featured .body p { margin: 12px 0 16px; font-size: 14.5px; color: #76869c; line-height: 1.85; }
.featured .meta { font-size: 13px; color: #98a6b9; display: flex; gap: 16px; }

.featured-list { margin-top: 8px; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 15px 0; border-bottom: 1px dashed #e7ebf2;
}
.row:last-child { border-bottom: 0; }
.row .t { font-size: 15.5px; color: #3a4a60; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.row .t::before { content: "·"; color: #c2cddd; margin-right: 8px; }
.row:hover .t { color: var(--red); }
.row .d { font-size: 13px; color: #a2afc0; white-space: nowrap; }

.side-panel { background: #fff; border: 1px solid var(--line); }
.side-panel .hd {
  padding: 14px 18px; background: #f7f9fc; border-bottom: 1px solid var(--line);
  font-size: 16px; color: #14305c; font-weight: 700; display: flex;
  align-items: center; justify-content: space-between;
}
.side-panel .hd a { font-size: 13px; color: #8e9db1; font-weight: 400; }
.side-panel .bd { padding: 6px 18px 16px; }
.side-panel .bd .row { padding: 12px 0; }

/* ---------- 首页：关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 440px 1fr; gap: 52px; align-items: center; }
.about-visual {
  position: relative; padding: 40px 34px; min-height: 330px; overflow: hidden;
  background: linear-gradient(150deg, #0e2f63, #194993 60%, #2b6cb3);
  color: #fff;
}
.about-visual svg { position: absolute; right: -30px; bottom: -24px; width: 210px; opacity: .2; }
.about-visual .kicker { font-size: 12px; letter-spacing: 4px; color: rgba(255, 255, 255, .7); }
.about-visual h3 { color: #fff; font-size: 27px; margin: 16px 0 10px; letter-spacing: 1px; line-height: 1.45; }
.about-visual p { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.9; margin: 0; }
.about-visual .stats { display: flex; gap: 30px; margin-top: 26px; }
.about-visual .stats div b { display: block; font-size: 26px; letter-spacing: .5px; }
.about-visual .stats div span { font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.about-text h2 { font-size: 24px; color: #14294d; margin-bottom: 18px; }
.about-text p { font-size: 15px; color: #63738a; line-height: 2; margin: 0 0 14px; }
.about-text .points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 22px 0 26px; }
.about-text .points li { font-size: 14.5px; color: #47566c; }
.about-text .points li::before { content: "✓"; color: var(--blue); margin-right: 8px; font-weight: 700; }

/* ---------- 首页：培职信息双栏 ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.col-box { background: #fff; border: 1px solid var(--line); padding: 24px 26px 18px; }
.col-box .hd { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.col-box .hd h3 { font-size: 18px; color: #14305c; }
.col-box .hd a { font-size: 13px; color: #97a5b8; }
.col-box .hd a:hover { color: var(--red); }

/* ---------- 页脚 ---------- */
.footer { background: var(--blue-dark); color: #b9c6dd; margin-top: 0; }
.footer .fnav {
  display: flex; justify-content: center; gap: 34px; flex-wrap: wrap;
  padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px;
}
.footer .fnav a { color: #cdd9ea; }
.footer .fnav a:hover { color: #fff; }
.footer .fmain { padding: 34px 0 12px; display: flex; align-items: flex-start; gap: 30px; justify-content: space-between; flex-wrap: wrap; }
.footer .flogo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.footer .flogo .logo-mark { width: 42px; height: 42px; }
.footer .flogo > div { min-width: 0; }
.footer .flogo strong { font-size: 19px; color: #fff; letter-spacing: 1px; display: block; }
.footer .flogo small { display: block; font-size: 10px; letter-spacing: 2.5px; color: #8ba0c0; line-height: 1.6; }
.footer .finfo { text-align: right; font-size: 13px; line-height: 1.9; color: #a8b8d1; }
.footer .finfo b { color: #fff; font-weight: 400; }
.footer .statement {
  margin: 6px 0 0; padding: 14px 0 22px; font-size: 12.5px; line-height: 1.9;
  color: #8ea1bf; border-top: 1px dashed rgba(255, 255, 255, .12);
}

/* ---------- 子页：页头 banner ---------- */
.page-hero {
  position: relative; height: 214px; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0b2b5c, #194993 55%, #2b6cb3);
  display: flex; align-items: center;
}
.page-hero .art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 420px; opacity: .28; }
.page-hero .w1400 { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 36px; letter-spacing: 2px; }
.page-hero p { margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, .78); letter-spacing: 3px; text-transform: uppercase; }
.crumb { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; color: #93a1b4; }
.crumb .w1400 { padding: 14px 24px; }
.crumb a:hover { color: var(--blue); }
.crumb span.sep { margin: 0 8px; color: #c6cfdc; }

/* ---------- 子页：列表 ---------- */
.list-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 46px 0 60px; }
/* 允许网格子项在窄屏收缩，避免长文本/nowrap 内容撑破容器 */
.list-layout > *, .query-layout > *, .res-body > *, .news-grid > *, .about-grid > *, .two-col > * { min-width: 0; }
.side-nav { background: #fff; border: 1px solid var(--line); align-self: start; }
.side-nav .hd { padding: 18px 22px; background: var(--blue); color: #fff; font-size: 18px; letter-spacing: 1px; }
.side-nav li a {
  display: block; padding: 14px 22px; font-size: 15px; color: #4a5a70;
  border-bottom: 1px solid #f0f3f8; border-left: 3px solid transparent;
}
.side-nav li a:hover, .side-nav li a.is-on {
  color: var(--blue); border-left-color: var(--blue); background: #f6f9fe;
}
.side-nav .contact { padding: 18px 22px; font-size: 13px; color: #8b9bb0; line-height: 2; }
.side-nav .contact b { display: block; font-size: 17px; color: #14305c; letter-spacing: .5px; }

.list-main { background: #fff; border: 1px solid var(--line); padding: 30px 34px 12px; min-height: 420px; }
.list-main .bhead { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.list-main .bhead h2 { font-size: 20px; color: #14294d; }
.list-main .bhead span { font-size: 13px; color: #9aa8bb; }
.art-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 0; border-bottom: 1px dashed #e8ecf3;
}
.art-row .l { min-width: 0; }
.art-row .l .tag {
  display: inline-block; font-size: 12px; color: var(--blue); background: #eef4fd;
  padding: 2px 8px; border-radius: 2px; margin-right: 10px; vertical-align: 1px;
}
.art-row .l .ttl { font-size: 16px; color: #3a4a60; }
.art-row .l .sum { margin: 6px 0 0; font-size: 13.5px; color: #93a1b4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-row:hover .ttl { color: var(--red); }
.art-row .d { font-size: 13px; color: #a6b2c3; white-space: nowrap; }
.pager { display: flex; gap: 8px; justify-content: center; padding: 26px 0; }
.pager button {
  min-width: 36px; height: 36px; border: 1px solid var(--line); background: #fff;
  color: #5d6d84; cursor: pointer; font-family: inherit; font-size: 14px; border-radius: 3px;
}
.pager button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pager button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 子页：文章详情 ---------- */
.article-wrap { padding: 40px 0 64px; }
.article {
  background: #fff; border: 1px solid var(--line); padding: 46px 60px 40px;
  max-width: 1000px; margin: 0 auto;
}
.article h1 { font-size: 28px; line-height: 1.5; color: #14294d; text-align: center; }
.article .meta {
  margin: 18px 0 26px; padding: 10px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); text-align: center;
  font-size: 13px; color: #9aa8bb; display: flex; gap: 24px; justify-content: center;
}
.article-body p { font-size: 16px; line-height: 2.05; color: #454f60; margin: 0 0 18px; text-indent: 2em; }
.article .end { margin-top: 30px; padding-top: 18px; border-top: 1px dashed #e8ecf3; font-size: 13px; color: #a4b0c1; text-align: right; }
.article-nav {
  max-width: 1000px; margin: 22px auto 0; background: #fff; border: 1px solid var(--line);
  padding: 18px 24px; font-size: 14px; color: #7d8da5; display: grid; gap: 10px;
}
.article-nav a:hover { color: var(--red); }
.article-nav .k { color: #b3bfcd; margin-right: 10px; }

/* ---------- 证书查询 ---------- */
.query-wrap { padding: 44px 0 66px; }
.query-card {
  background: #fff; border: 1px solid var(--line); padding: 34px 40px 40px;
  box-shadow: 0 12px 34px rgba(14, 47, 99, .05);
}
.query-card .qtitle {
  font-size: 21px; color: #14294d; font-weight: 700; display: flex;
  align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.query-card .qtitle::before {
  content: ""; width: 5px; height: 20px; background: var(--red); border-radius: 1px;
}
.query-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; padding-top: 28px; }
.form-box { border: 2px solid #e8e8e8; border-radius: 10px; padding: 30px 30px 34px; }
.field { display: flex; align-items: center; gap: 10px; margin: 0 auto 22px; max-width: 520px; }
.field label { flex: none; width: 122px; font-size: 16px; color: #4a5a70; text-align: right; }
.field label i { color: #e2231a; font-size: 19px; font-style: normal; margin-right: 4px; }
.field input {
  flex: 1; min-width: 0; height: 44px; border: 1px solid #dfe4ec; border-radius: 3px;
  padding: 0 12px; font-size: 16px; font-family: inherit; color: #333;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25, 73, 147, .1); }
.field input::placeholder { color: #b6c0cf; font-size: 14px; }
.query-actions { max-width: 520px; margin: 8px auto 0; }
.query-actions button {
  width: 100%; height: 50px; border: 0; border-radius: 5px; cursor: pointer;
  background: #031a66; color: #fff; font-size: 17px; letter-spacing: 2px;
  font-family: inherit; transition: background .25s;
}
.query-actions button:hover { background: #0a2a86; }
.query-actions button:disabled { opacity: .6; cursor: progress; }
.form-note { max-width: 520px; margin: 20px auto 0; font-size: 13px; color: #8b9bb0; line-height: 2; }
.form-note b { color: #6b7c93; font-weight: 400; }

.q-tips { border: 1px solid #eaeef5; background: #f9fbff; padding: 22px 24px; border-radius: 8px; align-self: start; }
.q-tips h3 { font-size: 16px; color: #14305c; margin-bottom: 12px; }
.q-tips ol { font-size: 13.5px; color: #7d8da5; line-height: 2.1; counter-reset: t; }
.q-tips ol li { counter-increment: t; display: flex; gap: 8px; }
.q-tips ol li::before {
  content: counter(t); flex: none; width: 18px; height: 18px; margin-top: 4px;
  border-radius: 50%; background: #e8f0fb; color: var(--blue);
  font-size: 12px; text-align: center; line-height: 18px;
}
.q-tips .demo {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2e8f2;
  font-size: 12.5px; color: #a2afc0; line-height: 1.9;
}
.q-tips .demo code { color: #14305c; background: #eef3fa; padding: 1px 6px; border-radius: 2px; font-size: 12.5px; }

/* 查询结果 */
.result-card { margin-top: 34px; display: none; }
.result-card.is-show { display: block; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.res-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 22px; background: #f4f8fe; border: 1px solid #e3ebf7; border-radius: 4px;
  flex-wrap: wrap;
}
.res-head .ok { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #14305c; }
.res-head .ok .dot {
  width: 22px; height: 22px; border-radius: 50%; background: #1f9d58; color: #fff;
  font-size: 13px; line-height: 22px; text-align: center;
}
.res-head .stamp {
  font-size: 15px; color: #1f9d58; border: 2px solid rgba(31, 157, 88, .55);
  border-radius: 4px; padding: 2px 12px; letter-spacing: 3px; transform: rotate(-4deg);
}
.res-body { display: grid; grid-template-columns: 1fr 380px; gap: 30px; margin-top: 24px; align-items: start; }
.res-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.res-table th, .res-table td { border: 1px solid #e6ebf3; padding: 12px 16px; text-align: left; }
.res-table th { width: 150px; background: #f8fafd; color: #5c6d84; font-weight: 400; }
.res-table td { color: #2b3a50; }
.res-table td.mono { font-family: Consolas, "Courier New", monospace; letter-spacing: .5px; }
.res-photo { position: relative; border: 1px solid #e6ebf3; padding: 10px; background: #fbfcfe; }
.res-photo img { width: 100%; display: block; }
.res-photo .wm {
  position: absolute; inset: auto 10px 10px; background: rgba(255, 255, 255, .86);
  font-size: 12px; color: #8b9bb0; text-align: center; padding: 4px 0;
}
.res-tools { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.res-tools button, .res-tools a {
  height: 38px; line-height: 36px; padding: 0 18px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); background: #fff; color: #51627a; border-radius: 3px; cursor: pointer;
}
.res-tools button:hover, .res-tools a:hover { border-color: var(--blue); color: var(--blue); }
.res-error {
  margin-top: 26px; padding: 18px 22px; border: 1px solid #f3dede; background: #fdf6f6;
  color: #b8433f; font-size: 14.5px; border-radius: 4px; display: none;
}
.res-error.is-show { display: block; }
.mode-hint {
  margin-top: 16px; font-size: 12.5px; color: #a2afc0;
}
.mode-hint .badge { color: var(--blue); border: 1px solid #dbe6f6; background: #f4f8fe; padding: 1px 8px; border-radius: 2px; }

/* ---------- 关于页 ---------- */
.about-page { padding: 46px 0 66px; }
.about-page .main-card { background: #fff; border: 1px solid var(--line); padding: 44px 56px; }
.about-page h1 { font-size: 27px; color: #14294d; margin-bottom: 20px; }
.about-page .lead { font-size: 15.5px; color: #5c6d84; line-height: 2.05; margin-bottom: 18px; }
.about-page .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.about-page .grid3 div { background: #f7f9fc; border: 1px solid #edf1f7; padding: 22px; }
.about-page .grid3 b { display: block; font-size: 20px; color: #14305c; margin-bottom: 6px; }
.about-page .grid3 span { font-size: 13px; color: #8b9bb0; }

/* ---------- 浮动回到顶部 ---------- */
.to-top {
  position: fixed; right: 30px; bottom: 40px; width: 46px; height: 46px; z-index: 40;
  background: var(--blue); color: #fff; border: 0; border-radius: 3px; cursor: pointer;
  font-size: 18px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  font-family: inherit;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1240px) {
  .nav_pc > li > a { font-size: 17px; }
  .news-grid { grid-template-columns: 1fr 340px; gap: 28px; }
  .about-grid { grid-template-columns: 380px 1fr; gap: 34px; }
  .query-layout { grid-template-columns: 1fr 280px; gap: 28px; }
}

@media (max-width: 1024px) {
  .header-main .w1400 { gap: 14px; }
  .search { width: 300px; }
  .hero { height: 380px; }
  .slide .w1400 { height: 380px; }
  .slide-copy h2 { font-size: 34px; }
  .slide-copy p { font-size: 15px; }
  .hero-art { width: 380px; }
  .news-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-text .points { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .list-layout { grid-template-columns: 1fr; gap: 24px; }
  .query-layout { grid-template-columns: 1fr; }
  .res-body { grid-template-columns: 1fr; }
  .article { padding: 30px 22px; }
  .about-page .main-card { padding: 28px 22px; }
  .about-page .grid3 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav_pc { display: none; }
  .nav-mobile { display: block; padding: 0 16px; }
  .page-hero { height: 180px; }
  .page-hero .art { display: none; }
  .page-hero h1 { font-size: 27px; }
  .page-hero p { font-size: 12px; letter-spacing: 2px; }
  .w1400 { padding: 0 16px; }
  .nav-mobile .head {
    display: flex; align-items: center; justify-content: space-between;
    height: 54px; color: #fff; font-size: 15px;
  }
  .nav-mobile .head button {
    background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff;
    width: 38px; height: 30px; border-radius: 3px; cursor: pointer; font-size: 16px;
  }
  .nav-mobile ul { display: none; padding-bottom: 12px; }
  .nav-mobile.is-open ul { display: block; }
  .nav-mobile ul li a { display: block; color: rgba(255, 255, 255, .9); font-size: 15px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .topbar .hello { font-size: 12px; }
  .topbar .links .wx { display: none; }
  .logo-text h1 { font-size: 20px; }
  .logo-mark { width: 40px; height: 40px; }
  .header-main .w1400 { gap: 14px; }
  .header-tools { flex: 1 1 100%; width: 100%; }
  .search { width: 100%; flex: 1 1 auto; }
  .search input[type="submit"] { width: 72px; flex: none; }
  .tel { display: none; }
  .hero { height: 340px; }
  .slide .w1400 { height: 340px; }
  .slide-copy h2 { font-size: 26px; }
  .slide-copy p { display: none; }
  .hero-art { display: none; }
  .sec { padding: 32px 0; }
  .sec-head h2 { font-size: 20px; }
  .field label { width: 84px; font-size: 14px; }
  .field input { font-size: 14px; }
  .query-card { padding: 22px 16px 26px; }
  .form-box { padding: 20px 14px; }
  .res-table th { width: 110px; }
  .footer .fmain { flex-direction: column; }
  .footer .finfo { text-align: left; }
  .footer .flogo small { letter-spacing: 1px; font-size: 9px; }
  .art-row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0; }
  .art-row .l { width: 100%; }
  .art-row .l .ttl { font-size: 15px; }
  .art-row .d { align-self: flex-end; font-size: 12px; }
  .list-main { padding: 20px 16px 10px; }
  .list-layout { padding: 28px 0 40px; gap: 20px; }
}

@media (max-width: 600px) {
  .topbar .links { display: none; }
  .tpbar, .topbar { font-size: 12px; }
  .topbar .hello { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar .hello span#clock { display: none; }
  .res-table th { width: 96px; padding: 10px 12px; }
  .res-table td { padding: 10px 12px; font-size: 14px; }
  .q-tips { padding: 18px 16px; }
  .q-tips ol { font-size: 13px; }
  .query-card .qtitle { font-size: 18px; }
}

@media print {
  .topbar, .navbg, .footer, .page-hero, .crumb, .res-tools, .to-top, .q-tips, .form-box, .query-card .qtitle { display: none !important; }
  .result-card { display: block !important; }
  body { background: #fff; }
  .query-card { border: 0; box-shadow: none; padding: 0; }
  .res-body { grid-template-columns: 1fr 320px; }
}
