@media (min-width: 768px) {
    .timeline-card {
        display: grid;
        grid-template-columns: 150px 1fr;
    }
    .timeline-title {
        width: 270px;
        max-width: 100%;
    }
}
@media (min-width: 990px) {
    .timeline-content {
        display: grid;
        grid-template-columns: 2fr 3fr;
        gap: 20px
    }
}
.timeline-card:nth-child(even) {
    background-color: var(--light-yellow);
}
.timeline-top, .timeline-bottom {
    padding: 15px;
}
.timeline-bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.timeline-title {
    text-transform: uppercase !important;
    font-weight: 500;
    font-size: 18px;

}
.timeline-year {
    color: #fff;
    padding: 5px 15px;
    display: inline;
    border-top-left-radius: 10px;
    width: 90px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
.timeline-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Maroon Color */
.timeline-maroon .timeline-title { color: var(--maroon) }
.timeline-maroon .timeline-year { background: var(--maroon) }

/* Yellow Color */
.timeline-yellow .timeline-title { color: var(--yellow) }
.timeline-yellow .timeline-year { background: var(--yellow) }

/* Blue Color */
.timeline-blue .timeline-title { color: var(--blue) }
.timeline-blue .timeline-year { background: var(--blue) }

/* Green Color */
.timeline-green .timeline-title { color: var(--green) }
.timeline-green .timeline-year { background: var(--green) }