/*
	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 {
	padding-top: 0;
	margin-bottom: 12px;
}

.core-preview-slider .blog-feed-header {
	display: none;
}

.core-preview-slider .mini-date-section {
	display: none;
}

.core-preview-slider .slide {
	padding: 0 5px;
}

.core-preview-slider .slide .img-cont {
	position: relative;
}

.core-preview-slider .arrow-cont {
	top: unset !important;
	transform: unset;
	bottom: 14px;
	justify-content: center;
	gap: 22px;
}

.core-preview-slider .arrow-cont .custom-arrow {
	color: var(--white);
	background-color: transparent;
	border: 2px solid var(--white);
	box-shadow: none;
	height: 36px;
	width: 36px;
	font-size: 17px;
	transition: background-color ease .4s, color ease .4s;
}

.core-preview-slider .shared-play-button {
	left: unset;
	transform: unset;
	top: 14px;;
	right: 14px;
}

.core-preview-slider .slide .title-section {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	z-index: 4;
	width: 80%;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform ease .4s .8s, opacity ease .4s .8s;
}

.core-preview-slider .slide:not(.slick-center) .title-section {
	opacity: 0;
	transform: translate(-50%, -25%);
}

.core-preview-slider .slide .title-section.slideUp {
	transform: translate(-50%, -75%);
	opacity: 0;
	transition: transform ease .4s , opacity ease .4s ;
}

.core-preview-slider .slick-list {
	padding: 0 36px !important;
}

.core-preview-slider .slide.slick-center .title-section {
	transform: translate(-50%, -50%);
	opacity: 1;
}

.core-preview-slider .slide .title-section :is(.slide-title, .slide-subtitle) {
	color: var(--white);
	text-align: center;
}

.core-preview-slider .slide .title-section .slide-title {
	font-family: var(--font-display-alt);
	font-size: 40px;
	font-weight: var(--font-weight-normal);
	line-height: .9;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.core-preview-slider .slide .title-section .read-more {
	color: var(--white);
	text-decoration: none;
	text-transform: uppercase;
	padding: 9px 15px;
	font-size: 14px;
	font-family: var(--font-body-bold);
	font-weight: var(--font-weight-normal);
	letter-spacing: .075em;
}

.core-preview-slider .slide:nth-child(3n - 2) .title-section .read-more {
	background: var(--cactus-alt-1);
}

.core-preview-slider .slide:nth-child(3n - 1) .title-section .read-more {
	background: var(--agave-alt);
}
.core-preview-slider .slide:nth-child(3n) .title-section .read-more {
	background: var(--sunset-alt);
}

.core-preview-slider .slide .title-section .slide-subtitle {
	font-family: var(--font-display-script);
	font-size: 44px;
	line-height: .5;
	margin-bottom: 32px;
}

.core-preview-slider .slide .content-section {
	display: none;
}

@media (hover: hover) {
	.core-preview-slider .arrow-cont .custom-arrow:hover {
		background-color: var(--white);
		color: var(--agave);
	}

	.core-preview-slider .slide .title-section .slide-title a:hover {
		color: var(--white);
		text-decoration: none;
	}

	.core-preview-slider .slide:nth-child(3n - 2) .title-section .read-more:hover {
		background: #86935c;
	}

	.core-preview-slider .slide:nth-child(3n - 1) .title-section .read-more:hover {
		background: #467f7e;
	}
	.core-preview-slider .slide:nth-child(3n) .title-section .read-more:hover {
		background: #e3a518;
	}
}

@media (min-width: 40em) {
	.core-preview-slider {
		margin-bottom: 20px;
	}
	.core-preview-slider .slide {
		padding: 0 11px;
	}

	.core-preview-slider .slick-list {
		padding: 0 48px !important;
	}

	.core-preview-slider .slide .title-section .slide-title {
		font-size: 36px;
		order: 1;
		
	}

	.core-preview-slider .slide .title-section .slide-subtitle {
		font-size: 36px;
		margin-bottom: 6px;
		order: 0;
	}

	.core-preview-slider .slide .title-section .read-more-btn {
		order: 2;
		position: relative;
		margin-top: 16px;
	}

	.core-preview-slider .arrow-cont .custom-arrow {
		height: 32px;
		width: 32px;
		font-size: 18px;
	}

	.core-preview-slider .arrow-cont {
		padding-right: 66px;
		justify-content: flex-end;
		gap: 14px;
		bottom: 8px;
	}

}

@media (min-width: 64em) {
	.core-preview-slider .arrow-cont .custom-arrow {
		height: 36px;
		width: 36px;
		font-size: 18px;
	}

	.core-preview-slider .arrow-cont {
		padding-right: 94px;
		bottom: 20px;
	}

	.core-preview-slider .slide .title-section .slide-title {
		font-size: 54px;
		margin-bottom: 0px;
	}

	.core-preview-slider .slide .title-section .slide-subtitle {
		font-size: 60px;
		margin-bottom: 12px;
	}

	.core-preview-slider .slide .title-section .read-more-btn {
		margin-top: 40px;
	}
	
	.core-preview-slider .slide .title-section .read-more {
		font-size: 16px;
		padding: 11px 56px;
		letter-spacing: .075em;
		margin-top: 40px;
		transition: background-color ease .4s;
	}
	
	.core-preview-slider .slide .title-section .read-more-btn:before,
	.core-preview-slider .slide .title-section .read-more-btn:after {
		content: '';
		background-image: url(/includes/client_public/assets/shared/ornaments/corner-ornament.svg);
		background-repeat: no-repeat;
		height: 18px;
		width: 18px;
		color: white;
		position: absolute;
		left: 9px;
		top: 3px;
		transform: rotate(-135deg);
		opacity: 0;
		transition: opacity ease .4s;
	}

	.core-preview-slider .slide .title-section .read-more-btn::after {
		transform: rotate(45deg);
		left: unset;
		right: 9px;
	}

	.core-preview-slider .slide .title-section .read-more-btn:hover:before,
	.core-preview-slider .slide .title-section .read-more-btn:hover:after {
		opacity: 1;
	}
}

@media (min-width: 90em) {
	.core-preview-slider .slide .title-section .slide-title {
		font-size: 90px;
	}

	.core-preview-slider .slide .title-section .slide-subtitle {
		font-size: 80px;
		margin-bottom: 12px;
	}
}