.timeline {
    position: relative;
    width: 100%;
    box-sizing: border-box;

    --timeline-line-color: var(--color-onyx);

    --timeline-line-width: 2px;
    --timeline-event-container-padding: 30px;
    --timeline-event-container-gap: calc(var(--timeline-event-container-padding) * 2 + var(--timeline-line-width));
    --timeline-content-padding: 30px;
    --timeline-content-large-padding: 90px;

    --timeline-content-width: calc(50% - var(--timeline-event-container-gap) / 2)
}

.timeline::after {
    content: '';
    position: absolute;
    width: var(--timeline-line-width);
    background: var(--timeline-line-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: calc(var(--timeline-line-width) / -2);
}

.timeline-event-container {
    position: relative;
    background: inherit;
    width: 100%;

    display: flex;
    flex-flow: row nowrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--timeline-event-container-gap);

    padding: var(--timeline-event-container-padding) 0;
}
.timeline-event-container>* {
    flex: 0 0 var(--timeline-content-width);
}

.timeline-event-container.left {
    flex-flow: row-reverse nowrap;
}

.timeline-event-container.right {

}

.timeline-content::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f111";
    font-size: 4px;
    line-height: 16px;
    vertical-align: center;
    text-align: center;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 30px;
    right: -41px;
    background: white;
    border: 2px solid var(--timeline-line-color);
    border-radius: 16px;
    z-index: 1;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    top: 39px;
    right: -30px;
    background: var(--timeline-line-color);
    z-index: 1;
}


.right .timeline-content::after {
    left: -41px;
}
.right .timeline-content::before {
    left: -30px;
}

.timeline-event-container .timeline-date {
    position: relative;
    display: flex;
    flex-flow: column;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
    height: 100%;
    width: 100%;
    overflow: clip;
}

.timeline-event-container.left .timeline-date {

}

.timeline-event-container.right .timeline-date {
    text-align: right;
}

.timeline-event-container .timeline-image {
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: right;
}
.timeline-event-container .timeline-image img {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    vertical-align: middle;
    object-position: center;
    border-radius: var(--border-radius-16px);
}
.timeline-event-container .timeline-image img.objectPositionTop {
    object-position: top;
}

.timeline-images {
    position: relative;
    border-radius: var(--border-radius-16px);
    overflow: hidden;
    height: 200px;
    aspect-ratio: 1/1;
}

.timeline-images img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: fill;
    vertical-align: middle;
    object-position: center;
}

.timeline-event-container .timeline-icon {
    position: absolute;
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 9px 0;
    top: 21px;
    background: white;
    border: 2px solid var(--timeline-line-color);
    border-radius: 40px;
    text-align: center;
    font-size: 18px;
    color: var(--timeline-line-color);
    z-index: 1;
}

.timeline-event-container.left .timeline-icon {
    right: 20px;
}

.timeline-event-container.right .timeline-icon {
    left: 20px;
}

.timeline-event-container .timeline-content {
    padding: 30px 90px 30px 30px;
    background: white;
    position: relative;
    border-radius: var(--border-radius-16px);
}

.timeline-event-container.right .timeline-content {
    padding: 30px 30px 30px 90px;
}

.timeline-event-container .timeline-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: normal;
    color: black;
}

.timeline-event-container .timeline-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
}
.timeline-icon-more {
    display: none;
}

@media (max-width: 900px) {
    .timeline {
        --timeline-event-container-gap: 20px;
    }
    .timeline::after {
        left: 10px;
    }

    .timeline-event-container {
        flex-flow: column nowrap;
        padding-left: 41px;
    }
    .timeline-event-container.left {
        flex-flow: column nowrap;
    }

    .left .timeline-content::after {
        left: -41px;
    }
    .left .timeline-content::before {
        left: -30px;
    }

    .timeline-event-container.left .timeline-icon {
        left: 20px;
    }

    .timeline-content {
        flex: 0 0 100%;
    }

    .left .timeline-content {
        padding: 30px 30px 30px 90px;
    }

    .timeline-event-container.right .timeline-date {
        text-align: left;
    }

    .timeline-event-container .timeline-date .timeline-image {
        display: none;
    }

}

@media (max-width: 768px) {
    .timeline-content div.timeline-text {
        display: none;
    }

    .timeline-content {
        width: 100%;
        transition: transform .2s;
        transform-origin: left;
        z-index: 1;
        cursor: pointer;
    }

    .timeline-content:hover {
        transform: scale(1.03);
    }

    .timeline-icon-more {
        position: absolute;
        display: block;
        bottom: 50%;
        transform: translateY(50%);
        right: 25px;
    }

    .timeline-event-container .timeline-content h4 {
        margin: 0 25px 0 0;
    }
}