/*
	README

	Do NOT modify this file directly; a number of widgets depend on this file being as is.
	Use the CSS file that is associated with your widget
	(ie. template: widget_template_custom_my_widget.html, CSS: widget_template_custom_my_widget.css)
	to make any theme-ing or overwrites you need.

	If you need to make significant changes such that overwriting would be complicated
	consider not using a different component from the Core Collection Library or
	not using the Core Component Library altogether.

	If you still feel the need to edit this file, copy/paste this CSS into a different file
	and use that instead.
*/

.core-slider {
	--font-title: var(--font-display);
	--font-desc: var(--font-body);
	--color-display: var(--primary-color-700);
	--color-display-hover: var(--primary-color-800);
	--color-body: var(--gray-700);
	--color-body-alt: var(--gray-100);
	--color-accent: var(--primary-color-800);

	margin-bottom: var(--space-12);
	padding-top: var(--space-8);
}

.core-slider:not([data-width="full"]) {
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--space-5);
	padding-top: var(--space-8);
	max-width: var(--width-base);
}

.core-slider:not([data-width="full"]) .widget-header {
	padding: 0;
}

.core-slider .slider-cont {
	position: relative;
}

.core-slider .slick-slider:not(.slick-initialized) {
	max-height: 400px;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	pointer-events: none;
}

.core-slider .arrow-cont {
	top: 50%;
	right: 0;
	left: 0;
	z-index: 5;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
}

.core-slider[data-width="full"] .arrow-cont {
	padding: 0 var(--space-5);
}

.core-slider[data-width="controlled"] .slide {
	padding: 0 var(--space-3);
}

.core-slider .slide > .inner {
	position: relative;
}

.core-slider .slide .slide-top {
	display: grid;
	gap: var(--space-2);
}

.core-slider .slide .content-section {
	display: grid;
	gap: var(--space-4);
	padding: var(--space-5) 0;
	color: var(--color-display);
}

.core-slider .slide .content-section > .inner {
	display: grid;
	gap: var(--space-3);
}


.core-slider[data-width="full"] .slide .content-section {
	padding: var(--space-5) var(--space-4);
}

.core-slider .slide .slide-title {
	margin: 0;
	font-family: var(--font-title);
	font-size: var(--text-2xl);
	font-weight: 700;
	line-height: var(--leading-tight);
	color: inherit;
}



.core-slider .slide .details {
	--font-family: var(--font-desc);
	--text-color: var(--color-body);
	--icon-color: var(--color-display);
}

.core-slider .slide .description {
	margin: 0;
	font-family: var(--font-desc);
	font-size: var(--text-lg);
	font-weight: 600;
	line-height: var(--leading-tight);
	color: var(--color-body);
}

.core-slider .slide.overlap-image .img-cont {
	position: relative;
	overflow: hidden;
}

.core-slider .slide.overlap-image .img-cont::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.core-slider .slide .slide-footer {
	--color: var(--gray-700);
	--color-secondary: var(--gray-200);
	--color-hover: var(--gray-600);
	--font-family: var(--font-desc);
}


.core-slider .slide .slide-footer .qv-btn {
	color: var(--color);
}

.core-slider[data-width="full"][data-multi-slides="false"] .slide .slide-footer .qv-btn {
	text-decoration: none;
}

@media (hover: hover) {
	.core-slider .slide .slide-title > a:hover {
		color: var(--color-display-hover);
		text-decoration: none;
	}

	.core-slider .slide.overlap-image .slide-title > a:hover {
		text-decoration: underline;
	}

	.core-slider .slide .slide-footer .read-more:hover {
		color: var(--primary-color-700);
	}

	.core-slider .slide .slide-footer .qv-btn:hover {
		color: var(--color-hover);
	}

	@media (min-width: 64em) {
		.core-slider[data-width="full"][data-multi-slides="false"] .slide .slide-footer .qv-btn .qv-text:hover {
			text-decoration: underline;
		}
	}
}

@media (min-width: 40em) {
	.core-slider[data-multi-slides="true"] .slide {
		padding: 0 var(--space-3);
	}
}

@media (min-width: 64em) {
	.core-slider .slide.overlap-image .content-section {
		--color-display: var(--color-body-alt);
		--color-display-hover: var(--color-body-alt);

		position: absolute;
		z-index: 2;
		left: 0;
		bottom: 0;
		padding: var(--space-4) var(--space-16);
		width: 100%;
		max-width: var(--width-comfortable);
	}

	.core-slider .slide.overlap-image .details {
		--text-color: var(--color-body-alt);
		--icon-color: var(--color-body-alt);
	}

	.core-slider .slide.overlap-image .description {
		color: var(--color-body-alt);
	}

	.core-slider[data-multi-slides="false"] .slide .slide-footer {
		margin-bottom: var(--space-1);
	}

	.core-slider[data-multi-slides="false"] .slide .slide-footer .qv-btn {
		color: var(--color-secondary);
		text-decoration: none;
	}
}