/* 基础样式重置 */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

body {
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题区域 */
.timeline-header {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 80px;
}

.timeline-title {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 700;
}

.timeline-desc {
    font-size: 1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* 时间轴容器 */
.timeline-container {
    position: relative;
    padding-bottom: 50px;
}

/* 时间轴轴线 */
.timeline-axis {
    position: absolute;
    left: 50%;
    top: -20px;
    /* height: 96%; */
    height: 2580px;
    bottom: 0;
    width: 2px;
    background-color: #e2e8f0;
    transform: translateX(-50%);
    /* z-index: 1; */
}

/* 时间轴项目容器 */
.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* 左右交替布局 */
.timeline-item.left {
    padding-right: 50px;
    text-align: right;
}
.timeline-item.right {
    padding-left: 50px;
    margin-left: 50%;
}

/* 椭圆形时间点样式 */
.time-point {
    position: absolute;
    top: 0;
    padding: 6px 18px;
    background-color: #3182ce;
    color: white;
    font-weight: 600;
    border-radius: 50px; /* 椭圆形 */
    z-index: 2;
    box-shadow: 0 3px 8px rgba(49, 130, 206, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* 时间点位置 */
.timeline-item.left .time-point {
    right: 0px;
    transform: translateX(50%);
}

.timeline-item.right .time-point {
    left: 0px;
    transform: translateX(-50%);
}

/* 内容组容器（用于多个同级事件） */
.content-group {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px; /* 事件之间的间距 */
}

/* 内容区域（图标居左与文字同行对齐） */
.timeline-content {
    display: flex;
    align-items: center;
    gap: 16px; /* 图标与文字间距 */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.margTextR {
    margin-right: 15px !important;
}
.margTextL {
    margin-left: 17px !important;
}
/* 鼠标悬停阴影效果 */
.timeline-content:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    transform: translateY(-3px);
}

/* 图标样式（统一居左） */
.content-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0; /* 固定宽度不收缩 */
    margin-top: 2px; /* 视觉上与标题对齐 */
}

/* 图标颜色 */
.bg-blue { background-color: #3182ce; }
.bg-green { background-color: #38a169; }
.bg-orange { background-color: #ed8936; }
.bg-red { background-color: #e53e3e; }
.bg-purple { background-color: #805ad5; }
.bg-cyan { background-color: #0bc5ea; }
.bg-sky { background-color: #38b2ac; }
.bg-pink { background-color: #ed64a6; }
.bg-yellow { background-color: #ecc94b; }

/* 内容文本区域 */
.content-textTypes {
    flex-grow: 1; /* 占据剩余空间 */
}

/* 内容标题 */
.content-textTypes h3 {
    font-size: 1.1rem;
    color: #2d3748 !important;
    margin-bottom: 8px;
    font-weight: 600;
}

/* 内容描述 */
.content-textTypes p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}
.timeline-item.left .content-textTypes p{
    text-align:end;
}
.timeline-item.right .content-textTypes p{
    text-align: justify;
}

.timeline-item.right .content-textTypes{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
}

/* 响应式调整（移动端） */
@media (max-width: 768px) {
    .timeline-axis {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        margin-left: 0;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item.left, .timeline-item.right {
        padding: 0 0 0 70px;
        margin-left: 0;
    }

    .time-point {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-item.left .time-point,
    .timeline-item.right .time-point {
        left: 30px;
        right: auto;
        transform: translateX(-50%);
    }

    /* 移动端图标与文字保持同行 */
    .timeline-content {
        flex-direction: row;
        align-items: flex-start;
    }
}