.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 70px 20px;
    text-align: center;
    color: white;
    border-radius: 16px;
    margin: 24px 0;
}
.blog-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 10px; }
.blog-hero p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
.blog-search {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}
.blog-search-wrap {
    flex: 1;
    position: relative;
}
.blog-search input {
    width: 100%;
    padding: 12px 18px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    outline: none;
    color: #333;
}
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
    z-index: 100;
    display: none;
}
.search-dropdown.open { display: block; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: #1f2937;
    transition: background 0.15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover, .search-result-item.active { background: #f5f3ff; }
.search-result-title { font-size: 14px; font-weight: 600; flex: 1; }
.search-result-meta { font-size: 11px; color: #6b7280; white-space: nowrap; }
.search-no-results { padding: 16px; text-align: center; color: #6b7280; font-size: 14px; }
.blog-search button {
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    background: white;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .blog-hero { padding: 48px 16px; margin: 16px 0; }
    .blog-hero h1 { font-size: 24px; }
    .blog-hero p { font-size: 14px; margin-bottom: 18px; }
    .blog-search { flex-direction: column; gap: 10px; }
    .blog-search button { width: 100%; padding: 12px; }
}
@media (max-width: 480px) {
    .blog-hero h1 { font-size: 20px; }
}

[data-theme="dark"] .blog-search input {
    background: var(--input-bg);
    color: var(--text-primary);
}
[data-theme="dark"] .blog-search input::placeholder { color: var(--text-muted); }
[data-theme="dark"] .blog-search button {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
[data-theme="dark"] .search-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border);
}
[data-theme="dark"] .search-result-item {
    color: var(--text-primary);
    border-bottom-color: var(--border);
}
[data-theme="dark"] .search-result-item:hover,
[data-theme="dark"] .search-result-item.active { background: var(--bg-section); }
[data-theme="dark"] .search-result-meta { color: var(--text-muted); }
[data-theme="dark"] .search-no-results { color: var(--text-muted); }
