/*
	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: 58px;
}

.ccl-widget.core-callout-tiles .slides {
	gap: 30px;
}

.ccl-widget.core-callout-tiles .slide .content-section {
	position: relative;
	padding: 20px var(--space-2) 13px;
	border-bottom: 2px solid #474444;
	pointer-events: all;
}
.core-callout-tiles .slide .img-cont::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background-color: var(--navy-blue);
	opacity: 0;
	transition: opacity var(--ease-inout-quad) var(--speed-normal);
}

.core-callout-tiles .slide img {
	transform-origin: center;
	transition: transform var(--ease-inout-quad) var(--speed-normal);
}

.core-callout-tiles .slide .slide-title {
	font-size: var(--text-xl);
	line-height: var(--leading-none);
	text-transform: uppercase;
	text-align: center;
	color: var(--navy-blue);
}

@media (hover: hover) {
	.core-callout-tiles .slide:hover .img-cont img {
		transform: scale(1.1);
	}

	.core-callout-tiles .slide:hover .img-cont::after {
		opacity: 0.3;
	}

	.ccl-widget.core-callout-tiles .slide .slide-title a:hover {
		color: var(--navy-blue);
		text-decoration: none;
	}
}

@media (min-width: 64em) {
	.core-callout-tiles {
		margin-bottom: 58px;
	}
	.core-callout-tiles[data-slides-across="5"] .slides {
		grid-template-columns: repeat(5, 1fr);
	}
	.core-callout-tiles .slide .slide-title {
		font-size: min(calc(16px + (20 - 16) * ((100vw - 1025px) / (1200 - 1025))), var(--text-xl));
	}
}

@media (min-width: 1200px) {
	.core-callout-tiles .slide .slide-title {
		font-size: var(--text-xl);
	}
}