/*
	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.
*/
.ccl-widget.core-callout-tiles {
	margin-bottom: 30px;
	padding-top: 0;
}

.ccl-widget.core-callout-tiles .slide .slide-title {
	font-family: var(--sofia);
	font-weight: 700;
	color: var(--white);
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,.75));
	text-align: left;
	z-index: 2;
}

.ccl-widget.core-callout-tiles .slide .content-section {
	flex-direction: column;
	align-items: flex-start;
	top: auto;
	bottom: 0;
	height: auto;
	padding: var(--space-3) var(--space-4);
}

.ccl-widget.core-callout-tiles .slide .shared-button {
	opacity: 0;
	transition: opacity ease 0.4s;
	z-index: 2;
	margin-bottom: var(--space-2);
}

.ccl-widget.core-callout-tiles .slide .img-cont {
	border-radius: var(--space-1);
}

.ccl-widget.core-callout-tiles .slide .img-cont:after {
	content: "";
	background: radial-gradient(at 0% 95%, rgba(0,0,0,0.6), transparent);
	top: 0;
	left: 0;
	position: absolute;
	pointer-events: none;
	height: 100%;
	width: 100%;
}

.ccl-widget.core-callout-tiles .slides {
	padding: 0 var(--space-3);
	gap: 6px;
}

.ccl-widget.core-callout-tiles .slides .shared-play-button {
	left: 90%;
	top: 20%;
	width: 45px;
	height: 45px;
	font-size: var(--text-lg);
}

@media(min-width:40em) {
	.ccl-widget.core-callout-tiles .slides .shared-play-button {
		width: var(--space-16);
		height: var(--space-16);
		font-size: var(--text-2xl);
		left: 85%;
		top: 30%;
	}

	.ccl-widget.core-callout-tiles .slide .img-cont:before {
		background-color: #4f82b2;
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		z-index: 1;
		pointer-events: none;
		transition: opacity ease 0.4s;
	}

	.ccl-widget.core-callout-tiles .slide {
		transition: transform ease 0.4s;
	}

	.ccl-widget.core-callout-tiles .slide .slide-title {
		font-size: var(--text-xl);
	}

	@media(hover:hover) {
		.ccl-widget.core-callout-tiles .slide:hover .img-cont:before {
			opacity: 0.8;
		}
	
		.ccl-widget.core-callout-tiles .slide:hover {
			transform: translateY(-10px);
		}
	
		.ccl-widget.core-callout-tiles .slide:hover .shared-button {
			opacity: 1;
		}

		.ccl-widget.core-callout-tiles .slide:hover .slide-title {
			filter: none;
		}
	}
}

@media(min-width: 64em) {

	.ccl-widget.core-callout-tiles {
		margin-bottom: 60px;
	}

	.ccl-widget.core-callout-tiles .slides {
		gap: var(--space-3);
	}

	.ccl-widget.core-callout-tiles .slides .slide .slide-title {
		font-size: 1.75rem;
	}

	.ccl-widget.core-callout-tiles .slides .shared-play-button {
		left: 90%;
		top: 20%;
	}

}