/*------------------------------------*\
    
    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 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
}

.wysiwyg__read-more .read-more__content {
    overflow: initial;
    overflow-y: clip;
    overflow-x: revert;
}

.read-more__wrapper {
    display: inline;
}

.read-more__content {
    -webkit-line-clamp: 6;
}

.home-half-text__content {
    -webkit-line-clamp: 6;
}

@media (min-width: 768px) {
    .read-more__content {
        -webkit-line-clamp: unset;
    }

    .home-half-text__content {
        -webkit-line-clamp: unset;
    }

}

.read-more__content.is-expanded {
    -webkit-line-clamp: inherit !important;
}

.expand {
    position: relative;
    display: inline-block;
    color: #062D49;
    font-size: 16px;
    padding: 0 18px 0 0;
    border: none;
    margin: 0 0 0;
    background: none;
    font-weight: 700;
    text-decoration: none;
}

.expand::after {
    content: "\e903";
    font-family: 'finishing-systems-icon';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 14px;
    font-weight: normal;
}


.expand.is-expanded::after {
    content: "\e906";
}

.read-more__box {
    padding-bottom: 15px;
}


@media (min-width: 768px) {

    .home-half-text__content {
        -webkit-line-clamp: inherit;
    }

    .read-more__box {
        padding-bottom: 18px;
    }

}