/**
 * hfp 品牌与产品 FAQ 独立页样式。
 * 复用新闻中心导航、字体与页脚，只提供 FAQ 阅读和分类定位样式。
 */
.faq-page {
    font-family: "MizukiMing-Regular", "Songti SC", "STSong", serif;
}

.faq-main {
    padding: 54px 0 96px;
}

.faq-container {
    width: min(calc(100% - 180px), 1560px);
    margin: 0 auto;
}

.faq-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 36px;
    color: #77776f;
    font-size: 13px;
    line-height: 1.6;
}

.faq-breadcrumb a {
    color: #55554f;
}

.faq-breadcrumb a:hover {
    color: #ef3e08;
}

.faq-header {
    margin: 0 auto;
    text-align: center;
}

.faq-eyebrow {
    margin: 0 0 14px;
    color: #e83b08;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.2em;
}

.faq-title {
    margin: 0;
    font-size: clamp(28px, 1.9vw, 36px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.faq-intro {
    max-width: 940px;
    margin: 24px auto 0;
    color: #55554f;
    font-size: 16px;
    line-height: 1.9;
}

.faq-announcement {
    max-width: 940px;
    margin: 28px auto 0;
    padding: 18px 22px;
    border: 1px solid #cfcec6;
    background: #faf9f4;
    color: #55554f;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.faq-announcement p {
    margin: 0;
}

.faq-toc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.faq-toc li {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 3px 10px 4px;
    border: 1px solid #c8c7bf;
    color: #55554f;
    font-size: 11px;
    line-height: 1.4;
}

.faq-toc span {
    color: #8a8981;
    font-size: 11px;
}

.faq-category {
    margin-top: 64px;
    scroll-margin-top: 72px;
}

.faq-category:first-of-type {
    margin-top: 58px;
}

.faq-category-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
    font-size: clamp(23px, 1.65vw, 31px);
    font-weight: 600;
    line-height: 1.55;
}

.faq-category-title small {
    color: #77776f;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.faq-list {
    border-top: 0;
}

.faq-item {
    border-bottom: 1px solid #cfcec6;
    scroll-margin-top: 72px;
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 24px;
    align-items: start;
    padding: 22px 0;
    color: #141414;
    cursor: pointer;
    list-style: none;
}

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

.faq-question {
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.01em;
}

.faq-toggle {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.faq-toggle::before,
.faq-toggle::after {
    position: absolute;
    top: 10px;
    left: 2px;
    width: 18px;
    height: 1px;
    content: "";
    background: #141414;
}

.faq-toggle::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 48px 26px 0;
    color: #141414;
    font-size: clamp(15px, 0.94vw, 18px);
    line-height: 1.9;
    letter-spacing: 0.01em;
    /* will-change: height, opacity; */
}

.faq-answer p {
    margin: 0;
    /* font-size: 14px; */
}

.faq-answer p + p {
    margin-top: 24px;
}

.faq-note {
    margin-top: 84px;
    padding: 34px 38px;
    border-top: 1px solid #141414;
    border-bottom: 1px solid #141414;
    color: #55554f;
    font-size: 14px;
    line-height: 1.9;
}

.faq-note h2 {
    margin: 0 0 16px;
    color: #141414;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.5;
}

.faq-note p {
    margin: 0;
}

.faq-note p + p {
    margin-top: 12px;
}

.faq-back {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 46px 0 0;
    color: #77776f;
    font-size: 14px;
}

.faq-back a {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: #55554f;
}

.faq-back a:hover {
    color: #ef3e08;
}

@media (max-width: 940px) {
    .faq-container {
        width: calc(100% - 64px);
    }

    .faq-main {
        padding-top: 44px;
    }
}

@media (max-width: 760px) {
    .faq-main {
        padding: 36px 0 64px;
    }

    .faq-container {
        width: calc(100% - 32px);
    }

    .faq-breadcrumb {
        margin-bottom: 28px;
        font-size: 12px;
    }

    .faq-title {
        font-size: 26px;
    }

    .faq-eyebrow {
        margin-bottom: 12px;
        letter-spacing: 0.14em;
    }

    .faq-intro {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.85;
    }

    .faq-announcement {
        margin-top: 22px;
        padding: 16px;
        font-size: 13px;
    }

    .faq-toc {
        justify-content: flex-start;
        gap: 6px;
        margin-top: 18px;
    }

    .faq-toc li {
        padding: 4px 9px;
        font-size: 11px;
    }

    .faq-category {
        margin-top: 48px;
    }

    .faq-category:first-of-type {
        margin-top: 40px;
    }

    .faq-category-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .faq-item summary {
        gap: 16px;
        padding: 20px 0;
    }

    .faq-question {
        font-size: 15px;
        line-height: 1.85;
    }

    .faq-answer {
        padding: 0 28px 24px 0;
        font-size: 15px;
        line-height: 1.85;
    }

    .faq-note {
        margin-top: 62px;
        padding: 26px 20px;
        font-size: 13px;
    }
}

