
	.timeline {
		background: url(' /core/themes/olivero/images/kings/bg_history.png') no-repeat;
		background-size: cover;
		padding-bottom: 30px;
		width: 100%;
		position: relative;
	}

	.line_before {
		position: absolute;
		bottom: 58px;
		width: 50%;
		left: 0;
		border: 7.5px solid white;
		background-color: white;
		z-index: 1;
	}

	.line_after {
		position: absolute;
		bottom: 58px;
		width: 50%;
		right: 0;
		border: 7.5px solid var(--main2-color);
		background-color: var(--main2-color);
	}

	.timestamp > .year {
		font-size: 36px;
		color: white;
		position: absolute;
		top: 91px;
		right: 48%;
		transform: translateX(50%);
	}

	.swiper-slide-active > .year {
		top: 80px;
		font-size: 40px;
	}

	.timestamp > .point {
		width: 25px;
		height: 25px;
		background-color: #cfe1e2;
		border-radius: 25px;
		border: 4px solid white;
		position: absolute;
		bottom: 20px;
		left: calc(50% - 10px);
	}

	.swiper-slide-active > .point {
		background-color: red;
		width: 40px;
		height: 40px;
		bottom: 10px;
		left: calc(50% - 18px);
	}


	.point_line {
		opacity: 0;
		position: absolute;
		bottom: 50px;
		width: 0;
		height: 18px;
		left: 50%;
		/* transform: translateX(50%); */
		border: 2.5px solid white;
		background-color: white;
		z-index: -1;
	}

	.swiper-slide-active > .point_line {
		opacity: 1 !important;
	}

	.timestamp {
		height: 194px;
		overflow: hidden;
		position: relative !important;
	}

	.swiper-wrapper {
		height: 194px;
	}

	.timeline_point {
		position: relative;
	}

	.timeline_point span {
		font-weight: 600;
		padding-top: 20px;
	}

	.timeline_point span:before {
		content: "";
		width: 25px;
		height: 25px;
		background-color: #cfe1e2;
		border-radius: 25px;
		border: 4px solid cadetblue;
		position: absolute;
		top: 0;
		left: calc(50% - 16px);
		transition: all 200ms ease-in;
	}

	.swiper-slide {
		width: 200px;
		text-align: center;
		font-size: 18px;
	}

	.history_title h1 {
		text-align: center;
	}

	.history {
		width: 100%;
		padding: 50px 0;
		margin: 50px auto;
		position: relative;
		overflow: hidden;
	}

	.history:before {
		content: '';
		position: absolute;
		top: 0;
		left: 50%;
		margin-left: -1px;
		width: 2px;
		height: 100%;
		background: #707070;
		z-index: 1
    }

    @media screen and (max-width:768px){
        .history:before {
        		left: 10px;
			width: 2px;    }
            .history-block{
                width:100% !important;
				left: 10px;
            }
            .history-block-left{
                direction: ltr !important;
            }

		.history-block:nth-child(odd) .history-content,
		.history-block:nth-child(even) .history-content,
		.history-block-left .history-content{
			margin-left: 20px;
			margin-right: 0;
		}
		
		.history-block:nth-child(odd) .marker,
		.history-block:nth-child(even) .marker,
		.history-block-left .marker {
			transform: translateX(-50%) !important;
		}
		
		.history-block:nth-child(odd) .marker {left: 0;}
    }

	.history-block {
    width: 50%;
    display: flex
;
    justify-content: space-between;
    clear: both;
    padding: 50px 0;
    gap: 10px;
    position: relative;
	}


	.history-block:nth-child(odd) {
		float: left;
		direction: rtl;
	}

	.history-block:nth-child(even) {
		float: right;
	}


.history-block:nth-child(odd) .content_box {direction: ltr;}

	.history-content {
		background: #e5e5e5 ;
		background-size: cover;
		border: 1px solid rgba(255, 255, 255, .4);
		border-radius: 14px;
		box-shadow: 0 0 0 1px rgba(0,0,0,.07);
		padding: 28px 24px;
	}

	.history-block-right {
		float: right;
	}

	.history-block-left {
		float: left;
		direction: rtl
	}


	.history-block:nth-child(even) .marker {
		transform: translateX(-50%);
		margin-right: 10px;
	}


	.history-block:nth-child(odd) .marker {
		transform: translateX(50%);
	}


	.history-block-right .marker{
		transform: translateX(-50%);
		margin-right: 10px;
	}

	.history-block-left .marker{
		transform: translateX(50%);
	}

	.marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #F5F7FA;
    background: #C61A37;
    margin-top: 10px;
    z-index: 2;
    position: absolute;

	}

	/* 左侧历史块的内容边距 */
	.history-block:nth-child(odd) .history-content {
		margin-right: 20px;
	}

	/* 右侧历史块的内容边距 */
	.history-block:nth-child(even) .history-content {
		margin-left: 20px;
	}

	/* 保持原有的类选择器作为备用 */
	.history-block-left .history-content{
		margin-right: 20px;
	}

	.history-block-right .history-content{
		margin-left: 20px;
	}

	.history-content {
		/* width: 95%;
		padding: 15px; */
		    width: 60%;
    padding: 15px;  

	}

	.history-content h3 {
		margin-top: 5px;
		margin-bottom: 5px;
		font-size: 25px;
		font-weight: 500;
		color: #C61A37;
	}

	.history-content span {
		font-size: 15px;
		color: #2c2c2c;
	}

	.history-content p {
		font-size: 14px;
		line-height: 1.5em;
		word-spacing: 1px;
		color: #2d5016;
	}

	.history-content .cover {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    margin-left: 0;
	}

	.history-content .cover img {
		max-width: 100%;
		height: auto; max-height:300px; width:auto !important; margin:0 auto; 
		border-radius: 5px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}


	@media screen and(max-width: 768px) {
		.history:before {
			left: 10px;
			width: 2px;
		}

		.history-block {
			width: 100%;
			margin-bottom: 30px;
		}

		/* 移动端重置所有历史块的浮动和方向 */
		.history-block:nth-child(odd),
		.history-block:nth-child(even),
		.history-block-right,
		.history-block-left {
			float: none;
			direction: ltr;
		}
	}

	  @media screen and (max-width:500px){
.history-content{
	width:90%;
}
	  }

	/* .history-block:not(:nth-of-type(-n + 3)) {
		display: none;
	} */

	/* .readMore_history {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.readMore_history button {
		text-align: center;
		width: 15vw;
		padding: 1vw 0;
		border: 3px solid #B49643;
		background: transparent;
		color: #B49643;
		cursor: pointer;
		min-width: 100px;
	} */

	
	.timeline{
		display:none;
	}
	@media screen and (min-width: 769px) {
		.history {
			position: relative;
		}
		.year-nav {
			padding: 15px 8px;
			max-height: 70vh;
			overflow-y: auto;
			width: 100px;
			margin-left: 0;
			margin-right: 15px;
			/* background: #C61A37; */
			background: url(/core/themes/olivero/images/kings/bg_history.png) no-repeat;
			background-size: cover;
			color: white;background-position: right;
		}
		.nav-box {
			display: flex;
			flex-direction: column;
			gap: 6px;
		}
		.nav-item {
			padding: 0;
			cursor: pointer;
			font-weight: 500;
			text-align: center;
			transition: all 0.25s ease;
			white-space: nowrap;
			min-height: 32px;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 15px;
			font-family: serif;
			width: 100%;
			color: white;
		}
		.nav-item:hover {
			background: #fff;
			color: #333;
			transform: translateX(2px);
			border-color: #951c43;
			
		}
		.nav-item.active {
			background: white;
			color: #C61A37;
			border-color: #951c43;
			transform: translateX(3px);
			box-shadow: 0 4px 12px rgba(149, 28, 67, 0.3);
			margin: 0;
			padding: 0;
			border-radius: 0;
			font-size: 15px;
			font-family: serif;
			font-weight: bold;
		}
		.year-nav::-webkit-scrollbar {
			width: 4px;
		}
		.year-nav::-webkit-scrollbar-track {
			background: transparent;
		}
		.year-nav::-webkit-scrollbar-thumb {
			background: rgba(149, 28, 67, 0.3);
			border-radius: 2px;
		}
		.year-nav::-webkit-scrollbar-thumb:hover {
			background: rgba(149, 28, 67, 0.5);
		}
	}
	@media screen and (max-width: 768px) {
		.year-nav {
			display: none !important;
		}
	}