/* Base styles for Timeline Widget */
.timeline-wrapper-c4933bbf {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
}

.timeline-track-c4933bbf {
    display: flex;
    position: relative;
    align-items: stretch; /* Stretch items to ensure equal height containers */
    padding: 50px 20px;
    min-width: max-content;
}

.timeline-track-c4933bbf::before {
    content: '';
    position: absolute;
    background-color: #333; /* default */
    z-index: 1;
    min-height: 2px;
}

.timeline-item-c4933bbf {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto 1fr; /* Top content takes available space, tick is auto, bottom takes space */
    align-items: stretch;
    text-align: center;
    width: 250px;
    z-index: 2;
    justify-items: center;
}

.timeline-tick-c4933bbf {
    position: relative; /* Changed from absolute */
    background-color: #666; /* default */
    z-index: 3;
    min-width: 2px;
    min-height: 20px;
    align-self: center;
}

.timeline-top-content-c4933bbf {
    margin-bottom: 30px; /* Space above line */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align to the bottom so images sit on the line */
    min-height: 50px;
    width: 100%;
}

.timeline-bottom-content-c4933bbf {
    margin-top: 30px; /* Space below line */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align text to top */
    width: 100%;
}

.timeline-img-c4933bbf {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
}
