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

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

.read-more__content {
	position: relative;
}

/* Animation for expand/collapse */
.read-more__wrapper.read-more--animating {
	overflow: hidden;
}

.read-more__wrapper.read-more--animating .read-more__content {
	transition: none;
}

/* Toggle icon animation when expanded (e.g. plus → minus) */
.js-read-more-toggle .icon-plus {
	display: inline-block;
	transition: transform 0.25s ease;
}
.read-more__wrapper.is-expanded + .category-hero__actions .js-read-more-toggle .icon-plus,
.read-more__wrapper.is-expanded + * .js-read-more-toggle .icon-plus {
	transform: rotate( 45deg );
}

.expand {
	border: none;
	position: relative;
	margin-top: 20px;
    display: none;
}

.ddd-truncated .expand,
.fx-untruncated .expand {
	display: inline-block;
}

.ddd-truncated .expand--less,
.expand--more {
	display: none;
}

.ddd-truncated .expand--more {
	display: inline;
}

/*
 * Uncomment if you set  config.watch to "watch"

.read-more__box {
    max-height: 200px; // Set the max-height to your preferred height
    overflow: hidden;
}

.fx-untruncated {
    max-height: 100%;
} 
*/