/*
	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);
	
	margin-bottom: 3px;
}

.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 .mosaic-tiles-wrapper {
	padding: 0;
	grid-template-rows: repeat(5, 1fr);
	gap: 3px;
}
.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper {
	background: transparent;
}
/*--HEADER--*/
.core-mosaic .widget-header {
	height: auto;
	min-width: 165px;
	position: absolute;
	left: 20px;
	background: var(--blue-13);
	border-radius: 0px 0px var(--rounded-2xl) var(--rounded-2xl);
	z-index: 2;
	padding: 10px 5px;
}
.core-mosaic .widget-header .widget-header-inner {
	border-bottom: 0px;
	flex-direction: column;
}
.core-mosaic .widget-header .widget-subtitle {
	font-family: var(--font-clarendon);
	font-size: 12px;
	color: var(--white);
	white-space: nowrap;
	font-weight: 100;
}
.core-mosaic .widget-header .widget-title {
	font-family: var(--font-gothic);
	font-size: 51px;
	color: var(--white);
	text-transform: uppercase;
	line-height: 1;
	word-break: break-word;
	margin-right: 0px;
}
/*--IMAGE--*/
.core-mosaic.mosaic .mosaic-tile .mosaic-tile-inner img {
	object-fit: cover;
	height: 100%;
}
.core-mosaic.mosaic .mosaic-tile .mosaic-tile-inner .img-cont {
	overflow: hidden;
}
.core-mosaic.mosaic .mosaic-tile:hover .mosaic-tile-inner img {
    transform: scale(1.1);
    position: relative;
    background-position: center;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
}
.core-mosaic.mosaic .mosaic-tile .img-cont::after {

}
.core-mosaic .mosaic-tile:hover .mosaic-tile-link::after {
	position: absolute;
	content: "";
	background: rgba(0, 0, 0, 0.6);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 0;
}
.core-mosaic .mosaic-tile .tile-img,
.core-mosaic .mosaic-tile .mosaic-tile-link {
	height: 100%;
	z-index: 0;
}
.core-mosaic .mosaic-tile .img-cont,
.core-mosaic .mosaic-tile .img-cont-promoted {
	position: relative;
	background: transparent;
}
.core-mosaic .mosaic-tile .mosaic-tile-inner .tile-info-wrapper::after {
	content: "";
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 64%, transparent 100%);
	bottom: 0;
	left: 0;
	position: absolute;
	pointer-events: none;
	height: 120%;
	width: 100%;
	z-index: -2;
}
.core-mosaic .mosaic-tile .img-cont::before {
	background: rgba(0, 0, 0, 0.4);
	transition: background 100ms ease-out;
}
.core-mosaic .mosaic-tile:hover .img-cont::before {
	background: rgba(0, 0, 0, 0.4);
}
/*--CONTENT--*/
.core-mosaic .mosaic-tile .mosaic-tile-inner .tile-info-wrapper {
	background-color: transparent;
	width: 100%;
	padding: 4px 20px;
	padding-bottom: 14px;
	z-index: 2;
}
.core-mosaic .mosaic-tile .tile-title {
	color: var(--white);
	font-family: var(--font-gothic);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 2px;
}
.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper .tile-title {
	color: var(--white);
}
.core-mosaic .mosaic-tile .tile-title .icon {
	color: var(--orange-eb);
	vertical-align: middle;
	line-height: 1.1;
	margin-left: 10px;
}
.core-mosaic .mosaic-tile .info-item {
	display: inline-block;
	color: var(--white);
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 100;
}
.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper .info-item {
	color: var(--blue-26);
	font-weight: 600;
}
.core-mosaic .mosaic-tile .info-item .icon {
	margin-right: 5px;
	font-weight: 100;
}
/*--BUTTON--*/
.core-mosaic .mosaic-tile .shared-play-button {
	background-color: var(--white);
	color: var(--blue-26);
}
.core-mosaic .mosaic-tile:hover .shared-play-button {
	background-color: transparent;
	color: var(--white);
	z-index: 15;

}
/*--ARROW--*/

@media screen and (min-width:40em) {
	/*--GENERAL--*/
	.core-mosaic .mosaic-tiles-wrapper {
		padding: 0;
		grid-template-columns: 6.075fr 3fr 2.2fr 3fr;
		grid-template-rows: 1fr;
		column-gap: 8px;
		row-gap: 8px;
	}
	.core-mosaic .mosaic-tiles-wrapper .mosaic-tile:nth-child(1) {
		grid-column: 1 /span 1;
		grid-row: 1 /span 2;
		z-index: 1;
	}
	.core-mosaic .mosaic-tiles-wrapper .mosaic-tile:nth-child(2) {
		grid-column: 2 /span 1;
		grid-row: 1 /span 1;
	}
	.core-mosaic .mosaic-tiles-wrapper .mosaic-tile:nth-child(3) {
		grid-column: 3 /span 2;
		grid-row: 1 /span 2;
	}
	.core-mosaic .mosaic-tiles-wrapper .mosaic-tile:nth-child(4) {
		grid-column: 2 /span 2;
		grid-row: 2 /span 1;
	}
	.core-mosaic .mosaic-tiles-wrapper .mosaic-tile:nth-child(5) {
		grid-column: 4 /span 1;
		grid-row: 2 / span 1;
	}
	.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper {
		background: transparent;
	}
	/*--CONTENT--*/
	.core-mosaic .mosaic-tile .tile-title {
		font-size: 15px;
	}
}

@media screen and (min-width:64em) {
	.core-mosaic {
		margin-bottom: 6px;
	}
	/*--GENERAL--*/
	.core-mosaic .mosaic-tile .mosaic-tile-inner .tile-info-wrapper {
		padding-bottom: 13px;
		width: 100%;
	}
	.core-mosaic .mosaic-tile:hover .mosaic-tile-inner .mosaic-tile-link .tile-info-wrapper {
		background: transparent;
	}
	/*--HEADER--*/
	.core-mosaic .widget-header {
		padding: 10px 16px;
	}
	.core-mosaic .widget-header .widget-subtitle {
		font-size: 15px;
	}
	.core-mosaic .widget-header .widget-title {
		font-size: 65px;
		margin-right: 0px;
	}
}
@media screen and (min-width:75em) {
	/*--CONTENT--*/
	.core-mosaic .mosaic-tile:nth-child(1) .tile-title {
		font-size: 30px;
		line-height: 1.15;
		margin-bottom: -2px;
	}

	.core-mosaic .mosaic-tile .tile-title {
		font-size: 22px;
		line-height: 1.25;
		margin-bottom: -2px;
	}
}