/* MODERN SEARCH PAGE - Clean & Professional */

.wrap-sch {
	font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', 'Segoe UI', 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: normal;
	color: #2d3748;
	line-height: 1.7;
	border-top: 2px solid #e2e8f0;
	margin: 40px auto 50px;
	padding: 0;
	box-sizing: border-box;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wrap-sch h1.hide {
	display: inline-block !important;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0;
	line-height: 0;
	border: 0 !important;
	overflow: hidden !important;
	width: 1px;
	height: 1px;
	clip: rect(0, 0, 0, 0);
}

.wrap-sch .sect-contex h2 {
	border-bottom: none;
	padding: 0;
	margin: 0;
}

.wrap-sch .sect-related,
.wrap-sch .sect-dirx,
.wrap-sch .sect-contex {
	padding: 25px 20px;
	box-sizing: border-box;
	border-bottom: 1px solid #e2e8f0;
}

.wrap-sch .sect-related:last-child,
.wrap-sch .sect-dirx:last-child,
.wrap-sch .sect-contex:last-child {
	border-bottom: none;
}

.sect-related {
	background: #f7fafc;
}

.sect-related h3,
.sect-related a {
	display: inline-block;
	line-height: 1.6;
	vertical-align: middle;
}

.sect-related h3 {
	margin-right: 20px;
	font-weight: 600;
	font-size: 1.1rem;
	color: #2d3748;
}

.sect-related a {
	padding: 6px 12px;
	margin-right: 10px;
	color: #4299e1 !important;
	line-height: 1.6;
	border-radius: 6px;
	transition: all 0.2s ease;
	font-weight: 500;
}

.sect-related a:hover {
	background: rgba(66, 153, 225, 0.1);
	text-decoration: none;
	color: #2b6cb0 !important;
}

/* Link-Direct */
.sect-dirx {
	background: #ffffff;
}

.sect-dirx .col1 {
	margin-bottom: 12px;
}

.sect-dirx .col1 .titw {
	font-size: 1.3rem;
	color: #4299e1;
	font-weight: 600;
	padding-right: 8px;
	transition: color 0.2s ease;
}

.sect-dirx .col1 .titw:hover {
	color: #2b6cb0;
	text-decoration: none;
}

.sect-dirx .col1 .urlw {
	display: inline-block;
	color: #48bb78;
	margin-left: 10px;
	font-size: 0.95rem;
	font-weight: 500;
}

.sect-dirx .col1 .chk {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 26px;
	line-height: 26px;
	vertical-align: middle;
	padding: 0 10px;
	color: #ffffff;
	background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
	border-radius: 6px;
	box-sizing: border-box;
	margin-left: 10px;
	transition: all 0.3s ease;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(245, 101, 101, 0.3);
}

.sect-dirx .col1 .chk:hover {
	background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(245, 101, 101, 0.4);
}

.sect-dirx .col1 .chk > i {
	display: inline-block;
	position: relative;
	top: -1px;
	margin-right: 4px;
}

.sect-dirx .col2 {
	margin-top: 12px;
	color: #4a5568;
	line-height: 1.6;
}

/* Section-Contents */
.sect-contex {
	background: #ffffff;
}

.sect-contex .titsw {
	font-size: 1.4rem;
	font-weight: 700;
	color: #2d3748;
	margin-bottom: 20px;
	letter-spacing: -0.5px;
	padding-bottom: 12px;
	border-bottom: 2px solid #e2e8f0;
}

.bx-listw {
	margin: 0;
	padding: 0;
}

.bx-listw li {
	display: flex;
	align-items: flex-start;
	padding: 20px 0;
	overflow: hidden;
	border-bottom: 1px solid #f7fafc;
	transition: background 0.2s ease;
}

.bx-listw li:last-child {
	border-bottom: none;
}

.bx-listw li:hover {
	background: #f7fafc;
	padding-left: 5px;
	padding-right: 5px;
	margin: 0 -5px;
	border-radius: 8px;
}

.bx-listw li .img-cotex {
	flex-shrink: 0;
	margin-right: 16px;
}

.bx-listw li .img-cotex img {
	display: block;
	width: 90px;
	height: 90px;
	min-height: 90px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-right: 0;
	overflow: hidden;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.bx-listw li:hover .img-cotex img {
	transform: scale(1.05);
	border-color: #cbd5e0;
}

.bx-listw li .cont-cotex {
	flex: 1;
	display: block;
	width: 100%;
	overflow: hidden;
	min-width: 0;
}

.bx-listw li .cont-cotex .titex {
	overflow: hidden;
	display: -webkit-box;
	max-height: 3em;
	line-height: 1.5em;
	word-break: break-word;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin-bottom: 6px;
}

.bx-listw li .cont-cotex .titex > a {
	font-size: 1.15rem;
	color: #4299e1;
	font-weight: 600;
	transition: color 0.2s ease;
	line-height: 1.5;
}

.bx-listw li .cont-cotex .titex > a:hover {
	color: #2b6cb0;
	text-decoration: none;
}

.bx-listw li .cont-cotex .titex > .date {
	display: inline-block;
	color: #718096;
	margin-left: 12px;
	font-size: 0.9rem;
	font-weight: 400;
}

.bx-listw li .cont-cotex .url-cotex {
	display: block;
	color: #48bb78;
	padding-top: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-wrap: normal;
	font-size: 0.9rem;
	font-weight: 500;
}

.bx-listw li .cont-cotex .desc {
	color: #4a5568;
	padding-top: 8px;
	max-height: 3.2em;
	line-height: 1.6em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	word-break: break-word;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 0.95rem;
}

.bx-listw li .cont-cotex .cont-info {
	color: #718096;
	padding-top: 6px;
	font-size: 0.9rem;
	font-weight: 500;
}

.btnx-more {
	margin-top: 20px;
	text-align: right;
	padding: 15px 0;
}

.btnx-more a {
	display: inline-block;
	padding: 10px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.btnx-more a:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
	text-decoration: none;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
	.wrap-sch {
		font-size: 0.95rem;
		margin: 30px auto 40px;
		border-radius: 0;
	}
	
	.wrap-sch .sect-related,
	.wrap-sch .sect-dirx,
	.wrap-sch .sect-contex {
		padding: 20px 15px;
	}
	
	.wrap-sch .sect-related {
		font-size: 1rem;
	}
	
	.sect-related h3 {
		display: block;
		margin-bottom: 12px;
		margin-right: 0;
	}
	
	.sect-related a {
		display: inline-block;
		margin: 4px 6px 4px 0;
		padding: 6px 10px;
		font-size: 0.9rem;
	}
	
	.sect-dirx .col1 .titw {
		font-size: 1.15rem;
		display: block;
		margin-bottom: 8px;
	}
	
	.sect-dirx .col1 .urlw {
		display: block;
		margin-left: 0;
		margin-top: 6px;
	}
	
	.sect-dirx .col1 .chk {
		margin-left: 0;
		margin-top: 8px;
		display: inline-flex;
	}
	
	.sect-contex .titsw {
		font-size: 1.2rem;
		margin-bottom: 15px;
	}
	
	.bx-listw li {
		padding: 18px 0;
		flex-direction: column;
	}
	
	.bx-listw li:hover {
		padding-left: 0;
		padding-right: 0;
		margin: 0;
	}
	
	.bx-listw li .img-cotex {
		margin-right: 0;
		margin-bottom: 12px;
		align-self: flex-start;
	}
	
	.bx-listw li .img-cotex img {
		width: 100px;
		height: 100px;
		min-height: 100px;
	}
	
	.bx-listw li .cont-cotex {
		width: 100%;
	}
	
	.bx-listw li .cont-cotex .titex > a {
		font-size: 1.05rem;
	}
	
	.bx-listw li .cont-cotex .titex > .date {
		display: block;
		margin-left: 0;
		margin-top: 4px;
		font-size: 0.85rem;
	}
	
	.btnx-more {
		text-align: center;
		margin-top: 15px;
	}
	
	.btnx-more a {
		width: 100%;
		text-align: center;
	}
}

/* END - Search Page */
