/* Vertical Timeline Structure & CSS styles - 5f0f0636 */

.education-timeline-container-5f0f0636 {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    /* CSS Variables for Responsive Controls */
    --year-width-5f0f0636: 60px;
    --dot-width-5f0f0636: 40px;
    --card-margin-5f0f0636: 20px;
}

/* Vertical connecting line - perfectly centered inside the dot column area */
.timeline-line-5f0f0636 {
    position: absolute;
    left: calc(var(--year-width-5f0f0636) + (var(--dot-width-5f0f0636) / 2));
    top: 15px;
    bottom: 15px;
    z-index: 1;
    transform: translateX(-50%);
}

/* Individual timeline row item */
.timeline-item-5f0f0636 {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Column 1: Year text */
.timeline-year-col-5f0f0636 {
    width: var(--year-width-5f0f0636);
    text-align: right;
    flex-shrink: 0;
    margin-right: 0;
}

/* Year label */
.timeline-year-text-5f0f0636 {
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

/* Column 2: Dot column area */
.timeline-dot-col-5f0f0636 {
    width: var(--dot-width-5f0f0636);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Outer Ring dot */
.timeline-dot-5f0f0636 {
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    z-index: 3;
}

/* Inner colored dot */
.timeline-dot-inner-5f0f0636 {
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
}

/* Active Step Override */
.timeline-item-5f0f0636.active-step-5f0f0636 .timeline-dot-5f0f0636 {
    border-width: 2px;
}

/* Right portion: Custom Card Wrapper with custom margins */
.timeline-card-wrapper-5f0f0636 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: var(--card-margin-5f0f0636);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
}

.timeline-card-content-5f0f0636 {
    flex-grow: 1;
    padding-right: 20px;
}

/* Core typography defaults for custom look */
.timeline-degree-5f0f0636 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.timeline-subject-5f0f0636 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.timeline-institution-5f0f0636 {
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Arrow indicator button */
.timeline-arrow-icon-5f0f0636 {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-arrow-icon-5f0f0636 svg {
    transition: fill 0.3s ease;
}

/* Responsive adjustments - Keep horizontal on mobile! */
@media screen and (max-width: 767px) {
    /* We preserve horizontal flex row structure. Spacing is controlled dynamically by responsive variables. */
    .timeline-item-5f0f0636 {
        flex-direction: row;
        align-items: center;
    }
    
    .timeline-year-text-5f0f0636 {
        font-size: 13px; /* Slightly smaller for mobile screens */
    }
    
    .timeline-degree-5f0f0636 {
        font-size: 15px;
    }
    
    .timeline-subject-5f0f0636 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .timeline-institution-5f0f0636 {
        font-size: 12px;
    }
}
