/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Slider family. This enables the ability to
	a family of widgets in a single update without touching the structure of the widget and without needing
	to duplicate efforts across several widget-specific CSS files.
*/

.core-hero-image {
	color: var(--white);
}

.core-hero-image .img-cont:before {
	content: "";
	position: absolute;
	top: 0 ;
	left: 0;
	height: 100px;
	width: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.core-hero-image:not(.hide-content) .img-cont:after {
	content: "";
	position: absolute;
	inset: 40.5% 0 0 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.core-hero-image .slide .content-section {
	padding: 22px 20px;
}

.core-hero-image .slide .slide-title,
.core-hero-image .slide .description {
	text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.core-hero-image .slide .slide-title {
	width: auto;
	font-family: var(--font-body);
	font-weight: var(--font-weight-bold);
	font-size: 28px;
	line-height: 1.2;
	color: inherit;
	margin-bottom: 6px;
}

.core-hero-image .slide p {
	padding: 0;
	font-family: var(--font-body);
	font-weight: normal;
	font-size: 17px;
	line-height: calc(24/17);
	color: inherit;
}

.core-hero-image .slide .read-more {
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	font-weight: var(--font-weight-normal);
	font-size: 17px;
	color: inherit;
}

.core-hero-image .slide .read-more:after {
	content: '\f0da';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: var(--yellow);
	margin-left: 2px;
	display: inline-block;
	transform: translateY(1px);
}

@media (min-width: 64em) {
	.core-hero-image .slide .img-cont::after {
		top: 45%;
	}

	.core-hero-image .img-cont:before {
		display: none;
	}
	.core-hero-image .slide .content-section {
		padding: 38px 60px;
		max-width: 70ch;
	}
	
	.core-hero-image .slide .slide-title {
		font-size: 32px;
		margin-bottom: 4px;
	}
	.core-hero-image .slide .read-more {
		display: block;
	}
}