/* [av_timeline] — vertical company-history timeline */

.av-timeline {
	--av-tl-line: #d9e7d9;
	--av-tl-accent: #92c096;
	--av-tl-ink: #101828;
	--av-tl-muted: #6a7282;
	--av-tl-chip-bg: #f4f9f4;
}

.av-timeline__track {
	position: relative;
	margin: 0 auto;
	max-width: 760px;
	padding-left: 64px;
}

/* the running vertical line */
.av-timeline__track::before {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 27px;
	width: 2px;
	background: var(--av-tl-line);
}

.av-timeline__item {
	position: relative;
	padding-bottom: 32px;
}

.av-timeline__item:last-child {
	padding-bottom: 0;
}

/* year badge sitting on the line */
.av-timeline__marker {
	position: absolute;
	left: -64px;
	top: 0;
	width: 56px;
	display: flex;
	justify-content: center;
}

.av-timeline__year {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 56px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--av-tl-accent);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .3px;
	box-shadow: 0 6px 16px rgba(146, 192, 150, .35);
}

.av-timeline__card {
	background: #fff;
	border: 1px solid #eef1ee;
	border-radius: 16px;
	padding: 22px 24px;
	box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.av-timeline__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--av-tl-ink);
}

.av-timeline__meta {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--av-tl-muted);
}

.av-timeline__chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.av-timeline__chip {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--av-tl-chip-bg);
	border: 1px solid #e2efe2;
	color: #3f5a40;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
}

@media (max-width: 549px) {
	/* Stack each milestone: year badge centered on top, card below */
	.av-timeline__track {
		padding-left: 0;
		max-width: 440px;
	}
	.av-timeline__track::before {
		display: none;
	}
	.av-timeline__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding-bottom: 28px;
	}
	.av-timeline__marker {
		position: static;
		left: auto;
		top: auto;
		width: auto;
		margin-bottom: 14px;
	}
	.av-timeline__year {
		min-width: 52px;
		height: 52px;
		font-size: 14px;
	}
	.av-timeline__card {
		width: 100%;
		padding: 20px 18px;
	}
	.av-timeline__chips {
		justify-content: center;
	}
}
