/*
	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 {
	--border-width: 1px;
	--border: var(--border-width) solid var(--black);
	--gap: 9px;
	--top-gap: calc(var(--gap) + 1px);
	--content-height: 44px;
	--content-width: calc(100% - 40px);
	--title-padding: 21px;
	--font-size: 31px;

	position: relative;
	z-index: 1;
	padding-bottom:  2px;
}

.core-hero-image .content-section {
	background-color: rgba(77, 82, 88, .85);
	left: unset;
	bottom: var(--gap);
	right: 0;
	top: 0;
	padding: 18px;
	padding-bottom: var(--content-height);
	max-width: 320px;
}

.core-hero-image .content-section > .title-desc-container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.core-hero-image .content-section .sponsored {
	align-self: center;
	margin-bottom: 8px;
}

.core-hero-image .content-section .slide-title {
	font-family: var(--font-display-3);
	font-weight: var(--font-weight-medium);
	color: var(--white);
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1.2;
	margin-bottom: 2px;
}

.core-hero-image .slide .content-section p {
	color: var(--white);
	font-family: var(--font-display-3);
	font-weight: var(--font-weight-normal);
	font-size: 15px;
	line-height: 1.2;
}

.core-hero-image .slide .content-section .read-more {
	pointer-events: all;
	width: fit-content;
	color: var(--white);
	margin-top: 13px;
}

.core-hero-image .slide .content-section .read-more:before {
	background: var(--white);
}

@media (min-width: 40em) {
	.core-hero-image .slide .content-section {
		max-width: 600px;
	}
	.core-hero-image .slide .content-section .read-more {
		margin-top: 6px;
	}
}

@media (min-width: 64em) {
	.core-hero-image  {
		--font-size: 54px;
		--content-height: 97px;
		--title-padding: 34px;
	}

	.core-hero-image .slide .content-section {
		padding: 21px var(--space-12) var(--content-height);
	}

	.core-hero-image .content-section .sponsored {
		margin-bottom: 6px;
	}

	.core-hero-image .content-section .slide-title {
		font-size: 22px;
		line-height: calc(29/22);
		margin-bottom: var(--space-2);
	}

	.core-hero-image .slide .content-section p {
		font-size: 18px;
		line-height: calc(4/3);
	}

	.core-hero-image .slide .content-section .read-more {
		margin-top: 13px;
	}
}

@media (min-width: 90em) {
	.core-hero-image .content-section .sponsored {
		margin-bottom: 33px;
	}
	.core-hero-image .slide .content-section {
		max-width: 380px;
	}
}