/*
	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(--primary-color-900);
	--bg-color: var(--primary-color-100);
	padding-top: var(--widget-padding-top);
	margin-bottom: var(--widget-margin-bottom);
}

.core-mosaic .mosaic-tile .mosaic-tile-inner .tile-info-wrapper {
	position: absolute;
	left: 0px;
	bottom: 0px;
	z-index: 2;
	background-color: var(--bg-color);
	min-width: 100px;
	/* max-width: 220px; */
	padding: 4px 12px;
	pointer-events: none;
	transition: background-color 0.25s ease;
}

.core-mosaic .mosaic-tile .tile-title {
	color: var(--text-color);
	font-family: var(--font-title);
	font-size: var(--text-2xl);
	font-weight: 700;
}

@media (min-width: 40em) {	
	.core-mosaic .mosaic-tile .tile-title {
		font-size: var(--text-xl);
	}
}

@media (hover: hover) {
	.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper {
		background-color: var(--text-color);
	}
	
	.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper .tile-title {
		color: var(--bg-color);
	}
}

@media (min-width: 40em) and (hover: hover) {
	.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper {
		background-color: var(--text-color);
	}
	
	.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper .tile-title {
		color: var(--bg-color);
	}
}


/*--Customization--*/
/*--GENERAL--*/
.core-mosaic {
	background: rgba(251, 247, 241, 0.5);
}
.core-mosaic .widget-header {
	max-width: 1360px;
	padding: 0px 28px;
	margin-bottom: 0px;
}
.core-mosaic .widget-header-inner {
	
border-bottom: none;
	
padding-bottom: 10px;
}
.core-mosaic .mosaic-tiles-wrapper {
	padding: 0px 28px;
	grid-template-rows: repeat(4, 1fr);
	grid-template-columns: 1fr;
	gap: 10px;
	max-width: 1360px;
	padding-bottom: 105px;
}
.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper {
	background: transparent;
}
/*--HEADER--*/
.core-mosaic .widget-pretitle {
	font-family: var(--font-montana);
	font-size: 34px;
	text-transform: capitalize;
	font-weight: 100;
	line-height: 1;
	transform: rotate(352deg);
	margin-bottom: 8px;
}
.core-mosaic .widget-title {
	font-family: var(--font-smithsonian);
	font-size: 30px;
	text-transform: lowercase;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 1px;
}
.core-mosaic .widget-view-all {
	position: absolute;
	bottom: 28px;
	z-index: 1;
	width: calc(100% - 56px);
	font-family: var(--font-montserrat);
	display: flex;
	color: var(--blue-32);
	font-size: 19px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 1.2px;
	background-color: transparent;
	padding: 0px;
	text-decoration: underline;
	text-decoration-color: var(--blue-32);
	text-underline-position: under;
	text-decoration-thickness: 1px;
	border: none;
	flex-direction: column;
	align-items: flex-start;
} 
.core-mosaic .widget-view-all span {
	background: url("/includes/public/assets/shared/flannel-CTA.svg");
	background-repeat: no-repeat;
	border: none;
	width: 65px;
	height: 25px;
	font-size: 0px;
	opacity: 1;
	z-index: 7;
	transform: translateY(8px);
}
/*--IMAGE--*/
.core-mosaic .mosaic-tile .mosaic-tile-inner {
	border-radius: var(--rounded-lg);
}
.core-mosaic .mosaic-tile .mosaic-tile-link::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	z-index: 1;
}
.core-mosaic .mosaic-tile:nth-child(5) .mosaic-tile-link::before {
	background: var(--blue-32);
}
/*--CONTENT--*/
.core-mosaic .mosaic-tile .mosaic-tile-inner .tile-info-wrapper {
	left: 50%;
	bottom: 50%;
	transform: translate(-50%, 50%);
	background: transparent;
	max-width: 100%;
}
.core-mosaic .mosaic-tile:nth-child(5) .mosaic-tile-inner .tile-info-wrapper {
	
transform: translate(-55%, 50%);
}
.core-mosaic .mosaic-tile .tile-title {
	font-size: 30px;
	font-family: var(--font-smithsonian);
	font-weight: 100;
	line-height: 1.1;
	color: var(--white);
	text-align: center;
	text-transform: lowercase;
}
.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper .tile-title {
	color: var(--white);
}
/*--ARROW--*/
.core-mosaic .widget-view-all {
	text-transform: capitalize;
}

@media screen and (min-width:40em) {
    /*--GENERAL--*/
	.core-mosaic .widget-view-all {
		display: none;
	}
	.core-mosaic .widget-view-all.grid {
		display: flex;
		position: relative;
		justify-content: center;
		padding: 20px;
		color: var(--cream-fb);
	}
	.core-mosaic .mosaic-tile:nth-child(1) {
		grid-column: 1 / span 1;
		grid-row: 1 / span 1;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .mosaic-tile:nth-child(2) {
		grid-column: 1 / span 1;
		grid-row: 2 / span 1;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .mosaic-tile:nth-child(3) {
		grid-column: 1 / span 2;
    	grid-row: 3 / span 1;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .mosaic-tile:nth-child(4) {
		grid-column: 1 / span 2;
		grid-row: 4 / span 1;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .widget-view-all.grid {
		grid-column: 1 / span 1;
		grid-row: 5 / span 1;
		color: var(--blue-32);
	}
	.core-mosaic .mosaic-tile:nth-child(5) .mosaic-tile-inner {
	border-radius: var(--rounded-lg);
	}
	.core-mosaic .mosaic-tile:nth-child(5) .tile-img {
		display: none;
		background: var(--blue-32);
	}
    /*--CONTENT--*/
	.core-mosaic .mosaic-tile .tile-title {
		font-size: 20px;
	}
	.core-mosaic .mosaic-tile:nth-child(5) .tile-title {
		font-size: 24px;
		font-family: var(--font-montserrat);
		font-weight: 900;
		line-height: 1.1;
		color: var(--white);
		text-align: left;
		/* min-width: 175px; */
	}
	.core-mosaic .mosaic-tile:nth-child(5) .tile-title::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		background: url("/includes/public/assets/shared/flannel-cta.svg");
	}
    /*--BUTTON--*/
	.core-mosaic .widget-view-all {
		width: 100%;
		height: 100%;
		right: 0px;
		bottom: 0px;
	}
    /*--ARROW--*/
}
@media screen and (min-width:768px) {
	.core-mosaic .mosaic-tiles-wrapper {
		grid-template-columns: 5fr 3.8fr 1.3fr 2fr;
		grid-template-rows: 283px 283px;
		margin: 0 auto;
		gap: 10px;
	}
	.core-mosaic .mosaic-tile:nth-child(1) {
		grid-column: 1 / span 1;
		grid-row: 1 / span 2;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .mosaic-tile:nth-child(2) {
		grid-column: 2 / span 1;
		grid-row: 1 / span 1;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .mosaic-tile:nth-child(3) {
		grid-column: 3 / span 2;
    	grid-row: 1 / span 1;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .mosaic-tile:nth-child(4) {
		grid-column: 2 / span 2;
		grid-row: 2 / span 1;
		width: 100%;
		height: 100%;
		border-radius: var(--rounded-lg);
	}
	.core-mosaic .widget-view-all.grid {
		grid-column: 4 / span 1;
		grid-row: 2 / span 1;
		background: var(--blue-32);
		color: var(--cream-fb);
	}
}
@media screen and (min-width:64em) {
    /*--GENERAL--*/
	.core-mosaic .mosaic-tiles-wrapper {
		gap: 30px;
	}
    /*--HEADER--*/
	.core-mosaic .widget-pretitle {
		font-size: 60px;
	}
	.core-mosaic .widget-title {
		font-size: 52px;
		margin-bottom: 14px;
	}
    /*--CONTENT--*/
	.core-mosaic .mosaic-tile .tile-title {
		font-size: 38.7px;
	}
	.core-mosaic .widget-view-all.grid {
		font-size: 24px;
		font-weight: 900;
		letter-spacing: 1.5px;
	}
	.core-mosaic .shared-play-button {
		transform: unset !important;
		left: unset !important;
		top: 20px !important;
		right: 20px !important;
	}