.site-search-wrap {
    position: relative;
    z-index: 60;
    overflow: visible;
}

.site-search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    z-index: 1100;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    max-height: 22rem;
    overflow-y: auto;
}

.site-search-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.site-search-item:last-child {
    border-bottom: none;
}

.site-search-item:hover,
.site-search-item.is-active {
    background: #f8fafc;
}

.site-search-item__type {
    font-size: 0.72rem;
    color: #2563eb;
    font-weight: 700;
}

.site-search-item__title {
    font-size: 0.92rem;
    line-height: 1.5;
}

.site-search-item__excerpt {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.6;
}

.site-search-empty,
.site-search-loading {
    padding: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
}

.blog-search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: #fff;
    border-radius: 0.75rem;
}

.blog-search-box input {
    display: block;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
}

#blog-posts-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.search-page-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.search-page-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.search-page-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-page-item {
    display: block;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
}

.search-page-item:hover {
    transform: translateY(-1px);
}

.search-page-item__type {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 700;
}

.search-page-item__title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.search-page-item__excerpt {
    display: block;
    color: #64748b;
    line-height: 1.7;
    font-size: 0.88rem;
}

.search-page-empty {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-radius: 0.75rem;
    color: #64748b;
}
