@charset "utf-8";
/* =========================================================================
   FAQ 页面版式优化 - 2026-11-09
   背景: 原版把筛选条下方的分类名渲染成 48px 巨型 "ALL" 标题,与筛选条重复;
        问题 27px / 答案 14px 比例失衡,答案像小字脚注;分页把问答切成 5 页。
   本文件只作用于 .lh-faq 容器,不改动 lplug 公共样式与其它页面。
   ========================================================================= */

/* ---------- 头部 ---------- */
.lh-faq .public-title .title {
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.lh-faq .public-title pre.ccont {
    font-family: var(--font);
    white-space: normal;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray6);
    max-width: 640px;
    margin: 14px auto 0;
}

/* ---------- 分类筛选 ---------- */
.lh-faq .filter-nav {
    margin-top: var(--size-30);
    margin-bottom: var(--size-20);
    gap: 8px;
    flex-wrap: wrap;
}
.lh-faq .filter-nav a {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.02em;
    padding: 10px 18px;
    border: 1px solid var(--color-stroke);
    transition: color .25s, background-color .25s, border-color .25s;
}
.lh-faq .filter-nav a:hover {
    border-color: #111;
    color: #111;
}
.lh-faq .filter-nav a.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

/* ---------- 列表头(原 48px 巨型 ALL 标题) ---------- */
.lh-faq .l-mg100 {
    margin-top: 0;
}
.faq-list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-line);
}
.faq-list-head .faq-list-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.faq-list-head .faq-count {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-gray6);
    white-space: nowrap;
}

/* ---------- 问答列表 ---------- */
.lh-faq .questions-item {
    margin-top: 0;
    margin-bottom: var(--size-40);
}
.lh-faq .questions-item > li {
    border-bottom: 1px solid var(--color-line);
}
.lh-faq .questions-item > li .title {
    padding: 20px 0;
}
.lh-faq .questions-item .title .left {
    font-size: 19px;
    line-height: 1.5;
    font-weight: 600;
    align-items: flex-start;
}
.lh-faq .questions-item .title .left em {
    font-style: normal;
}
.lh-faq .questions-item .title .right {
    padding-top: 4px;
}
.lh-faq .questions-item.list .q {
    flex: none;
    width: 26px;
    height: 26px;
    font-size: 12px;
    top: 0;
    margin-right: 14px;
}
.lh-faq .questions-item > li .cont {
    margin-bottom: 0;
}
.lh-faq .questions-item > li.active .cont {
    display: flex;
    align-items: flex-start;
    padding: 0 0 24px 40px;
}
.lh-faq .questions-item .cont em {
    font-style: normal;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray3);
}
.lh-faq .questions-item .cont .q {
    flex: none;
    width: 24px;
    height: 24px;
    font-size: 12px;
    top: 2px;
    margin-right: 14px;
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
    .lh-faq .public-title pre.ccont {
        font-size: 15px;
        padding: 0 4px;
    }
    .lh-faq .filter-nav {
        gap: 6px;
    }
    .lh-faq .filter-nav a {
        padding: 9px 14px;
        font-size: 12px;
    }
    .faq-list-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .lh-faq .questions-item .title .left {
        font-size: 17px;
        line-height: 1.45;
    }
    .lh-faq .questions-item.list .q {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-right: 10px;
    }
    .lh-faq .questions-item > li.active .cont {
        padding: 0 0 20px 32px;
    }
    .lh-faq .questions-item .cont em {
        font-size: 15px;
        line-height: 1.75;
    }
}
