/* WBK Simple Slide - Public Styles */

.wbk-simple-slider {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

/* 기본 높이 설정 - 인라인 스타일이 없을 때만 적용 */
.wbk-simple-slider:not([style*="height"]):not([style*="min-height"]) {
	min-height: 300px;
}

.wbk-simple-slider .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
	overflow: hidden;
}

/* 슬라이더에 높이가 설정된 경우 슬라이드 높이도 동일하게 설정 */
.wbk-simple-slider[style*="height"] .swiper-slide {
	min-height: 0;
}

.wbk-simple-slider .slide-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

.wbk-simple-slider .slide-content {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px 20px;
	color: #333;
}

.wbk-simple-slider .image-wrapper {
	position: absolute;
	z-index: 2;
	max-width: 100%;
	max-height: 100%;
}

/* 위치별 CSS 클래스 */
.wbk-simple-slider .image-wrapper.position-top-left {
	top: 10%;
	left: 10%;
	transform: none;
}

.wbk-simple-slider .image-wrapper.position-top-center {
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
}

.wbk-simple-slider .image-wrapper.position-top-right {
	top: 10%;
	right: 10%;
	transform: none;
}

.wbk-simple-slider .image-wrapper.position-center-left {
	top: 50%;
	left: 10%;
	transform: translateY(-50%);
}

.wbk-simple-slider .image-wrapper.position-center-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.wbk-simple-slider .image-wrapper.position-center-right {
	top: 50%;
	right: 10%;
	transform: translateY(-50%);
}

.wbk-simple-slider .image-wrapper.position-bottom-left {
	bottom: 10%;
	left: 10%;
	transform: none;
}

.wbk-simple-slider .image-wrapper.position-bottom-center {
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
}

.wbk-simple-slider .image-wrapper.position-bottom-right {
	bottom: 10%;
	right: 10%;
	transform: none;
}

.wbk-simple-slider .slide-image {
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* 링크가 있는 슬라이드의 경우 */
.wbk-simple-slider .swiper-slide a {
	color: inherit;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.wbk-simple-slider .swiper-slide a:hover {
	color: inherit;
	text-decoration: none;
}

/* 이미지 스타일 */
.wbk-simple-slider .slide-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.wbk-simple-slider .slide-content h1,
.wbk-simple-slider .slide-content h2,
.wbk-simple-slider .slide-content h3,
.wbk-simple-slider .slide-content h4,
.wbk-simple-slider .slide-content h5,
.wbk-simple-slider .slide-content h6 {
	margin-top: 0;
	margin-bottom: 1rem;
}

.wbk-simple-slider .slide-content p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

/* 기본 링크 스타일은 상위에서 처리 */

/* 네비게이션 버튼 스타일링 */
.wbk-simple-slider .swiper-button-prev,
.wbk-simple-slider .swiper-button-next {
	color: #333;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	transition: all 0.3s ease;
}

.wbk-simple-slider .swiper-button-prev:hover,
.wbk-simple-slider .swiper-button-next:hover {
	background: rgba(255, 255, 255, 0.95);
	transform: scale(1.1);
}

.wbk-simple-slider .swiper-button-prev::after,
.wbk-simple-slider .swiper-button-next::after {
	font-size: 18px;
	font-weight: bold;
}

/* 페이지네이션 스타일링 */
.wbk-simple-slider .swiper-pagination {
	bottom: 20px;
}

.wbk-simple-slider .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.8);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.wbk-simple-slider .swiper-pagination-bullet-active {
	background: #fff;
	opacity: 1;
	transform: scale(1.2);
}

/* 페이지네이션 카운트 스타일링 */
.wbk-simple-slider .swiper-pagination-count {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	z-index: 10;
	margin-top: 10px;
}

.wbk-simple-slider .swiper-pagination-count .swiper-pagination-current {
	font-weight: 700;
}

.wbk-simple-slider .swiper-pagination-count .swiper-pagination-separator {
	margin: 0 4px;
	opacity: 0.7;
}

/* 스크롤바 스타일링 */
.wbk-simple-slider .swiper-scrollbar {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 10px;
}

.wbk-simple-slider .swiper-scrollbar-drag {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
}

/* 이펙트별 특수 스타일 */
.wbk-effect-fade .swiper-slide {
	background-size: cover;
	background-position: center;
}

.wbk-effect-cube .swiper-slide {
	background-size: cover;
	background-position: center;
}

.wbk-effect-coverflow .swiper-slide {
	background-size: cover;
	background-position: center;
}

.wbk-effect-flip .swiper-slide {
	background-size: cover;
	background-position: center;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
	.wbk-simple-slider .swiper-slide {
		min-height: 250px;
	}

	.wbk-simple-slider .slide-content {
		padding: 30px 15px;
	}

	.wbk-simple-slider .swiper-button-prev,
	.wbk-simple-slider .swiper-button-next {
		width: 35px;
		height: 35px;
		margin-top: -17.5px;
	}

	.wbk-simple-slider .swiper-button-prev::after,
	.wbk-simple-slider .swiper-button-next::after {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.wbk-simple-slider .swiper-slide {
		min-height: 200px;
	}

	.wbk-simple-slider .slide-content {
		padding: 20px 10px;
	}

	.wbk-simple-slider .slide-content h1 {
		font-size: 1.5rem;
	}

	.wbk-simple-slider .slide-content h2 {
		font-size: 1.3rem;
	}

	.wbk-simple-slider .slide-content p {
		font-size: 0.9rem;
	}
}

/* 로딩 상태 */
.wbk-simple-slider:not(.swiper-initialized) {
	opacity: 0.7;
}

.wbk-simple-slider.swiper-initialized {
	opacity: 1;
	transition: opacity 0.3s ease;
}

/* 세로 방향 슬라이더 스타일 */
.wbk-simple-slider.wbk-direction-vertical {
	height: 400px;
}

.wbk-simple-slider.wbk-direction-vertical .swiper-slide {
	height: auto;
}

.wbk-simple-slider.wbk-direction-vertical .swiper-button-prev,
.wbk-simple-slider.wbk-direction-vertical .swiper-button-next {
	left: 50%;
	right: auto;
	top: auto;
	transform: translateX(-50%) rotate(90deg);
	width: 27px;
	height: 44px;
}

.wbk-simple-slider.wbk-direction-vertical .swiper-button-prev {
	top: 10px;
}

.wbk-simple-slider.wbk-direction-vertical .swiper-button-next {
	bottom: 10px;
	top: auto;
}

.wbk-simple-slider.wbk-direction-vertical .swiper-pagination {
	right: 10px;
	left: auto;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	width: auto;
	display: flex;
	flex-direction: column;
}

.wbk-simple-slider.wbk-direction-vertical .swiper-pagination-bullet {
	margin: 4px 0 !important;
}

.wbk-simple-slider.wbk-direction-vertical .swiper-scrollbar {
	width: 4px;
	right: 4px;
	left: auto;
	top: 0;
	height: 100%;
}

@media (max-width: 768px) {
	.wbk-simple-slider.wbk-direction-vertical {
		height: 300px;
	}
}

@media (max-width: 480px) {
	.wbk-simple-slider.wbk-direction-vertical {
		height: 250px;
	}
}

/* 접근성 개선 */
.wbk-simple-slider .swiper-button-prev,
.wbk-simple-slider .swiper-button-next {
	outline: none;
}

.wbk-simple-slider .swiper-button-prev:focus,
.wbk-simple-slider .swiper-button-next:focus {
	box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

.wbk-simple-slider .swiper-pagination-bullet:focus {
	outline: 2px solid #4299e1;
	outline-offset: 2px;
}