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

.expand {
	border: none;
	position: relative;
	display: none;
	color: #fff;
	background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);

	&:after {
		content: "\e900";
		font-family: "trap-and-treat-icon";
		font-size: 11px;
		margin-left: 5px;
	}
}

.history .expand {
	color: #002d70;
}

.fx-untruncated .expand:after {
	content: "\e903";
}

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

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

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

.read-more__box {
	max-height: 270px;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.read-more__box {
		max-height: 135px;
	}
}

@media (min-width: 1200px) {
	.read-more__box {
		max-height: 108px;
	}
}

.full-width-image-text__description-content .read-more__box.fx-untruncated,
.fx-untruncated {
	max-height: 100%;
}
