.agate-template-slider {
	position: relative;
	width: 100%;
}

.agate-template-slider__swiper {
	--agate-template-slider-gap: 0px;
	overflow: hidden;
	cursor: grab;
	user-select: none;
	-webkit-user-drag: none;
}

.agate-template-slider.is-dragging .agate-template-slider__swiper {
	cursor: grabbing;
}

.agate-template-slider.is-dragging .agate-template-slider__swiper * {
	cursor: grabbing !important;
}

.agate-template-slider__slide {
	height: auto;
}

.agate-template-slider__slide-inner {
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.agate-template-slider__wrapper {
	align-items: stretch;
	transition-timing-function: linear !important;
}

.agate-template-slider__slide.swiper-slide {
	box-sizing: border-box;
	width: auto;
	flex: 0 0 auto;
}

.agate-template-slider__nav {
	position: absolute;
	inset: 50% 0 auto;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 3;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.agate-template-slider__arrow {
	pointer-events: auto;
	border: 0;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.72);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.agate-template-slider__pagination {
	display: flex;
	justify-content: center;
	margin-top: 18px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.agate-template-slider__pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(15, 23, 42, 0.2);
	opacity: 1;
}

.agate-template-slider__pagination .swiper-pagination-bullet-active {
	background: #111827;
}

.agate-template-slider__pagination .agate-template-slider__dot {
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.2);
	padding: 0;
	cursor: pointer;
}

.agate-template-slider__pagination .agate-template-slider__dot.is-active {
	background: #111827;
}

.agate-template-slider:hover .agate-template-slider__nav,
.agate-template-slider:focus-within .agate-template-slider__nav,
.agate-template-slider:hover .agate-template-slider__pagination,
.agate-template-slider:focus-within .agate-template-slider__pagination {
	opacity: 1;
	visibility: visible;
}

.agate-template-slider[data-navigation-position="outside"] .agate-template-slider__nav {
	left: -56px;
	right: -56px;
}

.agate-template-slider[data-navigation-position="inside"] .agate-template-slider__nav {
	left: 0;
	right: 0;
}

.agate-template-slider[data-dots-position="inside"] .agate-template-slider__pagination {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	margin-top: 0;
	z-index: 3;
}

.agate-template-slider[data-dots-position="outside"] .agate-template-slider__pagination {
	position: static;
	transform: none;
}

.agate-template-slider[data-navigation="false"] .agate-template-slider__nav,
.agate-template-slider[data-navigation=""] .agate-template-slider__nav {
	display: none;
}

.agate-template-slider[data-dots="false"] .agate-template-slider__pagination,
.agate-template-slider[data-dots=""] .agate-template-slider__pagination {
	display: none;
}

.agate-template-slider__placeholder {
	padding: 32px;
	background: #f8fafc;
	color: #475569;
	text-align: center;
}

@media (max-width: 767px) {
	.agate-template-slider__arrow {
		width: 36px;
		height: 36px;
	}

	.agate-template-slider[data-navigation-position="outside"] .agate-template-slider__nav {
		left: -18px;
		right: -18px;
	}
}
