.c-timeline .c-firma__intro .c-section-heading::after {
    content: none;
}

.c-timeline__list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-timeline__item {
    display: grid;
    align-content: start;
    grid-template-rows: 3rem 0.85rem auto auto;
    justify-items: center;
    min-width: 0;
}

.c-timeline__mark {
    display: grid;
    align-self: end;
    place-items: center;
    width: 3rem;
    height: 3rem;
    overflow: visible;
    color: var(--color-brand);
}

.c-timeline__mark .c-glyph,
.c-timeline__mark .c-mark {
    width: 2.7rem;
    height: 2.7rem;
    object-fit: contain;
    object-position: center;
}

.c-timeline__year {
    margin: 0.35rem 0 0;
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.c-timeline__dot {
    position: relative;
    align-self: start;
    width: 100%;
    height: 0.85rem;
}

.c-timeline__dot::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    right: -1px;
    left: -1px;
    height: 2px;
    background: #c5c9ce;
}

.c-timeline__item:first-child .c-timeline__dot::before {
    left: 50%;
}

.c-timeline__item:last-child .c-timeline__dot::before {
    right: 50%;
}

.c-timeline__dot::after {
    content: "";
    position: absolute;
    top: calc(0.35rem + 1px);
    left: 50%;
    z-index: 1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-yellow);
    transform: translate(-50%, -50%);
}

.c-timeline__text {
    margin: 0.7rem 0 0;
    padding: 0 0.35rem;
    color: var(--color-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 991.98px) {
    .c-timeline__list {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
        margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
        width: 100%;
        min-width: 0;
        padding: 0 1.15rem 0.35rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 1.15rem;
        scrollbar-width: none;
        touch-action: pan-y;
        cursor: grab;
        -webkit-overflow-scrolling: touch;
    }

    .c-timeline__list.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
        user-select: none;
    }

    .c-timeline__list::-webkit-scrollbar {
        display: none;
    }

    .c-timeline__item {
        flex: 0 0 10.5rem;
        scroll-snap-align: start;
    }

    .c-timeline__text {
        padding-inline: 0.2rem;
    }
}
