.main {
    background-color: #fff;
}

/* 帮助中心样式 */
.help-center-container {
    width: 1140px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* 顶部搜索区域 */
.help-header {
    background-color: #6c5ce7;
    background-image: linear-gradient(to right, #6c5ce7, #7d68f0);
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 230px;
}

.help-title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 600;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-container .search-input {
    width: 100%;
    padding: 15px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    height: 60px;
    line-height: 150%;
}

.search-container .search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
}

.search-container .search-btn:hover {
    background-color: #e05f00;
}

/* 常见问题区域 */
.faq-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 10px 30px;
    margin-bottom: 30px;
    border:1px solid #e6e6e6;
}

.faq-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding-top: 30px;
    padding-bottom: 30px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    color: #212121;
    font-weight: 600;
}

.faq-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
    transform: rotate(-135deg);
}

.faq-answer {
    display: none;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 6px;
    line-height: 28px;
    color: #666;
    font-size: 16px;
    margin-top: 16px;
    word-wrap: break-word;      /* 允许长单词换行 */
    word-break: break-all;      /* 允许在任意字符间断行 */
    white-space: normal !important;  /* 强制正常换行，覆盖nowrap */
    overflow-wrap: break-word;  /* 在长单词或URL地址内部进行换行 */
}

/* 添加以下规则来覆盖富文本中可能的内联样式 */
.faq-answer * {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
    text-wrap-mode: wrap !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .help-title {
        font-size: 24px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .search-btn {
        width: 100%;
        border-radius: 4px;
        height: 45px;
    }
    
    .faq-container {
        padding: 20px 15px;
    }
}

/* 问题分类区域样式 */
.category-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border:1px solid #e6e6e6;
}

.category-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.category-item {
    flex: 0 0 23%;
    max-width: 25%;
    padding: 20px 10px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    max-width: 100%;
    max-height: 100%;
}

.category-name {
    font-size: 16px;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .category-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .category-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .category-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
