/* 帮助中心容器 */
.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 顶部搜索区域 */
.help-hero {
    text-align: center;
    margin-bottom: 60px;
}

.help-hero h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.help-hero p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: #409eff;
    outline: none;
}

.search-box button {
    padding: 12px 30px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background: #66b1ff;
}

/* 分类区域 */
.help-categories {
    margin-bottom: 60px;
}

.category {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin: 0 auto;
    max-width: 1000px;
}

.category .item {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.category .item:hover {
    transform: translateY(-5px);
}

.category .v_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    text-decoration: none;
}

.category .v_title img {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.category .v_title:hover img {
    transform: scale(1.1);
}

.category .v_title span {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.category .v_desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* 文章列表区域 */
.help-articles {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #409eff;
    margin: 15px auto 0;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.article-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.article-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tag {
    background: #f0f2f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
}

.read-more {
    color: #409eff;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

/* 分页控件 */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination-controls {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.pagination-controls a, .pagination-controls span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    min-width: 32px;
    text-align: center;
}

.pagination-controls a:hover {
    border-color: #409eff;
    color: #409eff;
}

.pagination-controls .current {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
}

/* 无搜索结果 */
.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .help-hero h1 {
        font-size: 28px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }

    .category {
        flex-direction: column;
        gap: 20px;
    }

    .category .item {
        padding: 20px;
    }

    .category .v_title img {
        width: 48px;
        height: 48px;
    }

    .category .v_title span {
        font-size: 16px;
    }

    .help-articles {
        padding: 20px;
    }

    .article-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .article-list {
        grid-template-columns: repeat(2, 1fr);
    }
} 