.oliva-timeline {
    --oliva-timeline-accent: #7f452b;
    --oliva-timeline-text: #3a2d37;
    --oliva-timeline-mt: 70px;
    --oliva-timeline-mb: 0px;
    --oliva-timeline-gap: 80px;
    --oliva-timeline-dot-size: 15px;

    position: relative;
    width: 100%;
    margin: var(--oliva-timeline-mt) 0 var(--oliva-timeline-mb);
}

.oliva-timeline__years-row,
.oliva-timeline__track,
.oliva-timeline__cells {
    display: grid;
    column-gap: var(--oliva-timeline-gap);
}

.oliva-timeline--cols-2 .oliva-timeline__years-row,
.oliva-timeline--cols-2 .oliva-timeline__track,
.oliva-timeline--cols-2 .oliva-timeline__cells { grid-template-columns: repeat(2, 1fr); }
.oliva-timeline--cols-3 .oliva-timeline__years-row,
.oliva-timeline--cols-3 .oliva-timeline__track,
.oliva-timeline--cols-3 .oliva-timeline__cells { grid-template-columns: repeat(3, 1fr); }
.oliva-timeline--cols-4 .oliva-timeline__years-row,
.oliva-timeline--cols-4 .oliva-timeline__track,
.oliva-timeline--cols-4 .oliva-timeline__cells { grid-template-columns: repeat(4, 1fr); }
.oliva-timeline--cols-5 .oliva-timeline__years-row,
.oliva-timeline--cols-5 .oliva-timeline__track,
.oliva-timeline--cols-5 .oliva-timeline__cells { grid-template-columns: repeat(5, 1fr); }
.oliva-timeline--cols-6 .oliva-timeline__years-row,
.oliva-timeline--cols-6 .oliva-timeline__track,
.oliva-timeline--cols-6 .oliva-timeline__cells { grid-template-columns: repeat(6, 1fr); }

.oliva-timeline__years {
    font-family: "Libre Baskerville", "Times New Roman", serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    color: var(--oliva-timeline-accent);
    margin: 0;
    padding: 0;
}
.oliva-timeline__years span {
    display: block;
}
.oliva-timeline__years-row {
    margin-bottom: 22px;
}

.oliva-timeline__track {
    position: relative;
    height: var(--oliva-timeline-dot-size);
    margin-bottom: 26px;
    align-items: center;
}

.oliva-timeline__line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--oliva-timeline-accent);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}
.oliva-timeline--bleed .oliva-timeline__line {
    right: calc(50% - 50vw);
}

.oliva-timeline__dot {
    position: relative;
    z-index: 2;
    width: var(--oliva-timeline-dot-size);
    height: var(--oliva-timeline-dot-size);
    background: var(--oliva-timeline-accent);
    border-radius: 50%;
    justify-self: start;
    align-self: center;
}

.oliva-timeline__cells {
    align-items: start;
}

.oliva-timeline__cell {
    max-width: 416px;
}

.oliva-timeline__title {
    font-family: "Archivo", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: var(--oliva-timeline-text);
    margin: 0 0 14px;
    letter-spacing: 0;
}

.oliva-timeline__text {
    font-family: "Archivo", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--oliva-timeline-text);
    margin: 0;
    opacity: 1;
}

@media (max-width: 999px) {
    .oliva-timeline {
        --oliva-timeline-mt: 40px;
        --oliva-timeline-gap: 0px;
        --oliva-timeline-dot-size: 11px;
    }
    .oliva-timeline__years-row,
    .oliva-timeline__track {
        display: none;
    }
    .oliva-timeline__cells {
        grid-template-columns: 1fr !important;
        column-gap: 0;
        row-gap: 28px;
        position: relative;
    }
    .oliva-timeline__cells::before {
        content: "";
        position: absolute;
        left: 5px;
        top: 8px;
        bottom: 8px;
        width: 1px;
        background: var(--oliva-timeline-accent);
        opacity: 0.45;
    }
    .oliva-timeline__cell {
        position: relative;
        padding-left: 32px;
        max-width: none;
    }
    .oliva-timeline__cell::before {
        content: attr(data-years);
        display: block;
        font-family: "Libre Baskerville", "Times New Roman", serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 1.25;
        color: var(--oliva-timeline-accent);
        margin: 0 0 12px;
        white-space: pre-line;
    }
    .oliva-timeline__cell::after {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 11px;
        height: 11px;
        background: var(--oliva-timeline-accent);
        border-radius: 50%;
        z-index: 2;
    }
    .oliva-timeline__title {
        font-size: 17px;
        line-height: 24px;
        margin: 0 0 10px;
    }
    .oliva-timeline__text {
        font-size: 15px;
        line-height: 24px;
    }
}

@media (max-width: 600px) {
    .oliva-timeline {
        --oliva-timeline-mt: 30px;
    }
    .oliva-timeline__cell {
        padding-left: 26px;
    }
    .oliva-timeline__cell::before {
        font-size: 18px;
        margin: 0 0 8px;
    }
    .oliva-timeline__cell::after {
        width: 9px;
        height: 9px;
    }
}
