* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Microsoft YaHei', sans-serif;
}

body {
	background-color: #f5f5f5;
}

/* 时间轴标题 */
.text-center {
    text-align: center !important;
}

.section-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: #2c3e50;
}

.story-container {
	display: block;
	margin: 0 8vw 0 8vw;
}

.section-bottom {
	position: relative;
	display: inline-block;
	font-weight: 700;
	color: #333;
	margin-bottom: 25px;
}

.section-bottom::after {
	content: '';
	position: absolute;
	transform: translateX(-50%);
	width: 100px;
	height: 5px;
	background: linear-gradient(90deg, #6610f2, #0d6efd);
	border-radius: 2px;
}


/* 时间轴容器 - 占全屏80%宽度并居中 */
.timeline-container {
	padding: 30px 5% 50px 5%;
}

/* 时间轴内容区域 - 横向布局 */
.timeline-content {
	position: relative;
	display: flex;
	overflow-x: auto;
	/* 横向滚动 */
	padding-bottom: 30px;
	padding-left: 40px;
	/* 为滚动条留出空间 */
	scrollbar-width: thin;
	/* 优化滚动条样式 */
	scroll-behavior: smooth;
	/* 平滑滚动 */
}

/* 自定义滚动条 */
.timeline-content::-webkit-scrollbar {
	height: 6px;
}

.timeline-content::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.timeline-content::-webkit-scrollbar-thumb {
	background: #3498db;
	border-radius: 10px;
}

.timeline-content::-webkit-scrollbar-thumb:hover {
	background: #2980b9;
}

/* 时间轴主线 - 横向 */
.timeline-main-line {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	position: absolute;
	margin-top: 160px;
	left: 0;
	right: 0;
	height: 4px;
	background-color: #e0e0e0;
	transform: translateY(-50%);
	z-index: 1;
}

/* 时间轴项目 - 横向排列 */
.timeline-item {
	flex: 0 0 auto;
	/* 不压缩，保持固定宽度 */
	width: 300px;
	/* 卡片宽度 */
	margin: 0 60px;
	/* 卡片之间的间距 */
	position: relative;
	z-index: 2;
}

/* 年份标记 - 横向布局调整 */
.timeline-year {
	position: absolute;
	top: 65%;
	right: 100%;
	width: 60px;
	height: 60px;
	background-color: #af03ff;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	transform: translate(-50%, -50%);
	z-index: 3;
	border: 4px solid #f5f5f5;
	box-shadow: 0 0 0 4px rgba(195, 65, 255, 0.8);
}

/* 卡片样式 - 与你的图片保持一致 */
.timeline-item-content {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	margin-top: 60px;
	height: 180px;
	/* 与年份标记保持距离 */
}

/* 卡片悬停效果 */
.timeline-item-content:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 项目标题 */
.timeline-item-title {
	font-size: 20px;
	color: #333;
	margin-bottom: 15px;
}

/* 项目描述 */
.timeline-item-description {
	color: #666;
	line-height: 1.6;
	font-size: 14px;
}

/* 响应式调整 - 屏幕宽度小于768px时 */
@media (max-width: 768px) {
	.timeline-container {
		width: 95%;
	}

	.timeline-item {
		width: 250px;
		/* 小屏幕下缩小卡片宽度 */
		margin: 0 10px;
	}
}