.os-timeline {
    background: var(--os-base);
}
.os-timeline .os-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--os-grid-gap);
}
.os-timeline__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.os-timeline__content .os-h2 {
    color: var(--os-white);
}
.os-timeline__cards {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    max-height: 60vh;
    overflow-y: scroll;
}
.os-blocks-content ul.os-timeline__cards::-webkit-scrollbar-track {
    background-color: rgba(255,255,255,0.2);
}
.os-timeline__card {
    display: flex;
    flex-direction: row-reverse;
    gap: var(--os-space-s);
    align-items: flex-start;
    color: var(--os-base);
    width: 55%;
    padding: var(--os-space-m);
    margin-top: -20rem;
}
.os-timeline__card:first-child {
    margin-top: 0;
}
.os-timeline__card:nth-of-type(2n) {
    flex-direction: row;
    align-self: flex-end;
}
.os-timeline__card-date {
    min-width: 12rem;
    height: 9rem;
    padding: var(--os-space-s);
    border-radius: var(--os-radius-m);
    background-color: var(--os-base-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.4rem;
}
p.os-timeline__card-date-month {
    color: white;
    font-size: calc(var(--wp--preset--font-size--medium) * 0.8);
    border-bottom: 1px solid var(--os-accent);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}
p.os-timeline__card-date-year {
    color: white;
    font-size: calc(var(--wp--preset--font-size--medium) * 0.8);
    margin-bottom: 0;
}
.os-timeline__card-date p {
    line-height: 1.3;
    margin-top: 0;
}
.os-timeline__card-image {
    max-width: 100%;
    overflow: hidden;
    margin-top: var(--os-space-m);
}
.os-timeline__card-content {
    flex-direction: column;
    padding: var(--os-space-l);
    border-radius: var(--os-radius-l);
    box-shadow: var(--os-box-shadow-l);
    overflow: hidden;
    background-color: var(--os-white);
}
.os-timeline__card-content *:first-child {
    margin-top: 0;
}
.os-timeline__card-content img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .os-timeline__card {
        width: 100%;
        margin-top: 0;
    }
}
@media screen and (max-width: 480px) {
    .os-timeline__card {
        flex-direction: column;
    }
    .os-timeline__card:nth-of-type(2n) {
        flex-direction: column;
    }
}