/*
	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 {
	--font-title: var(--font-display-futura);
	--font-desc: var(--font-display);
	--color: var(--white);
}

.core-imagebox:not([data-width="full"]) .slides {
	max-width: var(--width-feature);
}

.core-imagebox .img-cont::after {
	background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.core-imagebox.ccl-widget .slide .slide-footer a {
	display: inline-block;
	margin-left: 15px !important;
}

.core-imagebox.ccl-widget .slide .slide-footer a {
	background-color: transparent;
	font-family: var(--font-desc);
	font-weight: 600;
	text-decoration: underline;
	text-transform: capitalize;
	margin: 0;
	letter-spacing: 0;
}

.core-imagebox .content-section {
	max-width: 600px;
	margin: 0;
	left: 0;
	bottom: 0;
	padding: 15px;
}

.core-imagebox .content-section p {
	font-family: var(--font-desc);
	margin: 0;
	display: inline;
}

.core-imagebox .slide .slide-footer {
	display: inline;
}

.core-imagebox.ccl-widget .slide .slide-footer a {
	color: white;
}

.core-imagebox .content-section .slide-title {
	font-weight: 600;
}

@media (min-width: 64em) {
	.core-imagebox {
		margin-bottom: var(--space-26);
	}

	.core-imagebox .content-section .slide-title {
		font-size: 36px;
		line-height: 43px;
	}

	.core-imagebox .content-section p,
	.core-imagebox.ccl-widget .slide .slide-footer a {
		font-size: 19px;
		line-height: 29px;
	}
}