.miko-timeline {
    position: relative;
}

.miko-timeline::after {
    position: absolute;
    content: '';
    background-color: #00AEEF;
    height: 4px;
    width: 100%;
    left: 0;
    top: 50%;
    margin-top: -2px;
}

.miko-timeline::before {
    position: absolute;
    content: '';
    border-left: 15px solid #00AEEF;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    height: 0;
    width: 0;
    right: -5px;
    top: 50%;
    margin-top: -10px;
}

.miko-timeline-track {
    display: flex;
    gap: 60px;
    transition: transform 0.4s ease;
    overflow: hidden;
    justify-content: space-between;
}

.miko-timeline-item {
    position: relative;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 155px 0;
}

.miko-timeline-item .year {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 8px solid #F58220;
    background-color: white;
    display: inline-block;
    position: relative;
}

.miko-timeline-item .year span {
    font-weight: bold;
    font-size: 30px;
    color: #676767;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 0.5rem);
    transition: 0.3s all ease-in-out;
}

.miko-timeline-item.active .year {
    background: #ff6600;
}

.miko-timeline-item:hover .year span {
    color: #2E3192;
}

.miko-timeline-item .tooltip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #CCEFFC;
    padding: 12px;
    font-size: 18px;
    width: 220px;
    color: #000000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    border-radius: 4px;
    visibility: inherit;
}

.miko-timeline-item .tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 15px solid #CCEFFC;
    bottom: 100%;
    left: 55%;
    transform: translateX(-50%);
}

.miko-timeline-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.swiper-down .miko-timeline-item .year span {
    bottom: calc(-100% - 2.6rem);
}

.swiper-up .miko-timeline-item .tooltip {
    bottom: 0;
    top: unset;
}
.swiper-down .miko-timeline-item .tooltip::before {
    bottom: unset;
    top: 100%;
    border-bottom: none;
    border-top: 15px solid #CCEFFC;
}