/* 常见问题各页共用样式 */
.faq-search-bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px 8px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.faq-search-bar input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}
.faq-search-bar input:focus {
    outline: none;
    border-color: #4293fb;
    box-shadow: 0 0 0 3px rgba(66, 147, 251, 0.15);
}
.faq-search-bar button {
    flex-shrink: 0;
    background: #4293fb;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}
.faq-search-no-results {
    display: none;
    text-align: center;
    color: #64748b;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
}
.faq-search-no-results.is-visible {
    display: block;
}
.sidebar-link.is-search-hidden {
    display: none !important;
}
.sidebar-section.is-search-hidden {
    display: none !important;
}
.faq-layout {
    display: flex;
    min-height: calc(100vh - 200px);
    width: 100%;
    max-width: var(--container-max, 1200px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: var(--space-6, 1.5rem);
    padding-right: var(--space-6, 1.5rem);
}
.faq-sidebar {
    width: 280px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 70px 0 0 20px;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: calc(100vh - 80px);
}
.sidebar-section {
    margin-bottom: 0;
}
.sidebar-title {
    font-weight: 600;
    color: #1e293b;
    padding: 10px 20px;
    font-size: 14px;
    background: #e2e8f0;
}
.sidebar-link {
    display: block;
    padding: 8px 20px 8px 30px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.sidebar-link:hover {
    background: #e0f2fe;
    color: #4293fb;
}
.sidebar-link.active {
    background: #e0f2fe;
    color: #4293fb;
    border-left-color: #4293fb;
    font-weight: 600;
}
.faq-content {
    flex: 1;
    padding: 100px 30px 30px 30px;
    max-width: 900px;
}
.faq-content-body {
    line-height: 1.8;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-content-body h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}
.faq-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.faq-content-body h3 {
    font-size: 18px;
    margin: 25px 0 15px;
    color: #1e293b;
    text-align: center;
    font-weight: 600;
}
.faq-content-body h4 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: #1e293b;
}
.faq-content-body p {
    margin-bottom: 15px;
    color: #475569;
}
.faq-content-body ul, .faq-content-body ol {
    margin-bottom: 15px;
    padding-left: 25px;
}
.faq-content-body li {
    margin-bottom: 8px;
    color: #475569;
}
@media (max-width: 768px) {
    .faq-layout {
        flex-direction: column;
    }
    .faq-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }
}
