/* Page-specific styles: my-digital-journey.html */

.experience-timeline {
    position: relative;
    padding-left: 12px;
    margin: 32px 0;
    max-width: none;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 0 0 28px 8px;
    width: auto;
    left: auto;
    transform: none;
    opacity: 1;
    box-sizing: border-box;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.blog-post-page .timeline-item::after {
    content: none;
}

.blog-post-page .timeline-item:nth-child(odd),
.blog-post-page .timeline-item:nth-child(even) {
    left: auto;
    transform: none;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.timeline-company {
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .experience-timeline {
        padding-left: 14px;
    }

    .timeline-item {
        padding-left: 10px;
    }
}
