/**
 * Design 2026 — si_timeline WPBakery element
 *
 * Horizontal, scrollable timeline. A thin line runs through the vertical
 * centre of each year; the line is interrupted by the year text, with the
 * title centred below.
 */

.si-timeline {
	--si-timeline-line: rgba(178, 221, 255, 0.35);
	--si-timeline-item-min: 20rem;
	--si-timeline-year-size: 1.375rem;
	--si-timeline-year-gap: 0.625rem;
	--si-timeline-tick-height: 1.1rem;
	width: 100%;
	color: var(--color-cloud-white, #eef7ff);
}

/* ---- Head: heading + arrows ---- */

.si-timeline__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 3.25rem;
}

.site-main.landing h2.si-timeline__heading,
.site-main.landing h3.si-timeline__heading,
.site-main.landing h4.si-timeline__heading {
	margin: 0;
	font-family: var(--font-family-plain, sans-serif);
	font-size: 2rem;
	font-weight: 290;
	line-height: 100%; /* 2rem */
	letter-spacing: -0.06rem;
}

.si-timeline__nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.si-timeline__arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.875rem;
	height: 1.875rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.si-timeline__arrow:hover:not(:disabled),
.si-timeline__arrow:focus-visible {
	border-color: var(--color-white, #ffffff);
	outline: none;
}

.si-timeline__arrow:disabled {
	border-color: rgba(255, 255, 255, 0.2);
	cursor: default;
}

.si-timeline__arrow-icon {
	display: block;
	width: 1.875rem;
	height: 1.875rem;
	filter: brightness(0) invert(1);
	transition: opacity 0.2s ease;
}

.si-timeline__arrow:disabled .si-timeline__arrow-icon {
	opacity: 0.35;
}

.si-timeline__arrow--prev .si-timeline__arrow-icon {
	transform: scaleX(-1);
}

/* ---- Scrollable viewport ---- */

.si-timeline__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.si-timeline__viewport::-webkit-scrollbar {
	display: none;
}

/* ---- Items ---- */

.si-timeline__items {
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	list-style: none;
	width: max-content;
	min-width: 100%;
}

.si-timeline__item {
	flex: 0 0 auto;
	min-width: var(--si-timeline-item-min);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Year row: line segments on each side, interrupted by the year text. */
.si-timeline__axis {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: calc(var(--si-timeline-year-size) * 1.3);
}

.si-timeline__segment {
	flex: 1 1 auto;
	height: 1px;
	background: var(--si-timeline-line);
	min-width: 1.5rem;
}

.si-timeline__tick {
	position: absolute;
	left: 0;
	top: 80%;
	width: 1px;
	height: var(--si-timeline-tick-height);
	background: var(--si-timeline-line);
	transform: translateY(-100%);
	pointer-events: none;
}

.si-timeline__year {
	flex: 0 0 auto;
	padding: 0 var(--si-timeline-year-gap);
	font-family: var(--font-family-plain, sans-serif);
	font-size: var(--si-timeline-year-size);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--color-white, #ffffff);
	white-space: nowrap;
}

.si-timeline__title {
	margin-top: 0.875rem;
	max-width: 13rem;
	font-family: var(--font-family-plain, sans-serif);
	font-size: var(--body-3-size, 1.125rem);
	font-weight: var(--font-weight-thin, 290);
	line-height: var(--body-3-line, 1.4);
	color: var(--color-blue-lightest, #b2ddff);
}

@media (max-width: 767.98px) {
	.si-timeline {
		--si-timeline-item-min: 14rem;
		--si-timeline-year-size: 1.125rem;
	}

	.si-timeline__head {
		margin-bottom: 1.75rem;
	}

	.si-timeline__heading {
		font-size: var(--h3-size, 2rem);
	}

	.si-timeline__title {
		max-width: 11rem;
	}
}