/* faq.css - FAQ常见问题页面样式 */

.faq_wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background: #fff;
}

.faq_breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.faq_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq_breadcrumb a:hover {
    color: #4ec548;
}

.faq_breadcrumb .active_a {
    color: #4ec548;
}

.faq_title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 10px;
}

.faq_subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.faq_tabs {
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.faq_tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.faq_tabs li {
    flex: 1;
    min-width: 100px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
}

.faq_tabs li:hover {
    color: #4ec548;
    background: #fff;
}

.faq_tabs li.active {
    color: #fff;
    background: linear-gradient(135deg, #4ec548, #087a01);
    border-bottom-color: #087a01;
    font-weight: 600;
}

.faq_content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    min-height: 400px;
}

.faq_panel {
    display: none;
    line-height: 1.8;
    color: #333;
    font-size: 14px;
}

.faq_panel.active {
    display: block;
}

.faq_panel p {
    margin: 0 0 15px;
}

.faq_panel strong {
    color: #222;
    font-weight: 600;
}

.faq_item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e8e8e8;
}

.faq_item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq_question {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
}

.faq_question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4ec548, #087a01);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: 700;
}

.faq_answer {
    color: #555;
    padding-left: 28px;
    line-height: 1.8;
}

.faq_answer p {
    margin: 0 0 10px;
}

.faq_search_tip {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-bottom: 20px;
}

.faq_search_tip span {
    color: #4ec548;
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq_wrap {
        padding: 20px 12px;
    }

    .faq_title {
        font-size: 24px;
    }

    .faq_tabs li {
        min-width: 80px;
        padding: 10px 6px;
        font-size: 13px;
    }

    .faq_content {
        padding: 20px 16px;
    }

    .faq_question {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq_tabs li {
        min-width: 50%;
        flex: none;
        width: 50%;
        border-bottom: 1px solid #e8e8e8;
    }
}
