.search-page { 
    padding: 20px 0; 
}

.search-header { 
    background: #f8f9fa; 
    padding: 30px 0; 
    margin-bottom: 30px; 
}

.search-form { 
    max-width: 1400px; 
    margin: 0 auto; 
}

.search-input-group { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
    align-items: center;
}

.search-results-count {
    color: #666;
    font-size: 14px;
    margin-left: 15px;
}

.search-input-group input { 
    flex: 1; 
    padding: 12px 16px; 
    border: 2px solid #e9ecef; 
    border-radius: 8px; 
    font-size: 16px; 
    outline: none; 
    transition: border-color 0.3s; 
}

.search-input-group input:focus { 
    border-color: #007bff; 
}

.search-input-group button { 
    padding: 12px 24px; 
    background: #007bff; 
    color: white; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 16px; 
    transition: background-color 0.3s; 
}

.search-input-group button:hover { 
    background: #0056b3; 
}

/* 使用统一的容器类 */

.results-header { 
    margin-bottom: 30px; 
    text-align: center; 
}

.results-count { 
    color: #666; 
    margin-bottom: 10px; 
}

.results-query { 
    font-size: 24px; 
    font-weight: bold; 
    color: #333; 
}

.results-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px; 
    align-items: stretch;
}

.result-card { 
    background: white; 
    border: 1px solid #e9ecef; 
    border-radius: 12px; 
    padding: 0; 
    transition: all 0.3s; 
    cursor: pointer; 
    text-decoration: none; 
    color: inherit; 
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
    border-color: #007bff; 
}

.result-content {
    padding: 24px;
    flex: 1;
    cursor: pointer;
}

/* 操作链接样式 - 已移除，保留供将来可能的需要 */
/*
.result-actions {
    padding: 0 24px 16px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    display: flex;
    gap: 8px;
}

.visit-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border: 1px solid #28a745;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.visit-link:hover {
    background: #218838;
    border-color: #218838;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.detail-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #fff;
    color: #007bff;
    text-decoration: none;
    border: 1px solid #007bff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.detail-link:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}
*/

.result-header { 
    display: flex; 
    align-items: center; 
    margin-bottom: 18px; 
}

.result-logo { 
    width: 44px; 
    height: 44px; 
    border-radius: 10px; 
    margin-right: 16px; 
    object-fit: cover; 
}

.result-title { 
    font-size: 19px; 
    font-weight: bold; 
    color: #333; 
    margin: 0; 
    line-height: 1.3;
}

.result-description { 
    color: #666; 
    line-height: 1.6; 
    margin-bottom: 18px; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    line-clamp: 3;
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    padding-left: 4px;
    padding-right: 4px;
}

.result-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 12px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
    margin-top: auto;
    overflow: hidden;
}

.result-category { 
    display: inline-block; 
    background: #e9ecef; 
    color: #666; 
    padding: 4px 12px; 
    border-radius: 6px; 
    font-size: 12px; 
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.result-category:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

/* 标签样式 */
.result-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 12px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}



.result-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f0f0;
    color: #666;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
    white-space: nowrap;
    flex-shrink: 0;
}

.result-tag:hover {
    background: #e9ecef;
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-1px);
}

.pagination { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    margin-top: 40px; 
}

.pagination button { 
    padding: 8px 16px; 
    border: 1px solid #e9ecef; 
    background: white; 
    color: #333; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: all 0.3s; 
}

.pagination button:hover:not(:disabled) { 
    background: #007bff; 
    color: white; 
    border-color: #007bff; 
}

.pagination button:disabled { 
    opacity: 0.5; 
    cursor: not-allowed; 
}

.pagination .current-page { 
    background: #007bff; 
    color: white; 
    border-color: #007bff; 
}

.loading { 
    text-align: center; 
    padding: 40px; 
    color: #666; 
}

.loading-spinner { 
    display: inline-block; 
    width: 20px; 
    height: 20px; 
    border: 2px solid #f3f3f3; 
    border-top: 2px solid #007bff; 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
    margin-right: 10px; 
}

@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

.no-results { 
    text-align: center; 
    padding: 60px 20px; 
    color: #666; 
}

.no-results h3 { 
    margin-bottom: 10px; 
    color: #333; 
}

.back-home { 
    display: inline-block; 
    margin-top: 20px; 
    padding: 10px 20px; 
    background: #007bff; 
    color: white; 
    text-decoration: none; 
    border-radius: 6px; 
    transition: background-color 0.3s; 
}

.back-home:hover { 
    background: #0056b3; 
}

.load-more-hint {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
} 