/*------------------------------------*\
    
    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;
}

.expand {
	margin-top: 0;
}

.expand::after {
	transform: rotate(90deg);
}

.fx-untruncated .expand::after {
	transform: rotate(-90deg);
}

.read-more__content .expand {
	display: none;
}

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

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

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

/*
 * Clip the content pane (not the whole box) so the Read More button stays
 * visible before jQuery.dotdotdot runs. Without this, Googlebot / no-JS
 * screenshots show the full paragraph spilling over the cards below.
 */
.read-more__box:not(.fx-untruncated) {
	max-height: none;
}

.read-more__box:not(.fx-untruncated) .read-more__content,
.read-more__box:not(.fx-untruncated) .read-more__wrapper {
	max-height: 160px;
	overflow: hidden;
}

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

.read-more__box.fx-untruncated .read-more__content,
.read-more__box.fx-untruncated .read-more__wrapper {
	max-height: none;
	overflow: visible;
}

.js-read-more-expand {
    margin-top: 15px;
}

body .has-content-animate.show-default-text .read-more__box {
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 768px) {
	.read-more__box:not(.fx-untruncated) .read-more__content,
	.read-more__box:not(.fx-untruncated) .read-more__wrapper {
		max-height: 310px;
	}
}



