/* 常见问题页面样式 */
.faq-page {
    position: relative;
    width: max(1200px, 100vw);
    overflow: hidden;
}

.faq-container {
    width: 100%;
}

.faq-content {
    position: relative;
    width: 100%;
}

.page-header {
    height: max(50.04px, 4.17vw);
    background: url(/static/index/static/image/meeting_content_slices/page-header.png)
    100% no-repeat;
    background-size: 100% 100%;
    width: max(1200px, 100vw);
}

.page-title {
    width: max(72px, 6vw);
    height: max(17.52px, 1.46vw);
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: max(18.72px, 1.56vw);
    font-family: AlibabaPuHuiTi_2_55_Regular;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    line-height: max(18.84px, 1.57vw);
    margin: max(21.24px, 1.77vw) 0 0 max(229.92px, 19.16vw);
}

/* 主要内容区域 */
.faq-main {
    box-shadow: 5px 9px 21px 0px rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 1);
    border-radius: 5px;
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 1200px;
    display: flex;
    gap: 40px;
}

/* 左侧内容 */
.faq-left {
    flex: 1;
    min-width: 0;
}

/* 分类按钮 */
.faq-category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.faq-category-tab {
    padding: 10px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-tab:hover {
    border-color: #007bff;
    color: #007bff;
}

.faq-category-tab.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* 问题列表 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    background: #fff;
}

.faq-question-text {
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

.faq-question-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.expanded .faq-question-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 10px 24px 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    background: #f9fafc;
}

.faq-item.expanded .faq-answer {
    display: block;
}

/* 加载更多 */
.faq-load-more {
    text-align: center;
    margin-top: 30px;
}

.faq-load-more-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #fff;
    border: 1px solid #007bff;
    border-radius: 6px;
    color: #007bff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-load-more-btn:hover {
    background: #007bff;
    color: #fff;
}

/* 无数据提示 */
.faq-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}

/* 右侧二维码区域 */
.faq-right {
    width: 200px;
    flex-shrink: 0;
}

.faq-contact {
    position: sticky;
    top: 20px;
    width: 100%;
    height: 426px;
    background: url(/static/index/static/image/topic_slices/faq-contact-bg.png) 100% no-repeat;
    background-size: 100% 100%;
}

.faq-contact-faq-contact-text {
    width: 105px;
    height: 42px;
    margin: 29px 0 0 43px;
}

.faq-contact-title {
    font-size: 17px;
    color: rgba(255, 255, 255, 1);
    font-family: AlibabaPuHuiTi_2_65_Medium;
    font-weight: normal;
    line-height: 1.2;
    white-space: nowrap;
}

.faq-contact-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 1);
    font-family: AlibabaPuHuiTi_2_45_Light;
    font-weight: normal;
    line-height: 1.3;
    white-space: nowrap;
    margin-top: 10px;
}

.faq-qrcode {
    width: 151px;
    height: 149px;
    display: block;
    margin: 37px 0 0 22px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .faq-main {
        flex-direction: column-reverse;
        padding: 20px;
    }

    .faq-right {
        width: 100%;
    }

    .faq-qr-section {
        position: static;
    }

    .faq-category-tabs {
        gap: 8px;
    }

    .faq-category-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

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

    .faq-answer {
        padding-left: 20px;
    }
}