/*
	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 .slide .img-cont:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0) 40%);
	pointer-events: none;
}

.core-hero-image .slide.dtn-placeholder .img-cont:after {
	background: transparent linear-gradient(180deg, #00000000 0%, #00000098 100%) 0% 0% no-repeat padding-box;
}

.core-hero-image .content-section:not(.dtn-hero) {
	background: rgb(27 54 93 / 80%);
}

.core-hero-image .content-section.dtn-hero {
	padding: var(--space-5) 15px;
	max-width: 80ch;
}

.core-hero-image.ccl-widget .slide-title {
	font-size: 1.375rem;
	margin-bottom: 0;
	max-width: 100%;
	color: var(--white);
	line-height: calc(28/22);
}

.core-hero-image.ccl-widget .content-section.dtn-hero .slide-title {
	font-size: var(--text-2xl);
	line-height: calc(28/24);
	text-shadow: 0px 0px 20px #212B3880;
	pointer-events: all;
}

.core-hero-image .slide p {
	font-size: var(--text-base);
	font-weight: normal;
}

.core-hero-image .slide.overlap-image p {
	color: var(--white);
	text-shadow: 0px 0px 20px #212B3880;
	max-width: 66ch;
}

.core-hero-image .read-more {
	font-weight: 700;
	color: var(--white);
	font-size: var(--text-lg);
	display: flex;
	align-items: center;
	gap: 4px;
}

.core-hero-image .read-more img {
	width: 18px;
	height: 8px;
}

.core-hero-image.ccl-widget .sponsored {
	display: block;
}

@media (min-width: 64em) {
	.core-hero-image.ccl-widget .slide-title {
		font-size: 1.875rem;
		line-height: calc(40/30);
	}

	.core-hero-image.ccl-widget .content-section.dtn-hero .slide-title {
		font-size: 1.75rem;
		text-shadow: 0px 0px 20px #212B3880;
	}

	.core-hero-image .content-section.dtn-hero {
		padding: var(--space-12);
	}
}