.timeline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: rgb(var(--color-background));
}

.timeline-list {
    width: 100%;
    position: relative;

}

.timeline-item-wrapper {
    display: flex;
    width: 100%;
}

.timeline-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
}

.timeline-col {
    min-width: 0;
}

.timeline-center-col {
    display: flex;
    justify-content: center;
    position: relative;
}

.timeline-center-col::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: var(--line-color);
    opacity: 0.2;
    z-index: 1;
}

.timeline-row--content .timeline-center-col::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--dot-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.timeline-content-wrapper {
    padding-bottom: 30px;
}

.timeline-image-wrapper {
    padding-bottom: 20px;
    max-width: 100%;
}

.timeline-image-wrapper .timeline-image {
    max-width: 300px;
    height: auto;
}

.timeline-title {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.2;
    font-size: var(--title-size);
}

.timeline-subtitle {
    font-size: var(--subtitle-size);
}

.timeline-desc {
    font-size: var(--content-size);
}

.timeline-item--odd .timeline-left-col .timeline-image-wrapper,
.timeline-item--odd .timeline-left-col .timeline-content-wrapper {
    display: none;
}

.timeline-item--odd .timeline-right-col .timeline-image-wrapper {
    display: flex;
    justify-content: flex-start;
    padding-left: 30px;
}

.timeline-item--odd .timeline-right-col .timeline-content-wrapper {
    display: block;
    text-align: left;
    padding-left: 33px;
}

.timeline-item--even .timeline-right-col .timeline-image-wrapper,
.timeline-item--even .timeline-right-col .timeline-content-wrapper {
    display: none;
}

.timeline-item--even .timeline-left-col .timeline-image-wrapper {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
}

.timeline-item--even .timeline-left-col .timeline-content-wrapper {
    display: block;
    text-align: right;
    padding-right: 33px;
}

.timeline-item-wrapper:last-child .timeline-row--content .timeline-center-col::before {
    bottom: auto;
    height: 12px;
}

.timeline-item-wrapper:first-child .timeline-row--image .timeline-center-col::before {
    display: none;
}

.timeline-item-wrapper:first-child .timeline-row--content .timeline-center-col::before {
    top: 12px;
}

@media screen and (max-width: 749px) {
    .timeline-row {
        grid-template-columns: auto 1fr;
    }

    .timeline-list {
        padding: 0px 20px;
    }

    .timeline-center-col {
        grid-column: 1;
    }

    .timeline-left-col {
        display: none;
    }

    .timeline-right-col {
        grid-column: 2;
    }

    .timeline-item--even .timeline-right-col .timeline-image-wrapper,
    .timeline-item--even .timeline-right-col .timeline-content-wrapper {
        display: block;
    }

    .timeline-item--even .timeline-right-col .timeline-image-wrapper {
        display: flex;
        justify-content: flex-start;
        padding-left: 30px;
        padding-right: 0;
    }

    .timeline-item--even .timeline-right-col .timeline-content-wrapper {
        text-align: left;
        padding-left: 30px;
        padding-right: 0;
    }

    .timeline-item--odd .timeline-right-col .timeline-image-wrapper {
        padding-left: 30px;
    }

    .timeline-item--odd .timeline-right-col .timeline-content-wrapper {
        padding-left: 30px;
    }

    .timeline-title {
        font-size: var(--mobile-title-size) !important;
    }

    .timeline-subtitle {
        font-size: var(--mobile-subtitle-size) !important;
    }

    .timeline-desc {
        font-size: var(--mobile-content-size) !important;
    }
}