:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* box-sizing: border-box; */
}
/** {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}*/
.honor-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.honor-timeline:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ac1a6c;
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    padding: 30px;
    position: relative;
    margin-bottom: 0px;
}

.timeline-item:nth-child(odd) {
    left: -90px;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 160px; /* 确保内容有足够高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
	
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.year {
    font-size: 32px;
    font-weight: bold;
    color: #ac1a6c;
    margin-bottom: 15px;
text-align: right;
}

/*.year:before {
    content: "";
    width: 20px;
    height: 20px;
    background: #ac1a6c;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #ac1a6c;
}*/

.timeline-item:nth-child(even) .year {
    justify-content: flex-end;
	text-align: left;
}

.timeline-item:nth-child(even) .year:before {
    order: 1;
}
.timeline-item:nth-child(even) h3 {
	text-align: left;
}
.timeline-item:nth-child(even) p {
	text-align: left;
}
.honor-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
	text-align: right;
}

.honor-title i {
    color: #ac1a6c;
    font-style: normal;
    font-weight: bold;
}

.honor-description {
	text-align: right;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 时间轴节点 - 修改为垂直居中 */
.timeline-item:before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: #ac1a6b;
    border: 4px solid #eeeeee;
    border-radius: 50%;
    top: 50%; /* 改为50%垂直居中 */
    transform: translateY(-50%); /* 通过transform精确居中 */
    z-index: 2;
}

.timeline-item:nth-child(odd):before {
    right: -12px;
}

.timeline-item:nth-child(even):before {
    left: -12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .honor-timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 20px 20px 20px 60px !important;
        margin-bottom: 50px;
    }
    
    .timeline-item:before {
        left: 18px !important;
        right: auto !important;
        top: 50%; /* 移动端也保持垂直居中 */
        transform: translateY(-50%);
    }
    
    .timeline-item:nth-child(even) .year {
        justify-content: flex-start;
    }
    
    .timeline-item:nth-child(even) .year:before {
        order: 0;
    }
    
    .timeline-content {
		width: 65%;
        border-right: none !important;
        min-height: 140px; /* 移动端适当减小高度 */
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

.timeline-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(even) {
    animation-delay: 0.2s;
}