
/*  HISTORY CAROUSEL */
.history-carousel .container__simple {
    padding-inline: 0px !important;
}

.history-carousel h2{
    padding-bottom: 0px;
    text-align: left;
}
.history-carousel p {
      max-width: 900px;
      padding-bottom: 0px;
      text-align: center;
}
.carousel__container {
    max-width: 1500px;
    height: 640px;
    width: 100%;
}
.slider__wrapper {
    position: relative;
}
.slider__wrapper .history__list {
    display: grid;
    font-size: 0;
    gap: 25px;
    margin-top: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    grid-template-columns: repeat(5, 300px);
}
.slider__wrapper .history__list::-webkit-scrollbar {
    display: none;
}
.slider__wrapper .history__list .history__item {
    width: 300px;
    height: 500px;
    color: var(--color-black);
    object-fit: cover;
    padding: 0px;
}

.history__list .history__item h5,
.history__list .history__item h4,
.history__list .history__item p {
    color: #fff;
    font-size: 1.3rem;
    text-align: left;
} 
.history__list .history__item h4 {
    text-transform: uppercase;
    font-family: "Inter";
    font-weight: 300;
    padding-block: 40px;
    line-height: 1.3rem;
    color: var(--color-black);
}


.history__list .history__item p {
    font-size: 1rem;
    line-height: 1.3rem;
    color: var(--color-black);
}

.carousel__container .slider__scrollbar {
    max-width: 1500px;
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    margin-inline: 0;
}  
.slider__scrollbar .scrollbar__track {
    height: 2px;
    width: 100%;
    background-color: #ccc;
    position: relative;
    border-radius: 4px;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
} 
.slider__scrollbar:hover .scrollbar__track {
    height: 4px;
}

.slider__scrollbar .scrollbar__thumb {
    position: absolute;
    height: 100%;
    width: 50%;
    background-color: #000;
    border-radius: inherit;
    cursor: grab;
} 
.slider__scrollbar .scrollbar__thumb:active {
    cursor: grabbing;
    height: 3px;
    top: 0;
}  
.slider__scrollbar .scrollbar__thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}


/* SMALLER TABLETS LARGE PHONES  */
@media (max-width: 576px) {
    /*----- HISTORY CAROUSEL MOBILE  -----*/

    
    .history-carousel h2{
        text-align: left;
    }
    .history-carousel p {
        text-align: left;
    }
    .slider__wrapper .history__list {
        gap: 10px;
        grid-template-columns: repeat(7, 280px);
    } 
    .slider__wrapper .history__list .history__item {
        width: 280px;
        height: 320px;
        background-color: #46516E;
        color: #fff;
        object-fit: cover;
        padding: 110px 15px 0 20px;
    }
}