/*
	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 { margin-bottom: var(--space-1); }

@media (min-width: 64em) {
	.core-hero-image { margin-bottom: var(--space-4); }
}

.core-hero-image .content-section {
	left: 50%;
	bottom: var(--space-5);
	transform: translateX(-50%);
	width: calc(100% - 30px);
	max-width: 345px;
	background-color: var(--text-black);
	padding: var(--space-3) var(--space-5);
	border-radius: 4px;
}

.core-hero-image .slide .slide-title,
.core-hero-image .slide .slide-title a {
	max-width: 100%;
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 700;
	line-height: var(--leading-normal);
	letter-spacing: var(--tracking-normal);
	color: var(--white);
	text-transform: unset;
	margin-bottom: var(--space-1);
}

.core-hero-image .slide p {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 400;
	line-height: calc(20 / 12);
	color: var(--white);
}

.core-hero-image .read-more {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 400;
	line-height: calc(20 / 12);
	color: var(--yellow);
	text-decoration: underline;
	pointer-events: all;
}

@media (min-width: 40em) {
	.core-hero-image .content-section {
		left: var(--space-5);
		bottom: var(--space-5);
		transform: unset;
		max-width: 500px;
		padding: var(--space-4) var(--space-5);
	}
}

@media (min-width: 64em) {
	.core-hero-image .slide .slide-title,
	.core-hero-image .slide .slide-title a { font-size: var(--text-xl); }

	.core-hero-image .slide p {
		font-size: var(--text-sm);
		line-height: calc(24 / 14);
	}

	.core-hero-image .read-more {
		font-size: var(--text-sm);
		line-height: calc(24 / 14);
	}
}