body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

.ai-news-timeline {
    position: relative;
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px 0;
}

.ai-news-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #e0e6ed 10%, 
        #5961f9 30%, 
        #5961f9 70%, 
        #e0e6ed 90%, 
        transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    min-height: 140px;
}

.timeline-connector {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #5961f9;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #e0e6ed, 0 3px 10px rgba(52, 152, 219, 0.3);
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #e0e6ed, 0 5px 15px rgba(52, 152, 219, 0.5);
}

/* 时间轴内容区域 */
.timeline-content {
    width: 46%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    padding-left: 80px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    padding-right: 80px;
    text-align: right;
}

.timeline-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #5961f9;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-date {
    left: -20px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-date {
    right: -20px;
    text-align: left;
}

.date-day {
    font-size: 60px;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: #2c3e50;
}

.date-month {
    font-size: 14px;
    opacity: 0.8;
    display: block;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-year {
    font-size: 12px;
    opacity: 0.6;
    display: block;
    font-weight: 500;
    margin-top: 2px;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f1f5f9;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #e0e6ed;
}

.news-header {
    margin-bottom: 16px;
}

.news-title {
    margin: 0 0 12px 0;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    color: #2c3e50;
}

.news-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-title a:hover {
    background: linear-gradient(135deg, #5961f9, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-meta {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.news-time {
    color: #5961f9;
    font-weight: 600;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.news-category {
    margin: 0;
}

.news-category a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 3px 6px;
    border-radius: 4px;
}

.news-category a:hover {
    color: #5961f9;
    background: rgba(52, 152, 219, 0.08);
}

.news-views {
    color: #94a3b8;
    font-size: 12px;
    background: rgba(148, 163, 184, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
}

.news-content {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    position: relative;
}

.news-content p {
    margin: 0 0 16px 0;
}

p {
    font-family: 'Microsoft Yahei';
    font-size: 12px !important;
    line-height: 2.5;
    color: #666666;
    margin: 0px;
}

.read-more {
    text-align: right;
    margin-top: 12px;
    padding-top: 12px;
    position: relative;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    right: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.read-more-link {
    display: inline-block;
    color: #5961f9;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 0;
}

.read-more-link:hover {
    color: #2980b9;
    transform: translateX(3px);
}

.card-arrow {
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .card-arrow {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f1f5f9 transparent transparent;
}

.timeline-item:nth-child(odd) .card-arrow::after {
    content: '';
    position: absolute;
    left: 2px;
    top: -8px;
    border-width: 8px 8px 8px 0;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

.timeline-item:nth-child(even) .card-arrow {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f1f5f9;
}

.timeline-item:nth-child(even) .card-arrow::after {
    content: '';
    position: absolute;
    right: 2px;
    top: -8px;
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

.news-card:hover .card-arrow {
    border-color: transparent #5961f9 transparent transparent;
}

.timeline-item:nth-child(odd) .news-card:hover .card-arrow {
    border-color: transparent #5961f9 transparent transparent;
}

.timeline-item:nth-child(even) .news-card:hover .card-arrow {
    border-color: transparent transparent transparent #5961f9;
}

.timeline-item:nth-child(even) .news-meta {
    text-align: right;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .news-content {
    text-align: right;
}

.timeline-item:nth-child(even) .read-more {
    text-align: right;
}

@media (max-width: 768px) {
    .ai-news-timeline {
        margin: 20px auto;
        padding: 20px 0;
    }
    
    .ai-news-timeline::before {
        left: 20px;
    }
    
    .timeline-connector {
        left: 20px;
        transform: translateY(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        padding: 0 !important;
        text-align: left !important;
    }
    
    .timeline-date {
        position: static;
        transform: none;
        margin-bottom: 12px;
        text-align: left !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .date-day {
        font-size: 18px;
    }
    
    .date-month, .date-year {
        font-size: 12px;
    }
    
    .card-arrow {
        display: none;
    }
    
    .timeline-item:nth-child(even) .news-meta,
    .timeline-item:nth-child(even) .news-content,
    .timeline-item:nth-child(even) .read-more {
        text-align: left;
        justify-content: flex-start;
    }
    
    .news-card {
        padding: 20px 16px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .news-content {
        font-size: 13px;
    }
}

.main-content-full {
    width: 100%;
    float: none;
}

.pagebar {
    margin-top: 40px;
    text-align: center;
}

.pagebar a, .pagebar span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagebar a {
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.pagebar a:hover {
    color: #5961f9;
    background: #ffffff;
    border-color: #5961f9;
}

.pagebar .now {
    color: #ffffff;
    background: #5961f9;
    border-color: #5961f9;
}