.jazpiper-slider {
	--jp-slider-gap: 34px;
	--jp-cards-per-view: 2;
	--jp-image-height: 445px;
	position: relative;
	width: 100%;
}

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

.jazpiper-slider__viewport {
	overflow: hidden;
	width: 100%;
}

.jazpiper-slider__track {
	display: flex;
	gap: var(--jp-slider-gap);
	transform: translate3d(0, 0, 0);
	transition: transform 320ms ease;
	will-change: transform;
}

.jazpiper-slider__slide {
	flex: 0 0 calc((100% - (var(--jp-slider-gap) * (var(--jp-cards-per-view) - 1))) / var(--jp-cards-per-view));
	min-width: 0;
}

.jazpiper-slider__image-wrap {
	width: 100%;
	overflow: hidden;
}

.jazpiper-slider__image {
	display: block;
	width: 100%;
	height: 445px;
	object-fit: cover;
	background: #f3f3f3;
}

.jazpiper-slider__copy {
	padding: 34px 21px 0;
}

.jazpiper-slider__title,
.jazpiper-slider__description {
	display: inline;
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
	letter-spacing: 0;
}

.jazpiper-slider__title {
	font-weight: 700;
	color: #222;
}

.jazpiper-slider__description {
	font-weight: 400;
	color: #777;
}

.jazpiper-slider__arrows {
	display: flex;
	justify-content: space-between;
	left: 12px;
	pointer-events: none;
	position: absolute;
	right: 12px;
	top: calc(var(--jp-image-height) / 2);
	transform: translateY(-50%);
	z-index: 2;
}

.jazpiper-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	color: #222;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	padding: 0;
	pointer-events: auto;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.jazpiper-slider__arrow:hover,
.jazpiper-slider__arrow:focus {
	background: #222;
	border-color: #222;
	color: #fff;
}

.jazpiper-slider__arrow:disabled {
	opacity: 1;
}

.jazpiper-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.jazpiper-slider__dot {
	width: 9px;
	height: 9px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.24);
	cursor: pointer;
	padding: 0;
}

.jazpiper-slider__dot.is-active {
	background: #222;
}

@media (max-width: 767px) {
	.jazpiper-slider {
		--jp-cards-per-view: 1;
		--jp-image-height: 300px;
	}

	.jazpiper-slider__image {
		height: 300px;
	}

	.jazpiper-slider__copy {
		padding: 20px 4px 0;
	}

	.jazpiper-slider__title,
	.jazpiper-slider__description {
		font-size: 16px;
	}
}
