#history .timeline__years {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 816px;
}

#history .timeline__years .tags__tag {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 8px;
    border: 0;
    border-radius: 8px;
    background: #f2f2f2;
    box-shadow: none; /* taste-skill-ignore: remove the shared inset outline */
    color: #1e1b1e;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 150ms ease;
}

#history .timeline__years .tags__tag:not(.tags__tag--active):hover {
    background: #e5e5e5;
}

#history .timeline__years .tags__tag--active {
    background: var(--primary-yellow-100, #e6df00);
    color: #1e1b1e;
}

#history .timeline__years .tags__tag:focus-visible {
    outline: 2px solid #1e1b1e;
    outline-offset: 3px;
    color: #1e1b1e;
}

@media (max-width: 767.98px) {
    #history .timeline__years {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #history .timeline__years .tags__tag {
        min-height: 44px;
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #history .timeline__years .tags__tag {
        transition: none;
    }
}
