/**
 * Process Timeline block styles.
 */

.rs-process-timeline-block {
	margin-top: var(--rs-margin-top-mobile, var(--rs-margin-top-tablet, var(--rs-margin-top, 0)));
	margin-bottom: var(--rs-margin-bottom-mobile, var(--rs-margin-bottom-tablet, var(--rs-margin-bottom, 0)));
	overflow: hidden;
	padding: 0 35px;
}

.rs-process-timeline {
	width: 100%;
}

.rs-process-timeline__heading {
	margin: 0 0 40px;
	text-align: center;
}

.rs-process-timeline__viewport {
	position: relative;
}

.rs-process-timeline__swiper {
	overflow: visible;
}

.rs-process-timeline__swiper .swiper-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
	transform: none;
}

.rs-process-timeline__swiper .swiper-slide {
	width: auto;
}

.rs-process-timeline__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.rs-process-timeline__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--color-blue);
	box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--color-white);
	text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	z-index: 1;
}

.rs-process-timeline__line {
	width: 2px;
	margin-top: 10px;
	margin-bottom: 10px;
	background: repeating-linear-gradient(
		to bottom,
		var(--color-gray-medium) 0 10px,
		transparent 10px 20px
	);
	height: 50px;
}

.rs-process-timeline__item-title {
	margin: 0 0 14px;
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: 24px;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-charcoal);
}

.rs-process-timeline__item-text {
	margin: 0;
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	text-align: center;
	color: var(--color-charcoal);
	opacity: 0.6;
}

@media (min-width: 960px) {
	.rs-process-timeline-block {
		margin-top: var(--rs-margin-top-tablet, var(--rs-margin-top, 0));
		margin-bottom: var(--rs-margin-bottom-tablet, var(--rs-margin-bottom, 0));
		padding: 0;
	}

	.rs-process-timeline__heading {
		margin: 0 0 60px;
	}

	.rs-process-timeline {
		width: 100%;
	}

	.rs-process-timeline__viewport {
		overflow: hidden;
		margin-bottom: 40px;
	}

	.rs-process-timeline__sep {
		border-bottom: 1px solid #DDE1E6;
	}

	.rs-process-timeline__swiper .swiper-wrapper {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 0;
		padding-top: 0;
		transform: translate3d(0, 0, 0);
	}

	.rs-process-timeline__viewport::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 30px;
		background: linear-gradient(90deg, #F3F7FF 0%, #0065CA 100%);
		border: 1px solid rgba(0, 101, 202, 0.1);
		z-index: 0;
	}

	.rs-process-timeline__swiper .swiper-slide {
		height: auto;
	}

	.rs-process-timeline__item {
		position: relative;
		z-index: 1;
		padding-top: 0;
	}

	.rs-process-timeline__number {
		width: 30px;
		height: 30px;
		font-size: 16px;
	}

	.rs-process-timeline__item--odd .rs-process-timeline__line {
		height: 35px;
	}

	.rs-process-timeline__item--even .rs-process-timeline__line {
		height: 80px;
	}

	.rs-process-timeline__item-title {
		margin: 0 0 10px;
		font-size: 16px;
	}
	
	.rs-process-timeline__item-text {
		font-size: 12px;
	}
}

@media (min-width: 1440px) {
	.rs-process-timeline-block {
		margin-top: var(--rs-margin-top, var(--rs-margin-top-tablet, 0));
		margin-bottom: var(--rs-margin-bottom, var(--rs-margin-bottom-tablet, 0));
	}

	.rs-process-timeline {
		width: 100%;
	}

	.rs-process-timeline__viewport {
		margin-bottom: 50px;
	}

	.rs-process-timeline__viewport::before {
		height: 45px;
	}

	.rs-process-timeline__number {
		width: 45px;
		height: 45px;
		font-size: 24px;
	}

	.rs-process-timeline__item--odd .rs-process-timeline__line {
		height: 50px;
	}

	.rs-process-timeline__item--even .rs-process-timeline__line {
		height: 117px;
	}

	.rs-process-timeline__item-title {
		margin: 0 0 14px;
		font-size: 24px;
	}
	
	.rs-process-timeline__item-text {
		font-size: 18px;
	}
}
