.ea-safe-slider {
	--ea-slider-visible: 3;
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.ea-safe-slider__viewport {
	overflow: hidden;
}

.ea-safe-slider__track {
	display: flex;
	transition: transform 300ms ease;
	will-change: transform;
}

.ea-safe-slider__slide {
	box-sizing: border-box;
	flex: 0 0 calc(100% / var(--ea-slider-visible));
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.ea-safe-slider__slide img {
	max-width: 100%;
	height: auto;
}

.ea-safe-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0 0 4px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.ea-safe-slider__arrow--previous {
	left: 8px;
}

.ea-safe-slider__arrow--next {
	right: 8px;
}

.ea-safe-slider__arrow:focus-visible,
.ea-safe-slider__dots button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.ea-safe-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding-top: 12px;
}

.ea-safe-slider__dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c6c6c6;
	cursor: pointer;
}

.ea-safe-slider__dots button[aria-current="true"] {
	background: #e75e25;
}

.ea-safe-slider__dots button[hidden] {
	display: none;
}

@media (max-width: 767px) {
	.ea-safe-slider {
		--ea-slider-visible: 2;
	}
}

@media (max-width: 479px) {
	.ea-safe-slider {
		--ea-slider-visible: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ea-safe-slider__track {
		transition: none;
	}
}
