/* ==========================================================
   Timeline Widget
   ========================================================== */

.tl-wrap {
	position: relative;
	padding: 20px 0;
}

/* Center vertical line */
.tl-wrap::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	margin-left: -1px;
	background-color: #c0c0c0;
}

/* Single item row */
.tl-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	padding-bottom: 60px;
}

.tl-item:last-child {
	padding-bottom: 0;
}

/* Dot on the center line */
.tl-dot {
	position: absolute;
	left: 50%;
	top: 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #fff;
	border: 3px solid #1a2e5a;
	transform: translateX(-50%);
	z-index: 2;
	box-sizing: border-box;
}

/* Inner filled circle */
.tl-dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	background-color: #1a2e5a;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

/* Card */
.tl-card {
	width: 44%;
	background: #fff;
	padding: 24px 28px;
	border-radius: 10px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	box-sizing: border-box;
}

/* Left side: card on the left */
.tl-item--left {
	justify-content: flex-start;
}

.tl-item--left .tl-card {
	margin-right: auto;
	text-align: right;
}

/* Right side: card on the right */
.tl-item--right {
	justify-content: flex-end;
}

.tl-item--right .tl-card {
	margin-left: auto;
	text-align: left;
}

/* Year heading */
.tl-year {
	font-size: 22px;
	font-weight: 700;
	color: #1a2e5a;
	margin-bottom: 8px;
	line-height: 1.3;
}

/* Content text */
.tl-content {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}

.tl-content p {
	margin: 0 0 4px;
}

.tl-content p:last-child {
	margin-bottom: 0;
}

/* ── Mobile: single column, full width ── */
@media (max-width: 767px) {
	.tl-wrap::before {
		left: 8px;
	}

	.tl-dot {
		left: 8px;
		top: 24px;
		width: 16px;
		height: 16px;
	}

	.tl-item--left,
	.tl-item--right {
		justify-content: flex-start;
		padding-left: 28px;
	}

	.tl-item--left .tl-card,
	.tl-item--right .tl-card {
		width: 100% !important;
		margin-left: 0;
		margin-right: 0;
		text-align: left;
	}
}
