.timeline-block {
    padding-block: clamp(20px, 8.66vw, 160px);
    padding-inline: clamp(20px, 7vw, 130px);
}

.timeline-separator {
    width: 413px;
    height: 100%;
    background: var(--Red);
    position: absolute;
    z-index: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-header {
    max-width: 586px;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.timeline-pretitle {
    font-weight: 500;
    font-size: clamp(24px, 4.44vw, 42.05px);
}

.timeline-title {
    font-weight: 700;
    font-size: clamp(36px, 6.88vw, 72.74px);
    line-height: 104%;
    letter-spacing: 0;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-item {
    display: flex;
    padding-top: clamp(20px, 8.44vw, 145px);
    width: 100%;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) {
    flex-direction: row;
}

.timeline-content-wrapper {
    display: flex;
    gap: 50px;
    flex: 1 50%;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-content-wrapper {
    flex-direction: row-reverse;
}

.wide-flex .timeline-content-wrapper {
    flex: 1 55%;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-item-pretitle {
    font-weight: 700;
    font-size: clamp(16px, 3vw, 26.6px);
    line-height: 47.38px;
}

.timeline-item-title {
    font-weight: 700;
    font-size: clamp(20px, 3vw, 41.6px);
    line-height: 47.38px;
    margin-bottom: 27px;
    max-width: 360px;
}

.timeline-description {
    font-weight: 400;
    font-size: clamp(14px, 2vw, 16px);
    max-width: 315px;
}

.timeline-description ul {
    padding-left: 10px;
}

.timeline-day-month {
    font-weight: 400;
    font-size: clamp(16px, 1.66vw, 20px);
    margin-bottom: 5px;
}

.timeline-year {
    font-weight: 700;
    font-size: clamp(32px, 6.66vw, 88.22px);
    line-height: 86.55px;
    max-width: 240px;
}

.timeline-thumbnail {
    flex: 1 50%;
}

.timeline-item:nth-child(even) .timeline-thumbnail {
    text-align: right;
    padding-right: 76px;
}

.timeline-item:nth-child(odd) .timeline-thumbnail {
    padding-left: 76px;
}

.timeline-img {
    min-height: 240px;
    object-fit: cover;
}

@media (max-width: 1900px) {

    .timeline-separator {
        height: 95%;
        top: 5%;
    }

}

@media (max-width: 992px) {

    .timeline-separator {
        display: none;
    }

    .timeline-header {
        max-width: 100%;
    }

    .timeline-list {
        margin-top: clamp(20px, 8.44vw, 145px);
    }

    .timeline-list::before {
        content: "";
        position: absolute;
        width: 1px;
        height: 97%;
        background: var(--Light-Grey);
        left: 9%;
        top: 2%;
        z-index: 0;
    }

    .timeline-item:first-child {
        padding-top: 0;
    }

    .timeline-thumbnail {
        display: none;
    }

    .timeline-content-wrapper {
        flex-direction: row-reverse !important;
        justify-content: space-between;
        gap: var(--spacing-small);
        /* align-items: center; */
        height: 100%;
    }

    .timeline-content {
        align-items: flex-start !important;
        text-align: left !important;
        padding: 20px;
    }

    .timeline-date {
        color: var(--Black);
        background: var(--White);
        height: 100%;
        z-index: 1;
    }

    .timeline-day-month {
        margin-bottom: 0;
    }

    .timeline-year {
        line-height: initial;
        max-width: 125px;
    }

    .timeline-description {
        max-width: 100%;
    }

    .timeline-description p {
        margin: 0 0 5px;
    }

    .timeline-description ul li {
        margin-bottom: 5px;
    }

    .timeline-item:nth-child(3n+1) .timeline-content,
    .timeline-item:nth-child(3n+1) .timeline-content,
    .timeline-item:nth-child(3n+1) .timeline-content {
        background: var(--Red);
        color: var(--White) !important;
    }

    .timeline-item:nth-child(3n+2) .timeline-content,
    .timeline-item:nth-child(3n+2) .timeline-content,
    .timeline-item:nth-child(3n+2) .timeline-content {
        background: var(--Dark-Grey);
        color: var(--White) !important;
    }

    .timeline-item:nth-child(3n+3) .timeline-content,
    .timeline-item:nth-child(3n+3) .timeline-content,
    .timeline-item:nth-child(3n+3) .timeline-content {
        background: var(--White);
        border: 1px solid var(--Black);
        color: var(--Black) !important;
    }

    .timeline-item-title,
    .timeline-item-pretitle,
    .timeline-description {
        color: inherit !important;
        line-height: initial;
    }

}