/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Slider Preview 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-preview-slider {
	margin-bottom: var(--space-10);
}

.core-preview-slider .arrow-cont {
	top: 50%;
	left: var(--space-1);
	right: var(--space-1);
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	height: auto;
	width: auto;
}

.core-preview-slider .shared-play-button {
	position: static;
	transform: none;
	width: var(--space-8);
	height: var(--space-8);
	font-size: var(--text-sm);
}

.core-preview-slider .slick-list {
	padding: 0 var(--space-3) !important;
}

.core-preview-slider .slide {
	padding: 0 2px;
}

.core-preview-slider .slide .slide-top,
.core-preview-slider .slide .content-section,
.core-preview-slider .slide .content-section > .inner {
	display: block;
}

.core-preview-slider .slide .slide-top {
	position: relative;
	z-index: 1;
}

.core-preview-slider .slide .content-section {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: var(--space-4);
	text-align: center;
	color: var(--white);
	pointer-events: none;
}

.core-preview-slider .slide .content-section a {
	pointer-events: all;
}

.core-preview-slider .slide .slide-title {
	font-weight: var(--font-weight-black);
	font-size: var(--text-3xl);
	line-height: var(--leading-none);
	text-transform: uppercase;
	text-shadow: 0 0 45px rgba(0,0,0,.4);
	color: inherit;
}

.core-preview-slider .slide .subtitle {
	font-weight: var(--font-weight-medium);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	letter-spacing: .06rem;
	text-transform: none;
	margin-top: 6px;
}

.core-preview-slider .slide .slide-title a {
	color: inherit !important;
	text-decoration: none !important;
}

.core-preview-slider .slide .button-wrapper {
	padding-top: 0;
}

@media (min-width: 40em) {
	.core-preview-slider .arrow-cont.contained {
		width: auto;
	}

	.core-preview-slider .shared-play-button {
		width: var(--space-10);
		height: var(--space-10);
		font-size: var(--text-xl);
	}
	
	.core-preview-slider .slick-list {
		padding: 0 var(--space-5) !important;
	}

	.core-preview-slider .slide .content-section {
		justify-content: center;
	}
}

@media (min-width: 64em) {
	.core-preview-slider .arrow-cont {
		left: var(--space-10);
		right: var(--space-10);
	}

	.core-preview-slider .slick-list {
		padding: 0 var(--space-10) !important;
	}

	.core-preview-slider .slide {
		padding: 0 10px;
	}

	.core-preview-slider .slide.overlap-image .content-section {
		max-width: none;
		padding: var(--space-8);
	}

	.core-preview-slider .slide .slide-title {
		font-size: 3rem;
	}

	.core-preview-slider .slide .subtitle {
		font-size: var(--text-xl);
	}
}

@media (min-width: 90em) {
	.core-preview-slider .arrow-cont {
		left: var(--space-20);
		right: var(--space-20);
	}

	.core-preview-slider .slick-list {
		padding: 0 82px !important;
	}

	.core-preview-slider .slide .slide-title {
		font-size: 5rem;
	}

	.core-preview-slider .slide .subtitle {
		font-size: 1.5625rem;
		margin-top: 18px;
	}

	.core-preview-slider .slide .button-wrapper {
		padding-top: 12px;
	}
}