/* 帮助中心页面样式 */

.help-banner {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    padding: 60px 0 70px;
    color: #fff;
}

.help-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.help-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.help-banner-left {
    flex: 0 0 auto;
    text-align: left;
}

.help-banner-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.help-banner-subtitle {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 300;
}

.help-banner-right {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.help-search {
    width: 100%;
    max-width: 530px;
    position: relative;
}

.help-search input {
    width: 100%;
    height: 52px;
    padding: 0 120px 0 24px;
    border-radius: 26px;
    border: none;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.help-search input::placeholder {
    color: #bbb;
}

.help-search input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.help-search-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 36px;
    padding: 0 28px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-search-btn:hover {
    background-color: #0d47a1;
}

.help-tags {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.help-tag-label {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.help-tag {
    padding: 4px 6px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: all 0.3s;
}

.help-tag:hover {
    color: #fff;
}

/* 搜索结果提示 */
.search-result-info {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 15px;
    color: #856404;
}

.search-result-info strong {
    color: #1a73e8;
    font-weight: 600;
}

/* 帮助内容区 */
.help-content {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.help-category-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 32px 24px 28px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.help-category-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: #e3f2fd;
}

.help-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.help-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-category-icon svg {
    width: 36px;
    height: 36px;
    fill: #1a73e8;
}

.help-category-content {
    flex: 1;
}

.help-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.help-category-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    min-height: 44px;
}

.help-category-count {
    font-size: 14px;
    color: #999;
    display: inline-block;
    margin-right: 8px;
}

.help-category-arrow {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.help-category-arrow svg {
    width: 20px;
    height: 20px;
    fill: #999;
    transition: all 0.3s;
}

.help-category-card:hover .help-category-arrow svg {
    transform: translateX(4px);
    fill: #1a73e8;
}

/* 热门文章 */
.hot-articles-section {
    padding: 60px 0 80px;
    background-color: #fff;
}

.hot-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.view-all-link {
    font-size: 15px;
    color: #1a73e8;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: gap 0.3s;
}

.view-all-link:hover {
    color: #0d47a1;
}

.hot-articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hot-articles-column {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.hot-article-item {
    background-color: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

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

.hot-article-item:hover {
    background-color: #f8f9fa;
}

.hot-article-image {
    width: 90px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
}

.hot-article-content {
    flex: 1;
    padding: 0 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hot-article-text {
    flex: 1;
    min-width: 0;
}

.hot-article-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-article-item:hover .hot-article-title {
    color: #1a73e8;
}

.hot-article-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-article-meta {
    display: flex;
    flex-direction: row;
    gap: 15px;
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    align-items: center;
}

.hot-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* 响应式 */
@media (max-width: 1200px) {
    .help-categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .help-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .hot-articles-list {
        grid-template-columns: 1fr;
    }

    .help-banner-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .help-categories {
        grid-template-columns: 1fr;
    }
}
