/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Callout Tiles 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-callout-tiles {
	margin-bottom: var(--widget-margin-bottom);
	padding-top: var(--widget-padding-top);
}

.core-callout-tiles .slide .img-cont::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);	
}

.core-callout-tiles .slide img {
	transform-origin: center;
	transition: transform 300ms ease;
}

@media (hover: hover) {
	.core-callout-tiles .slide:hover .img-cont img {
		transform: scale(1.2);
	}
}

.core-callout-tiles .slide .slide-title {
	font-size: var(--text-xl);
	text-align: center;
}

@media (min-width: 64em) {
	.core-callout-tiles[data-slides-across="1"] .slide .slide-title {
		font-size: var(--text-5xl);
	}
	
	.core-callout-tiles[data-slides-across="2"] .slide .slide-title {
		font-size: var(--text-4xl);
	}
	
	.core-callout-tiles[data-slides-across="3"] .slide .slide-title {
		font-size: var(--text-2xl);
	}
	
	.core-callout-tiles[data-width="full"][data-slides-across="3"] .slide .slide-title {
		font-size: var(--text-3xl);
	}
	
	.core-callout-tiles[data-slides-across="4"] .slide .slide-title {
		font-size: var(--text-xl);
	}
	
	.core-callout-tiles[data-width="full"][data-slides-across="4"] .slide .slide-title {
		font-size: var(--text-2xl);
	}
}