/* jekcms Instant Search (Feature #94) — theme-agnostic dropdown styles. */
.jek-search-dd {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin-top: 8px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    z-index: 99999;
}
@media (prefers-color-scheme: dark) {
    .jek-search-dd { background: #111; border-color: rgba(255,255,255,.08); box-shadow: 0 12px 32px rgba(0,0,0,.6); }
}
.jek-search-item {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: background .12s;
}
.jek-search-item:last-child { border-bottom: 0; }
.jek-search-item:hover,
.jek-search-item:focus { background: rgba(0,0,0,.04); }
@media (prefers-color-scheme: dark) {
    .jek-search-item { border-bottom-color: rgba(255,255,255,.06); }
    .jek-search-item:hover, .jek-search-item:focus { background: rgba(255,255,255,.05); }
}
.jek-search-item img,
.jek-search-thumb-ph {
    width: 44px; height: 44px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0;
    background: rgba(0,0,0,.06);
}
.jek-search-body { min-width: 0; flex: 1; }
.jek-search-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.jek-search-excerpt {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
@media (prefers-color-scheme: dark) { .jek-search-excerpt { color: #aaa; } }
.jek-search-empty { padding: 18px; text-align: center; color: #888; font-size: 13px; }
