/* 검색 페이지 추가 스타일 */

/* 사이드바 기본 스타일 (sidebar_skin1.css 보완) */
.sidebar_section {
    background: #fff;
    padding: 0;
    margin-bottom: 30px;
}

.sidebar_section h3.sidebar_title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #000;
}

.sidebar_section ol {
    list-style: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}

.sidebar_section ol li {
    counter-increment: item;
    margin-bottom: 18px;
    position: relative;
    padding-left: 35px;
    line-height: 1.5;
}

.sidebar_section ol li:last-child {
    margin-bottom: 0;
}

.sidebar_section ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.sidebar_section ol li a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.sidebar_section ol li a:hover {
    color: #5AB2FF;
}

/* 검색 폼 */
.search_form_box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.search_controls {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.search_controls select,
.search_controls input[type="text"] {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

.search_controls select {
    background: white;
    cursor: pointer;
}

.search_controls input[type="text"] {
    flex: 1;
    min-width: 300px;
}

.search_controls button {
    padding: 10px 30px;
    background: #1a9ba8;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.search_controls button:hover {
    background: #158a95;
}

.search_options {
    display: flex;
    gap: 15px;
}

.search_options label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
}

/* 검색 통계 */
.search_stats {
    padding: 15px 20px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 15px;
}

.search_stats strong {
    color: #1a9ba8;
    font-size: 18px;
}

/* section_list1 호버 효과 유지 (기본 CSS 따름) */
/* section_list1.css의 호버 효과가 그대로 적용됨:
   - background: #fafafa
   - thumbnail img scale(1.05)
   - title color: #5AB2FF
*/

/* 타입 뱃지 스타일 */
.type_badges {
    margin-bottom: 8px;
}

.type_badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 5px;
}

.type_badge.photo {
    background: #e3f2fd;
    color: #1976d2;
}

.type_badge.video {
    background: #fce4ec;
    color: #c2185b;
}

/* 검색 결과 없음 */
.no_result,
.no_keyword {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no_result p,
.no_keyword p {
    margin: 10px 0;
    font-size: 16px;
    color: #666;
}

/* 반응형 */
@media (max-width: 768px) {
    .search_controls {
        flex-direction: column;
    }
    
    .search_controls input[type="text"] {
        min-width: auto;
    }
}
