/* Vertical Timeline - c1faf277 */

.ht-c1faf277-wrapper {
    width: 100%;
    padding: 40px 0 0 0;
    overflow: hidden;
}

.ht-c1faf277-track {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

/* Vertical connector line via pseudo-element */
.ht-c1faf277-track::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background-color: #e2e8f0;
    z-index: 0;
    bottom: 24px;
}

.ht-c1faf277-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.ht-c1faf277-item:last-child {
    margin-bottom: 0;
}

/* Animation: items start hidden, become visible when class is added */
.ht-c1faf277-item .ht-c1faf277-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ht-c1faf277-item .ht-c1faf277-dot {
    opacity: 0;
    transform: translateX(-50%) scale(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ht-c1faf277-item.ht-c1faf277-visible .ht-c1faf277-card {
    opacity: 1;
    transform: translateY(0);
}

.ht-c1faf277-item.ht-c1faf277-visible .ht-c1faf277-dot {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Left-side items */
.ht-c1faf277-item.ht-c1faf277-left {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
    padding-left: 0;
}

.ht-c1faf277-item.ht-c1faf277-left .ht-c1faf277-card {
    text-align: right;
}

.ht-c1faf277-item.ht-c1faf277-left .ht-c1faf277-content {
    align-items: flex-end;
}

/* Right-side items */
.ht-c1faf277-item.ht-c1faf277-right {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
    padding-right: 0;
}

.ht-c1faf277-item.ht-c1faf277-right .ht-c1faf277-card {
    text-align: left;
}

.ht-c1faf277-item.ht-c1faf277-right .ht-c1faf277-content {
    align-items: flex-start;
}

/* Dot positioning */
.ht-c1faf277-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #6366f1;
    border: 3px solid #e2e8f0;
    z-index: 2;
    box-shadow: 0 0 0 4px #ffffff;
    flex-shrink: 0;
}

.ht-c1faf277-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
    position: relative;
}

.ht-c1faf277-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ht-c1faf277-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
}

.ht-c1faf277-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ht-c1faf277-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ht-c1faf277-year {
    display: inline-block;
    background-color: #6366f1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.ht-c1faf277-company {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 4px 0 0;
    line-height: 1.3;
}

.ht-c1faf277-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Single-column layout for tablet & mobile */
@media (max-width: 1024px) {
    .ht-c1faf277-wrapper {
        padding: 20px 0 0 0;
    }

    .ht-c1faf277-track::before {
        left: 20px;
        transform: none;
    }

    .ht-c1faf277-dot {
        left: 20px;
        top: 24px;
    }

    .ht-c1faf277-item .ht-c1faf277-dot {
        transform: translateX(-50%) scale(0);
    }

    .ht-c1faf277-item.ht-c1faf277-visible .ht-c1faf277-dot {
        transform: translateX(-50%) scale(1);
    }

    .ht-c1faf277-item.ht-c1faf277-left,
    .ht-c1faf277-item.ht-c1faf277-right {
        justify-content: flex-start;
        padding-left: 50px;
        padding-right: 0;
    }

    .ht-c1faf277-item.ht-c1faf277-left .ht-c1faf277-card,
    .ht-c1faf277-item.ht-c1faf277-right .ht-c1faf277-card {
        text-align: left;
    }

    .ht-c1faf277-item.ht-c1faf277-left .ht-c1faf277-content,
    .ht-c1faf277-item.ht-c1faf277-right .ht-c1faf277-content {
        align-items: flex-start;
    }

    .ht-c1faf277-item {
        margin-bottom: 30px;
    }
}
