/*
	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 > .inner {
	overflow: hidden;
}

.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-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 {
	text-align: left;
	display: inline;
	line-height: unset;
	color: var(--black-text);
	background: var(--white);
	padding: 4px var(--space-2) 3px;
	-moz-box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.ccl-widget.core-callout-tiles .content-section {
	display: block;
	height: unset;
	padding: 0 var(--space-2) var(--space-4) 0;
}

@media (min-width: 40em) {
	.ccl-widget.core-callout-tiles .slide-title {
		font-size: var(--text-xl-1);
	}
}
@media (min-width: 64em) {
	.ccl-widget.core-callout-tiles .slides {
		gap: var(--space-4);
	}
}
