/* 통합검색 페이지 스타일 */
@charset "utf-8";

/* 검색 폼 */
.t_search_form { margin: 0; padding: 30px 0 !important; background: #f5f5f5; border-radius: 20px; }
.t_search_form fieldset { border: none; margin: 0 auto; max-width: 1200px; padding: 0 20px; }
.t_search_form legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.t_search_form .sel_box { display: inline-block; margin-right: 10px; vertical-align: middle; }
.t_search_form .sel_box select { padding: 10px 15px; border: 1px solid #ced4da; border-radius: 4px; background: #fff; font-size: 14px; color: #333; cursor: pointer; }
.t_search_form #searchWord { padding: 10px 15px; border: 1px solid #ced4da; border-radius: 4px; font-size: 14px; width: 400px; margin-right: 10px; vertical-align: middle; }
.t_search_form #searchBtn { padding: 10px 20px; background: #16ad5c; border: none; border-radius: 4px; color: #fff; font-size: 14px; cursor: pointer; margin-right: 10px; vertical-align: middle; transition: background 0.2s; }
.t_search_form #searchBtn:hover { background: #13a200; }
.t_search_form .ch_box { display: inline-block; vertical-align: middle; }
.t_search_form .ch_box input[type="checkbox"] { margin-right: 5px; cursor: pointer; }
.t_search_form .ch_box label { font-size: 14px; color: #333; cursor: pointer; }

/* 메인 래퍼 */
.t_search_wp { display: flex; gap: 30px; margin: 0 auto; overflow: hidden; clear: both; }

/* 사이드바 */
.t_category { width: 280px; flex-shrink: 0; }
.t_category ul { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid #e9ecef; border-radius: 8px; overflow: hidden; }
.t_category ul li { border-bottom: 1px solid #e9ecef; }
.t_category ul li:last-child { border-bottom: none; }
.t_category ul li a { display: block; padding: 15px 20px; font-size: 15px; color: #333; text-decoration: none; transition: all 0.2s; }
.t_category ul li a:hover { background: #f8f9fa; color: #16ad5c; }
.t_category ul li a.on { background: #16ad5c; color: #fff; font-weight: 600; }

/* 내가 찾은 검색어 */
.t_category .my_word { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 20px; margin-top: 20px; }
.t_category .my_word .title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 15px; }
.t_category .my_word #mykeyword { display: flex; flex-direction: column; gap: 10px; }
.t_category .my_word .my_w_list { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #f8f9fa; border-radius: 4px; }
.t_category .my_word .my_w_list a { font-size: 14px; color: #333; text-decoration: none; flex: 1; }
.t_category .my_word .my_w_list a:hover { color: #16ad5c; text-decoration: underline; }
.t_category .my_word .my_w_del { font-size: 12px; color: #999; text-decoration: none; cursor: pointer; padding: 4px 8px; }
.t_category .my_word .my_w_del:hover { color: #dc3545; }
.t_category .my_word .btn_del_all { width: 100%; margin-top: 15px; padding: 10px; background: #6c757d; border: none; border-radius: 4px; color: #fff; font-size: 14px; cursor: pointer; transition: background 0.2s; text-align: center; text-decoration: none; display: block; }
.t_category .my_word .btn_del_all:hover { background: #5a6268; }

/* 검색 결과 영역 */
.t_search_con { flex: 1; min-width: 0; }
.t_search_con .sc_result { font-size: 16px; color: #333; margin-bottom: 20px; line-height: 1.6; padding: 20px; background: #fff; border: 1px solid #e9ecef; border-radius: 8px; }

/* 검색 결과 섹션 */
.t_search_con .t_menu, .t_search_con .t_board, .t_search_con .t_lecture, .t_search_con .t_site { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.t_search_con .t_menu .title_wp, .t_search_con .t_board .title_wp, .t_search_con .t_lecture .title_wp, .t_search_con .t_site .title_wp { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #e9ecef; }
.t_search_con .t_menu .title_wp .title, .t_search_con .t_board .title_wp .title, .t_search_con .t_lecture .title_wp .title, .t_search_con .t_site .title_wp .title { font-size: 18px; font-weight: 600; color: #333; }
.t_search_con .t_menu .title_wp .title .num, .t_search_con .t_board .title_wp .title .num, .t_search_con .t_lecture .title_wp .title .num, .t_search_con .t_site .title_wp .title .num { font-size: 14px; color: #666; margin-left: 10px; }
.t_search_con .t_menu .title_wp .title .num strong.red, .t_search_con .t_board .title_wp .title .num strong.red, .t_search_con .t_lecture .title_wp .title .num strong.red, .t_search_con .t_site .title_wp .title .num strong.red { color: #16ad5c; font-weight: 600; }
.t_search_con .t_menu .title_wp .rs_more, .t_search_con .t_board .title_wp .rs_more, .t_search_con .t_lecture .title_wp .rs_more, .t_search_con .t_site .title_wp .rs_more { font-size: 14px; color: #16ad5c; text-decoration: none; }
.t_search_con .t_menu .title_wp .rs_more:hover, .t_search_con .t_board .title_wp .rs_more:hover, .t_search_con .t_lecture .title_wp .rs_more:hover, .t_search_con .t_site .title_wp .rs_more:hover { text-decoration: underline; }

/* 검색 결과 리스트 */
.t_search_con .rs_list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.t_search_con .rs_list li { padding: 20px 0; border-bottom: 1px solid #f0f0f0; list-style: none !important; }
.t_search_con .rs_list li:last-child { border-bottom: none; }
.t_search_con .rs_list li a { color: #333; text-decoration: none; transition: color 0.2s; }
.t_search_con .rs_list li a:hover { color: #16ad5c; text-decoration: underline; }
.t_search_con .rs_list .rs_title { display: block; font-size: 16px; font-weight: 600; color: #333; margin-bottom: 8px; line-height: 1.4; }
.t_search_con .rs_list .rs_title a { color: #333; text-decoration: none; }
.t_search_con .rs_list .rs_title a:hover { color: #16ad5c; text-decoration: underline; }
.t_search_con .rs_list .con { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 8px; }
.t_search_con .rs_list .con a { color: #666; text-decoration: none; }
.t_search_con .rs_list .con a:hover { color: #16ad5c; text-decoration: underline; }
.t_search_con .rs_list .sc_place { font-size: 12px; color: #999; margin-top: 8px; }
.t_search_con .rs_list .sc_place span { margin-right: 10px; }
.t_search_con .rs_list .sc_place .bd_name { color: #666; }
.t_search_con .rs_list .sc_place .bd_date { color: #999; }

/* 검색어 하이라이트 */
.t_search_con .red { color: #16ad5c; font-weight: 600; background: transparent; }

/* 검색 결과 없음 */
.t_search_con .no_result { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 60px 20px; text-align: center; }
.t_search_con .no_result .tit { font-size: 18px; color: #333; margin-bottom: 20px; }
.t_search_con .no_result .tit .red { color: #16ad5c; font-weight: 600; }
.t_search_con .no_result .guide { text-align: left; max-width: 600px; margin: 0 auto; }
.t_search_con .no_result .guide .con03 { list-style: none; padding: 0; margin: 0; }
.t_search_con .no_result .guide .con03 li { font-size: 14px; color: #666; padding: 8px 0; padding-left: 20px; position: relative; line-height: 1.6; border-bottom: none; }
.t_search_con .no_result .guide .con03 li::before { content: "•"; position: absolute; left: 0; color: #16ad5c; }

/* 반응형 */
@media (max-width: 1024px) {
	.t_search_wp { flex-direction: column; }
	.t_category { width: 100%; }
}

@media (max-width: 768px) {
	.t_search_form #searchWord { width: 100%; margin-bottom: 10px; display: block; }
	.t_search_form .sel_box { display: block; margin-bottom: 10px; }
	.t_search_form .sel_box select { width: 100%; }
	.t_search_form #searchBtn { width: 100%; margin-bottom: 10px; display: block; }
	.t_search_form .ch_box { display: block; margin-top: 10px; }
}
