.cx-hero {
	position: relative;
	width: 100%;
	margin: 0 0 12px;
	background: #f2f2f2;
	overflow: hidden;
}

.cx-hero__viewport {
	overflow: hidden;
	touch-action: pan-y;
	cursor: grab;
}

.cx-hero__viewport.is-dragging {
	cursor: grabbing;
}

.cx-hero__track {
	display: flex;
	will-change: transform;
}

.cx-hero__slide {
	flex: 0 0 100%;
	min-width: 0;
	aspect-ratio: 1 / 1;
	text-decoration: none;
	color: inherit;
}

.cx-hero__slide picture {
	display: block;
	height: 100%;
}

.cx-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	user-select: none;
}

.cx-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #1d1d1f;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	display: grid;
	place-items: center;
}

.cx-hero__arrow svg {
	width: 18px;
	height: 18px;
	display: block;
}

.cx-hero__arrow--prev {
	left: 10px;
}

.cx-hero__arrow--next {
	right: 10px;
}

.cx-hero__arrow:hover,
.cx-hero__arrow:focus-visible {
	background: #fff;
}

.cx-hero__arrow:focus-visible,
.cx-hero__dot:focus-visible {
	outline: 2px solid #1d1d1f;
	outline-offset: 2px;
}

.cx-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 7px;
}

.cx-hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
	cursor: pointer;
}

.cx-hero__dot.is-active {
	width: 22px;
	background: #fff;
}

@media (min-width: 768px) {
	.cx-hero__slide {
		aspect-ratio: 1920 / 632;
		max-height: 640px;
	}

	.cx-hero__arrow {
		width: 46px;
		height: 46px;
	}

	.cx-hero__arrow--prev {
		left: 18px;
	}

	.cx-hero__arrow--next {
		right: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-hero__track {
		transition: none !important;
	}
}
