.te-process-shell {
	container-name: te-process;
	container-type: inline-size;
	max-width: 100%;
	min-width: 0;
	margin-right: auto;
	margin-left: auto;
}

.te-process-shell--width-contained {
	width: min(100%, 1000px);
}

.te-process-shell--width-full {
	width: 100%;
}

.te-process-shell--width-custom {
	width: min(
		100%,
		var(
			--te-process-widget-width,
			var(--te-process-widget-width-fallback, 1000px)
		)
	);
}

.te-process-shell--align-left {
	margin-right: auto;
	margin-left: 0;
}

.te-process-shell--align-center {
	margin-right: auto;
	margin-left: auto;
}

.te-process-shell--align-right {
	margin-right: 0;
	margin-left: auto;
}

.te-process {
	--te-column-gap: 0px;
	--te-row-gap: 64px;
	--te-marker-size: 34px;
	--te-marker-color: currentColor;
	--te-marker-background: #faf8f3;
	--te-marker-border-color: currentColor;
	--te-marker-border-width: 1px;
	--te-icon-size: 22px;
	--te-connector-color: currentColor;
	--te-connector-width: 1px;
	--te-connector-style: solid;
	--te-content-gap: 10px;
	--te-title-color: currentColor;
	--te-description-color: currentColor;
	--te-description-gap: 8px;
	--te-mobile-marker-align: center;
	--te-mobile-marker-offset: calc(50% - (var(--te-marker-size) / 2));
	--te-hover-lift: 4px;
	--te-animation-duration: 500ms;
	--te-animation-stagger: 100ms;
	width: 100%;
}

.te-process *,
.te-process *::before,
.te-process *::after {
	box-sizing: border-box;
}

.te-process__list {
	display: grid;
	grid-template-columns: repeat(
		var(--te-desktop-steps-per-row, 4),
		minmax(0, 1fr)
	);
	gap: var(--te-row-gap) var(--te-column-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.te-process__item {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.te-process__marker-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.te-process__marker-wrap::before,
.te-process__marker-wrap::after {
	position: absolute;
	z-index: 0;
	top: 50%;
	width: calc(50% + (var(--te-column-gap) / 2));
	border-top-color: var(--te-connector-color);
	border-top-style: var(--te-connector-style);
	border-top-width: var(--te-connector-width);
	content: "";
	transform: translateY(-50%);
}

.te-process__marker-wrap::before {
	right: 50%;
	opacity: var(--te-before-desktop, 1);
}

.te-process__marker-wrap::after {
	left: 50%;
	opacity: var(--te-after-desktop, 1);
}

.te-process__item:first-child .te-process__marker-wrap::before,
.te-process__item:last-child .te-process__marker-wrap::after {
	display: none;
}

.te-process__marker {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: 0 0 var(--te-marker-size);
	align-items: center;
	justify-content: center;
	width: var(--te-marker-size);
	height: var(--te-marker-size);
	color: var(--te-step-marker-color, var(--te-marker-color));
	background-color: var(--te-step-marker-background, var(--te-marker-background));
	border-color: var(--te-step-marker-border-color, var(--te-marker-border-color));
	border-style: solid;
	border-width: var(--te-marker-border-width);
	border-radius: 50%;
	line-height: 1;
	transition:
		color 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.te-process__marker-icon {
	display: inline-flex;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	width: min(var(--te-icon-size), calc(var(--te-marker-size) - 4px));
	height: min(var(--te-icon-size), calc(var(--te-marker-size) - 4px));
	max-width: 100%;
	max-height: 100%;
	font-size: var(--te-icon-size);
	line-height: 1;
}

.te-process__marker-icon svg {
	display: block;
	width: calc(100% - 4px) !important;
	height: calc(100% - 4px) !important;
	max-width: calc(100% - 4px);
	max-height: calc(100% - 4px);
	fill: currentColor;
}

.te-process__marker-icon i {
	display: block;
	width: 100%;
	height: 100%;
	font-size: inherit;
	line-height: 1;
}

.te-process__content {
	min-width: 0;
	width: 100%;
	margin: var(--te-content-gap) auto 0;
}

.te-process__title {
	margin: 0;
	color: var(--te-title-color);
}

.te-process__description {
	margin: 0;
	color: var(--te-description-color);
	white-space: pre-line;
}

.te-process__title + .te-process__description {
	margin-top: var(--te-description-gap);
}

.te-process--hover .te-process__item:hover .te-process__marker {
	color: var(
		--te-hover-marker-color,
		var(--te-step-marker-color, var(--te-marker-color))
	);
	background-color: var(
		--te-hover-marker-background,
		var(--te-step-marker-background, var(--te-marker-background))
	);
	border-color: var(
		--te-hover-marker-border-color,
		var(--te-step-marker-border-color, var(--te-marker-border-color))
	);
	transform: translateY(calc(-1 * var(--te-hover-lift)));
}

.te-process--animation-fade .te-process__item,
.te-process--animation-fade-up .te-process__item,
.te-process--animation-scale .te-process__item {
	animation-duration: var(--te-animation-duration);
	animation-delay: calc(var(--te-index) * var(--te-animation-stagger));
	animation-fill-mode: both;
	animation-timing-function: ease-out;
}

.te-process--animation-fade .te-process__item {
	animation-name: te-process-fade;
}

.te-process--animation-fade-up .te-process__item {
	animation-name: te-process-fade-up;
}

.te-process--animation-scale .te-process__item {
	animation-name: te-process-scale;
}

@keyframes te-process-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes te-process-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes te-process-scale {
	from {
		opacity: 0;
		transform: scale(0.96);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@container te-process (max-width: 900px) {
	.te-process__list {
		grid-template-columns: repeat(
			var(--te-tablet-steps-per-row, 2),
			minmax(0, 1fr)
		);
	}

	.te-process__marker-wrap::before {
		opacity: var(--te-before-tablet, 1);
	}

	.te-process__marker-wrap::after {
		opacity: var(--te-after-tablet, 1);
	}
}

@container te-process (max-width: 560px) {
	.te-process__list {
		display: block;
	}

	.te-process__item {
		display: grid;
		grid-template-columns: var(--te-marker-size) minmax(0, 1fr);
		column-gap: var(--te-content-gap);
		padding-bottom: var(--te-row-gap);
	}

	.te-process__item:last-child {
		padding-bottom: 0;
	}

	.te-process__marker-wrap {
		align-items: var(--te-mobile-marker-align);
		align-self: stretch;
		width: var(--te-marker-size);
	}

	.te-process__marker-wrap::before,
	.te-process__marker-wrap::after {
		right: auto;
		left: 50%;
		width: 0;
		height: auto;
		border-top: 0;
		border-left-color: var(--te-connector-color);
		border-left-style: var(--te-connector-style);
		border-left-width: var(--te-connector-width);
		transform: translateX(-50%);
		opacity: 1;
	}

	.te-process__marker-wrap::before {
		top: 0;
		bottom: auto;
		height: var(--te-mobile-marker-offset);
	}

	.te-process__marker-wrap::after {
		top: calc(var(--te-mobile-marker-offset) + var(--te-marker-size));
		bottom: calc(-1 * var(--te-row-gap));
	}

	.te-process__content {
		align-self: start;
		display: flex;
		flex-direction: column;
		justify-content: var(--te-mobile-marker-align);
		min-height: var(--te-marker-size);
		margin-top: 0;
		padding-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.te-process *,
	.te-process *::before,
	.te-process *::after {
		scroll-behavior: auto !important;
		animation-duration: 1ms !important;
		animation-delay: 0ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 1ms !important;
	}
}
