/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Image Box 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-imagebox {
	padding-top: 0;
	color: var(--white);
}

.core-imagebox:not([data-width="full"]) .slides {
	max-width: 1220px;
	padding-left: 30px;
	padding-right: 30px;
}

.core-imagebox .img-cont::after {
	top: 0;
	height: auto;
	background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
}

.core-imagebox .content-section {
	left: 0;
	bottom: 0;
	width: 100%;
	max-width: 516px;
	margin: 0;
	padding: var(--space-4) var(--space-5) var(--space-5) var(--space-5);
}

.core-imagebox .slide.dtn .content-section {
	text-shadow: 0 2px 16px rgba(0,0,0,.65);
}

.core-imagebox .sponsored {
	color: inherit;
}

.core-imagebox .content-section .slide-title {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-weight: normal;
	font-size: 28px;
	line-height: 1.1;
	color: inherit;
}

.core-imagebox .content-section .slide-title a {
	text-decoration: none !important;
}

.core-imagebox .content-section .slide-desc {
	margin-bottom: var(--space-1);
	font-family: var(--font-body);
	font-weight: normal;
	font-size: 15px;
	line-height: 1.4;
	color: inherit;
}

.core-imagebox .slide .slide-footer .read-more {
	color: inherit !important;
	font-size: var(--text-sm);
	font-family: var(--font-body-semibold);
	font-weight: normal;
}

.core-imagebox .slide .slide-footer .read-more::after {
	background-color: var(--white);
}

.core-imagebox .shared-play-button {
	top: var(--space-4);
	right: var(--space-4);
	left: auto;
	transform: none;
}

@media (min-width: 64em) {
	.core-imagebox .content-section {
		padding: 38px 42px;
	}

	.core-imagebox .content-section .slide-title {
		font-size: 37px;
		line-height: 1.135;
	}

	.core-imagebox .content-section .slide-desc {
		margin-bottom: 10px;
		font-size: var(--text-base);
		line-height: 1.25;
	}

	.core-imagebox .slide .slide-footer .read-more {
		font-size: var(--text-base);
	}
}