/*
	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[data-width="full"] {
	margin-bottom: var(--widget-margin-bottom);
    padding: 50px;
	background-color: var(--cream-ff);
}

.core-callout-tiles {
	margin-bottom: var(--widget-margin-bottom);
    padding: 50px;
}

.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;
}

.core-callout-tiles .slide .slide-title {
	transform-origin: center;
	transition: transform 300ms ease, bottom 300ms;
}

.core-callout-tiles .slide  .slide-title > a {
	text-transform: uppercase;
}

@media (hover: hover) {
	.core-callout-tiles .slide:hover .img-cont img {
		transform: scale(1.2);
	}
	.core-callout-tiles .slide:hover .slide-title{
		transform: translateY(0);
		bottom: 0;
	}

	.core-callout-tiles .slide:hover .content-section::before{
	    content: '';
		position: absolute;
		background: url(/includes/public/assets/shared/sunburst.svg);
		background-repeat: no-repeat;
		top: 0;
		right: 0;
		width: 215px;
		height: 215px;
		transform: translate(50%, -50%);
		pointer-events: none;
	}
}

.core-callout-tiles .slide .slide-title {
	font-size: var(--text-lg);
	font-family: var(--mark-black);
	text-align: center;
	position: absolute;
	padding: 20px;
	bottom: 50%;
	transform: translateY(50%);
}

@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: 1.5625rem;
	}
	
	.core-callout-tiles[data-width="full"][data-slides-across="4"] .slide .slide-title {
		font-size: 1.5625rem;
	}
}