/* 검색어 자동완성 목록 (js/search-suggest.js) */
.search_suggest_list {
    position: absolute;
    z-index: 2000;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    max-height: 420px;
    overflow-y: auto;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #333;
    border-top: 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    text-align: left;
}
.search_suggest_list[hidden] { display: none; }
.search_suggest_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    font-size: 1rem;
    line-height: 1.4;
    color: #222;
    cursor: pointer;
}
.search_suggest_item.on,
.search_suggest_item:hover { background: #eef3fb; }
.search_suggest_title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.search_suggest_title mark {
    padding: 0;
    background: none;
    color: #0b4fb3;
    font-weight: 700;
}
/* 검색 결과에 딸린 추천 검색어 */
.search_related {
    width: 80%;
    margin: 14px auto 0;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
}
.search_related[hidden] { display: none; }
.search_related_label {
    margin-right: 10px;
    font-weight: 700;
    color: #222;
}
.search_related_item {
    display: inline-block;
    margin: 0 6px 4px 0;
    padding: 2px 12px;
    border: 1px solid #c9d3e3;
    border-radius: 16px;
    background: #fff;
    color: #0b4fb3;
    text-decoration: none;
}
.search_related_item:hover,
.search_related_item:focus {
    border-color: #0b4fb3;
    background: #eef3fb;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .search_related { width: 100%; }
    .search_suggest_item { padding: 9px 12px; }
}
