/* Timeline Styling */
.tl-4a333b5c-wrapper {
    position: relative;
    width: 100%;
    margin: 40px 0;
    padding: 20px 0;
}

.tl-4a333b5c-line-container {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.tl-4a333b5c-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #dca1a4;
}

.tl-4a333b5c-line-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0%;
    background-color: #b84a51;
    transition: height 0.1s linear;
}

.tl-4a333b5c-items {
    position: relative;
    z-index: 2;
}

.tl-4a333b5c-item {
    position: relative;
    display: flex;
    width: 100%;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tl-4a333b5c-item.tl-4a333b5c-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Markers styling */
.tl-4a333b5c-marker {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b84a51;
    border-radius: 50%;
    z-index: 5;
    box-sizing: border-box;
    font-weight: bold;
    transform: translate(-50%, 0);
    top: 5px; /* Aligned vertically with first line of date */
}

.tl-4a333b5c-marker svg {
    display: block;
    pointer-events: none;
}

.tl-4a333b5c-marker-icon, .tl-4a333b5c-marker-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Content cards setup */
.tl-4a333b5c-card {
    position: relative;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

/* ALIGN RIGHT (LINE ON LEFT - DEFAULT) */
.tl-4a333b5c-align-right .tl-4a333b5c-line-container {
    left: 20px;
    transform: translateX(-50%);
}
.tl-4a333b5c-align-right .tl-4a333b5c-marker {
    left: 20px;
    right: auto;
}
.tl-4a333b5c-align-right .tl-4a333b5c-item {
    justify-content: flex-start;
    padding-left: 60px;
}
.tl-4a333b5c-align-right .tl-4a333b5c-card {
    width: 100%;
    text-align: left;
}

/* ALIGN LEFT (LINE ON RIGHT) */
.tl-4a333b5c-align-left .tl-4a333b5c-line-container {
    right: 20px;
    left: auto;
    transform: translateX(50%);
}
.tl-4a333b5c-align-left .tl-4a333b5c-marker {
    right: 20px;
    left: auto;
    transform: translate(50%, 0);
}
.tl-4a333b5c-align-left .tl-4a333b5c-item {
    justify-content: flex-end;
    padding-right: 60px;
}
.tl-4a333b5c-align-left .tl-4a333b5c-card {
    width: 100%;
    text-align: right;
}

/* Details within card */
.tl-4a333b5c-date {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.tl-4a333b5c-title {
    margin: 0 0 6px 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.tl-4a333b5c-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Override - Always keep line left on mobile */
@media screen and (max-width: 768px) {
    .tl-4a333b5c-line-container {
        left: 20px !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    .tl-4a333b5c-marker {
        left: 20px !important;
        right: auto !important;
        transform: translate(-50%, 0) !important;
    }
    .tl-4a333b5c-item {
        justify-content: flex-start !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
    }
    .tl-4a333b5c-card {
        text-align: left !important;
    }
}
