.timeline-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #d0cfcf
}

.timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
    position: relative;
    width: 100%
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #c9d8e6;
    transform: translateX(-50%)
}

.tl-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 24px;
    margin: 40px 0;
    position: relative
}

.tl-col--center {
    position: relative;
    display: flex;
    justify-content: center
}

.tl-badge {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-radius: 50%
}

.tl-badge__icon svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: #fff
}

.tl-year {
    color: #7391ad;
    font-weight: 600;
    font-size: 16px
}

.tl-year--left {
    text-align: left
}

.tl-year--right {
    text-align: right
}

.tl-card {
    position: relative;
    background: #fff;
    color: #222;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08)
}

.tl-card__inner {
    padding: 16px
}

.tl-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 10px
}

.tl-pointer {
    position: absolute;
    top: 48%;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent
}

.tl-pointer--left {
    right: 100%;
    border-right: 12px solid #fff
}

.tl-pointer--right {
    left: 100%;
    border-left: 12px solid #fff
}

.tl-card--left {
    margin-left: auto;
    max-width: 520px
}

.tl-card--right {
    margin-right: auto;
    max-width: 520px
}

.tl-badge__icon img {
    display: block;
    width: 28px;
    height: 28px
}

@media (max-width:900px) {
    .timeline::before {
        left: 37px;
        transform: none
    }

    .tl-row {
        grid-template-columns: 48px 1fr;
        gap: 16px;
        align-items: start
    }

    .tl-col--left {
        display: none
    }

    .tl-col--center {
        grid-column: 1
    }

    .tl-col--right {
        grid-column: 2
    }

    .tl-year {
        order: -1;
        margin-bottom: 8px;
        text-align: left;
        color: #7391ad
    }

    .tl-card {
        max-width: none
    }

    .tl-pointer--left {
        display: none
    }

    .tl-pointer--right {
        display: none
    }

    .tl-badge {
        width: 40px;
        height: 40px;
    }

    .tl-badge__icon img {
        width: 18px;
        height: 18px;
    }
}