.site-search-facets {
    position: sticky;
    top: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    background: #fafbfc;
}

.site-search-facet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    padding: .35rem .5rem;
    border-radius: .35rem;
    color: #1f2937;
    font-size: .875rem;
    text-decoration: none;
}

.site-search-facet:hover,
.site-search-facet:focus {
    background: #eef2ff;
    color: #1e3a8a;
}

.site-search-facet.active {
    background: #0d6efd;
    color: #fff;
}

.site-search-facet .badge {
    background: #e5e7eb;
    color: #374151;
    font-weight: 600;
}

.site-search-facet.active .badge {
    background: #fff;
    color: #0d6efd;
}

.site-search-item {
    padding: .85rem 1rem;
    margin-bottom: .6rem;
    border: 1px solid #eef0f3;
    border-radius: .5rem;
    background: #fff;
}

.site-search-item:hover {
    border-color: #cfd8e3;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
}

.site-search-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .25rem;
}

.site-search-badge {
    background: #e8f0fe;
    color: #1a4fb4;
    font-weight: 600;
}

.site-search-title {
    color: #0b57d0;
    font-weight: 600;
    text-decoration: none;
}

.site-search-title:hover,
.site-search-title:focus {
    text-decoration: underline;
}

.site-search-url {
    color: #188038;
    max-width: 100%;
}

.site-search-snippet {
    color: #3c4043;
    font-size: .9rem;
    line-height: 1.5;
    word-break: break-word;
}

.site-search-item mark {
    padding: 0 .1em;
    background: #fff3b0;
    color: inherit;
    font-weight: 600;
}

.site-search-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-search-actions a {
    text-decoration: none;
}

.site-search-empty {
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: .5rem;
    background: #f8fafc;
}

@media (max-width: 991.98px) {
    .site-search-facets {
        position: static;
    }
}
