/* text container style */
.text-readmore--collapsible {
    background-color: #fff;
    max-height: 550px;
    overflow: hidden;
    padding: 0 18px 80px 18px;
    position: relative;
    transition: max-height .2s ease-out;
}

@media screen and (min-width: 768px) {
    .text-readmore--collapsible {
        max-height: 400px;
    }
}

/* text container collapsed style */
.text-readmore--collapsible.collapsed::after {
    background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 1) 44%,
            rgba(255, 255, 255, .7973564425770308) 87%,
            rgba(255, 255, 255, 0) 100%
    );
    bottom: 0;
    content: '';
    display: block;
    left: 0;
    height: 150px;
    position: absolute;
    width: 100%;
    z-index: 4;
}

/* outlined button style */

.text-readmore-button {
    background: #ffffff;
    border: 1px solid #3c3c3c;
    border-radius: 22px;
    bottom: 40px;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    max-height: 43px;
    min-height: 0;
    position: absolute;
    left: 50%;
    line-height: 1;
    padding: 10px 15px 5px;
    text-transform: unset;
    transform: translateX(-50%);
    transition: background .25s;
    white-space: nowrap;
    z-index: 7;
}

.text-readmore-button:hover {
    background: #faf8f4;
    transition: background .25s;
}

.text-readmore-button span {
    padding-right: .4em;
}

/* icon rotation */
.text-readmore--collapsible.expanded .text-readmore-button i {
    transform: rotateZ(180deg);
}

/* display read less buttontext*/

.text-readmore--collapsible.expanded .button-text-readmore {
    display: none;
}

/* display read more buttontext*/
.text-readmore--collapsible.collapsed .button-text-readless {
    display: none;
}