/**
 * Google-style Search Results
 * Clean, accessible list view for search results
 */

.search-results-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.search-result {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-result:last-child {
    border-bottom: none;
}

.result-url {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-main, 'Inter', sans-serif);
}

.result-domain {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.result-breadcrumb {
    color: rgba(255, 255, 255, 0.4);
}

.result-title {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: var(--font-main, 'Inter', sans-serif);
}

.result-title a {
    color: #8ab4f8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.result-title a:hover {
    color: #adc6ff;
    text-decoration: underline;
}

.result-title a:visited {
    color: #c58af9;
}

/* Highlight search terms */
.result-title mark,
.result-snippet mark {
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    padding: 0;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    font-family: var(--font-main, 'Inter', sans-serif);
}

.meta-separator {
    color: rgba(255, 255, 255, 0.3);
}

.result-author {
    color: rgba(255, 255, 255, 0.6);
}

.result-snippet {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 100%;
    font-family: var(--font-main, 'Inter', sans-serif);
}

.result-snippet mark {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-results-list {
        padding: 0 1rem;
    }
    
    .search-result {
        padding: 1.25rem 0;
    }
    
    .result-title {
        font-size: 1.125rem;
    }
    
    .result-snippet {
        font-size: 0.875rem;
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    .result-title a {
        color: #8ab4f8;
    }
    
    .result-title a:visited {
        color: #c58af9;
    }
}
