.history-slider {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.history-slider .item-wrapper-description {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 45px;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.history-slider .item-wrapper-description p {
    font-size: 20px;
    max-width: 75%;
}

.history-slider .swiper-outer-wrapper {
    display: flex;
    margin-top: 60px;
    flex-direction: column;
    display: flex;
    border-radius: 20px;
    position: relative;
}

.history-slider .swiper-outer-wrapper::after {
    content: '';
    width: 100vw;
    height: 1px;
    background: #DFE1E5;
    position: absolute;
    top: 86px;
    left: 100%;
    z-index: -1;
}

.history-slider .single-item {
    display: flex;
    position: relative;
    border-radius: 20px;
    transition: background .3s ease;
}

.history-slider .item-text {
    width: 100%;
}

.history-slider .items-wrapper {
    width: 100%;
}

.history-slider .item-description {
    margin-bottom: 40px;
}

.history-slider .history-arrows {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    width: 100%;
    justify-content: space-between;
}

.history-slider .history-arrows .swiper-button-next,
.history-slider .history-arrows .swiper-rtl .swiper-button-prev,
.history-slider .history-arrows .swiper-button-prev,
.history-slider .history-arrows .swiper-rtl .swiper-button-next {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 0;
    position: relative;
    width: 64px;
    min-width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #C0C4CB;
    transition: background .3s ease, opacity .3s ease;
}

.history-slider .history-arrows .swiper-button-prev svg,
.history-slider .history-arrows .swiper-button-next svg {
    max-width: 24px;
}

.history-slider .history-arrows .swiper-button-prev svg path,
.history-slider .history-arrows .swiper-button-next svg path {
    transition: stroke .3s ease;
}

.history-slider .history-arrows .swiper-button-prev:hover svg path,
.history-slider .history-arrows .swiper-button-next:hover svg path {
    stroke: #192440;
}

.history-slider .history-arrows .swiper-button-prev:hover,
.history-slider .history-arrows .swiper-button-next:hover {
    background-color: #0080C9;
}

.history-slider .history-arrows .swiper-button-prev:hover svg path,
.history-slider .history-arrows .swiper-button-next:hover svg path {
    stroke: #fff;
}

.history-slider .history-arrows .swiper-button-prev::after,
.history-slider .history-arrows .swiper-button-next::after {
    content: none;
    display: none;
}

.history-slider .item-text .h2 {
    margin-bottom: 16px;
}

.history-slider .item-text img {
    border-radius: 20px;
    max-width: 90%;
}

.history-slider .item-text .item-description {
    font-size: 16px;
    max-width: 90%;
    margin-top: 25px;
}

.history-slider .timeline-slider-line {
    position: relative;
    height: 24px;
    margin-bottom: 32px;
}

.history-slider .timeline-slider-line::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0080C9;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}

.history-slider .timeline-slider-line::after {
    content: '';
    width: calc(100% - 44px);
    height: 1px;
    background: #DFE1E5;
    position: absolute;
    top: 12px;
    left: 44px;
}

.history-slider .swiper-pagination-progressbar {
    background-color: #DFE1E5;
    position: relative;
}

.history-slider .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background-color: #0080C9;
}


@media (max-width:1199px) {

    .history-slider {
        padding: 100px 0;
    }

    .history-slider .item-text p {
        font-size: 20px;
    }

    .history-slider .swiper-outer-wrapper {
        margin-top: 20px;
    }
}

@media (max-width:991px) {

    .history-slider {
        padding: 80px 0;
    }

    .history-slider .single-item {
        padding: 24px 16px;
    }

    .history-slider .item-wrapper-description {
        margin-top: 15px;
    }

    .history-slider .item-wrapper-description p {
        max-width: 100%;
    }

    .history-slider .items-wrapper {
        width: 100%;
        position: relative;
        right: auto;
        order: 0;
        margin-top: 20px;
    }

    .history-slider .item-image {
        width: 100%;
        order: 1;
    }

    .history-slider .history-arrows {
        order: 2;
        position: relative;
        justify-content: space-between;
        margin-top: 20px;
    }

    .history-slider .swiper-outer-wrapper {
        flex-direction: column;
    }
}

@media (max-width:768px) {
    .history-slider .single-item p {
        font-size: 16px;
    }

    .history-slider .item-wrapper-description p {
        font-size: 16px;
    }

    .history-slider .item-text img,
    .history-slider .item-text .item-description {
        max-width: 100%;
    }

    .history-slider .item-text .item-description {
        margin-bottom: 20px;
    }

    .history-slider .item-text img {
        max-height: 40%;
        width: auto;
    }
    .history-slider .item-slider-img{
        display: flex;
        align-items: center;
    }
}

.acf-block-preview .history-slider .swiper-slide:nth-child(4n+1) {
    display: none;
}