.nextstep-carousel {
	--nextstep-carousel-gap: 8px;
	--nextstep-carousel-visible: 4;
	--nextstep-carousel-navy: #061438;
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1232px;
	padding: 8px 56px 36px;
	position: relative;
	width: min(100%, 100vw);
}

.nextstep-carousel *,
.nextstep-carousel *::before,
.nextstep-carousel *::after {
	box-sizing: border-box;
}

.nextstep-carousel:focus {
	outline: none;
}

.nextstep-carousel:focus-visible {
	outline: 2px solid var(--nextstep-carousel-navy);
	outline-offset: 6px;
}

.nextstep-carousel__viewport {
	overflow: hidden;
	touch-action: pan-y;
}

.nextstep-carousel__track {
	display: flex;
	gap: var(--nextstep-carousel-gap);
	list-style: none;
	margin: 0;
	padding: 0 !important;
	transform: translate3d(0, 0, 0);
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.nextstep-carousel__slide {
	flex: 0 0 calc(25% - 6px);
	margin: 0;
	min-width: 0;
	padding: 4px;
}

.nextstep-carousel__card {
	margin: 0;
}

.nextstep-carousel__media {
	background: #fff;
	box-shadow: 0 2px 12px rgba(6, 20, 56, 0.16);
	display: block;
	overflow: hidden;
	padding: 4px;
	position: relative;
}

.nextstep-carousel__media::after {
	border: 1px solid rgba(6, 20, 56, 0.08);
	content: "";
	inset: 4px;
	pointer-events: none;
	position: absolute;
}

.nextstep-carousel__image {
	aspect-ratio: 4 / 3;
	display: block;
	height: auto;
	margin: 0;
	object-fit: cover;
	transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
	width: 100%;
}

a.nextstep-carousel__media:hover .nextstep-carousel__image,
a.nextstep-carousel__media:focus-visible .nextstep-carousel__image {
	transform: scale(1.025);
}

.nextstep-carousel__title {
	color: #333;
	font: 700 12px/1.4 "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 8px 6px 0;
	min-height: 34px;
	overflow: hidden;
	text-align: center;
}

.nextstep-carousel__arrow {
	align-items: center;
	appearance: none;
	background: var(--nextstep-carousel-navy);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 5px 16px rgba(6, 20, 56, 0.24);
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 42px;
	justify-content: center;
	margin: 0;
	opacity: 0.94;
	padding: 0 !important;
	position: absolute;
	top: calc(50% - 30px);
	transform: translateY(-50%);
	transition: opacity 150ms ease, transform 150ms ease, background-color 150ms ease;
	width: 42px;
	z-index: 2;
}

.nextstep-carousel__arrow:hover,
.nextstep-carousel__arrow:focus-visible {
	background: #0d2a66;
	opacity: 1;
	transform: translateY(-50%) scale(1.06);
}

.nextstep-carousel__arrow:focus-visible {
	outline: 3px solid rgba(6, 20, 56, 0.25);
	outline-offset: 3px;
}

.nextstep-carousel__arrow[hidden] {
	display: none;
}

.nextstep-carousel__arrow svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	min-width: 22px;
	width: 22px !important;
}

.nextstep-carousel__arrow--previous {
	left: 4px;
}

.nextstep-carousel__arrow--next {
	right: 4px;
}

.nextstep-carousel__dots {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 18px;
}

.nextstep-carousel__dots[hidden] {
	display: none;
}

.nextstep-carousel__dot {
	appearance: none;
	background: #b8becb;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 8px;
	margin: 0;
	padding: 0 !important;
	transition: background-color 150ms ease, width 200ms ease;
	width: 8px;
}

.nextstep-carousel__dot[aria-current="true"] {
	background: var(--nextstep-carousel-navy);
	width: 24px;
}

.nextstep-carousel__dot:focus-visible {
	outline: 2px solid var(--nextstep-carousel-navy);
	outline-offset: 3px;
}

.nextstep-carousel__status {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 800px) {
	.nextstep-carousel {
		--nextstep-carousel-visible: 2;
		margin-left: 0;
		margin-right: 0;
		max-width: calc(100vw - 40px);
		padding-left: 50px;
		padding-right: 50px;
		width: calc(100vw - 40px);
	}

	.nextstep-carousel__slide {
		flex-basis: calc(50% - 4px);
	}
}

@media (max-width: 480px) {
	.nextstep-carousel {
		--nextstep-carousel-visible: 1;
		padding-left: 44px;
		padding-right: 44px;
	}

	.nextstep-carousel__arrow {
		height: 36px;
		width: 36px;
	}

	.nextstep-carousel__arrow--previous {
		left: 2px;
	}

	.nextstep-carousel__arrow--next {
		right: 2px;
	}

	.nextstep-carousel__slide {
		flex-basis: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nextstep-carousel__track,
	.nextstep-carousel__image,
	.nextstep-carousel__arrow,
	.nextstep-carousel__dot {
		transition: none;
	}
}
