/* 时间轴样式 - 大事记专用 */

.timeline {
	position: relative;
	margin-top: 20px;
	padding-left: 20px;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 18px;
	top: 5px;
	bottom: 0;
	width: 2px;
	background: #1a3c8b;
}

.timeline-item {
	position: relative;
	margin-bottom: 24px;
	padding-left: 24px;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: -9px;
	top: 5px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #1a3c8b;
}

.timeline-date {
	font-weight: bold;
	color: #1a3c8b;
	margin-bottom: 6px;
}

.timeline-content h3 {
	font-size: 16px;
	color: #222;
	margin: 5px 0 10px;
	font-weight: bold;
}

.timeline-content p {
	font-size: 12px;
	color: #666;
	line-height: 1.8;
	margin-bottom: 0;
}

#timeline.active p {
	margin-bottom: 12px;
	font-size: 12px;
	line-height: 1.8;
	color: #333;
	text-align: justify;
	position: relative;
	padding-left: 0;
	transition: all 0.3s ease;
}

#timeline.active p:hover {
	color: #1a3c8b;
}

#timeline.active a {
	color: #1a3c8b;
	text-decoration: none;
	border-bottom: 1px dashed #1a3c8b;
	transition: all 0.3s ease;
	position: relative;
}

#timeline.active a:hover {
	color: #0d2a6e;
	border-bottom-style: solid;
}

#timeline.active a::after {
	content: ' →';
	opacity: 0;
	transition: opacity 0.3s ease;
}

#timeline.active a:hover::after {
	opacity: 1;
}

#timeline.active ul {
	list-style: none;
	margin: 16px 0;
	padding-left: 0;
}

#timeline.active ul li {
	position: relative;
	padding: 12px 15px;
	margin-bottom: 0;
	background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
	border-radius: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #333;
	transition: all 0.3s ease;
}

#timeline.active ul li:first-child {
	border-radius: 8px 8px 0 0;
}

#timeline.active ul li:last-child {
	border-radius: 0 0 8px 8px;
}

#timeline.active ul li::before {
	content: '';
}

#timeline.active ul li:hover {
	background: linear-gradient(135deg, #e8eeff 0%, #dce4ff 100%);
	transform: translateX(5px);
	box-shadow: 0 6px 16px rgba(26, 60, 139, 0.15);
}

#timeline.active ul li:hover::before {
}

#timeline.active ol {
	list-style: none;
	counter-reset: item;
	margin: 16px 0;
	padding-left: 0;
}

#timeline.active ol li {
	counter-increment: item;
	position: relative;
	padding: 14px 15px 14px 50px;
	margin-bottom: 12px;
	background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.6;
	color: #333;
	transition: all 0.3s ease;
}

#timeline.active ol li::before {
	content: counter(item);
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, #1a3c8b 0%, #0d2a6e 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
}

#timeline.active ol li:hover {
	background: linear-gradient(135deg, #e8eeff 0%, #dce4ff 100%);
	transform: translateX(5px);
	box-shadow: 0 6px 16px rgba(26, 60, 139, 0.15);
}

/* 响应式适配 */
@media (max-width: 768px) {
	.timeline {
		padding-left: 15px;
	}

	.timeline-item {
		padding-left: 20px;
		margin-bottom: 20px;
	}

	.timeline-date {
		font-size: 12px;
	}

	.timeline-content h3 {
		font-size: 14px;
	}

	.timeline-content p {
		font-size: 11px;
	}
}
