/* Timeline Styles */
.timeline-item {
  opacity: 0;
  transition: opacity 0.3s linear;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 0;
}

/* Vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
    z-index: 1;
}

/* Year separator */
.timeline-year-separator {
    position: relative;
    text-align: center;
    margin: -2px 0;
    z-index: 3;
}

.year-label {
    background-color: #fff;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
    color: #333;
    display: inline-block;
}

/* Timeline items */
.timeline-item {
    position: relative;
    margin: 32px 0 0 0;
    display: flex;
    align-items: flex-start;
}

/* Timeline dots */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 16px;
    width: 12px;
    height: 12px;
    background-color: #007cba;
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 2px #e0e0e0;
}

/* Timeline content */
.timeline-content {
    width: 45%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}


/* Timeline header */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline-info {
    flex: 1;
}

.timeline-title {
    margin: 0 0 8px 0;
    font-size: 19px;
    font-weight: 600;
    color: #333;
}

.timeline-date {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Chevron indicator */
.timeline-chevron {
    padding: 8px;
    margin-left: 16px;
    color: #666;
    transition: all 0.3s ease;
    /* flex-shrink: 0; */
    transform: rotate(0deg);
    height: 60px;
}
.timeline-item.even {justify-content: flex-end;}
.timeline-chevron svg {
    display: block;
}

/* Timeline details */
.timeline-details {
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
    margin-top: 16px;
}

.timeline-content-text {
    line-height: 1.6;
    color: #555;
}

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

.timeline-content-text p:last-child {
    margin-bottom: 0;
}

/* Empty state */
.timeline-empty {
    text-align: center;
    padding: 48px;
    color: #666;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .timeline-line {
    z-index: -1;
}

.timeline-dot {
    z-index: -1;
}
    .timeline-container {
        padding: 16px;
    }
    
    .timeline-content {
        width: 85%;
        margin: 0 auto !important;
    }
    
    .timeline-item {
        margin: 24px 0;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-chevron {
        margin-left: 0;
        margin-top: 8px;
        align-self: flex-end;
    }
}
.timeline-details.active {
    display: block !important;
}

a.timeline-content:hover {
    text-decoration: none;
}



.timeline-details-image {
    margin-top: 15px;
}

.timeline-details-image img {
    border-radius: 12px;
}

.timeline-chevron.rotate > svg {
    transform: rotate(180deg) !important;
}
.timeline-chevron.open.rotate svg {
    transform: rotate(180deg);
}