.help-top-bg{
    background-color: var(--fg--color-primary);
}
.help-top{
    display: flex;
    color: #fff;
    padding: 1rem 0;
}
.help-top-left{
    flex: 1;
    /*display: flex;*/
}
.help-top-left .title{
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.help-top-left .tag-box{
    display: flex;
    /*align-items: center;*/
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.6rem;
}
.help-top-left .tag-box .title{
    font-size: 0.6rem;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}
.help-top-left .search-icon{
    position: absolute;
    width: 1rem;
    left: 1rem;
    top: 0.4rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.help-top-left input{
    color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1rem 1rem 1rem 4rem;
    border: none;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
}
.help-top-left input::placeholder{
    color: rgba(255, 255, 255, 0.6);
}

/* 搜索结果样式 */
.search-results {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.search-results-header {
    padding: 1rem 1.5rem 0.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-results-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

#search-results-count {
    font-size: 0.8rem;
    color: #666;
}

.search-results-list {
    padding: 0.5rem 0;
}

.search-result-item {
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.search-result-link:hover {
    background-color: #f8f9fa;
}

.search-result-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.search-result-excerpt {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #999;
}

.search-result-author {
    font-weight: 500;
}

.search-loading,
.search-error,
.search-no-results {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.search-loading {
    color: #007cba;
}

.search-error {
    color: #d63384;
}

/* 移动端适配 */
@media (max-width: 576px) {
    .search-results {
        margin-top: 0.25rem;
        max-height: 300px;
    }

    .search-results-header {
        padding: 0.75rem 1rem 0.5rem;
    }

    .search-result-link {
        padding: 0.75rem 1rem;
    }

    .search-result-title {
        font-size: 0.9rem;
    }

    .search-result-excerpt {
        font-size: 0.8rem;
    }

    .search-result-meta {
        font-size: 0.7rem;
        gap: 0.75rem;
    }
}
.help-top-left .tag-box .tag{
    background-color: rgba(255, 255, 255, 0.12);
    margin-right: 0.5rem;
    padding: 0.4rem 0.8rem;
    text-wrap: nowrap;
    border-radius: 18px;
    line-height: 1;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    user-select: none;
}

.help-top-left .tag-box .tag:hover{
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.help-top-left .tag-box .tag:active{
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.25);
}
.help-top-img{
    width: 15rem;
    padding-left: 6rem;
}


.help-content{
    padding: 4.5rem 0;
    display: flex;
    flex-wrap: wrap;
}
.help-content-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0 1rem;
    width: 33.33%;
    margin-bottom: 5rem;
}
.help-content-item .title{
    font-size: 1.2rem;
    color: var(--fg--color-primary);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}
.help-content-item .icon{
    width: 9rem;
}
.help-content-item .desc{
    font-size: 0.7rem;
    text-align: center;
    color: rgba(51, 51, 51, 0.6);
}

@media (max-width: 576px) {
    .help-top{
        flex-direction: column-reverse;
    }
    .help-top-img{
        padding-left: 0;
        margin: 0 auto;
    }
    .help-content-item{
        width: 100%;
        margin-bottom: 4rem;
    }
    .help-content-item .icon{
        width: 12.5rem;
    }
}