/*
	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-v2-callout-tiles {
	--width-base: 1230px
}

.core-v2-callout-tiles .img-cont::before {
	display: block;
	background: radial-gradient(56.58% 34.43% at 50.15% 50%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.core-v2-callout-tiles .content-section {
	text-align: center;
}

.core-v2-callout-tiles .slide-title {
	font-size: var(--text-xl);
	position: relative;
	text-transform: uppercase;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.core-v2-callout-tiles .slide-title::before,
.core-v2-callout-tiles .slide-title::after {
	content: '';
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
    width: 50px;
    height: 41px;
	background: url(/includes/public/assets/shared/flower.svg);
	background-repeat: no-repeat;
	pointer-events: none;
}

.core-v2-callout-tiles .slide-title::after {
	transform: translateX(-50%) rotate(180deg);
    bottom: -40px;
    top: unset;
}

.core-v2-callout-tiles .slide .inner {
	transition: var(--transition-appendix);
	text-decoration: 2px underline transparent;
	text-underline-offset: 5px;
}

.core-v2-callout-tiles .slide:hover .slide-title::before, 
.core-v2-callout-tiles .slide:hover .slide-title::after {
	transition: var(--transition-appendix);
}


@media (hover: hover) {
	.callout-tiles-v2-1-across-fullwidth.animation-expand .slide:hover .slide-img {
		scale: 1.02;
	}

	.core-v2-callout-tiles .slide:hover .inner {
		text-decoration: 2px underline var(--white);
	}
}

@container (min-width: 64em) {
	.callout-tiles-v2-1-across-fullwidth .slide-title,
	.callout-tiles-v2-1-across .slide-title {
		font-size: var(--text-5xl);
	}

	.callout-tiles-v2-1-across-fullwidth .info-flag,
	.callout-tiles-v2-1-across .info-flag,
	.callout-tiles-v2-3-across .slide-title,
	.callout-tiles-v2-4-across-fullwidth .slide-title {
		font-size: var(--text-2xl);
	}

	.callout-tiles-v2-2-across-fullwidth .slide-title,
	.callout-tiles-v2-2-across .slide-title {
		font-size: var(--text-4xl);
	}

	.callout-tiles-v2-2-across-fullwidth .info-flag,
	.callout-tiles-v2-2-across .info-flag,
	.callout-tiles-v2-4-across .slide-title,
	.callout-tiles-v2-5-across-fullwidth .slide-title,
	.callout-tiles-v2-5-across .slide-title,
	.callout-tiles-v2-6-across-fullwidth .slide-title,
	.callout-tiles-v2-6-across .slide-title {
		font-size: var(--text-xl);
	}

	.callout-tiles-v2-3-across-fullwidth .slide-title {
		font-size: var(--text-3xl);
	}

	.callout-tiles-v2-3-across-fullwidth .info-flag {
		font-size: var(--text-lg);
	}

	.callout-tiles-v2-3-across .info-flag,
	.callout-tiles-v2-4-across-fullwidth .info-flag {
		font-size: var(--text-base);
	}

	.core-v2-callout-tiles .slide-title::before,
	.core-v2-callout-tiles .slide-title::after {
		width: 62px;
		height: 48PX;
		top: 0px;
		background: url(/includes/public/assets/shared/flower-large.svg);
	}

	.core-v2-callout-tiles .slide-title::after {
		bottom: 0px;
		top: unset;
	}

	@media (hover: hover) {
	
		.core-v2-callout-tiles .slide:hover .slide-title::before, 
		.core-v2-callout-tiles .slide:hover .slide-title::after {
			top: -10px;
		}
	
		.core-v2-callout-tiles .slide:hover .slide-title::after {
			bottom: -10px;
			top: unset;
		}
	}
}