/*------------------------------------*\
    
    Hide/Show Text Area - Global styling for all hide/show text

    This method is CSS heavy and light on JS, which is important for good SEO and CWV results
    Find the code snippet here: https://webfxcodelibrary.webpagefxstage.com/#intermediate_cssshowhidetext

\*------------------------------------*/

/* if you are having issues with clamping in safari, see this fix: https://app.getguru.com/card/c48ay5ri/CSS-lineclamp-in-latest-Safari- */

.read-more__content {
    position: relative;
}

.read-more__wrapper {
    display: inline;
}

.expand {
    position: relative;
    display: inline-block;
    color: #1A3472;
    text-transform: capitalize;
    font-size: 16px;
    padding: 0 19px 0 0;
    border: none;
    cursor: pointer;
}

.expand:hover {
    color: #3e86c6;
}

.read-more__content.ddd-truncated .expand {
    display: inline-block;
}

.expand--less,
.fx-untruncated .expand--more {
    display: none;
}

.fx-untruncated .expand--less {
    display: inline;
}

.read-more__box {
    max-height: 300px;
    padding-bottom: 24px;
}

.image-buttons .read-more__box {
    max-height: 200px;
    opacity: 1 !important;
    transform: none !important;
}

.read-more__box.fx-untruncated {
    max-height: 100% !important;
}

.ddd-truncated .read-more__content:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, #fff 100%);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}