.timeline-container-6c7cf803 {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

.timeline-item-6c7cf803 {
    display: flex;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0;
}

/* Vertical Left side column */
.timeline-left-column-6c7cf803 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 70px;
    flex-shrink: 0;
}

/* Timeline Node */
.timeline-node-6c7cf803 {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #dfd0b8;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    top: 20px;
}

.timeline-node-6c7cf803::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c2a373;
}

/* Timeline Vertical Line */
.timeline-line-6c7cf803 {
    width: 2px;
    background-color: #dfd0b8;
    position: absolute;
    top: 10px;
    bottom: -24px;
    z-index: 1;
}

/* For the last item, line goes down to end nicely near the bottom of the card */
.timeline-item-6c7cf803:last-child .timeline-line-6c7cf803 {
    bottom: auto;
    height: calc(100% - 50px);
    display: block !important;
}

/* Card Container */
.timeline-card-6c7cf803 {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 24px 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Header layout: badge & year */
.timeline-card-header-6c7cf803 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

/* Badge style */
.timeline-badge-6c7cf803 {
    background-color: #0c1b33;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

/* Period */
.timeline-period-6c7cf803 {
    color: #c2a373;
    font-size: 14px;
    font-weight: 600;
}

/* Title */
.timeline-title-6c7cf803 {
    margin: 0;
    color: #0c1b33;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

/* Subtitle */
.timeline-subtitle-6c7cf803 {
    color: #7a7a7a;
    font-size: 14px;
    line-height: 1.4;
}

/* Location */
.timeline-location-6c7cf803 {
    color: #a1a1a1;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-loc-icon-6c7cf803 {
    display: inline-flex;
    align-items: center;
}

.timeline-loc-icon-6c7cf803 svg {
    width: 12px;
    height: 12px;
    fill: #a1a1a1;
}

/* Switch Hide Left Column - completely hides line/nodes if switcher is off */
.timeline-container-6c7cf803.hide-line-6c7cf803 .timeline-left-column-6c7cf803 {
    display: none !important;
}

/* Responsive adjustment */
@media (max-width: 576px) {
    .timeline-left-column-6c7cf803 {
        width: 50px;
    }
    .timeline-node-6c7cf803 {
        width: 24px;
        height: 24px;
    }
    .timeline-node-6c7cf803::after {
        width: 8px;
        height: 8px;
    }
    .timeline-card-6c7cf803 {
        padding: 16px 20px;
    }
}
