
.text_hide_wrap {
    position: relative;
    overflow: hidden;
    max-height: 100px;
    transition: max-height 1.1s ease;
    padding-bottom: 5px;
 
}

.datblock {
    padding: 0 10px;
    margin: 0 0 15px 0;
}
.datblock:not(.open) .text_hide_wrap {
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,          /* от самого верха */
        black 0%,         /* до 40% высоты — полностью видимый текст */
        transparent 100%   /* к низу — полностью прозрачный */
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 0%,
        transparent 100%
    );
}
/* Сброс маски в открытом состоянии */
.datblock.open .text_hide_wrap {
    max-height: 3500px;
    -webkit-mask-image: none;
    mask-image: none;
}

.toggleReview {      color:#4A90E2;
    cursor: pointer;
    font-style: italic;
    padding: 10px 0 10px 20px;
    display: inline-block;
    position: relative;
}

/* Стрелочка после слова */
.toggleReview::after {
    color:#4A90E2;
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;   /* стрелка вниз по умолчанию */
    border-bottom: 0;
}

/* Когда блок открыт — стрелка вверх */
.datblock.open .toggleReview::after {
    border-top: 0;
    border-bottom: 6px solid currentColor;
}
 
 
.datblock:not(.open) img {
    opacity: 0;
    display: none;
}

.datblock.open img {
    opacity: 1;
    display: block;
    transition: opacity .3s ease;
}
