/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Mosaic 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-mosaic  {
	--text-color: var(--gray-100);
	--bg-color: rgba(0, 75, 135,0.8);

	position: relative;
	padding-block: var(--widget-padding-top) 50px;
	margin-bottom: var(--widget-margin-bottom);
}

.core-mosaic::before {
	content: '';
	pointer-events: none;
	position: absolute;
	right: 0;
	bottom: -50px;
	display: block;
	width: 122px;
	height: 348px;
	background-image: url(/includes/public/assets/shared/decorations/Leaf-Left-Seasonal.svg);
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: contain;
	transform: rotateY(180deg);
}

.core-mosaic .widget-title {
	font-size: 3.125rem;
	line-height: calc(48/50);
	letter-spacing: -0.0313rem;
	margin-block-end: 11px;
}

.core-mosaic .widget-description {
	font-size: var(--text-lg);
	font-weight: 500;
	line-height: calc(30/18);
	margin-block-end: 33px;
}

.core-mosaic .mosaic-tile .mosaic-tile-inner .tile-info-wrapper {
	position: absolute;
	left: 0px;
	bottom: 0px;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--bg-color);
	width: 100%;
	padding: 10px 12px;
	pointer-events: none;
	transition: background-color 0.25s ease;
	text-align: center;
}

.core-mosaic .mosaic-tile .tile-title {
	color: var(--text-color);
	font-family: var(--font-title);
	font-size: 1.3125rem;
	font-weight: 700;
	letter-spacing: -0.0131rem;
	line-height: calc(21/20);
}

@media screen and (min-width: 64em) {
	.core-mosaic::before {
		bottom: auto;
		width: 300px;
		height: 400px;
		top: 100px;
	}

	.core-mosaic::after {
		content: '';
		pointer-events: none;
		position: absolute;
		left: 0;
		bottom: 0;
		display: block;
		width: 176px;
		height: 476px;
		background-image: url(/includes/public/assets/shared/decorations/Leaf-Left-Seasonal.svg);
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-size: contain;
	}

	.core-mosaic .widget-title {
		font-size: 4.875rem;
		letter-spacing: -0.0488rem;
		margin-block-end: 14px;
	}

	.core-mosaic .widget-description {
		margin-block-end: 31px;
	}

	.core-mosaic .widget-view-all {
		padding: 10px 0px;
	}

	.core-mosaic .mosaic-tile .mosaic-tile-inner .tile-info-wrapper {
		padding: 14.5px 12px;
	}

	.core-mosaic .mosaic-tile .tile-title {
		font-size: 2rem;
		line-height: calc(30/32);
		letter-spacing: 0;
	}
}