.timeline-wrap {
    overflow-x: auto;
    padding: 10px 0 0 10px;
    margin-right: -15px;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none; /* IE & Edge (old) */
    cursor: grab;

    user-select: none;          /* Standard */
    -webkit-user-select: none;  /* Chrome, Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE/Edge */
}
.timeline-wrap::-webkit-scrollbar {
    display: none;
}
.timeline-wrap:active {
    cursor: grabbing;
}
/*.timeline-wrap ::selection {
    background: #283542;
    color: #fff;
}
.timeline-wrap ::-moz-selection {
    background: #283542;
    color: #fff;
}*/
.timeline {
    display: flex;
    position: relative;
    min-width: max-content;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    border-top: 1px dashed #FFFFFF4D;
}
.timeline-item {
    width: 326px;
    color: #fff;
    position: relative;
}
.timeline-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6px;
    width: 1px;
    height: 90%;
    border-left: 1px dashed #FFFFFF4D;
}
.timeline-item .timeline-year {
    font-size: 49px;
    line-height: 50px;
    font-weight: 500;
    writing-mode: sideways-lr;
    -webkit-text-stroke: 1px #fff;
    color: transparent;
    position: absolute;
    margin: 0;
    left: 15px;
    top: 65px;
}
.timeline-dot {
    width: 14px;
    height: 14px;
    background-color: #BF0F00;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.timeline-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #BF0F00;
    animation: dotPulse 1.8s infinite;
}
/* Glow animation */
@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(191, 15, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(191, 15, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(191, 15, 0, 0);
    }
}
.timeline-content {
    padding-left: 75px;
    padding-top: 35px;
    p {
        margin-bottom: 0;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .timeline-item .timeline-year {
        font-size: 40px;
        line-height: 36px;
        left: 15px;
        top: 60px;
    }
    .timeline-content {
        padding-left: 60px;
        padding-top: 30px;
    }
    .timeline-item {
        width: 300px;
    }
    .timeline-content p {
        font-size: 15px;
        line-height: 22px;
    }
}