@import url("./h5.css");

.faq-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    background: #f7f8fa;
    color: #333;
}

.faq-container.searching .help-hero {
    opacity: 1;
}

.faq-container.searching .search-section {
    margin-top: -30px;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

.faq-container.searching .search-cancel {
    display: block;
}

.faq-container.searching .search-clear.visible {
    display: block;
}

.faq-container.searching .category-nav,
.faq-container.searching .subcategory-nav {
    display: none;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-card {
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.faq-question {
    min-height: 60px;
    padding: 16px 19px;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.faq-question-content {
    min-width: 0;
    flex: 1;
}

.faq-question-title {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.faq-toggle {
    width: 17px;
    height: 17px;
    margin: 4px 0 0 12px;
    flex: 0 0 auto;
    background: url("../../assets/sss/help-center/arrow-down.png") center / contain no-repeat;
}

.faq-card.active .faq-toggle {
    background-image: url("../../assets/sss/help-center/arrow-up.png");
}

.faq-answer {
    display: none;
}

.faq-card.active .faq-answer {
    display: block;
}

.faq-answer-content {
    padding: 0 42px 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.faq-answer-content p {
    margin: 0 0 8px;
}

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

.faq-meta {
    display: none;
}

@media (min-width: 700px) {
    .faq-container {
        box-shadow: 0 0 24px rgba(42, 55, 89, .08);
    }
}
