/* ── Blog Search Autocomplete Dropdown ────────────────────────── */

#blog-search-wrapper {
    position: relative;
}

#blog-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    overflow: hidden;
    max-height: 360px;
    overflow-y: auto;
}

.blog-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

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

.blog-search-item:hover {
    background: #f8f8f8;
    color: inherit;
    text-decoration: none;
}

.blog-search-thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-search-no-thumb {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}

.blog-search-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.blog-search-cat {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    text-align:left;
}

.blog-search-title {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-search-no-results {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 14px;
}
