.sbhs-slider,
.sbhs-slider * {
	box-sizing: border-box;
}

.sbhs-slider {
	position: relative;
	width: 100%;
	height: 520px;
	margin: 0;
	overflow: hidden;
	background: #d8d2c8;
	touch-action: pan-y;
	--sbhs-speed: 700ms;
	--sbhs-arrow-size: 28px;
}

.sbhs-track,
.sbhs-slide,
.sbhs-slide-inner,
.sbhs-media {
	width: 100%;
	height: 100%;
}

.sbhs-track {
	position: relative;
	z-index: 1;
}

.sbhs-slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--sbhs-speed) ease, visibility var(--sbhs-speed) ease;
}

.sbhs-slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sbhs-slider[data-effect="slide"] .sbhs-track {
	display: flex;
	transition: transform var(--sbhs-speed) cubic-bezier(.22,.61,.36,1);
	will-change: transform;
}

.sbhs-slider[data-effect="slide"] .sbhs-slide {
	position: relative;
	inset: auto;
	flex: 0 0 100%;
	z-index: 1;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: none;
}

.sbhs-slide-inner {
	position: relative;
	display: block;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.sbhs-slide-inner:hover,
.sbhs-slide-inner:focus {
	color: inherit;
	text-decoration: none;
}

.sbhs-media {
	position: absolute;
	inset: 0;
	display: block;
	background-image: var(--sbhs-image);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	transform: scale(1.001);
	transition: transform 1.4s cubic-bezier(.2,.65,.3,1);
}

.sbhs-slider:hover .sbhs-slide.is-active .sbhs-media {
	transform: scale(1.015);
}

.sbhs-overlay {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: block;
	pointer-events: none;
	background: rgba(0, 0, 0, .08);
}

.sbhs-content {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 78px;
	width: 80%;
	max-width: 1100px;
	transform: translateX(-50%);
	text-align: center;
	pointer-events: none;
}

.sbhs-title {
	padding: 0;
	margin: 0 0 6px;
	color: #fff;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(32px, 4vw, 58px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.035em;
}

.sbhs-description {
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
}

.sbhs-pagination {
	position: absolute;
	z-index: 4;
	left: 50%;
	bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: auto;
	transform: translateX(-50%);
	line-height: 1;
}

.sbhs-pagination .sbhs-dot {
	display: block;
	width: 4px;
	height: 4px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin: 0 !important;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,.55);
	box-shadow: none;
	opacity: 1;
	cursor: pointer;
	transition: transform .25s ease, background-color .25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.sbhs-pagination .sbhs-dot.is-active {
	background: #fff;
	transform: scale(1.35);
}

.sbhs-navigation {
	position: absolute;
	z-index: 5;
	right: 18px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.sbhs-slider .sbhs-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--sbhs-arrow-size);
	height: var(--sbhs-arrow-size);
	min-width: var(--sbhs-arrow-size);
	min-height: var(--sbhs-arrow-size);
	max-width: var(--sbhs-arrow-size);
	max-height: var(--sbhs-arrow-size);
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.42);
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	overflow: hidden;
	line-height: 1;
	transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.sbhs-slider .sbhs-arrow:hover,
.sbhs-slider .sbhs-arrow:focus-visible {
	background: rgba(255,255,255,.72);
	transform: translateY(-1px);
}

.sbhs-slider .sbhs-arrow:focus-visible {
	outline: 1px solid #fff;
	outline-offset: 2px;
}

.sbhs-slider .sbhs-arrow:disabled {
	opacity: .35;
	cursor: default;
	transform: none;
}

.sbhs-slider .sbhs-arrow img {
	display: block;
	width: 14px;
	height: 14px;
	min-width: 0;
	max-width: none;
	object-fit: contain;
	pointer-events: none;
}

.sbhs-arrow span {
	font-size: 14px;
	line-height: 1;
}

.sbhs-slider.is-single .sbhs-pagination,
.sbhs-slider.is-single .sbhs-navigation {
	display: none !important;
}

@media (max-width: 1024px) {
	.sbhs-slider {
		height: 440px;
	}
}

@media (max-width: 767px) {
	.sbhs-slider {
		height: 520px;
	}

	.sbhs-media {
		background-image: var(--sbhs-mobile-image);
	}

	.sbhs-content {
		bottom: 76px;
		width: calc(100% - 40px);
	}

	.sbhs-title {
		font-size: clamp(30px, 10vw, 44px);
	}

	.sbhs-description {
		font-size: 11px;
	}

	.sbhs-navigation {
		right: 14px;
		bottom: 16px;
	}

	.sbhs-pagination {
		bottom: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sbhs-slide,
	.sbhs-track,
	.sbhs-media,
	.sbhs-arrow,
	.sbhs-pagination .sbhs-dot {
		transition: none;
	}
}
