/**
 * FAQ页面专用样式
 * 文件路径: /public/css/faq-page.css
 * 创建日期: 2026-04-23
 */

/* ========== 页面基础布局 ========== */
.faq-section {
    padding: 60px 0 100px;
    background: #fff;
    min-height: calc(100vh - 111px - 200px);
}

.faq-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 80px;
}

/* ========== 左侧侧边栏 ========== */
.faq-sidebar {
    width: 300px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-top: 20px;
}

.faq-title {
    font-size: 42px;
    color: #464646;
    margin-bottom: 12px;
    line-height: 1.3;
}

.faq-subtitle {
    font-size: 18px;
    color: #464646;
    margin-bottom: 30px;
    line-height: 1.6;
}

.faq-contact-link {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    color: #0C4DE3;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.faq-contact-link span {
    margin-right: 8px;
}

.faq-contact-link i {
    font-size: 20px;
}

.faq-contact-link:hover {
    text-decoration: none;
}

/* ========== 右侧内容区 ========== */
.faq-content {
    -ms-flex: 1;
    flex: 1;
    max-width: 1000px;
}

/* ========== 手风琴样式 ========== */
.faq-accordion {
    border-top: 1px solid #e8e8e8;
}

.faq-item {
    border-bottom: 1px solid #e8e8e8;
}

.faq-question {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question span {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    line-height: 1.5;
    padding-right: 20px;
}

.faq-icon {
    font-size: 18px;
    color: #999;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.faq-item.active .faq-question span {
    color: #197AFF;
}

.faq-item.active .faq-icon {
    color: #197AFF;
}

.faq-question:hover span {
    color: #197AFF;
}

/* 答案区域 */
.faq-answer {
    display: none;
    overflow: hidden;
}

.faq-answer-inner {
    padding: 0 0 20px;
}

.faq-answer-inner p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner strong {
    color: #333;
    font-weight: 600;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1199px) {
    .faq-wrapper {
        gap: 50px;
    }
    
    .faq-sidebar {
        width: 240px;
    }
}

@media (max-width: 992px) {
    .faq-section {
        padding: 40px 0 60px;
    }
    
    .faq-wrapper {
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 30px;
    }
    
    .faq-sidebar {
        width: 100%;
        text-align: center;
        padding-top: 0;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-subtitle {
        margin-bottom: 15px;
    }
    
    .faq-content {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 30px 0 50px;
    }
    
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 16px 0;
    }
    
    .faq-question span {
        font-size: 14px;
    }
    
    .faq-answer-inner {
        padding: 0 0 16px;
    }
    
    .faq-answer-inner p {
        font-size: 13px;
    }
}
