.pingshang-development-history{
    padding: 40px 0 100px;
    background: #FEF8F8;
}

.pingshang-development-history .development-history-title{
    color: var(--text-color);
    font-family: var(--font-primary-family);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    text-align: right;
}

.history-content{
    position: relative;
    margin-top: 60px;
}
.history-scroll-body{
    display: flex;
    gap: 145px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}
.history-scroll-body.is-grabbing{
    cursor: grabbing;
}
.history-scroll-body::-webkit-scrollbar{
    display: none;
}
.history-content .history-line{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}
.history-item{
    /* flex: 0 0 140px; */
    width: 140px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 80px;
    align-items: center;
}
.history-item::after{
    content: '';
    width: 16px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #F4C3C1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
}
.history-item:nth-of-type(odd){
    flex-direction: column-reverse;
}
.history-text{
    color: #333;
    text-align: center;
    font-family: var(--font-text-family);
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}
.history-img-wrap{
    width: 100%;
    aspect-ratio: 140/181;
    position: relative;
}
.history-img-wrap::after{
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(235 113 90 / 50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* .history-item:hover .history-img-wrap::after{
    opacity: 1;
} */
.history-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.history-item:hover .history-text{
    color: #EB715A;
}
.history-item:hover::after{
    background: #EB715A;
}


@media screen and (max-width: 1500px) {
    .history-scroll-body{
        gap: 100px;
    }
}
@media screen and (max-width: 992px) {
    .history-scroll-body{
        gap: 50px;
    }
    .pingshang-development-history{
        padding: 20px 0 50px;
    }
    .pingshang-development-history .development-history-title{
        font-size: 40px;
    }
}
@media screen and (max-width: 768px) {
    .pingshang-development-history .development-history-title{
        font-size: 30px;
    }
    .history-content .history-line,
    .history-item::after{
        display: none;
    }
    .history-scroll-body{
        flex-direction: column;
    }
    .history-item{
        flex-direction: column-reverse !important;
        width: 100%;
        gap: 30px;
    }
    .history-img-wrap{
        width: 50%;
    }
}