/*------------------------------------*\
    
    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: 8; */
	height: 360px
}

.read-more__content.is-expanded {
	-webkit-line-clamp: initial !important;
	height: 100%;
}

.expand {
    position: relative;
    display: inline-block;
    color: #2EADF8;
    font-size: 18px;
    padding: 0;
	margin: 25px 0 25px 0;
    background: none;
    font-weight: 700;
    text-decoration: none;
	border-bottom: 2px solid #1A79B1;
	text-transform: uppercase;
	font-family: "Jura", sans-serif;
}


@media (min-width: 768px) {
	
	.read-more__content::after {
		content: '';
		position: absolute;
		width: 100%;
		height: 53px;
		left: 0;
		bottom: 0;
		background: linear-gradient(to bottom, rgba(0,31,63,0.50) 0%, rgba(0,31,63,0.75) 100%);
	}

	section.bg--white .read-more__content::after {
		background: linear-gradient(to bottom,rgba(255, 255, 255, 0.5) 0%,rgba(255, 255, 255, 0.75) 100%);
	}

	.read-more__content.is-expanded::after {
		display: none;
	}

	.read-more__wrapper p span {
        font-size: 16px;
    }

	.is-expanded .read-more__wrapper p span {
        font-size: 18px;
    }

}

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

	.expand:hover {
		color: #fff;
		background: none;
		border-color: #fff;
	}

}

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

}