@charset "utf-8";

/* 새글 스킨 (latest) */
.main_con01_list { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; }

.event-item {
	overflow: hidden;
	position: relative;
	background: #fff;
	border-radius: 15px;
	text-align: center;
	max-height: 380px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

/* 2열 차지 항목 */
.event-item:nth-child(1) {
	grid-column: span 4;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e4183, #3a6bb5);
	color: #fff;
}

.event-item:nth-child(2), .event-item:nth-child(3), .event-item:nth-child(4), .event-item:nth-child(5), .event-item:nth-child(6), .event-item:nth-child(7) {
	grid-column: span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e4183, #3a6bb5);
	color: #fff;
}

.event-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-item-inr { display: block; width: 100%; height: 100%; }

.event-item a { display: block; width: 100%; height: 100%; }

.event-item .imgbox { position: relative; width: 100%; height: 100%; }
.event-item .imgbox:after { content:''; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); }
.event-item .imgbox img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; transform: scale(1); transition: transform 0.6s; }
.event-item:hover .imgbox img { transform: scale(1.1); }
.event-item .info { position: absolute; left: 0px; top: 0px; padding: 30px; color: #fff; text-align: left; }
.event-item .info .title .eng_txt { font-size: 0.8em; opacity: 0.6; }
.event-item .info .title h4 { margin: 15px 0 20px; font-size: 1.7em; font-weight: 800; word-break: keep-all; }
.event-item .info .title p { color: rgba(255, 255, 255, 0.8); font-size: 0.9em; word-break: keep-all; }
.event-item .info_inr { display: none; }

/* 바로가기 버튼 */
.goto-btn {
	position: absolute;
	right: 20px;
	bottom: 20px;
	width: 70px;
	height: 70px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.3s;
	z-index: 10;
}

.event-item:hover .goto-btn {
	opacity: 1;
	transform: scale(1);
}

.goto-btn svg {
	width: 24px;
	height: 24px;
	fill: #111;
}

@media screen and (max-width: 1280px) {
	
	.main_con01_list { gap: 10px; }
	.event-item { max-height: 300px; }

	.event-item .info .title h4 { word-break: break-all; }

}

@media screen and (max-width: 1024px) {

	.main_con01_list { grid-template-columns: repeat(3, 1fr); }
	
	.event-item { height: 250px; }
	.event-item:nth-child(1) { grid-column: span 2; }
	.event-item:nth-child(2), .event-item:nth-child(3), .event-item:nth-child(4), .event-item:nth-child(5), .event-item:nth-child(6) { grid-column: span 1; }
	.event-item:nth-child(7) { grid-column: span 2; }

	.event-item .info { padding: 20px; }

	.goto-btn { right: 10px; bottom: 10px; width: 50px; height: 50px; }

}

@media screen and (max-width: 575px) {
	
	.main_con01_list { grid-template-columns: repeat(2, 1fr); }
	.event-item:nth-child(1) { grid-column: span 2; }
	.event-item:nth-child(2), .event-item:nth-child(3), .event-item:nth-child(4), .event-item:nth-child(5), .event-item:nth-child(6) { grid-column: span 1; }
	.event-item:nth-child(7) { grid-column: span 1; }

}

@media screen and (max-width: 430px) {

    .event-item { height: 230px; }

}