/* 히어로 슬라이더 — 메인 비주얼 */
.yeogadium-hero--slider {
	position: relative;
	overflow: hidden;
}
/* 메인 히어로만 — 4:3에 맞춰 높이가 줄어들어 cover 확대감 완화 (공간대관·공간 특징 슬라이더 제외) */
.yeogadium-hero--slider:not(.yeogadium-space-intro-slider):not(.yeogadium-space-feature-slider) {
	height: min(100vh, calc(100vw * 3 / 4));
	height: min(100dvh, calc(100vw * 3 / 4));
	box-sizing: border-box;
}
.yeogadium-hero__slider {
	position: absolute;
	inset: 0;
}
.yeogadium-hero__slider-track {
	position: relative;
	width: 100%;
	height: 100%;
}
.yeogadium-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.yeogadium-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}
.yeogadium-hero__overlays {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}
.yeogadium-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--wp--preset--spacing--70, 80px) var(--wp--preset--spacing--50, 40px);
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}
.yeogadium-hero__overlay.is-active {
	opacity: 1;
	pointer-events: auto;
}
.yeogadium-hero__overlay-inner {
	max-width: 720px;
	text-align: center;
	padding: 1.25em 1.5em;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.35);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
/* <p> 요소는 전역 본문색이 덮어쓸 수 있어 색은 #fff 고정 */
.yeogadium-hero__overlay-label {
	color: #fff;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	margin: 0 0 0.5em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 0 14px rgba(0, 0, 0, 0.45);
}
.yeogadium-hero__overlay-title {
	color: var(--wp--preset--color--base, #fff);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.8);
}
.yeogadium-hero__overlay-subtitle {
	color: var(--wp--preset--color--base, #fff);
	font-size: 1.125rem;
	line-height: 1.7;
	margin: 0 0 1.5rem;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 0, 0, 0.5);
}
.yeogadium-hero__overlay-btn {
	display: inline-block;
	padding: 0.65em 1.25em;
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.yeogadium-hero__overlay-btn:hover {
	opacity: 0.95;
}
.yeogadium-hero__overlay-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
	margin-top: 0.25rem;
}
.yeogadium-hero__overlay-btn--secondary {
	background: rgba(255, 255, 255, 0.92);
	color: var(--wp--preset--color--contrast, #1a1a1a);
	border: 2px solid var(--wp--preset--color--base, #fff);
}
.yeogadium-hero__dots {
	position: absolute;
	bottom: var(--wp--preset--spacing--40, 24px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 10px;
	justify-content: center;
}
.yeogadium-hero__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--base, #fff);
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease;
}
.yeogadium-hero__dot.is-active,
.yeogadium-hero__dot:hover {
	background: var(--wp--preset--color--base, #fff);
}

/* 공간대관(/space/) 상단 슬라이더 — PC·모바일 공통 높이 320px 고정, 모서리 라운드 없음 */
.yeogadium-hero--slider.yeogadium-space-intro-slider {
	height: 320px;
	min-height: 320px;
	max-height: 320px;
	border-radius: 0;
	overflow: hidden;
	box-sizing: border-box;
	isolation: isolate;
}
.yeogadium-space-intro-slider .yeogadium-hero__slider,
.yeogadium-space-intro-slider .yeogadium-hero__slider-track {
	height: 100%;
	border-radius: 0;
	overflow: hidden;
}
.yeogadium-space-intro-slider .yeogadium-hero__slide {
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 0;
}
.yeogadium-space-intro-slider .yeogadium-hero__overlays {
	border-radius: 0;
	overflow: hidden;
}
.yeogadium-space-intro-slider .yeogadium-hero__overlay:not(.yeogadium-space-intro-slider__overlay--has-caption) {
	opacity: 0;
	pointer-events: none;
}
.yeogadium-space-intro-slider .yeogadium-hero__overlay.is-active:not(.yeogadium-space-intro-slider__overlay--has-caption) {
	opacity: 0;
}
.yeogadium-space-intro-slider .yeogadium-space-intro-slider__overlay-inner {
	padding: 1em 1.25em;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.48);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}
.yeogadium-space-intro-slider .yeogadium-space-intro-slider__caption {
	margin: 0;
	color: #fff !important;
	font-weight: 700;
	font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
	text-align: center;
	line-height: 1.6;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 0 14px rgba(0, 0, 0, 0.45);
}
/* 공간 특징 좌측 — 컬럼 폭에 맞는 비율 슬라이더 (space-feature-1.png …) */
.yeogadium-space-feature-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	box-sizing: border-box;
}
.yeogadium-space-feature-slider .yeogadium-hero__slider,
.yeogadium-space-feature-slider .yeogadium-hero__slider-track {
	border-radius: 12px;
}
.yeogadium-space-feature-slider .yeogadium-space-feature-slider__overlays {
	display: none !important;
}
.yeogadium-space-feature-slider .yeogadium-space-feature-slider__dots {
	bottom: 10px;
}
@media (max-width: 781px) {
	.yeogadium-space-feature-slider {
		aspect-ratio: 16 / 10;
		max-height: 380px;
		margin-left: auto;
		margin-right: auto;
	}
}
