/*
	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 .widget-header {
	max-width: 1212px;
	padding: 0 27px;
	margin-bottom: var(--space-5);
}

.core-callout-tiles .widget-header-inner {
	padding-bottom: 0;
	border-bottom: unset;
}

.core-callout-tiles .widget-title {
	font-size: var(--text-5xl);
	line-height: 0.9;
	text-transform: uppercase;
	margin-bottom: var(--space-4);
}

.core-callout-tiles .widget-description {
	max-width: 77ch;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.33;
	letter-spacing: var(--tracking-normal);
	color: var(--grey-dark);
	padding: 0 var(--space-1);
}

.core-callout-tiles .widget-header .widget-view-all { display: none; }

.core-callout-tiles .slides { gap: var(--space-2); }

.core-callout-tiles .slide .img-cont::before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--blue);
	opacity: 0;
	pointer-events: none;
	transition: opacity 300ms ease-out;
}

.core-callout-tiles .slide .img-cont::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent radial-gradient(closest-side at 50% 50%, #4343433D 0%, #434343 100%) 0% 0% no-repeat padding-box;
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 300ms ease-out;
}


@media (hover: hover) {
	.core-callout-tiles .slide:hover .img-cont::before { opacity: 0.55; }

	.core-callout-tiles .slide:hover .img-cont::after { opacity: 0; }
}

.core-callout-tiles .slide .slide-title,
.core-callout-tiles .slide .slide-title a {
	font-family: var(--font-display);
	font-size: 1.9375rem;
	font-weight: 700;
	line-height: var(--leading-none);
	letter-spacing: var(--tracking-tight);
	color: var(--white);
	text-shadow: 1px 3px 3px #0000003D;
	text-align: center;
	text-transform: uppercase;
}

@media (min-width: 64em) {
	.core-callout-tiles .widget-header { margin-bottom: var(--space-8); }

	.core-callout-tiles .widget-title {
		font-size: var(--text-8xl);
		line-height: 0.875;
		margin-bottom: var(--space-4);
	}
	
	.core-callout-tiles .widget-description {
		font-size: var(--text-base);
		padding: 0;
	}

	.core-callout-tiles .slide .slide-title,
	.core-callout-tiles .slide .slide-title a { font-size: var(--text-5xl); }
}