/* Main page section 5 (Media) */

.main-media {
	padding: 6rem 0;
	background: linear-gradient(135deg, #004080 0%, #00254d 100%);
	background: url("../../../img/en/v2/main/main_05.png") no-repeat right center /
		cover;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.media-container {
	max-width: 80%;
	width: 100%;
	margin: 0 auto;
	padding: 0 5rem;
	position: relative;
	z-index: 2;
}

.media-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 5rem;
}

.media-label {
	font-size: 1.75rem;
	font-weight: 600;
	color: #00a8e8;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
}

.media-title {
	font-size: 6.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.4;
	font-family: "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif;
	letter-spacing: -0.06rem;
}

.media-carousel {
	position: relative;
	width: 100%;
	padding-bottom: 6rem;
}

.media-item {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.media-video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 2rem;
	background: #000;
}

.media-video iframe {
	width: 100%;
	height: 100%;
}

.media-description {
	font-size: 1.25rem;
	font-weight: 500;
	color: #fff;
	margin: 0 0 1rem 0;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.media-date {
	font-size: 1rem;
	font-weight: 400;
	color: #a0c8e0;
	margin: 0;
}

.swiper-button-next,
.swiper-button-prev {
	position: absolute !important;
	width: 3.5rem;
	height: 3.5rem;
	background: #00a8e8 !important;
	border-radius: 50%;
	border: none;
	color: #fff !important;
	z-index: 20;
	top: auto !important;
	bottom: 0 !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	cursor: pointer;
	outline: none;
	padding: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 1.2rem;
	font-weight: bold;
	color: #fff;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background: rgba(0, 168, 232, 0.8) !important;
	transform: scale(1.1);
}

.swiper-button-next {
	right: 4.5rem !important;
}

.swiper-button-prev {
	right: 10rem !important;
}

/* Swiper Scrollbar */
.media-carousel .swiper-scrollbar {
	bottom: 2rem;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	height: 4px;
}

.media-carousel .swiper-scrollbar-drag {
	background: #00a8e8;
	border-radius: 10px;
	height: 100%;
}

/* 반응형: 태블릿 */
@media (max-width: 1024px) {
	.media-container {
		padding: 0 3.75rem;
	}

	.media-header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 3.75rem;
		gap: 2rem;
	}

	.media-title {
		font-size: 4rem;
	}

	.media-description {
		font-size: 1.125rem;
	}
}

/* 반응형: 모바일 */
@media (max-width: 768px) {
	.main-media {
		height: auto;
		width: 100%;
		background: url("../../../img/en/v2/main/main_05_m.png") no-repeat center
			center / cover;
		/* padding: 3rem 0; */
	}

	.media-container {
		padding: 0 2rem;
	}

	.media-header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 2.5rem;
		gap: 1.5rem;
	}

	.media-title {
		font-size: 3rem;
	}

	.media-item {
		width: 100%;
	}

	.media-video {
		width: 100%;
		margin-bottom: 1.5rem;
	}

	.media-video iframe {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.media-description {
		font-size: 1rem;
		margin: 0 0 0.75rem 0;
	}

	.media-date {
		font-size: 0.9rem;
	}

	.swiper-button-next,
	.swiper-button-prev {
		width: 2.5rem;
		height: 2.5rem;
	}

	.swiper-button-next {
		right: 3rem !important;
	}

	.swiper-button-prev {
		right: 7rem !important;
		right: 3.5rem;
	}
}
