@charset "utf-8";
/* ==========================================================================
   技术问答中心（FQA）列表页样式
   文件：/templets/weiqin/style/fqa.css
   说明：含设计变量、公共组件（头部/面包屑/侧栏/页脚）、列表页专属样式
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --c-brand: #0B4DA2;
  --c-brand-dark: #073A7B;
  --c-brand-mid: #1A66C9;
  --c-brand-soft: #E8F0FB;
  --c-ink: #0F1B2D;
  --c-text: #33415C;
  --c-muted: #6B7A90;
  --c-line: #E4EAF3;
  --c-line-soft: #EFF3F9;
  --c-bg: #F6F8FC;
  --c-white: #FFFFFF;
  --c-teal: #0E9E9E;
  --c-amber: #D9822B;
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --shadow-s: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow-m: 0 6px 20px rgba(15, 27, 45, .07);
  --shadow-l: 0 18px 44px rgba(15, 27, 45, .12);
  --maxw: 1400px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; border: 0; vertical-align: middle; }
a { color: var(--c-brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-brand-mid); }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-brand-mid); outline-offset: 2px; }

.wraps { width: 100%; max-width: var(--maxw); margin: 0 auto; margin-top: 5%;}
.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;
}

/* ---------- 3. 顶部条 + 头部导航 ---------- */
.topbar {
  font-size: 16px;
  line-height: 36px;
  margin:100px 0 0;
}
.topbar .wraps { display: flex; justify-content: space-between; gap: 16px; }
.topbar a { color: #DCE8F8; }
.topbar a:hover { color: #fff; }
.topbar__hot { display: flex; align-items: center; gap: 6px; }
.topbar__hot b { color: #d0112b; font-weight: 600; }

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .2s ease;
}
.site-head.is-stuck { box-shadow: var(--shadow-m); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--c-ink); }
.logo:hover { color: var(--c-ink); }
.logo__mark {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(150deg, var(--c-brand-mid), var(--c-brand-dark));
  display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(11, 77, 162, .28);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.logo__sub {
  font-size: 10px; letter-spacing: 1.6px; color: var(--c-muted);
  text-transform: uppercase; font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 0 15px; line-height: 72px;
  color: var(--c-text); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 20px;
  height: 2px; background: var(--c-brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .2s ease;
}
.nav a:hover { color: var(--c-brand); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--c-brand); font-weight: 600; }

.head-actions { display: flex; align-items: center; gap: 12px; }
.head-tel { display: flex; align-items: center; gap: 8px; color: var(--c-ink); }
.head-tel__icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--c-brand-soft);
  display: grid; place-items: center; color: var(--c-brand); font-size: 15px;
}
.head-tel__num { font-size: 17px; font-weight: 700; letter-spacing: .3px; }
.head-tel__tip { display: block; font-size: 11px; color: var(--c-muted); line-height: 1.2; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; padding: 0 20px; border-radius: var(--radius-s);
  border: 1px solid transparent; font-size: 14px; font-weight: 600;
  transition: all .18s ease; white-space: nowrap;
}
.btn--primary {
  background: var(--c-brand); color: #fff;
  box-shadow: 0 6px 16px rgba(11, 77, 162, .24);
}
.btn--primary:hover { background: var(--c-brand-mid); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--c-line); color: var(--c-text); background: #fff; }
.btn--ghost:hover { border-color: var(--c-brand); color: var(--c-brand); }
.btn--light { background: #fff; color: var(--c-brand); }
.btn--light:hover { background: #fff; color: var(--c-brand-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--c-line);
  border-radius: var(--radius-s); background: #fff; color: var(--c-ink);
  font-size: 18px; line-height: 1;
}

/* ---------- 4. 面包屑 ---------- */
.crumb { padding: 16px 0; font-size: 13px; color: var(--c-muted); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumb li { display: flex; align-items: center; gap: 6px; }
.crumb li:not(:last-child)::after { content: "/"; color: #C2CCDB; }
.crumb a { color: var(--c-muted); }
.crumb a:hover { color: var(--c-brand); }
.crumb li:last-child { color: var(--c-text); }

/* ---------- 5. 页面头部（H1 区）---------- */
.page-hero {
  position: relative; overflow: hidden; margin-top: 14px;
  border-radius: var(--radius-l);
  background: linear-gradient(115deg, #0B3F86 0%, #0B4DA2 45%, #1069C9 100%);
  color: #fff;
  padding: 40px 44px 34px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, transparent, #000 60%, #000);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%, #000);
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; top: -110px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 190, 190, .38), transparent 66%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero__tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  font-size: 12px; letter-spacing: 3px;color: #ffffffdb;
}
.page-hero h1 {
  font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: .5px;
  margin-bottom: 12px;color: #ffffffdb;
}
.page-hero h1 em { font-style: normal; color: #FFD08A; }
.page-hero__desc {
  font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .86); max-width: 706px;
}
.page-hero__stats {
  display: flex; flex-wrap: wrap; gap: 36px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.page-hero__stat { line-height: 1.3; }
.page-hero__stat b {
  display: block; font-size: 24px; font-weight: 700; letter-spacing: 5px; color: #d0112b;
}
.page-hero__stat span { font-size: 12.5px; color: rgba(255, 255, 255, .72); }

/* ---------- 6. 筛选 / 搜索栏 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 20px; margin: 26px 0 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-line);
  color: var(--c-text); font-size: 14px; font-weight: 500;
  transition: all .16s ease;
}
.chip:hover { border-color: #B9CCE8; color: var(--c-brand); }
.chip.is-active {
  background: var(--c-brand); border-color: var(--c-brand); color: #fff;
  box-shadow: 0 5px 14px rgba(11, 77, 162, .22);
}
.chip__count { font-size: 12px; opacity: .72; }

.search-box { position: relative; flex: 0 1 300px; min-width: 220px; }
.search-box input {
  width: 100%; height: 40px; padding: 0 42px 0 40px;
  border: 1px solid var(--c-line); border-radius: 999px;
  background: #fff; font-size: 14px; color: var(--c-ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.search-box input::placeholder { color: #9AA7B9; }
.search-box input:focus {
  outline: none; border-color: var(--c-brand-mid);
  box-shadow: 0 0 0 3px rgba(26, 102, 201, .12);
}
.search-box__icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: #9AA7B9; pointer-events: none;
}
.search-box__clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: var(--c-line-soft); color: var(--c-muted);
  font-size: 13px; line-height: 1; display: none;
}
.search-box__clear.is-show { display: block; }

/* ---------- 7. 主体两栏布局 ---------- */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 322px;
  gap: 26px; align-items: start; padding-bottom: 56px;
}
.panel {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-l); box-shadow: var(--shadow-s);
}
.panel__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 20px 24px 16px; border-bottom: 1px solid var(--c-line-soft);
}
.panel__title { font-size: 17px; font-weight: 700; color: var(--c-ink); letter-spacing: .3px; }
.panel__title small {
  display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 400;
  color: var(--c-muted); letter-spacing: 0;
}
.result-tip { font-size: 12.5px; color: var(--c-muted); }
.result-tip b { color: var(--c-brand); font-weight: 600; }

/* ---------- 8. FAQ 列表项 ---------- */
.faq-list { padding: 4px 0; }
.faq-item {
  position: relative; padding: 22px 24px 20px 24px;
  border-bottom: 1px solid var(--c-line-soft);
  transition: background .18s ease;
  scroll-margin-top: 90px;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  background: linear-gradient(var(--c-brand), var(--c-teal));
  border-radius: 0 3px 3px 0;
  transform: scaleY(0); transform-origin: top; transition: transform .22s ease;
}
.faq-item:hover { background: #FBFCFE; }
.faq-item:hover::before { transform: scaleY(1); }
.faq-item.is-hidden { display: none; }

.faq-item__q { display: flex; align-items: flex-start; gap: 11px; }
.faq-badge {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 3px;
  border-radius: 7px; display: grid; place-items: center;
  background: var(--c-brand-soft); color: var(--c-brand);
  font-size: 12px; font-weight: 700; font-family: Georgia, "Times New Roman", serif;
}
.faq-item:hover .faq-badge { background: var(--c-brand); color: #fff; }
.faq-item__title { font-size: 17px; line-height: 1.55; font-weight: 600; color: var(--c-ink); }
.faq-item__title a { color: inherit; }
.faq-item__title a:hover { color: var(--c-brand); }

.faq-item__a {
  margin: 10px 0 0 35px; font-size: 14px; line-height: 1.8; color: #5A6980;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.faq-item__a b, .faq-item__a strong { color: var(--c-ink); font-weight: 600; }

.faq-item__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 13px 0 0 35px; font-size: 12.5px; color: #8996A8;
}
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 10px; border-radius: 5px;
  font-size: 12px; font-weight: 500; line-height: 1;
}
.tag--cat { background: #EDF3FC; color: var(--c-brand); }
.tag--hot { background: #FDF0E3; color: var(--c-amber); }
.tag--new { background: #E6F7F4; color: #0C8574; }
.faq-item__meta .dot { color: #D2DAE6; }
.faq-item__more { margin-left: auto; color: var(--c-brand); font-weight: 600; font-size: 13px; }
.faq-item__more:hover { color: var(--c-brand-dark); }

/* 空结果 */
.empty {
  display: none; padding: 60px 24px; text-align: center; color: var(--c-muted);
}
.empty.is-show { display: block; }
.empty b { display: block; color: var(--c-ink); font-size: 16px; margin-bottom: 6px; }

/* ---------- 9. 分页 ---------- */
.pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; padding: 26px 24px 30px;
}
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 13px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); border-radius: var(--radius-s);
  background: #fff; color: var(--c-text); font-size: 14px;
  transition: all .16s ease;
}
.pager a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager .is-current {
  background: var(--c-brand); border-color: var(--c-brand); color: #fff; font-weight: 600;
}
.pager .is-disabled { color: #B7C2D2; background: #FAFBFD; }
.pager__total { border: 0; background: transparent; color: var(--c-muted); font-size: 13px; }

/* 织梦原生 {dede:pagelist} 输出兼容（li 结构） */
.pager > li { display: inline-flex; }
.pager > li > a,
.pager > li > span,
.pager > li.thisclass {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); border-radius: var(--radius-s);
  background: #fff; color: var(--c-text); font-size: 14px;
  transition: all .16s ease;
}
.pager > li > a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager > li.thisclass { background: var(--c-brand); border-color: var(--c-brand); color: #fff; font-weight: 600; }
.pager > li > span { color: #B7C2D2; background: #FAFBFD; }
.pager li.pagelistinfo > span { border: 0; background: transparent; color: var(--c-muted); font-size: 12.5px; }

/* 搜索关键词高亮 */
.faq-item mark { background: #FFF1CE; color: #8A5B00; padding: 0 2px; border-radius: 3px; }

/* ---------- 10. 侧栏 ---------- */
.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.widget { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.widget__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-bottom: 1px solid var(--c-line-soft);
}
.widget__head h2 {
  font-size: 15px; font-weight: 700; color: var(--c-ink); letter-spacing: .3px;
  display: flex; align-items: center; gap: 8px;
}
.widget__head h2::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px;
  background: var(--c-brand);
}
.widget__more { font-size: 12.5px; color: var(--c-muted); }
.widget__more:hover { color: var(--c-brand); }
.widget__body { padding: 8px 18px 16px; }

/* 热门问答 */
.hot-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--c-line-soft); }
.hot-list li:last-child { border-bottom: 0; }
.hot-list .rank {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; border-radius: 5px;
  background: #F1F4F9; color: #8592A6;
  font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
}
.hot-list li:nth-child(-n+3) .rank { background: var(--c-brand); color: #fff; }
.hot-list a { font-size: 13.5px; line-height: 1.65; color: var(--c-text); }
.hot-list a:hover { color: var(--c-brand); }
.hot-list .views { display: block; font-size: 11.5px; color: #A0ABBB; margin-top: 2px; }

/* 产品导航 */
.prod-nav li + li { border-top: 1px solid var(--c-line-soft); }
.prod-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; color: var(--c-text); font-size: 14px;
}
.prod-nav a:hover { color: var(--c-brand); }
.prod-nav .ico {
  width: 28px; height: 28px; border-radius: 7px; flex: 0 0 auto;
  background: var(--c-brand-soft); color: var(--c-brand);
  display: grid; place-items: center; font-size: 13px;
}
.prod-nav .arrow { margin-left: auto; color: #C3CDDC; font-size: 12px; }
.prod-nav a:hover .arrow { color: var(--c-brand); }

/* 咨询卡 */
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 22px 20px; color: #fff;
  background: linear-gradient(160deg, #0B4DA2, #073A7B 70%);
  box-shadow: 0 12px 28px rgba(11, 77, 162, .22);
}
.cta-card::after {
  content: ""; position: absolute; right: -46px; bottom: -66px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 190, 190, .45), transparent 68%);
}
.cta-card__t { position: relative; font-size: 17px; font-weight: 700; margin-bottom: 6px;color: #fff }
.cta-card__d {
  position: relative; font-size: 13px; line-height: 1.7;
  color: rgba(255, 255, 255, .82); margin-bottom: 16px;
}
.cta-card__tel {
  position: relative; display: flex; align-items: center; gap: 9px;
  font-size: 21px; font-weight: 700; letter-spacing: 3px; color: #fff;
  margin-bottom: 14px;
}
.cta-card__tel:hover { color: #FFD08A; }
.cta-card .btn { position: relative; width: 100%; height: 40px; }
.cta-card__note {
  position: relative; margin-top: 12px; font-size: 11.5px;
  color: rgba(255, 255, 255, .62); text-align: center;
}

/* ---------- 11. 页脚 ---------- */
.site-foot { background: #0C1726; color: #93A3B8; font-size: 13.5px; }
.site-foot__main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px;
  padding: 48px 0 36px;
}
.site-foot h3 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.site-foot a { color: #93A3B8; }
.site-foot a:hover { color: #fff; }
.site-foot__brand .logo { margin-bottom: 14px; }
.site-foot__brand .logo__name { color: #fff; }
.site-foot__brand .logo__sub { color: #6C7C92; }
.site-foot__desc { line-height: 1.85; color: #7E8EA3; font-size: 13px; }
.site-foot__list li { margin-bottom: 9px; }
.site-foot__contact li { display: flex; gap: 9px; margin-bottom: 11px; line-height: 1.7; }
.site-foot__contact .ico { color: #4E83C8; flex: 0 0 auto; }
.site-foot__contact b { color: #fff; font-size: 16px; letter-spacing: .4px; }
.site-foot__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; padding: 18px 0 26px; border-top: 1px solid #1B2839;
  font-size: 12.5px; color: #6C7C92;
}
.site-foot__bottom .links { display: flex; flex-wrap: wrap; gap: 16px; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 50;
  width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 50%;
  background: #fff; color: var(--c-brand); box-shadow: var(--shadow-m);
  display: grid; place-items: center; font-size: 16px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; }
  .site-foot__main { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .nav, .head-tel { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-head.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-m);
  }
  .site-head.is-open .nav a { line-height: 46px; padding: 0 4px; }
  .site-head.is-open .nav a::after { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .page-hero { padding: 30px 24px 26px; border-radius: var(--radius); }
  .page-hero h1 { font-size: 26px; }
  .page-hero__stats { gap: 24px; }
  .topbar__hot { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 14px; }
  .page-hero__desc { font-size: 14px; }
  .page-hero__stat b { font-size: 20px; }
  .faq-item { padding: 18px 16px; }
  .faq-item__a, .faq-item__meta { margin-left: 0; }
  .faq-item__title { font-size: 15.5px; }
  .faq-item__more { margin-left: 0; width: 100%; }
  .panel__head { padding: 16px 16px 12px; }
  .search-box { flex: 1 1 100%; }
  .site-foot__main { grid-template-columns: 1fr; gap: 24px; padding: 34px 0 26px; }
  .to-top { right: 14px; bottom: 18px; }
}
