* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	color: #666;
	background-color: #f9f9f9;
}

.main_dd {
	width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.history-section {
	margin: 40px 0;
}

.section-title {
	text-align: center;
	color: #666;
	font-size: 32px;
	margin-bottom: 30px;
	position: relative;
}

.section-title:after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background-color: #c0a080;
	margin: 15px auto;
}

/* 历史内容滑块 */
.history-slider {
	position: relative;
	margin-bottom: 40px;
	overflow: hidden;
}

.history-slide {
	display: none;
	width: 100%;
	transition: all 0.5s ease;
}

.history-slide.active {
	display: block;
	animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.history-content {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.history-image {
	flex: 0 0 25%;
	padding-right: 30px;
}

.history-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 5px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.history-text {
	flex: 0 0 65%;
}

.history-text p {
	line-height: 1.8;
	font-size: 16px;
	color: #666;
}

/* 时间线样式 */
.timeline {
	position: relative;
	padding: 20px 0;
	border-radius: 5px;
	margin-top: 30px;
}

.timeline:before {
	content: '';
	position: absolute;
	top: 30px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #eee;
	z-index: 1;
}

.timeline-nav {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
}

.timeline-years {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE and Edge */
	flex: 1;
	padding: 0 20px;
	padding-left: 0;
}

.timeline-years::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.year {
	flex: 0 0 auto;
	padding: 10px 20px;
	margin: 0 10px;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	color: #999;
	position: relative;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 15px;
}

.year:after {
	content: '';
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 12px;
	height: 12px;
	background-color: #ddd;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.year.active {
	color: #c0a080;
}

.year.active:after {
	background-color: #c0a080;
	width: 16px;
	height: 16px;
	top: -13px;
}

.nav-arrow {
	background: none;
	border: 2px solid #eee;
	border-radius: 50%;
	font-size: 20px;
	color: #999;
	cursor: pointer;
	padding: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	position: relative;
	top: -16px;
	/* 调整垂直位置与时间线对齐 */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	background: #fff;
}

.nav-arrow:hover {
	color: #c0a080;
	border-color: #c0a080;
	box-shadow: 0 3px 8px rgba(192, 160, 128, 0.2);
}

/* 响应式样式 */
@media (max-width: 1200px) {
	.main_dd {
		width: 1000px;
	}

	.section-title {
		font-size: 28px;
	}

	.history-text p {
		font-size: 15px;
	}

	.history-image {
		flex: 0 0 40%;
	}

	.history-text {
		flex: 0 0 60%;
	}
}

@media (max-width: 1000px) {
	.main_dd {
		width: 800px;
	}

	.history-content {
		flex-direction: column;
	}

	.history-image {
		flex: 0 0 100%;
		padding-right: 0;
		margin-bottom: 20px;
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}

	.history-text {
		flex: 0 0 100%;
		text-align: center;
	}

	.year {
		padding: 8px 15px;
		font-size: 16px;
	}

	.timeline-years {
		padding: 0 10px;
	}
}

@media (max-width: 800px) {
	.main_dd {
		width: 100%;
		padding: 15px;
	}

	.section-title {
		font-size: 24px;
	}

	.history-text p {
		font-size: 14px;
		line-height: 1.6;
		text-align: left;
	}

	.year {
		padding: 5px 10px;
		margin: 0 5px;
		font-size: 14px;
		margin-top: 10px;
	}

	.year:after {
		top: -8px;
		width: 10px;
		height: 10px;
		display: block;
	}

	.year.active:after {
		top: -10px;
		width: 14px;
		height: 14px;
		display: block;
	}

	.nav-arrow {
		padding: 0 10px;
		font-size: 20px;
	}

	.history-image {
		max-width: 100%;
	}

	.timeline {
		padding: 20px 0;
	}

	.timeline:before {
		content: '';
		position: absolute;
		top: 25px;
		left: 0;
		right: 0;
		height: 2px;
		background-color: #eee;
		z-index: 1;
	}
	.nav-arrow {
    top: -11px;
}
}