/*------------------------------------*\
    
    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;
}

.read-more__wrapper {
	display: inline;
}

.read-more__content {
	-webkit-line-clamp: 3;
}

.read-more__content.is-expanded {
	-webkit-line-clamp: inherit !important;
}

.expand {
	padding-right: 18px;
	font-size: 16px;
    font-weight: normal;
	color: #5A858C;
	display: inline-block;
	border: none;
	position: relative;
	padding-bottom: 25px;
	margin-top: 10px;
	font-family: var(--font-gothammedium);
	background: none;
	text-transform: none;
}

.expand::after {
	content: '\e908';
    font-family: 'icomoon';
    position: absolute;
    font-size: 12px;
    right: 0;
    top: 4px;
    color: #5A858C;
    font-weight: normal;
}

.expand.is-expanded::before {
    display: none;
}

.expand.is-expanded::after {
    transform: rotate(180deg);
}

@media (min-width: 768px) {
	.read-more__content {
		-webkit-line-clamp: 4;
	}
	
	.read-more__content.is-expanded {
		-webkit-line-clamp: inherit !important;
	}
}


@media (min-width: 1200px) {
	.read-more__content {
		-webkit-line-clamp: 4;
	}
	
	.read-more__content.is-expanded {
		-webkit-line-clamp: inherit !important;
	}

	.expand:hover {
		color: #5A858C
	}
}

