﻿.timeline-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	padding: 0 20px;
}

/* 时间轴线 */
.timeline-line {
	position: absolute;
	left: 50%;
	top: 0;
	width: 4px;
	height: 100%;
	background-color: #409eff;
	transform: translateX(-50%);
	border-radius: 2px;
}

.timeline-item {
	width: 100%;
	margin: 40px 0;
	display: flex;
	justify-content: flex-start;
	position: relative;
	transition: all 0.3s ease;
}

/* 交替排列 */
.timeline-item:nth-child(even) {
	justify-content: flex-end;
}

.timeline-content {
	width: calc(50% - 40px);
	background: white;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
	position: relative;
	transition: transform 0.3s ease;
}

.timeline-content .info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.timeline-content .left {
	justify-content: flex-start;
}

.timeline-content .right {
	justify-content: flex-end;
}

.timeline-content .info .photo {
	overflow: hidden;
	width: 80px;
	height: 80px;
	min-width: 80px;
	border-radius: 50%;
}

.timeline-content .info .photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.timeline-content:hover {
	transform: translateY(-5px);
}

/* 时间节点 */
.timeline-item::before {
	content: '';
	width: 20px;
	height: 20px;
	background: #409eff;
	position: absolute;
	left: 50%;
	top: 20px;
	transform: translateX(-50%);
	border-radius: 50%;
	border: 4px solid white;
	box-shadow: 0 0 10px rgba(92, 94, 231, 0.3);
	z-index: 1;
}

/* 箭头指示 */
.timeline-content::after {
	content: '';
	position: absolute;
	top: 20px;
	width: 0;
	height: 0;
	border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::after {
	right: -15px;
	border-width: 10px 0 10px 15px;
	border-color: transparent transparent transparent white;
}

.timeline-item:nth-child(even) .timeline-content::after {
	left: -15px;
	border-width: 10px 15px 10px 0;
	border-color: transparent white transparent transparent;
}

/* 时间显示 */
.time {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background: #409eff;
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: bold;
	top: -15px;
	box-shadow: 0 3px 15px rgba(108, 92, 231, 0.3);
}

h3 {
	color: #2d3436;
	margin-bottom: 10px;
}

p {
	color: #636e72;
	line-height: 1.6;
	font-size: 20px;
	margin-bottom: 0px !important;
}

@media (max-width: 1200px) {
	.timeline-content {
		width: 100%;
		margin-left: 40px;
	}

	.timeline-item::before {
		left: 20px;
	}

	.timeline-line {
		left: 20px;
	}

	.time {
		left: 20px;
		transform: none;
	}

	p {
		font-size: 14px;
	}
}