
#vapeple-faq-wrapper {
    background-color: #f9f9f9;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 60px 20px;
    margin: 0 auto;
}
#vapeple-faq-wrapper .faq-container {
    max-width: 1100px;
    margin: 0 auto;
}
#vapeple-faq-wrapper .faq-hero {
    text-align: center;
    margin-bottom: 50px;
}
#vapeple-faq-wrapper .faq-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}
#vapeple-faq-wrapper .faq-hero p {
    font-size: 16px;
    color: #666;
}
#vapeple-faq-wrapper .faq-content-layout {
    display: flex !important;
    gap: 40px !important;
    align-items: stretch !important; /* 核心强制拉平：确保外侧占位容器拉伸至与右侧内容等高，使 absolute 底部限位完美配合 */
    position: relative !important;
}
/* 外层 sidebar 容器：在文档流中保留 250px 宽度，使右侧 QA 在任何情况下都不重叠 */
#vapeple-faq-wrapper .faq-sidebar {
    width: 250px !important;
    flex-shrink: 0 !important;
    position: relative !important;
}
/* 内层实际悬浮的容器 */
#vapeple-faq-wrapper .faq-sidebar-inner {
    width: 100%;
    box-sizing: border-box;
}
#vapeple-faq-wrapper .faq-sidebar-inner .faq-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid #e5e5e5;
}
#vapeple-faq-wrapper .faq-sidebar-inner .faq-nav-link {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}
#vapeple-faq-wrapper .faq-sidebar-inner .faq-nav-link.active,
#vapeple-faq-wrapper .faq-sidebar-inner .faq-nav-link:hover {
    color: #000;
    font-weight: 700;
    border-left: 2px solid #000;
    margin-left: -2px;
}
/* 主内容区样式 */
#vapeple-faq-wrapper .faq-main {
    flex-grow: 1;
}
#vapeple-faq-wrapper .faq-section {
    margin-bottom: 50px;
}
#vapeple-faq-wrapper .faq-section:last-child {
    margin-bottom: 0;
}
#vapeple-faq-wrapper .section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    color: #000;
}
/* 手风琴条目样式 */
#vapeple-faq-wrapper .faq-item {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
#vapeple-faq-wrapper .faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
#vapeple-faq-wrapper .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    transition: color 0.3s ease;
}
#vapeple-faq-wrapper .faq-item.active .faq-question {
    color: #000;
}
#vapeple-faq-wrapper .faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
/* 自定义加减号 */
#vapeple-faq-wrapper .faq-icon::before,
#vapeple-faq-wrapper .faq-icon::after {
    content: '';
    position: absolute;
    background-color: #000;
    transition: transform 0.3s ease;
}
#vapeple-faq-wrapper .faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}
#vapeple-faq-wrapper .faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}
#vapeple-faq-wrapper .faq-item.active .faq-icon {
    transform: rotate(45deg);
}
#vapeple-faq-wrapper .faq-item.active .faq-icon::after {
    transform: scaleY(0);
}
#vapeple-faq-wrapper .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#vapeple-faq-wrapper .faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #444;
    line-height: 1.6;
    font-size: 14px;
}
#vapeple-faq-wrapper .faq-answer ul {
    padding: 0 20px 20px 40px;
    margin: 0;
    color: #444;
    line-height: 1.6;
    font-size: 14px;
}
#vapeple-faq-wrapper .faq-answer ul li {
    margin-bottom: 8px;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    #vapeple-faq-wrapper {
        padding: 40px 15px;
    }
    #vapeple-faq-wrapper .faq-content-layout {
        flex-direction: column;
    }
    #vapeple-faq-wrapper .faq-sidebar {
        display: none !important; /* 移动端彻底隐藏分类侧栏，减少空间占用 */
    }
    #vapeple-faq-wrapper .faq-hero h1 {
        font-size: 28px;
    }
    #vapeple-faq-wrapper .faq-question {
        padding: 16px;
        font-size: 15px;
    }
    #vapeple-faq-wrapper .faq-answer p,
    #vapeple-faq-wrapper .faq-answer ul {
        padding: 0 16px 16px 16px;
    }
}
