/* 北京鉴信认证服务有限公司 · 官网样式 */
:root {
  --blue: #6f4f31;
  --blue-2: #a77a45;
  --blue-3: #f5eee5;
  --orange: #c4965c;
  --text: #333;
  --text-2: #666;
  --line: #e4dbd0;
  --gray: #f3f1ee;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  min-width: 1280px;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
img { border: 0; vertical-align: middle; max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
em, s { font-style: normal; text-decoration: none; }
input, button, select, textarea { font-family: inherit; font-size: 14px; outline: none; }
button { cursor: pointer; }
.fl { float: left; }
.fr { float: right; }

/* ----------------------------- 顶部信息条 ----------------------------- */
.topbar {
  background: var(--blue);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  height: 38px;
  line-height: 38px;
}
.topbar-in {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.topbar-right em { color: #ffd9a8; }
.topbar-right a { color: #fff; }

/* -------------------------------- 头部 -------------------------------- */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-in {
  width: 1200px;
  margin: 0 auto;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 54px; height: 54px; }
.logo-text strong {
  display: block;
  font-size: 27px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.2;
}
.logo-text em {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 3px;
  margin-top: 2px;
}
.header-contact { display: flex; gap: 34px; text-align: right; }
.hc-item em { display: block; color: var(--text-2); font-size: 12px; }
.hc-item strong { display: block; color: var(--blue); font-size: 15px; font-weight: 600; }

/* -------------------------------- 导航 -------------------------------- */
.nav { background: var(--blue-2); }
.nav-in { width: 1200px; margin: 0 auto; }
.navlist { display: flex; }
.navlist li { flex: 1; text-align: center; }
.navlist li a {
  display: block;
  height: 52px;
  line-height: 52px;
  color: #fff;
  font-size: 16px;
  position: relative;
}
.navlist li a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.navlist li.hover a { background: var(--blue); color: #fff; font-weight: 600; }
.navlist li.hover a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--orange);
}

/* ------------------------------- 轮播图 ------------------------------- */
.banner { position: relative; width: 100%; overflow: hidden; background: #4b3322; }
.banner .slides { position: relative; aspect-ratio: 1920 / 600; }
.banner .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.banner .slide.active { opacity: 1; }
.banner .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(52%, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 0 max(7vw, 48px);
  pointer-events: none;
}
.banner-copy-dark {
  color: #fff;
  width: min(62%, 900px);
  background: #65452c;
}
.banner-copy-light {
  color: #6f4f31;
  width: min(62%, 900px);
  background: #f7fafc;
}
.banner-copy strong { font-size: clamp(26px, 3vw, 54px); line-height: 1.2; letter-spacing: 2px; text-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.banner-copy span { font-size: clamp(14px, 1.35vw, 24px); line-height: 1.6; max-width: 560px; }
.banner .dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.banner .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: all .2s;
}
.banner .dot.active { background: var(--orange); width: 30px; border-radius: 6px; }
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 70px;
  line-height: 66px;
  text-align: center;
  font-size: 40px;
  color: rgba(255, 255, 255, .8);
  background: rgba(0, 0, 0, .22);
}
.banner-arrow:hover { background: rgba(0, 0, 0, .45); color: #fff; }
.banner-arrow.prev { left: 0; }
.banner-arrow.next { right: 0; }

/* ------------------------------- 通用区块 ------------------------------- */
.section { padding: 52px 0; }
.section-in { width: 1200px; margin: 0 auto; }
.in-title { text-align: center; margin-bottom: 34px; }
.in-title h3 span {
  display: inline-block;
  font-size: 30px;
  color: var(--blue);
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 14px;
}
.in-title h3 span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange);
}
.in-title-news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 12px;
  margin-bottom: 26px;
}
.in-title-news h3 span { font-size: 26px; padding-bottom: 0; }
.in-title-news h3 span::after { display: none; }
.title-more { color: var(--blue-2); font-size: 14px; }

/* ------------------------------- 服务导航 ------------------------------- */
.quick-section { background: #fff; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quick-item {
  position: relative;
  display: block;
  padding: 26px 26px 22px 30px;
  background: var(--gray);
  border-left: 4px solid var(--blue-2);
  transition: all .25s;
}
.quick-item:hover {
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 74, 134, .13);
  border-left-color: var(--orange);
  transform: translateY(-3px);
}
.quick-no {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 34px;
  font-weight: 700;
  color: rgba(13, 74, 134, .1);
  line-height: 1;
}
.quick-item h4 { font-size: 19px; color: var(--blue); margin-bottom: 8px; }
.quick-item p { color: var(--text-2); font-size: 13px; line-height: 1.7; }

/* ------------------------------- 申请流程 ------------------------------- */
.process-section { background: var(--gray); }
.process-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.process-list li {
  background: #fff;
  padding: 24px 14px;
  text-align: center;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(13, 74, 134, .06);
}
.process-list li::after {
  content: "›";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #b9c8da;
}
.process-list li:last-child::after { display: none; }
.step-no {
  display: inline-block;
  width: 38px; height: 38px;
  line-height: 38px;
  border-radius: 50%;
  background: var(--blue-2);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-list li:nth-child(even) .step-no { background: var(--orange); }
.process-list li h4 { font-size: 16px; color: var(--blue); margin-bottom: 6px; }
.process-list li p { font-size: 13px; color: var(--text-2); }

/* ------------------------------- 平台简介 ------------------------------- */
.about-in { display: grid; grid-template-columns: 1fr 330px; gap: 46px; align-items: start; }
.about-title {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 5px solid var(--orange);
  line-height: 1.2;
}
.about-text p { text-indent: 2em; color: #444; margin-bottom: 12px; text-align: justify; }
.about-values { color: var(--blue-2) !important; font-weight: 600; text-indent: 0 !important; }
.about-side { background: var(--blue); color: #fff; padding: 26px 24px; border-radius: 4px; }
.about-side dl { display: grid; grid-template-columns: 96px 1fr; gap: 12px 10px; }
.about-side dt { color: rgba(255, 255, 255, .68); font-size: 13px; }
.about-side dd { color: #fff; font-size: 13px; font-weight: 600; }

/* --------------------------- 文件资讯（一排三列） --------------------------- */
.news-section { background: var(--gray); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-col { background: #fff; border: 1px solid var(--line); }
.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 50px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.col-head h3 {
  font-size: 17px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
}
.col-head h3 s {
  width: 4px; height: 16px;
  background: var(--orange);
  border-radius: 2px;
}
.col-more { font-size: 13px; color: var(--text-2); }
.col-list { padding: 8px 18px 16px; }
.col-list li {
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}
.col-list li:last-child { border-bottom: 0; }
.news-title {
  flex: 1;
  font-size: 14px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-time { color: #9aa7b4; font-size: 12px; white-space: nowrap; padding-top: 2px; }
.empty-li { color: #9aa7b4; font-size: 13px; justify-content: center; }

/* ------------------------------- 友情链接 ------------------------------- */
.links-main { background: var(--gray); border-top: 1px solid var(--line); padding: 20px 0; }
.links-in { width: 1200px; margin: 0 auto; display: flex; align-items: flex-start; gap: 18px; }
.links-label {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  line-height: 30px;
}
.links-body { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.links-body a {
  padding: 3px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text-2);
  font-size: 13px;
}
.links-body a:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }

/* --------------------------------- 页脚 --------------------------------- */
.footer { background: #111; color: rgba(255, 255, 255, .8); padding: 34px 0 26px; }
.footer-in { width: 1200px; margin: 0 auto; display: flex; gap: 40px; }
.footer-nav { display: flex; gap: 54px; flex: 1; }
.footer-nav ul { min-width: 110px; }
.footer-nav h3 { font-size: 15px; color: #fff; margin-bottom: 10px; font-weight: 600; }
.footer-nav li { line-height: 26px; font-size: 13px; }
.footer-nav a { color: rgba(255, 255, 255, .78); }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { width: 330px; }
.footer-qrcode { width: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.footer-qrcode img { width: 132px; height: 132px; padding: 5px; object-fit: contain; display: block; background: #fff; }
.footer-qrcode p { margin-top: 10px; color: #fff; font-size: 14px; line-height: 1.5; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; line-height: 1.6; }
.footer-contact p { color: rgba(255, 255, 255, .62); }
.footer-contact p span { color: #fff; margin-left: 6px; }
.ico { width: 16px; height: 16px; margin-top: 5px; flex: none; background: var(--orange); }
.ico-add { clip-path: polygon(50% 0, 100% 40%, 85% 40%, 85% 100%, 15% 100%, 15% 40%, 0 40%); }
.ico-tel { clip-path: polygon(20% 5%, 45% 30%, 33% 45%, 60% 70%, 74% 58%, 97% 80%, 80% 97%, 20% 45%); }
.ico-mail { clip-path: polygon(0 18%, 50% 62%, 100% 18%, 100% 82%, 0 82%); }
.ico-web { border-radius: 50%; }
.copyright { background: #151515; color: rgba(255, 255, 255, .7); font-size: 13px; padding: 14px 0; }
.copyright-in { width: 1200px; margin: 0 auto; text-align: center; }

/* ----------------------------- 内页通用部分 ----------------------------- */
.nybanner {
  height: 300px;
  background: linear-gradient(120deg, #5d4028 0%, #a77a45 55%, #c4965c 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.nybanner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.nybanner-in { width: 1200px; margin: 0 auto; color: #fff; position: relative; z-index: 2; }
.nybanner-in h2 { font-size: 34px; letter-spacing: 3px; margin-bottom: 8px; }
.nybanner-in p { color: rgba(255, 255, 255, .8); font-size: 14px; max-width: 900px; }
.position { background: var(--gray); border-bottom: 1px solid var(--line); }
.position-in {
  width: 1200px;
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.position-in h3 { font-size: 17px; color: var(--blue); }
.position-path { color: var(--text-2); font-size: 13px; }
.position-path a { color: var(--text-2); }
.inner { padding: 34px 0 60px; background: #fff; }
.inner-in { width: 1200px; margin: 0 auto; }
.panel { background: #fff; }

/* ------------------------------- 列表页 ------------------------------- */
.submenu {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  padding-bottom: 14px;
}
.submenu li a {
  display: block;
  padding: 7px 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text-2);
  font-size: 14px;
}
.submenu li.active a,
.submenu li a:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.article-list li {
  position: relative;
  padding: 20px 130px 20px 0;
  border-bottom: 1px dashed var(--line);
}
.article-list .row-title { font-size: 17px; color: var(--blue); font-weight: 600; }
.article-list .row-summary { margin-top: 8px; color: var(--text-2); font-size: 13px; line-height: 1.8; }
.article-list .row-time {
  position: absolute;
  right: 0;
  top: 22px;
  color: #9aa7b4;
  font-size: 13px;
}
.empty { padding: 60px 0; text-align: center; color: #9aa7b4; }
.pagination { margin-top: 30px; text-align: center; }
.pagination a, .pagination span {
  display: inline-block;
  min-width: 36px;
  height: 34px;
  line-height: 32px;
  padding: 0 10px;
  margin: 0 3px;
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 3px;
  font-size: 13px;
}
.pagination a:hover { border-color: var(--blue-2); color: var(--blue-2); }
.pagination .current { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.pagination .disabled { color: #c2ccd8; }
.pagination .total { border: 0; color: #9aa7b4; }

/* ------------------------------- 文章详情 ------------------------------- */
.article { padding: 10px 0 20px; }
.article-title { font-size: 26px; line-height: 1.5; color: #4f3928; text-align: center; }
.article-meta {
  text-align: center;
  color: #8b98a6;
  font-size: 13px;
  margin: 16px 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.article-meta span { margin: 0 12px; }
.article-body { font-size: 16px; line-height: 2; color: #333; max-width: 980px; margin: 0 auto; }
.article-body p { text-indent: 2em; margin-bottom: 16px; text-align: justify; }
.article-source {
  max-width: 980px;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: #9aa7b4;
  font-size: 13px;
}
.reLink {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--text-2);
  font-size: 13px;
}
.reLink a { color: var(--blue-2); }
.panel-404 { padding: 90px 0; text-align: center; }
.panel-404 h2 { font-size: 72px; color: var(--blue); }
.panel-404 p { color: var(--text-2); margin: 12px 0 22px; }
.btn-home {
  display: inline-block;
  padding: 9px 26px;
  background: var(--blue-2);
  color: #fff;
  border-radius: 3px;
}
.btn-home:hover { background: var(--orange); color: #fff; }

/* ------------------------------- 查询页 ------------------------------- */
.query-card { border: 1px solid var(--line); padding: 28px 32px 30px; background: var(--gray); }
.query-title {
  font-size: 20px;
  color: var(--blue);
  padding-left: 12px;
  border-left: 4px solid var(--orange);
  margin-bottom: 12px;
}
.query-intro { color: var(--text-2); margin-bottom: 22px; }
.query-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; }
.qf-row { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); }
.qf-row label {
  width: 96px;
  text-align: center;
  color: var(--blue);
  background: #f3ede5;
  height: 42px;
  line-height: 42px;
  border-right: 1px solid var(--line);
  flex: none;
}
.qf-row input {
  flex: 1;
  height: 42px;
  border: 0;
  padding: 0 14px;
  color: #333;
  background: transparent;
}
.qf-code { grid-column: span 1; }
.captcha-box { flex: none; padding: 0 8px; cursor: pointer; display: flex; align-items: center; }
.captcha-box svg { display: block; border-radius: 3px; }
.qf-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.btn-query, .btn-reset {
  height: 44px;
  min-width: 140px;
  border: 0;
  border-radius: 3px;
  font-size: 16px;
  color: #fff;
  background: var(--blue-2);
  letter-spacing: 2px;
}
.btn-query:hover { background: var(--orange); }
.btn-reset { background: #7c8fa3; min-width: 110px; }
.btn-reset:hover { background: #647785; }
.qf-tip { color: #9aa7b4; font-size: 13px; }
.query-result { margin-top: 24px; }
.result-summary {
  padding: 12px 16px;
  background: var(--blue-3);
  color: var(--blue);
  border-left: 4px solid var(--blue-2);
  margin-bottom: 16px;
}
.result-summary.error { background: #fdeceb; border-left-color: #d9534f; color: #b23b32; }
.certificate-results-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 16px 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.certificate-results-page { padding-top: 28px; }
.certificate-results-head h1 { color: var(--blue); font-size: 25px; }
.certificate-results-head p { color: var(--text-2); margin-top: 7px; font-size: 14px; }
.certificate-back { border: 1px solid var(--blue-2); padding: 9px 20px; color: var(--blue-2); white-space: nowrap; }
.certificate-back:hover { background: var(--blue-2); color: #fff; }
.certificate-results-list { display: grid; gap: 18px; }
.certificate-item { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 26px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.certificate-item-info h2 { font-size: 20px; color: var(--blue); margin-bottom: 16px; }
.certificate-sample { font-size: 12px; font-weight: 400; color: #a55b12; vertical-align: middle; }
.certificate-item-info dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 20px; }
.certificate-item-info dl div { display: flex; gap: 10px; font-size: 14px; min-width: 0; }
.certificate-item-info dt { width: 68px; flex: none; color: var(--text-2); }
.certificate-item-info dd { overflow-wrap: anywhere; color: #283849; }
.certificate-photo { width: 230px; min-height: 210px; border: 1px solid var(--line); background: #f8fafc; padding: 10px; cursor: zoom-in; color: var(--blue-2); }
.certificate-photo img { width: 100%; height: 178px; display: block; object-fit: contain; }
.certificate-photo span { display: block; margin-top: 8px; font-size: 13px; }
.certificate-photo:hover { border-color: var(--blue-2); }
.certificate-photo-missing { width: 230px; min-height: 210px; border: 1px dashed #c4cfdb; background: #f8fafc; display: grid; place-items: center; color: #7d8b99; }
.certificate-empty { padding: 54px; text-align: center; background: #f7fafd; color: var(--text-2); }
.certificate-zoom { max-width: none; max-height: none; width: min(1000px, 92vw); height: min(900px, 94vh); border: 0; padding: 42px 24px 20px; background: #fff; box-shadow: 0 18px 65px rgba(0,0,0,.35); text-align: center; }
.certificate-zoom[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.certificate-zoom::backdrop { background: rgba(0, 0, 0, .78); }
.certificate-zoom img { display: block; max-width: 100%; max-height: calc(100% - 32px); object-fit: contain; }
.certificate-zoom p { margin-top: 10px; color: #303840; font-size: 15px; }
.certificate-zoom-close { position: absolute; top: 7px; right: 12px; border: 0; background: transparent; cursor: pointer; font-size: 30px; line-height: 1; color: #3c4854; }
.result-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.result-table th, .result-table td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
.result-table th { background: #f3ede5; color: var(--blue); width: 150px; font-weight: 600; }
.result-card { border: 1px solid var(--line); margin-bottom: 18px; }
.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f3ede5;
  border-bottom: 1px solid var(--line);
}
.result-card-head h4 { color: var(--blue); font-size: 16px; }
.badge-ok { color: #1c8b4b; background: #e7f6ed; border: 1px solid #bfe6cd; padding: 2px 10px; border-radius: 20px; font-size: 12px; }
.badge-warn { color: #b26a00; background: #fdf3e3; border: 1px solid #f2ddba; padding: 2px 10px; border-radius: 20px; font-size: 12px; }
.badge-sample { color: #8a6d3b; background: #fcf8e3; border: 1px solid #faebcc; padding: 2px 10px; border-radius: 20px; font-size: 12px; margin-left: 8px; }
.notes { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.notes-title { font-size: 16px; color: var(--blue); margin: 18px 0 10px; }
.notes p { color: #444; line-height: 2; text-align: justify; margin-bottom: 8px; }
.note-hint { color: #9aa7b4; font-size: 13px; }

/* ------------------------------- 响应式 ------------------------------- */
@media screen and (max-width: 1279px) {
  body { min-width: 0; }
  .topbar-in, .header-in, .nav-in, .section-in, .links-in, .footer-in, .copyright-in,
  .nybanner-in, .position-in, .inner-in { width: auto; padding-left: 16px; padding-right: 16px; }
  .quick-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .about-in { grid-template-columns: 1fr; }
  .query-form { grid-template-columns: 1fr; }
  .banner .slides { aspect-ratio: 1920 / 700; }
}
@media screen and (max-width: 720px) {
  .quick-grid, .news-grid, .process-list { grid-template-columns: 1fr; }
  .navlist { flex-wrap: wrap; }
  .navlist li { flex: 0 0 33.33%; }
  .header-in { height: auto; flex-direction: column; padding: 12px 16px; gap: 10px; }
  .header-contact { gap: 16px; }
  .banner-copy { width: 72%; padding: 0 22px; gap: 6px; }
  .banner-copy strong { font-size: 22px; letter-spacing: 0; }
  .banner-copy span { font-size: 12px; }
  .footer-in { flex-direction: column; gap: 20px; }
  .footer-nav { flex-wrap: wrap; gap: 20px; }
  .article-list li { padding-right: 0; }
  .article-list .row-time { position: static; display: block; margin-top: 8px; }
}

/* ------------------------- 信用查询首页改版 ------------------------- */
.banner-query {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(1120px, calc(100% - 48px));
  transform: translate(-50%, -50%);
}
.banner-query-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 12px 6px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.banner-query-heading strong { font-size: 30px; letter-spacing: 2px; }
.banner-query-heading span { font-size: 14px; }
.banner-query .query-card {
  padding: 20px 22px 18px;
  background: #fff;
  border: 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}
.banner-query .query-card-heading { display: none; }
.banner-query .query-form { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.banner-query .qf-actions { grid-column: auto; margin: 0; }
.banner-query .btn-query { min-width: 0; width: 100%; }
.banner-query .btn-reset { display: none; }
.banner-query .qf-row label { width: 78px; }
.banner-query .query-result { margin-top: 16px; max-height: 300px; overflow: auto; }

.query-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.query-card-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.query-card-heading .query-title { margin: 0; }
.query-card-tip { margin-left: auto; color: #9aa7b4; font-size: 13px; }
.query-page-intro {
  color: var(--text-2);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}
.query-card-inline { background: #fff; }
.query-card-inline .query-form { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.query-card-inline .qf-actions { grid-column: 1 / -1; }

.query-card-simple {
  padding: 10px;
  background: #f0f0f0;
  border: 0;
}
.query-card-simple .query-form {
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 0;
}
.query-card-simple .qf-row {
  min-width: 0;
  border: 1px solid #b5844d;
  border-right: 0;
}
.query-card-simple .qf-row input {
  height: 44px;
  padding: 0 12px;
}
.query-card-simple .qf-actions {
  grid-column: auto;
  margin: 0;
}
.query-card-simple .btn-query {
  width: 100%;
  min-width: 0;
  height: 44px;
  border-radius: 0;
  background: #a77a45;
  letter-spacing: 2px;
}

/* ------------------------- 首页信用资讯 ------------------------- */
.credit-section { background: #fff; padding-top: 42px; }
.credit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: 26px;
  min-width: 0;
}
.credit-feature {
  display: grid;
  grid-template-columns: minmax(260px, .92fr) minmax(0, 1.08fr);
  min-height: 270px;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.credit-feature-image { display: block; overflow: hidden; background: #dce7f0; }
.credit-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}
.credit-feature-body { padding: 24px 24px 20px; }
.credit-kicker { color: var(--orange); font-size: 12px; letter-spacing: 1px; }
.credit-feature-title {
  display: block;
  margin: 10px 0 12px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
}
.credit-feature-body p { color: var(--text-2); font-size: 13px; line-height: 1.9; }
.credit-detail { display: inline-block; margin-top: 18px; color: var(--blue-2); font-size: 13px; }
.credit-panel-title {
  padding: 0 0 12px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}
.credit-side { min-width: 0; }
.credit-side ul { padding-top: 4px; }
.credit-side li, .credit-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.credit-side li span, .credit-list li span { color: #9aa7b4; font-size: 12px; white-space: nowrap; }
.credit-side-title, .credit-list-title {
  min-width: 0;
  overflow: hidden;
  color: #333;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.credit-side-title:hover, .credit-list-title:hover { color: var(--orange); }
.credit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.credit-list li { min-width: 0; }

/* ------------------------- 内页横幅统一使用客户图片 ------------------------- */
.nybanner {
  height: 300px;
  background: linear-gradient(rgba(52, 36, 23, .18), rgba(52, 36, 23, .18)), url("../images/banner-inner.png") center / cover no-repeat;
}
.nybanner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(52, 36, 23, .06);
}
.nybanner::after { display: none; }

@media screen and (max-width: 900px) {
  .banner-query .query-form, .query-card-inline .query-form { grid-template-columns: repeat(2, 1fr); }
  .credit-grid, .credit-feature { grid-template-columns: 1fr; }
  .credit-feature-image img { min-height: 210px; max-height: 260px; }
}

@media screen and (max-width: 720px) {
  .query-card-simple .query-form { grid-template-columns: minmax(0, 1fr) 88px; }
}

@media screen and (max-width: 720px) {
  .banner-query { width: calc(100% - 24px); }
  .banner-query-heading { display: block; margin-left: 0; }
  .banner-query-heading strong { display: block; font-size: 24px; }
  .banner-query-heading span { display: block; font-size: 12px; }
  .banner-query .query-card { padding: 12px; }
  .banner-query .query-form, .query-card-inline .query-form { grid-template-columns: 1fr; }
  .banner-query .qf-row label { width: 72px; }
  .query-card-tip { display: none; }
  .credit-list { grid-template-columns: 1fr; }
}

/* ------------------------- 首页新版布局 ------------------------- */
.slide-link { display: block; width: 100%; height: 100%; }
.slide-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-query {
  top: auto;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
}
.query-card-home {
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(111, 79, 49, .16);
  box-shadow: 0 12px 28px rgba(53, 35, 20, .18);
}
.query-form-home {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 112px;
  gap: 10px;
  align-items: stretch;
}
.query-form-home > label { min-width: 0; }
.query-select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  white-space: nowrap;
}
.query-select-wrap span { font-size: 13px; color: var(--text-2); }
.query-select-wrap select {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
}
.query-keyword-wrap input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--text);
  background: #fff;
}
.query-keyword-wrap input:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(196, 150, 92, .12); }
.query-form-home .btn-query {
  height: 44px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
}
.query-form-home .btn-query:hover { background: var(--blue-2); }
.query-card-home .query-result { margin-top: 12px; max-height: 240px; overflow: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
  align-items: center;
  gap: 26px;
  margin-bottom: 34px;
}
.section-heading > span { height: 1px; background: #d8d0c7; }
.section-heading h2 { color: var(--blue-2); font-size: 30px; font-weight: 500; letter-spacing: 2px; white-space: nowrap; }

.credit-section { padding-top: 48px; padding-bottom: 54px; background: #fff; }
.credit-section .in-title-news { border-bottom: 1px solid #ded7cf; margin-bottom: 28px; }
.credit-section .in-title-news h3 { position: relative; padding-left: 40px; }
.credit-section .in-title-news h3::before { content: "NEWS"; position: absolute; left: 0; top: 4px; font-family: Georgia, serif; font-size: 11px; color: var(--orange); letter-spacing: 0; }
.credit-section .in-title-news h3 span { color: var(--blue-2); font-size: 25px; }
.credit-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 56px; align-items: start; }
.credit-feature { display: block; border: 0; min-height: 0; background: transparent; }
.credit-feature-image img { height: 265px; min-height: 0; object-fit: cover; }
.credit-feature-body { padding: 12px 0 0; }
.credit-feature-meta { display: flex; justify-content: space-between; align-items: center; color: #9b8c7d; font-size: 12px; }
.credit-feature-meta time, .credit-side-head time { color: #a99a8e; font-size: 12px; white-space: nowrap; }
.credit-feature-title { margin: 7px 0 8px; color: #3e3127; font-size: 18px; line-height: 1.45; }
.credit-feature-body p { color: #7c726a; line-height: 1.9; font-size: 13px; }
.credit-detail { margin-top: 10px; color: var(--orange); }
.credit-side { display: grid; gap: 20px; }
.credit-side-item { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; border-bottom: 1px dashed #ded7cf; }
.credit-side-item img { width: 190px; height: 110px; object-fit: cover; display: block; }
.credit-side-item > div { min-width: 0; }
.credit-side-head { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.credit-side-title { color: #4b3c30; font-size: 16px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.credit-side-item p { margin-top: 8px; color: #897c70; font-size: 12px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.credit-list { grid-template-columns: 1fr 1fr; gap: 0 42px; margin-top: 22px; border-top: 1px solid #e5ded5; }
.credit-list li { padding: 12px 0; border-bottom: 1px dashed #e5ded5; }
.credit-list-bullet { color: #b7aaa0; margin-right: 8px; font-size: 12px; }
.credit-list-title { color: #5f5044; font-size: 13px; }
.credit-list li time { color: #a99a8e; font-size: 12px; white-space: nowrap; }

.about-section { padding: 66px 0 72px; background: #fff; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 58px; align-items: center; }
.about-media { overflow: hidden; background: #f1f0ee; }
.about-media img { width: 100%; height: 318px; object-fit: cover; display: block; }
.about-text { min-width: 0; }
.about-title { color: var(--blue); font-size: 25px; font-weight: 500; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--orange); line-height: 1.2; }
.about-text p { color: #62584f; margin-bottom: 12px; text-align: justify; line-height: 2; text-indent: 2em; }
.about-values { color: var(--blue-2) !important; font-weight: 600; text-indent: 0 !important; }
.about-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 18px; color: #fff; background: var(--blue-2); font-size: 13px; }
.about-more:hover { background: var(--blue); color: #fff; }
.about-more span { font-size: 18px; line-height: 1; }

.process-section { padding: 62px 0 68px; background: #fff; }
.process-list-reference { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; background: transparent; }
.process-list-reference li { min-width: 0; padding: 0 18px; background: transparent; border-radius: 0; box-shadow: none; }
.process-list-reference li::after { content: ""; right: 0; top: 18px; width: 1px; height: 128px; background: #ddd7d0; transform: none; }
.process-list-reference li:last-child::after { display: none; }
.process-icon { width: 128px; height: 128px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)), url('/assets/images/about-jianxin.png') center / cover; border: 8px solid rgba(196, 150, 92, .16); }
.process-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.process-icon span { color: #d33124; font-size: 46px; line-height: 1; font-family: "Microsoft YaHei", sans-serif; }
.process-list-reference li h4 { color: #3f342c; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.process-list-reference li p { color: #887c72; font-size: 13px; line-height: 1.7; }

.core-section { padding: 64px 0 74px; background: #f7f5f2; }
.core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.core-card { position: relative; min-height: 184px; padding: 22px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: #fff; background: #202b31; border-radius: 6px; overflow: hidden; box-shadow: 0 9px 22px rgba(53, 35, 20, .1); transition: transform .2s, box-shadow .2s; }
.core-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15, 21, 25, .12) 0%, rgba(15, 21, 25, .76) 50%, rgba(9, 14, 17, .96) 100%); pointer-events: none; }
.core-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.core-card > span { position: relative; z-index: 1; }
.core-card:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 15px 30px rgba(53, 35, 20, .2); }
.core-card-title { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.35; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.core-card-desc { color: #f2f2f2; font-size: 12px; line-height: 1.5; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.core-card-more { margin-top: 5px; color: #fff; font-size: 12px; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.about-detail-page .panel { margin-bottom: 26px; }
.about-detail-heading { color: var(--blue-2); font-size: 25px; font-weight: 500; margin-bottom: 28px; text-align: center; }

@media screen and (max-width: 900px) {
  .query-form-home { grid-template-columns: 1fr 1.5fr 100px; }
  .credit-grid, .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .core-grid { grid-template-columns: repeat(3, 1fr); }
  .process-list-reference { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .process-list-reference li:nth-child(3)::after, .process-list-reference li:nth-child(6)::after { display: none; }
}
@media screen and (max-width: 720px) {
  .banner-query { bottom: 14px; width: calc(100% - 24px); }
  .query-card-home { padding: 7px; }
  .query-form-home { grid-template-columns: 1fr; gap: 7px; }
  .query-select-wrap, .query-keyword-wrap input, .query-form-home .btn-query { height: 40px; }
  .credit-side-item { grid-template-columns: 125px minmax(0, 1fr); gap: 12px; }
  .credit-side-item img { width: 125px; height: 88px; }
  .credit-list { grid-template-columns: 1fr; }
  .section-heading { gap: 12px; margin-bottom: 24px; }
  .section-heading h2 { font-size: 24px; letter-spacing: 1px; }
  .about-media img { height: 220px; }
  .process-list-reference { grid-template-columns: repeat(2, 1fr); }
  .process-list-reference li::after { display: none; }
  .core-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .core-card { min-height: 112px; padding: 16px 13px; }
  .core-card-title { font-size: 14px; }
}

/* ------------------------- 首页查询与信用资讯微调 ------------------------- */
/* Fill the entire white query tray: category, long keyword field, full button. */
.banner-query .query-form-home { grid-template-columns: 260px minmax(0, 1fr) 260px; }
.credit-side .credit-list {
  width: 100%;
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  align-self: stretch;
}
.credit-side .credit-list li { min-height: 44px; display: flex; align-items: center; }
html.visual-edit-mode [data-visual-path],
html.visual-edit-mode [data-visual-article] {
  outline: 2px dashed rgba(21, 101, 181, .72);
  outline-offset: 4px;
  cursor: pointer;
  transition: outline-color .15s, background-color .15s;
}
html.visual-edit-mode [data-visual-path]:hover,
html.visual-edit-mode [data-visual-article]:hover {
  outline-color: #e8842c;
  background-color: rgba(232, 132, 44, .12);
}

@media screen and (max-width: 900px) {
  .banner-query .query-form-home { grid-template-columns: 260px minmax(0, 1fr) 260px; }
}

@media screen and (max-width: 720px) {
  .banner-query .query-form-home { grid-template-columns: 260px minmax(0, 1fr) 260px; }
  .credit-side .credit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------- 固定 PC 版布局 ------------------------- */
/* Keep the desktop composition on narrow screens; users can zoom the page manually. */
html, body { min-width: 1280px; }
.topbar-in, .header-in, .nav-in, .section-in, .links-in, .footer-in, .copyright-in,
.nybanner-in, .position-in, .inner-in { width: 1200px; padding-left: 0; padding-right: 0; }
.header-in { height: 104px; flex-direction: row; gap: 0; }
.header-contact { gap: 34px; }
.navlist { flex-wrap: nowrap; }
.navlist li { flex: 1 1 0; }
.banner .slides { aspect-ratio: 1920 / 600; }
.banner-query { width: 1120px; bottom: 28px; transform: translateX(-50%); }
.banner-query .query-card { padding: 10px; }
.query-form-home, .banner-query .query-form-home { grid-template-columns: 260px minmax(0, 1fr) 260px; }
.query-select-wrap, .query-keyword-wrap input, .query-form-home .btn-query { height: 44px; }
.quick-grid, .news-grid { grid-template-columns: repeat(3, 1fr); }
.about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.credit-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); }
.credit-side-item { grid-template-columns: 190px minmax(0, 1fr); gap: 16px; }
.credit-side-item img { width: 190px; height: 110px; }
.process-list-reference { grid-template-columns: repeat(6, 1fr); }
.process-list-reference li::after { display: block; }
.core-grid { grid-template-columns: repeat(5, 1fr); }
.footer-in { flex-direction: row; gap: 40px; }
.footer-nav { flex-wrap: nowrap; gap: 54px; }
