/* ==========================================================================
   FAQ 问答知识库 · 前台样式
   - 独立页面（列表 / 分类 / 详情）与内容页注入区块共用
   - 自带 --faq-* 变量，不依赖主题内部实现；变量值取本项目站点色（#01539c）
   - 列表页版式：顶栏 → 左栏粘性分类目录 → 右栏筛选条 + 问答卡片墙
   ========================================================================== */

:root {
    --faq-primary: #01539c;
    --faq-primary-dark: #08447f;
    --faq-primary-soft: #eaf2fa;
    --faq-accent: #cf0000;
    --faq-ink: #1c2536;
    --faq-text: #4b5566;
    --faq-muted: #8b93a3;
    --faq-line: #e8ebf1;
    --faq-bg-soft: #f6f9fc;
    --faq-radius: 14px;
    --faq-shadow: 0 10px 30px rgba(16, 36, 71, .07);
    --faq-ease: cubic-bezier(.22, .61, .36, 1);
    --faq-wrap: 1400px;
    --faq-gutter: 20px;
    --faq-header-h: 60px;
}

.faq-page,
.faq-embed {
    color: var(--faq-text);
    font-size: 15px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

.faq-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: calc(var(--faq-wrap) + var(--faq-gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--faq-gutter);
}

/* 键盘焦点环（不影响鼠标观感）；输入框的焦点状态交给外层容器表达，
   否则胶囊/长条输入框上会出现一整圈很突兀的蓝色矩形。 */
.faq-page a:focus-visible,
.faq-page button:focus-visible,
.faq-page summary:focus-visible {
    outline: 2px solid var(--faq-primary);
    outline-offset: 2px;
    border-radius: 6px;
}

.faq-page input:focus,
.faq-page input:focus-visible {
    outline: none;
}

/* --------------------------------------------------------------------------
   ① 顶部横幅
   -------------------------------------------------------------------------- */
.faq-hero {
    position: relative;
    overflow: hidden;
    padding: 36px 0 32px;
    background: linear-gradient(180deg, #f1f7fc 0%, #f7fafd 58%, #ffffff 100%);
    border-bottom: 1px solid var(--faq-line);
}

/* 右上柔光：避免大面积纯色发闷 */
.faq-hero::before {
    content: "";
    position: absolute;
    top: -190px;
    right: -130px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(1, 83, 156, .11), rgba(1, 83, 156, 0) 68%);
    pointer-events: none;
}

/* 细点阵：向下渐隐，做质感但不抢内容 */
.faq-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(1, 83, 156, .13) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 62%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 62%);
    pointer-events: none;
}

.faq-hero > .faq-wrap {
    position: relative;
    z-index: 1;
}

.faq-hero--detail {
    padding: 32px 0 28px;
}

/* ---- 有横幅图时（图取广告位「常见问题banner」，仅用图，文案仍由页面自身提供）---- */
.faq-hero--banner {
    border-bottom: 0;
    background-color: #0b3f72;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 文字压在图片左侧：左侧加深保证可读，右侧留出画面 */
.faq-hero--banner::before {
    inset: 0;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    background: linear-gradient(96deg,
        rgba(4, 26, 48, .90) 0%,
        rgba(4, 30, 55, .76) 36%,
        rgba(6, 38, 70, .36) 68%,
        rgba(6, 38, 70, .08) 100%);
}

/* 点阵改白色细点，保留质感而不抢画面 */
.faq-hero--banner::after {
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
}

.faq-hero--banner .faq-crumb,
.faq-hero--banner .faq-crumb a {
    color: rgba(255, 255, 255, .74);
}

.faq-hero--banner .faq-crumb a:hover {
    color: #fff;
}

.faq-hero--banner .faq-crumb span {
    color: rgba(255, 255, 255, .42);
}

.faq-hero--banner .faq-crumb em {
    color: #fff;
}

.faq-hero--banner .faq-hero__kicker {
    color: #cfe4fa;
}

/* 与横幅底部的橙色分隔线呼应 */
.faq-hero--banner .faq-hero__kicker i {
    background: #f0a04b;
}

.faq-hero--banner .faq-hero__title {
    color: #fff;
}

.faq-hero--banner .faq-hero__sub {
    color: rgba(255, 255, 255, .84);
}

.faq-hero--banner .faq-hero__note {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* 数据面板与搜索胶囊：白得更实，避免与画面花纹互相干扰 */
.faq-hero--banner .faq-hero__stat {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(255, 255, 255, .5);
}

.faq-hero--banner .faq-search {
    border-color: transparent;
    box-shadow: 0 12px 32px -14px rgba(3, 22, 41, .6);
}

.faq-hero--banner .faq-hot > span {
    color: rgba(255, 255, 255, .7);
}

.faq-hero--banner .faq-hot a {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.faq-hero--banner .faq-hot a:hover {
    background: #fff;
    border-color: #fff;
    color: var(--faq-primary);
}

.faq-crumb {
    margin-bottom: 18px;
    color: var(--faq-muted);
    font-size: 13px;
}

.faq-crumb a {
    color: var(--faq-muted);
    text-decoration: none;
    transition: color .2s;
}

.faq-crumb a:hover {
    color: var(--faq-primary);
}

.faq-crumb span {
    margin: 0 7px;
    color: #c6cfdd;
}

.faq-crumb em {
    font-style: normal;
    color: var(--faq-text);
}

/* 标题区 + 数据条：左右两端对齐，底部齐平 */
.faq-hero__grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.faq-hero__lead {
    flex: 1 1 480px;
    min-width: 0;
}

.faq-hero__kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: var(--faq-primary);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.faq-hero__kicker i {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--faq-accent);
}

.faq-hero__title {
    margin: 0;
    color: var(--faq-ink);
    font-size: 32px;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: .2px;
}

.faq-hero__title--q {
    max-width: 980px;
    font-size: 27px;
}

.faq-hero__sub {
    margin: 10px 0 0;
    max-width: 680px;
    color: var(--faq-muted);
    font-size: 15px;
    line-height: 1.8;
}

.faq-hero__note {
    display: inline-block;
    margin: 14px 0 0;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 999px;
    color: var(--faq-primary-dark);
    font-size: 13px;
}

/* 右侧数据面板：白卡 + 图标方块 + 竖分隔线（原「裸数字右对齐」版式偏简陋） */
.faq-hero__stat {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 4px;
    background: rgba(255, 255, 255, .80);
    border: 1px solid rgba(1, 83, 156, .10);
    border-radius: 18px;
    box-shadow: 0 18px 36px -22px rgba(16, 36, 71, .32);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.faq-hero__stat-i {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 20px;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: background-color .22s var(--faq-ease);
}

/* 项间竖线：挂在后一项左缘，居中 26px 高 */
.faq-hero__stat-i + .faq-hero__stat-i::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 26px;
    background: rgba(1, 83, 156, .13);
    transform: translateY(-50%);
}

/* 图标：浅蓝渐变圆角方块 */
.faq-hero__stat-ico {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #e9f2fc, #dae9f9);
    border-radius: 11px;
    color: var(--faq-primary);
    transition: background .22s var(--faq-ease), color .22s var(--faq-ease);
}

.faq-hero__stat-ico svg {
    width: 17px;
    height: 17px;
}

.faq-hero__stat-b {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
    text-align: left;
}

.faq-hero__stat-b b {
    color: var(--faq-ink);
    font-size: 21px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.faq-hero__stat-b em {
    margin-top: 5px;
    color: var(--faq-muted);
    font-size: 12px;
    font-style: normal;
    letter-spacing: .04em;
    white-space: nowrap;
}

/* 电话：整块可点，悬停时图标反白加深 */
.faq-hero__stat-i--tel .faq-hero__stat-b b {
    color: var(--faq-primary);
    font-size: 18px;
}

.faq-hero__stat-i--tel:hover {
    background: rgba(1, 83, 156, .055);
}

.faq-hero__stat-i--tel:hover .faq-hero__stat-ico {
    background: linear-gradient(145deg, var(--faq-primary), var(--faq-primary-dark));
    color: #fff;
}

/* 搜索：整颗胶囊，按钮贴在右端 */
.faq-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 660px;
    margin-top: 24px;
    padding: 6px 6px 6px 46px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 999px;
    box-shadow: 0 8px 26px rgba(16, 36, 71, .06);
    transition: border-color .22s var(--faq-ease), box-shadow .22s var(--faq-ease);
}

.faq-search:focus-within {
    border-color: rgba(1, 83, 156, .45);
    box-shadow: 0 10px 30px rgba(1, 83, 156, .15);
}

.faq-search__ico {
    position: absolute;
    left: 18px;
    width: 18px;
    height: 18px;
    color: #9aa5b6;
    pointer-events: none;
}

.faq-search__ico svg {
    display: block;
    width: 100%;
    height: 100%;
}

.faq-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 8px;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--faq-ink);
    font-size: 14.5px;
    outline: none;
}

.faq-search input::placeholder {
    color: #a9b2c0;
}

.faq-search input::-webkit-search-cancel-button {
    display: none;
}

.faq-search button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 28px;
    background: linear-gradient(135deg, var(--faq-primary-dark), var(--faq-primary));
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 14.5px;
    letter-spacing: .06em;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}

.faq-search button:hover {
    opacity: .93;
}

.faq-search button:active {
    transform: scale(.98);
}

/* 热门搜索词 */
.faq-hot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.faq-hot > span {
    color: var(--faq-muted);
    font-size: 13px;
}

.faq-hot a {
    padding: 5px 13px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 999px;
    color: #5a6c88;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s, border-color .2s, background-color .2s;
}

.faq-hot a:hover {
    border-color: rgba(1, 83, 156, .4);
    background: #f4f8fd;
    color: var(--faq-primary);
}

/* 详情页的元信息行 */
.faq-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: var(--faq-muted);
    font-size: 13px;
}

.faq-meta a {
    color: var(--faq-primary);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   ② 主体骨架
   -------------------------------------------------------------------------- */
.faq-main {
    padding: 26px var(--faq-gutter) 64px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

/* 左栏吸顶常驻（页头 60px + 呼吸位） */
.faq-side {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--faq-header-h) + 22px);
    display: grid;
    gap: 16px;
}

.faq-side__box {
    padding: 18px 18px 20px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: var(--faq-radius);
}

.faq-side__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--faq-ink);
    font-size: 15px;
    font-weight: 700;
}

.faq-side__title::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--faq-primary), var(--faq-primary-dark));
}

.faq-cates {
    display: grid;
    gap: 2px;
}

.faq-cate {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--faq-text);
    font-size: 14px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.faq-cate span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.faq-cate em {
    flex: 0 0 auto;
    min-width: 26px;
    padding: 1px 7px;
    background: #f1f4f9;
    border-radius: 999px;
    color: #93a0b4;
    font-size: 12px;
    font-style: normal;
    text-align: center;
}

.faq-cate:hover {
    background: #f5f8fc;
    color: var(--faq-primary);
}

.faq-cate.is-active {
    background: linear-gradient(90deg, var(--faq-primary-soft), #f6fafe);
    color: var(--faq-primary);
    font-weight: 600;
}

.faq-cate.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 16px;
    border-radius: 0 2px 2px 0;
    background: var(--faq-primary);
    transform: translateY(-50%);
}

.faq-cate.is-active em {
    background: #fff;
    color: var(--faq-primary);
}

/* 咨询卡 */
.faq-side__box--help {
    background: linear-gradient(160deg, #f2f7fc, #ffffff 72%);
}

.faq-side__box--help strong {
    display: block;
    color: var(--faq-ink);
    font-size: 14.5px;
    font-weight: 700;
}

.faq-side__box--help p {
    margin: 8px 0 14px;
    color: var(--faq-muted);
    font-size: 12.5px;
    line-height: 1.75;
}

.faq-side__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    background: linear-gradient(135deg, var(--faq-primary-dark), var(--faq-primary));
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: opacity .2s;
}

.faq-side__tel svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.faq-side__tel:hover {
    opacity: .93;
}

/* --------------------------------------------------------------------------
   ③ 右栏：筛选条
   -------------------------------------------------------------------------- */
.faq-bar {
    position: -webkit-sticky;
    position: sticky;
    top: var(--faq-header-h);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--faq-line);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16, 36, 71, .05);
    transition: border-color .22s var(--faq-ease), box-shadow .22s var(--faq-ease);
}

.faq-bar:focus-within {
    border-color: rgba(1, 83, 156, .45);
    box-shadow: 0 8px 22px rgba(1, 83, 156, .12);
}

.faq-bar__filter {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.faq-bar__ico {
    position: absolute;
    left: 0;
    width: 15px;
    height: 15px;
    color: #9aa5b6;
    pointer-events: none;
}

.faq-bar__ico svg {
    display: block;
    width: 100%;
    height: 100%;
}

.faq-bar__filter input {
    width: 100%;
    height: 34px;
    padding: 0 26px 0 23px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--faq-ink);
    font-size: 14px;
    outline: none;
}

.faq-bar__filter input::placeholder {
    color: #a9b2c0;
}

.faq-bar__filter input::-webkit-search-cancel-button {
    display: none;
}

.faq-bar__clear {
    position: absolute;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    background: #e9eef5;
    border: 0;
    border-radius: 50%;
    color: #8494a8;
    font-size: 13px;
    line-height: 19px;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.faq-bar__clear:hover {
    background: var(--faq-primary);
    color: #fff;
}

.faq-bar__count {
    flex: 0 0 auto;
    margin: 0;
    color: var(--faq-muted);
    font-size: 13px;
    white-space: nowrap;
}

.faq-bar__count b {
    margin: 0 2px;
    color: var(--faq-primary);
    font-size: 15px;
}

.faq-bar__count a {
    margin-left: 8px;
    color: var(--faq-primary);
    text-decoration: none;
}

.faq-bar__count a:hover {
    text-decoration: underline;
}

/* 命中的关键词高亮 */
.faq-page mark,
.faq-embed mark {
    padding: 0 1px;
    background: #fff2b8;
    border-radius: 2px;
    color: inherit;
}

/* 即时筛选：无匹配提示 */
.faq-filter-empty {
    margin-top: 4px;
    padding: 46px 24px;
    background: #fff;
    border: 1px dashed #d8e0ec;
    border-radius: var(--faq-radius);
    color: var(--faq-muted);
    font-size: 14px;
    text-align: center;
}

.faq-filter-empty strong {
    color: var(--faq-primary);
}

/* --------------------------------------------------------------------------
   ④ 问答列表：分类分组 + 卡片墙
   -------------------------------------------------------------------------- */
.faq-groups {
    display: grid;
    gap: 32px;
}

.faq-group__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--faq-line);
}

.faq-group__name {
    display: flex;
    align-items: center;
    color: var(--faq-ink);
    font-size: 17px;
    font-weight: 700;
}

.faq-group__name::before {
    content: "";
    width: 3px;
    height: 15px;
    margin-right: 9px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--faq-primary), var(--faq-primary-dark));
}

.faq-group__head em {
    padding: 1px 9px;
    background: var(--faq-primary-soft);
    border-radius: 999px;
    color: var(--faq-primary);
    font-size: 12px;
    font-style: normal;
}

.faq-group__more {
    margin-left: auto;
    color: var(--faq-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
}

.faq-group__more:hover {
    color: var(--faq-primary);
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* 卡片：底栏用 margin-top:auto 吸底 → 同一行卡片底边齐平 */
.faq-card {
    display: flex;
    flex-direction: column;
    padding: 18px 20px 15px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: var(--faq-radius);
    transition: border-color .25s var(--faq-ease), box-shadow .25s var(--faq-ease),
                transform .25s var(--faq-ease);
}

.faq-card:hover {
    border-color: rgba(1, 83, 156, .28);
    box-shadow: var(--faq-shadow);
    transform: translateY(-2px);
}

.faq-card__q {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--faq-ink);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
}

.faq-card__q a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.faq-card__q a:hover {
    color: var(--faq-primary);
}

.faq-card__mark {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    background: linear-gradient(135deg, var(--faq-primary-dark), var(--faq-primary));
    border-radius: 6px;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 20px;
    text-align: center;
}

/* 答案悬挂缩进对齐问题正文（标记 20 + 间距 10） */
.faq-card__a {
    margin-top: 9px;
    padding-left: 30px;
}

.faq-card__text {
    color: var(--faq-text);
    font-size: 14.5px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.faq-card__text a {
    color: var(--faq-primary);
    border-bottom: 1px dashed rgba(1, 83, 156, .4);
    text-decoration: none;
}

.faq-card__text a:hover {
    border-bottom-style: solid;
}

.faq-card__variants {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-left: 30px;
}

.faq-card__variants > span {
    color: var(--faq-muted);
    font-size: 12.5px;
}

.faq-card__variants em {
    padding: 2px 9px;
    background: #f2f6fb;
    border-radius: 999px;
    color: #66768e;
    font-size: 12.5px;
    font-style: normal;
}

.faq-card__foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f4f9;
    font-size: 12.5px;
}

.faq-card__variants + .faq-card__foot {
    margin-top: 12px;
}

.faq-card__cate {
    color: var(--faq-muted);
    text-decoration: none;
    transition: color .2s;
}

a.faq-card__cate:hover {
    color: var(--faq-primary);
}

.faq-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--faq-primary);
    text-decoration: none;
}

.faq-card__more svg {
    width: 12px;
    height: 12px;
    transition: transform .22s var(--faq-ease);
}

.faq-card__more:hover svg {
    transform: translateX(3px);
}

/* 即时筛选隐藏态 */
.faq-card.is-off,
.faq-group.is-off {
    display: none !important;
}

/* --------------------------------------------------------------------------
   ⑤ 空态 / 分页 / 底部说明
   -------------------------------------------------------------------------- */
.faq-empty {
    padding: 56px 24px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: var(--faq-radius);
    text-align: center;
}

.faq-empty strong {
    display: block;
    margin-bottom: 8px;
    color: var(--faq-ink);
    font-size: 17px;
}

.faq-empty p {
    margin: 0 0 20px;
    color: var(--faq-muted);
    font-size: 14px;
}

.faq-empty__act {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.faq-empty__act a {
    padding: 9px 22px;
    border: 1px solid var(--faq-line);
    border-radius: 9px;
    color: var(--faq-text);
    font-size: 14px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.faq-empty__act a:first-child {
    background: linear-gradient(135deg, var(--faq-primary-dark), var(--faq-primary));
    border-color: transparent;
    color: #fff;
}

.faq-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
}

.faq-pager a,
.faq-pager span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 9px;
    color: var(--faq-text);
    font-size: 14px;
    line-height: 36px;
    text-align: center;
    text-decoration: none;
    transition: border-color .2s, color .2s, background-color .2s;
}

.faq-pager a:hover {
    border-color: var(--faq-primary);
    color: var(--faq-primary);
}

.faq-pager .is-current {
    background: linear-gradient(135deg, var(--faq-primary-dark), var(--faq-primary));
    border-color: transparent;
    color: #fff;
}

.faq-pager .is-disabled,
.faq-pager .is-gap {
    background: transparent;
    border-color: transparent;
    color: #c3cbd9;
}

.faq-foot-note {
    margin-top: 36px;
    padding: 22px 26px;
    background: var(--faq-bg-soft);
    border: 1px solid var(--faq-line);
    border-radius: var(--faq-radius);
}

.faq-foot-note h2 {
    display: flex;
    align-items: center;
    margin: 0 0 10px;
    color: var(--faq-ink);
    font-size: 15.5px;
    font-weight: 700;
}

.faq-foot-note h2::before {
    content: "";
    width: 3px;
    height: 14px;
    margin-right: 9px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--faq-primary), var(--faq-primary-dark));
}

.faq-foot-note p {
    margin: 0;
    color: var(--faq-text);
    font-size: 14px;
}

.faq-foot-note a {
    color: var(--faq-primary);
}

/* --------------------------------------------------------------------------
   ⑥ 详情页
   -------------------------------------------------------------------------- */
.faq-main--detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
}

.faq-detail {
    min-width: 0;
    padding: 30px 34px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: var(--faq-radius);
}

.faq-detail__a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.faq-detail__badge {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--faq-primary-dark), var(--faq-primary));
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 32px;
    text-align: center;
}

.faq-detail__body {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--faq-text);
    font-size: 15.5px;
    line-height: 1.95;
    word-break: break-word;
}

.faq-detail__body p {
    margin: 0 0 14px;
}

.faq-detail__body h2,
.faq-detail__body h3,
.faq-detail__body h4 {
    margin: 22px 0 10px;
    color: var(--faq-ink);
    font-size: 17px;
    font-weight: 600;
}

.faq-detail__body ul,
.faq-detail__body ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.faq-detail__body li {
    margin-bottom: 6px;
}

.faq-detail__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.faq-detail__body table {
    width: 100%;
    margin: 0 0 16px;
    border-collapse: collapse;
    font-size: 14px;
}

.faq-detail__body th,
.faq-detail__body td {
    padding: 10px 12px;
    border: 1px solid var(--faq-line);
}

.faq-detail__body th {
    background: var(--faq-bg-soft);
    color: var(--faq-ink);
}

.faq-answer-link {
    color: var(--faq-primary);
    border-bottom: 1px dashed rgba(1, 83, 156, .4);
    text-decoration: none;
}

.faq-answer-link:hover {
    border-bottom-style: solid;
}

/* 问法变体 */
.faq-variants {
    margin-top: 30px;
    padding: 20px 22px;
    background: var(--faq-bg-soft);
    border-radius: 10px;
}

.faq-variants__title {
    margin: 0 0 12px;
    color: var(--faq-ink);
    font-size: 15px;
    font-weight: 600;
}

.faq-variants ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-variants li {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 999px;
    color: var(--faq-text);
    font-size: 13.5px;
}

.faq-variants__tip {
    margin: 14px 0 0;
    color: var(--faq-muted);
    font-size: 13px;
}

/* 反馈 */
.faq-feedback {
    margin-top: 30px;
    padding: 22px;
    border: 1px dashed var(--faq-line);
    border-radius: 10px;
    text-align: center;
}

.faq-feedback > p {
    margin: 0 0 14px;
    color: var(--faq-muted);
    font-size: 14px;
}

.faq-feedback__act {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.faq-feedback__act button {
    height: 40px;
    padding: 0 24px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 8px;
    color: var(--faq-text);
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.faq-feedback__act button:hover:not(:disabled) {
    border-color: var(--faq-primary);
    color: var(--faq-primary);
}

.faq-feedback__act button:disabled {
    opacity: .55;
    cursor: default;
}

.faq-feedback__act em {
    font-style: normal;
    color: var(--faq-muted);
}

.faq-feedback__msg {
    margin: 14px 0 0;
    color: var(--faq-primary);
    font-size: 14px;
}

/* 本地信息 */
.faq-local {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--faq-line);
}

.faq-local h2 {
    margin: 0 0 14px;
    color: var(--faq-ink);
    font-size: 16px;
    font-weight: 600;
}

.faq-local ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-local li {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.faq-local li span {
    flex: 0 0 84px;
    color: var(--faq-muted);
}

.faq-local li strong {
    flex: 1 1 auto;
    color: var(--faq-ink);
    font-weight: 500;
}

.faq-local li a {
    color: var(--faq-primary);
    text-decoration: none;
}

.faq-local__tip {
    margin: 14px 0 0;
    color: var(--faq-muted);
    font-size: 13px;
}

/* 相关问答 */
.faq-related {
    padding: 24px 24px 20px;
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: var(--faq-radius);
}

.faq-related__title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--faq-line);
    color: var(--faq-ink);
    font-size: 16px;
    font-weight: 600;
}

.faq-related ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-related li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--faq-line);
}

.faq-related li:last-child {
    border-bottom: 0;
}

.faq-related li a {
    display: block;
    color: var(--faq-ink);
    font-size: 14.5px;
    line-height: 1.6;
    text-decoration: none;
}

.faq-related li a:hover {
    color: var(--faq-primary);
}

.faq-related li p {
    margin: 6px 0 0;
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 1.7;
}

.faq-related__all {
    display: block;
    margin-top: 14px;
    color: var(--faq-primary);
    font-size: 14px;
    text-align: center;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   ⑦ 内容页注入区块
   -------------------------------------------------------------------------- */
.faq-embed {
    max-width: calc(var(--faq-wrap) + var(--faq-gutter) * 2);
    box-sizing: border-box;
    margin: 40px auto 0;
    padding: 30px var(--faq-gutter) 20px;
    border-top: 1px solid var(--faq-line);
}

.faq-embed__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.faq-embed__head h2 {
    margin: 0;
    color: var(--faq-ink);
    font-size: 19px;
    font-weight: 700;
}

.faq-embed__head h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 17px;
    margin-right: 10px;
    background: linear-gradient(180deg, var(--faq-primary), var(--faq-primary-dark));
    border-radius: 2px;
    vertical-align: -2px;
}

.faq-embed__head a {
    color: var(--faq-primary);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.faq-embed__list {
    display: grid;
    gap: 10px;
}

.faq-embed__item {
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 10px;
    transition: border-color .2s;
}

.faq-embed__item[open] {
    border-color: #d6e2f7;
}

.faq-embed__item:hover {
    border-color: #d6e2f7;
}

.faq-embed__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 20px;
    cursor: pointer;
    list-style: none;
}

.faq-embed__item summary::-webkit-details-marker {
    display: none;
}

.faq-embed__q {
    color: var(--faq-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.faq-embed__item summary i {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid #9aa6b8;
    border-bottom: 2px solid #9aa6b8;
    transform: rotate(45deg);
    transition: transform .25s;
}

.faq-embed__item[open] summary i {
    transform: rotate(-135deg);
}

.faq-embed__a {
    padding: 0 20px 6px;
    color: var(--faq-text);
    font-size: 14px;
    line-height: 1.9;
}

.faq-embed__more {
    display: inline-block;
    margin: 0 20px 16px;
    color: var(--faq-primary);
    font-size: 13.5px;
    text-decoration: none;
}

.faq-embed__more:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   ⑧ 响应式
   -------------------------------------------------------------------------- */

/* ≤1200：左右栏同时收窄，卡片仍保持两列 */
@media screen and (max-width: 1200px) {
    .faq-layout {
        grid-template-columns: 214px minmax(0, 1fr);
        gap: 22px;
    }

    .faq-hero__title {
        font-size: 28px;
    }

    .faq-hero__title--q {
        font-size: 24px;
    }

    .faq-list {
        gap: 14px;
    }

    .faq-card {
        padding: 16px 17px 14px;
    }

    .faq-card__q {
        font-size: 15.5px;
    }
}

/* ≤992：左栏转为横滑胶囊条，内容区独占整行 */
@media screen and (max-width: 992px) {
    /* 站点头部在窄屏是 56px 高，吸顶元素要跟着改，否则会露出缝隙 */
    :root {
        --faq-header-h: 56px;
    }

    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .faq-side {
        position: static;
        top: auto;
        display: block;
    }

    .faq-side__box {
        padding: 14px 14px 16px;
    }

    .faq-cates {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        /* 横滑条不加可见滚动条（右侧被裁掉的胶囊本身就是可滑动的提示） */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .faq-cates::-webkit-scrollbar {
        display: none;
    }

    .faq-cate {
        flex: 0 0 auto;
        padding: 8px 15px;
        border: 1px solid var(--faq-line);
        border-radius: 999px;
        white-space: nowrap;
    }

    .faq-cate.is-active {
        border-color: transparent;
    }

    .faq-cate.is-active::before {
        display: none;
    }

    /* 窄屏页头已自带电话，咨询卡让位给内容 */
    .faq-side__box--help {
        display: none;
    }

    .faq-main--detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-hero {
        padding: 30px 0 26px;
    }

    .faq-hero--detail {
        padding: 26px 0 22px;
    }

    .faq-hero__stat-i {
        gap: 9px;
        padding: 10px 15px;
    }

    .faq-hero__stat-ico {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .faq-hero__stat-ico svg {
        width: 15px;
        height: 15px;
    }

    .faq-hero__stat-b b {
        font-size: 19px;
    }

    .faq-hero__stat-i--tel .faq-hero__stat-b b {
        font-size: 16px;
    }
}

/* ≤768：单列卡片、字号整体收一档 */
@media screen and (max-width: 768px) {
    .faq-page,
    .faq-embed {
        font-size: 14.5px;
    }

    .faq-wrap {
        padding: 0 16px;
    }

    .faq-main {
        padding: 20px 16px 48px;
    }

    .faq-hero {
        padding: 24px 0 22px;
    }

    .faq-crumb {
        margin-bottom: 14px;
    }

    .faq-hero__grid {
        gap: 20px;
    }

    .faq-hero__title {
        font-size: 23px;
    }

    .faq-hero__title--q {
        font-size: 20px;
    }

    .faq-hero__sub {
        font-size: 14px;
    }

    /* 换行落到标题下方时铺满整行，避免半宽卡片显得零散 */
    .faq-hero__stat {
        width: 100%;
    }

    .faq-hero__stat-i {
        flex: 1 1 auto;
        justify-content: center;
        gap: 8px;
        padding: 9px 12px;
    }

    .faq-hero__stat-ico {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .faq-hero__stat-b b {
        font-size: 17px;
    }

    .faq-hero__stat-b em {
        margin-top: 4px;
        font-size: 11.5px;
    }

    .faq-hero__stat-i--tel .faq-hero__stat-b b {
        font-size: 15px;
    }

    .faq-search {
        margin-top: 18px;
        padding: 5px 5px 5px 40px;
    }

    .faq-search__ico {
        left: 15px;
        width: 16px;
        height: 16px;
    }

    .faq-search input {
        height: 40px;
        font-size: 14px;
    }

    .faq-search button {
        height: 40px;
        padding: 0 20px;
        font-size: 14px;
    }

    .faq-hot {
        margin-top: 13px;
    }

    .faq-bar {
        gap: 10px;
        padding: 8px 12px;
    }

    .faq-bar__count {
        font-size: 12.5px;
    }

    .faq-bar__count b {
        font-size: 14px;
    }

    .faq-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .faq-card {
        padding: 15px 15px 13px;
    }

    .faq-card__q {
        font-size: 15px;
    }

    .faq-card__a,
    .faq-card__variants {
        padding-left: 27px;
    }

    .faq-card__text {
        font-size: 14px;
        line-height: 1.8;
    }

    .faq-groups {
        gap: 26px;
    }

    .faq-group__name {
        font-size: 16px;
    }

    .faq-foot-note {
        margin-top: 28px;
        padding: 18px 18px;
    }

    .faq-detail {
        padding: 22px 18px;
    }

    .faq-embed {
        padding: 26px 16px 16px;
    }

    .faq-embed__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ≤480：数据面板独占一行，三格等宽铺满 */
@media screen and (max-width: 480px) {
    .faq-hero__grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    /* 竖排时 flex-basis 会被当成「高度」用（480px）→ 必须清掉，否则标题下出现大块留白 */
    .faq-hero__lead {
        flex: 0 1 auto;
        width: 100%;
    }

    .faq-hero__stat {
        width: 100%;
        border-radius: 16px;
    }

    .faq-hero__stat-i {
        flex: 1 1 auto;
        gap: 7px;
        padding: 8px 7px;
        border-radius: 12px;
    }

    .faq-hero__stat-ico {
        width: 27px;
        height: 27px;
        border-radius: 8px;
    }

    .faq-hero__stat-ico svg {
        width: 14px;
        height: 14px;
    }

    .faq-hero__stat-b b {
        font-size: 16px;
    }

    .faq-hero__stat-b em {
        margin-top: 3px;
        font-size: 11px;
        letter-spacing: 0;
    }

    .faq-hero__stat-i--tel .faq-hero__stat-b b {
        font-size: 14px;
    }

    .faq-card__foot,
    .faq-group__head {
        flex-wrap: wrap;
    }

    .faq-card__foot {
        gap: 8px;
    }
}
