/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Header Slideshow 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-slideshow {
	--text-container-width: var(--width-comfortable);
	--letter-spacing: var(--tracking-wide);
	--title-text-size: var(--text-2xl);
	--btn-text-size: var(--text-base);
	--text-size: var(--text-base);

	position: relative;
}

.core-hero-slideshow .slide .img-cont::after {
	content: "";
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
	top: 0;
	left: 0;
	position: absolute;
	pointer-events: none;
	height: 100%;
	width: 100%;
}

.core-hero-slideshow .slide-title {
	font-weight: 700;
	line-height: var(--leading-tight);
	font-size: var(--title-text-size);
}

.core-hero-slideshow .slide.overlap-image p {
	color: var(--white);
	font-size: var(--text-size);
	font-weight: normal;
	line-height: 1.28;
	padding-bottom: 5px;
}

@media screen and (min-width: 64em) {
	.core-hero-slideshow .slide-title {
		font-size: 1.75rem;
		margin-bottom: 5px;
	}

	.core-hero-slideshow .slide p {
		font-size: 1.125rem;
		padding-bottom: 0;
	}

	.core-hero-slideshow .slide .slide-footer .read-more {
		font-size: 1.125rem;
	}

	.core-hero-slideshow .content-section {
	    max-width: 74ch;
	    left: 33px;
	    padding: 10px 15px;
	}

	.core-hero-slideshow .slide .slide-footer {
	    left: 33px;
	    bottom: 18px;
	}
}