/*
	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 {
	transform-origin: center;
	transition: transform 300ms ease;
}

.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);
	}
}

.ccl-widget.core-callout-tiles .slide-title span {
	color: var(--black-text);
	background: #fff;
	box-shadow: 8px -6px 0px var(--white), 8px 2px 0px var(--white), 0px -6px 0px var(--white), 0px 2px 0px var(--white);
	padding-left: var(--space-2);
	-moz-box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.ccl-widget.core-callout-tiles .content-section {
	align-items: flex-end;
	justify-content: left;
	padding: 0 0 var(--space-4) 0;
}

.ccl-widget.core-callout-tiles .slide-title {
	text-align: left;
}
@media (min-width: 40em) {
	.ccl-widget.core-callout-tiles .slide-title {
		font-size: var(--text-xl-1);
		line-height: var(--leading-snug);
	}
}
@media (min-width: 64em) {
	.ccl-widget.core-callout-tiles .slides {
		gap: var(--space-4);
	}
}
