/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Slider 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-slider:not([data-width="full"]) {
	max-width: 1350px
}

.core-slider :is(.slide .slide-footer .qv-btn, .description, .details, .blog-feed-header, .blog-feed-header-mobile-container) {
	display: none;
}

.core-slider .widget-header {
	max-width: 1085px;
	margin-bottom: 12px;
}

.core-slider:not([data-width="full"]) .widget-header {
	max-width: unset;
}

.core-slider .widget-title {
	font-size: 26px;
	line-height: calc(29/26);
	color: var(--gray);
	font-family: var(--newbery);
	font-weight: var(--font-weight-extrabold);
	letter-spacing: 0.06em;
}

.core-slider:not(.slider-1-across)  .glide__arrow {
	--arrow-color: var(--white);
	--arrow-bg-color: transparent;
	filter: drop-shadow(0 0 5px rgba(0,0,0,.6));
}

.core-slider .slide .slide-title {
	font-family: var(--solano);
	font-size: 28px;
	line-height: calc(29/28);
	font-weight: var(--font-weight-bold);
	color: #333;
	text-transform: none;
}

.core-slider .slide p {
	font-size: var(--text-lg);
	line-height: var(--leading-tight);
	font-weight: var(--font-weight-normal);
}

.core-slider .shared-play-button {
	--color: var(--white);
	filter: drop-shadow(0 0 5px rgba(0,0,0,.6));
}

@media (min-width: 64em) {
	.core-slider:not([data-width="full"]) {
		--arrow-offset: 70px;
		padding: 0 calc(var(--arrow-offset) + 20px);
		margin-bottom: 100px;
	}

	.core-slider .widget-header {
		margin-bottom: 20px;
	}

	.core-slider .widget-title {
		font-size: 36px;
		letter-spacing: 0.08em;
	}

	.core-slider:not([data-width="full"]) .glide__arrows {
		width: calc(100% + 2 * var(--arrow-offset));
		left: calc(-1 * var(--arrow-offset))
	}

	.core-slider:not([data-width="full"]) .glide__arrow {
		--arrow-color: var(--gray-dark);
		filter: unset;
	}

	.core-slider .slide .slide-title {
		font-size: 30px;
		line-height: calc(30/29);
	}

	.core-slider .slide.overlap-image-desktop .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%);
		pointer-events: none;
	}

	.core-slider .slide.overlap-image-desktop .content-section {
		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-desktop .slide-title {
		color: var(--white);
	}
}