.poster-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.poster-card {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #111;
	color: #fff;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.poster-card a {
	display: block;
	position: relative;
	color: inherit;
	text-decoration: none;
}

.poster-card img {
	display: block;
	width: 100%;
	height: 360px;
	object-fit: cover;
}

.shadow_cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.68) 28%,
		rgba(0, 0, 0, 0.28) 56%,
		rgba(0, 0, 0, 0) 78%
	);
	pointer-events: none;
	z-index: 1;
}

.poster-hover {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(104, 95, 188, 0.75);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	z-index: 4;
	pointer-events: none;
}

.hover-detail {
	width: 86px;
	height: 86px;
	border: 1px solid rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.plus-icon {
	position: relative;
	display: inline-block;
	width: 22px;
	height: 22px;
}

.plus-icon::before,
.plus-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 2px;
}

.plus-icon::before {
	width: 16px;
	height: 2px;
}

.plus-icon::after {
	width: 2px;
	height: 16px;
}

.poster-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	padding: 0 12px 10px;
	transition: color 0.2s ease;
}

.poster-title {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 4px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.poster-date {
	font-size: 14px;
	font-weight: 400;
	opacity: 0.95;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.poster-card:hover .poster-hover {
	opacity: 1;
	visibility: visible;
}

.poster-card:hover .shadow_cover {
	opacity: 0.45;
}

.poster-card:hover .poster-title,
.poster-card:hover .poster-date {
	color: #b9b1e6;
	text-shadow: none;
}

@media (max-width: 1024px) {
	.poster-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.poster-card img {
		height: 320px;
	}
}

@media (max-width: 640px) {
	.poster-list {
		grid-template-columns: 1fr;
	}
}

/* main page support block */
.main-support-wrap {
	width: 100%;
}

.main-support-grid {
	display: grid;
	grid-template-columns: 40fr 30fr 30fr;
	gap: 20px;
	width: 100%;
}

.main-support-col {
	box-sizing: border-box;
}

.main-support-col-notice {
	max-width: 100%;
}

.main-support-col-phone,
.main-support-col-location {
	max-width: 100%;
}

.main-support-card {
	border: 1px solid #e5e5e5;
	padding: 14px 14px;
	background: #fff;
	height: 100%;
	position: relative;
	border-radius: 14px;
}

.main-support-col-phone .main-support-card,
.main-support-col-location .main-support-card {
	background: #f7f7f7;
}

.main-support-title {
	font-size: 22px;
	color: #333;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 7px;
}

.main-support-body {
	position: relative;
}

.main-support-notice-body .bbody {
	width: 100%;
	min-height: 160px;
	height: auto;
	border: 0;
	margin-top: 0;
	background: transparent;
	box-shadow: none;
}

.main-support-notice-body .bboard,
.main-support-notice-body .bboard ul {
	border: 0;
	background: transparent;
}

.main-support-notice-body .btext {
	position: relative;
}

.main-support-notice-body .btext > ul > li {
	padding: 12px 10px 0;
	font-size: 16px;
	color: #555;
	width: 75%;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-wrap: normal;
	overflow: hidden;
	background: url("/files/images/main_notice_icon.jpg") no-repeat 0 23px;
}

.main-support-notice-body .btext span.date {
	position: absolute;
	font-size: 15px;
}

.main-support-num {
	font-size: 44px;
	letter-spacing: -0.5px;
	font-weight: 700;
	margin-top: 15px;
	color: #111;
}

.main-support-text {
	font-size: 14px;
	letter-spacing: -0.5px;
	margin-top: 20px;
	color: #777;
	line-height: 1.6;
}

.main-location-body {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.main-location-thumb {
	border-radius: 12px;
	overflow: hidden;
	background: #d9d9d9;
	height: 130px;
}

.main-location-thumb-bg {
	width: 100%;
	height: 100%;
	background: #1b484b url("/files/images/drama/j1.jpg");
	background-repeat: no-repeat;
	background-position: center;
}

.main-location-texts {
	margin-top: 8px;
    margin-left: 6px;
    margin-bottom: 8px;
}

.main-location-footer {
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.main-location-en {
	color: #bf163f;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3px;
}

.main-location-ko {
	margin-top: -1px;
    color: #2c2c2c;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.8px;
}

.main-location-link {
	width: 55px;
	height: 55px;
	flex: 0 0 55px;
	border-radius: 50%;
	background: #d5074a;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	font-weight: 700;
}

.main-location-link span {
	color: #fff;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
}

.main-support-col-phone .main-support-card {
	border-radius:12px;
	text-align: center;
	padding-top: 18px;
}

.main-study-body {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.main-study-en {
	color: #bf163f;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.main-study-ko {
	margin-top: 8px;
	color: #1d1d1d;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -1px;
	line-height: 1.1;
}

.main-study-icon {
	width: 110px;
	height: 110px;
	/* margin-top: 16px; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.main-study-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.main-support-phone-btn {
	margin-top: 12px;
}

.main-support-phone-btn a {
	display: inline-block;
	min-width: 150px;
	padding: 4px 28px;
	border-radius: 999px;
	background: #3b383b;
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
	.main-support-grid {
		display: block;
	}

	.main-support-col-notice,
	.main-support-col-phone,
	.main-support-col-location {
		max-width: 100%;
	}

	.main-support-col + .main-support-col {
		margin-top: 16px;
	}

	.main-location-thumb {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* 메인 전용: 드라마 포스터 티커 (/web/157과 동일 포스터, 배너 하단) */
.main-drama-ticker {
	width: 100%;
	margin-top: 50px;
	margin-bottom: 50px;
	padding: 12px 0 18px;
	background: transparent;
	box-sizing: border-box;
}

/* 제목은 박스 밖(.main-drama-ticker-wrap), 포스터는 .main-drama-ticker-shell 안에서만 스크롤 */
.main-drama-ticker-wrap {
	padding: 0;
	box-sizing: border-box;
}

.main-drama-ticker-shell {
	overflow: hidden;
	padding: 14px 16px;
	background: linear-gradient(to bottom, #f9fafb, #ffffff);
	border: 1px solid #ececec;
	border-radius: 10px;
	box-sizing: border-box;
}

.main-drama-ticker-title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	color: #333333;
	letter-spacing: -0.02em;
	line-height: 1.3;
	text-align: center;
}

.main-drama-ticker-viewport {
	overflow: hidden;
	width: 100%;
}

.main-drama-ticker-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: max-content;
	/* 왼쪽 → 오른쪽으로 이동 (트랙이 오른쪽으로 이동, 콘텐츠는 좌→우 흐름) */
	animation: mainDramaTickerX 55s linear infinite;
	will-change: transform;
}

/* 포스터 이미지(img) 위에 올렸을 때만 이동 정지 (빈 여백·제목 영역 호버 시에는 계속 이동) */
.main-drama-ticker-track:has(.poster-card img:hover) {
	animation-play-state: paused;
}

@keyframes mainDramaTickerX {
	from {
		transform: translateX(-50%);
	}
	to {
		transform: translateX(0);
	}
}

.main-drama-ticker-strip {
	flex: 0 0 auto;
	display: flex;
	align-items: stretch;
}

.main-drama-ticker .poster-list.main-drama-ticker__list {
	display: flex !important;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 14px;
	margin: 0;
	padding: 0 10px;
	list-style: none;
	width: max-content;
	grid-template-columns: none !important;
}

.main-drama-ticker .poster-list.main-drama-ticker__list > .poster-card {
	flex: 0 0 auto;
	width: 158px;
}

.main-drama-ticker .poster-list.main-drama-ticker__list .poster-card img {
	width: 158px;
	height: 220px;
	object-fit: cover;
}

.main-drama-ticker .poster-overlay {
	padding: 0 8px 8px;
}

.main-drama-ticker .poster-title {
	font-size: 13px;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.main-drama-ticker .poster-date {
	font-size: 11px;
}

@media (max-width: 640px) {
	.main-drama-ticker {
		margin-top: 28px;
		margin-bottom: 28px;
	}

	.main-drama-ticker-title {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.main-drama-ticker .poster-list.main-drama-ticker__list > .poster-card {
		width: 120px;
	}

	.main-drama-ticker .poster-list.main-drama-ticker__list .poster-card img {
		width: 120px;
		height: 170px;
	}

	.main-drama-ticker-track {
		animation-duration: 40s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.main-drama-ticker-track {
		animation: none !important;
		transform: none !important;
	}
}

/* 메인: 공지·고객센터 블록(.section-board_button) 상단 여백 축소 */
#wrapmain .section-board_button {
	margin-top: 10px;
	padding-top: 10px;
	padding-bottom: 80px;
}

@media only screen and (max-width: 480px) {
	#wrapmain .section-board_button {
		padding-bottom: 40px;
	}
}
