.p_a2_imageSlider {
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
}

.imageSlider__wrap {
    position: relative;
    min-height: 290px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
}

.imageSlider__rails {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.imageSlider__item {
    position: relative;
    min-width: 150px;
    max-width: 150px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    align-items: start;
    align-content: start;
}

.imageSlider__itemImage {
    position: relative;
    height: 200px;
    width: 100%;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    border-radius: 5px;
    overflow: auto;
}

.imageSlider__itemImage::after {
    content: "";
    display: flex;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 0;
    background-color: rgba(79, 117, 255, 0.4);
    transition: .2s;
}

.imageSlider__item:hover .imageSlider__itemImage::after {
    height: 5px;
}

.imageSlider__itemImage img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 25%;
    object-position: 50% 25%;
}

.imageSlider__MoreButton {
    display: none;
}

.imageSlider__MoreButton--isShow {
    display: flex;
}

.imageSlider__done--button .imageSlider__rails {
    flex-wrap: wrap;
}


.p_a2_imageSlider a:hover {
    text-decoration: none;
}

.p_a2_imageSlider a:hover .imageSlider__itemTitle {
    text-decoration: underline;
}

a .imageSlider__itemDescription {
    font-size: 12px;
    color: #999;
//text-decoration: none !important; line-height: 1.5em; //max-height: 5em; //overflow: scroll; //overflow: hidden; //white-space: nowrap; //text-overflow: ellipsis; //display: -webkit-box; //max-width: 200px; //-webkit-line-clamp: 4; //-webkit-box-orient: horizontal; //overflow: hidden; position: relative; line-height: 1.5em; /* Установите желаемый интервал */
}

.imageSlider__itemText {
    max-height: 12em;
    overflow: hidden;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 10em, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 10em, rgba(0, 0, 0, 0));
}