@charset "utf-8";

/*
 * 전체검색 스킨 — juso79 메인(#mainContent)과 동일 톤
 * paper #F4F4F0, ink #111, accent #ff3300, 포인트 블루 #5e81e7 (popular_rank·그리드와 정렬)
 */
#mainContent #sch_res_detail {
	text-align: center;
	margin: 0 0 1.25rem;
	padding: 0;
}
#mainContent #sch_res_detail legend {
	position: absolute;
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
	text-indent: -9999em;
	overflow: hidden;
}
#mainContent #sch_res_detail select {
	border: 1px solid #c8c8c0;
	width: 175px;
	height: 45px;
	padding: 0 8px;
	border-radius: 0.5rem;
	background: #fff;
	color: #111111;
	font-size: 0.9375rem;
}
#mainContent #sch_res_detail .frm_input {
	background: #dddddd;
	border: 1px solid #c8c8c0;
	border-radius: 0.625rem;
	width: 300px;
	max-width: 100%;
	height: 45px;
	padding: 0 14px;
	color: #111111;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#mainContent #sch_res_detail .frm_input::placeholder {
	color: #888888;
}
#mainContent #sch_res_detail .frm_input:focus {
	outline: none;
	border-color: #575757;
	box-shadow: 0 0 0 3px rgba(94, 129, 231, 0.2);
}
#mainContent #sch_res_detail .sch_wr {
	position: relative;
	display: inline-block;
}
#mainContent #sch_res_detail .btn_submit {
	padding: 0 16px;
	height: 45px;
	min-width: 88px;
	font-size: 1rem;
	font-weight: 700;
	color: #f4f4f0;
	background: #111111;
	border: 1px solid #111111;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#mainContent #sch_res_detail .btn_submit:hover {
	background: #ff3300;
	border-color: #ff3300;
	color: #fff;
}

/* 검색 OR+AND 토글 */
#mainContent .switch_field {
	display: inline-block;
	vertical-align: middle;
	padding: 10px 5px;
}
#mainContent .switch_field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}
#mainContent .switch_field label {
	float: left;
	display: inline-block;
	width: 50px;
	background-color: #fff;
	color: #64748b;
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: center;
	text-shadow: none;
	padding: 8px 14px;
	border: 1px solid #c8c8c0;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#mainContent .switch_field label:hover {
	cursor: pointer;
	color: #111111;
	background: #f4f4f0;
}
#mainContent .switch_field input:checked + label {
	background-color: #111111;
	border-color: #111111;
	color: #f4f4f0;
	box-shadow: none;
}
#mainContent .switch_field label:first-of-type {
	border-radius: 0.375rem 0 0 0.375rem;
	border-right: 0;
}
#mainContent .switch_field label:last-of-type {
	border-radius: 0 0.375rem 0.375rem 0;
}

/* 결과 요약 (#sch_res_ov — JS로 삽입) */
#mainContent #sch_res_ov {
	width: 100%;
	margin-bottom: 1rem;
	padding: 0.75rem 0;
	text-align: left;
	border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}
#mainContent #sch_res_ov:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}
#mainContent #sch_res_ov h2 {
	float: none;
	display: block;
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: #111111;
	line-height: 1.4;
}
#mainContent #sch_res_ov h2 strong {
	color: #ff3300;
	font-weight: 800;
}
#mainContent #sch_res_ov ul {
	display: none;
}
#mainContent #sch_res_ov ul:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}
#mainContent #sch_res_ov li {
	float: left;
	margin-right: 5px;
	padding-right: 5px;
	border-right: 1px solid #94a3b8;
}
#mainContent #sch_res_ov li:last-child {
	margin: 0;
	padding: 0;
	border: 0;
}

/* 게시판 필터 탭 (전통 스킨) */
#mainContent #sch_res_board {
	margin-bottom: 1.75rem;
}
#mainContent #sch_res_board h2 {
	position: absolute;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
}
#mainContent #sch_res_board ul {
	zoom: 1;
}
#mainContent #sch_res_board ul:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}
#mainContent #sch_res_board li {
	display: inline-block;
	padding: 2px;
}
#mainContent #sch_res_board a {
	display: block;
	line-height: 1.5;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid #c8c8c0;
	color: #0f172a;
	background: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#mainContent #sch_res_board a:focus,
#mainContent #sch_res_board a:hover {
	text-decoration: none;
	background: #f4f4f0;
	border-color: #a8a89e;
	color: #ff3300;
}
#mainContent #sch_res_board .cnt_cmt {
	font-weight: normal !important;
	display: inline-block;
	margin-left: 4px;
	color: #64748b;
	line-height: 1.25;
	font-size: 0.85em;
}
#mainContent #sch_res_board a:hover .cnt_cmt {
	color: #ff3300;
}
#mainContent #sch_res_board .sch_on {
	z-index: 2;
	background: #111111;
	color: #f4f4f0;
	font-weight: 700;
	border: 1px solid #111111;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#mainContent #sch_result {
	width: 100%;
	display: block;
	text-align: left;
}
#mainContent #sch_result_list.sch_res_list {
	width: 100%;
	max-width: 100%;
	display: block;
	margin-left: 0;
	margin-right: 0;
}

#mainContent .sch_res_list {
	position: relative;
	margin-bottom: 10px;
}
#mainContent .sch_res_list .search_board_result {
	position: relative;
}
#mainContent .sch_res_list h2 {
	margin: 0 0 15px;
	font-size: 1.2em;
	color: #111111;
	font-weight: 700;
}
#mainContent .sch_res_list ul {
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(17, 17, 17, 0.1);
}
#mainContent .sch_res_list li {
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	background: transparent;
	position: relative;
}
#mainContent .sch_res_list .sch_tit {
	display: block;
	padding: 20px 0 10px;
}
#mainContent .sch_res_list .pop_a {
	display: inline-block;
	background: #e5e5e0;
	color: #475569;
	border-radius: 50%;
	text-align: center;
	width: 26px;
	height: 26px;
	line-height: 26px;
}
#mainContent .sch_res_title {
	display: inline-block;
	margin: 0 0 5px;
	font-size: 1.2em;
	color: #0f172a;
	font-weight: 600;
}
#mainContent .sch_res_list p {
	padding-bottom: 10px;
	color: #475569;
	line-height: 1.5em;
}
#mainContent .sch_res_list .sch_info {
	padding: 10px 0;
	color: #64748b;
	font-size: 0.9em;
}
#mainContent .sch_res_list .sch_info:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}
#mainContent .sch_res_list .profile_img img {
	border-radius: 50%;
}
#mainContent .sch_res_list .sch_datetime {
	margin-left: 5px;
}
#mainContent .sch_more {
	position: absolute;
	right: 0;
	top: 5px;
	text-align: right;
	font-weight: 600;
	color: #5e81e7;
	font-size: 0.9rem;
}
#mainContent .sch_more:hover {
	color: #ff3300;
}

/* 태그 검색 결과 아이템 */
#mainContent .sch_res_list .tagbox-result-item {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	align-items: flex-start;
}
#mainContent .sch_res_list .tagbox-result-item .result-thumb {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	overflow: hidden;
	border-radius: 0.5rem;
	background: #e5e5e0;
	border: 1px solid #c8c8c0;
	display: flex;
	align-items: center;
	justify-content: center;
}
#mainContent .sch_res_list .tagbox-result-item .result-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#mainContent .sch_res_list .tagbox-result-item .result-thumb-none {
	color: #94a3b8;
	font-size: 24px;
}
#mainContent .sch_res_list .tagbox-result-item .result-body {
	flex: 1;
	min-width: 0;
}
#mainContent .sch_res_list .tagbox-result-item .result-meta {
	font-size: 0.85em;
	color: #64748b;
	margin-bottom: 5px;
}
#mainContent .sch_res_list .tagbox-result-item .result-tag {
	color: #5e81e7;
	margin-left: 5px;
	font-weight: 600;
}

/* 심플 리스트 (AJAX — sch_simple_item) */
#mainContent .sch_res_list .sch_simple_item {
    background: #cdc9c9;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 12px;
	margin-bottom: 1px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.1);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	border-radius: 0.5rem;
	transition: background-color 0.2s ease;
}
#mainContent .sch_res_list .sch_simple_item:hover {
	background: rgba(17, 17, 17, 0.04);
}

#mainContent .sch_res_list .sch_item_link {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}
#mainContent .sch_res_list .sch_item_link:hover {
	text-decoration: none;
}

#mainContent .sch_res_list .sch_rank {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #111111;
	color: #f4f4f0;
	font-size: 0.85em;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.12);
}
#mainContent .sch_res_list .sch_item_body {
	flex: 1;
	min-width: 0;
}
#mainContent .sch_res_list .sch_item_top {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
#mainContent .sch_res_list .sch_item_title {
	font-size: 1.05em;
	font-weight: 700;
	color: #0f172a;
	transition: color 0.2s ease;
}
#mainContent .sch_res_list .sch_item_link:hover .sch_item_title {
	color: #ff3300;
}
#mainContent .sch_res_list .sch_link_ok {
	font-size: 0.72em;
	padding: 3px 8px;
	background: #0e9318;
	color: #f4f4f0;
	border-radius: 0.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}
#mainContent .sch_res_list .sch_item_meta {
	font-size: 0.875em;
	color: #29303b;
}
#mainContent .sch_res_list .sch_good {
	margin-right: 12px;
}
#mainContent .sch_res_list .sch_good i {
	color: #ef4444;
	margin-right: 4px;
}
#mainContent .sch_res_list .sch_hit i {
	color: #94a3b8;
	margin-right: 4px;
}

#mainContent .sch_res_list .sch_tags_pc {
	display: inline;
	margin-left: 12px;
}
#mainContent .sch_res_list .sch_tag_item {
	display: inline-block;
	font-size: 0.85em;
	color: #2343a1;
	font-weight: 600;
	margin-right: 8px;
	margin-left: 0;
}
#mainContent .sch_res_list .sch_btn_direct i {
	margin-right: 6px;
}
#mainContent .sch_res_list .sch_btn_direct {
	flex-shrink: 0;
	padding: 8px 14px;
    background: #1e3a8a;
    color: #f4f4f0;
    border: 1px solid #13265d;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#mainContent .sch_res_list .sch_btn_direct:hover {
	background: #ff3300;
	border-color: #ff3300;
	color: #fff;
	text-decoration: none;
}

/* 로딩·더보기 */
#mainContent #sch_loading,
#mainContent #sch_load_more {
	color: #64748b;
	font-size: 0.9375rem;
}
#mainContent #sch_loading i,
#mainContent #sch_load_more i {
	color: #5e81e7;
}

@media (max-width: 767px) {
	#mainContent .sch_res_list .sch_tags_pc {
		display: none !important;
	}
	#mainContent #sch_res_detail .frm_input {
		/* width: 100%; */
		max-width: 100%;
	}
}

/* 검색 결과 없음 */
#mainContent .sch_no_result {
	text-align: center;
	padding: 2.5rem 1.5rem;
	margin: 1.5rem 0;
	background: linear-gradient(180deg, #e4e5f5 0%, #f4f4f0 100%);
	border: 1px solid #c8c8c0;
	border-radius: 1rem;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 2px 0 rgba(17, 17, 17, 0.06),
		0 10px 28px -14px rgba(17, 17, 17, 0.12);
}
#mainContent .sch_no_result .sch_no_icon {
	font-size: 2.5rem;
	color: #94a3b8;
	margin-bottom: 1rem;
}
#mainContent .sch_no_result .sch_no_title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #111111;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}
#mainContent .sch_no_result .sch_no_msg {
	font-size: 1rem;
	color: #475569;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}
#mainContent .sch_no_result .sch_no_tips_title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 0.75rem;
}
#mainContent .sch_no_result .sch_no_tips {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.9rem;
	color: #64748b;
	line-height: 2;
	text-align: left;
	max-width: 22rem;
	margin-left: auto;
	margin-right: auto;
}
#mainContent .sch_no_result .sch_no_tips li::before {
	content: "• ";
	color: #ff3300;
	margin-right: 6px;
	font-weight: 700;
}
