/*
	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-editorial {
	margin-bottom: 30px;
	padding-top: var(--widget-padding-top);
}

.core-editorial .slides {
	gap: 15px;
}

.core-editorial .slide {
	gap: 10px;
}

.core-editorial .slide p::after {
	position: absolute;
	content: "";
	bottom: 0;
	left: 0;
	width: 100%;
	height: 90px;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
}

.core-editorial .slide .slide-title {
	font-size: var(--text-2xl);
	line-height: var(--leading-tight);
	font-weight: 700;
}

.core-editorial .slide p {
	font-weight: normal;
	display: none;
	max-height: 100px;
}

.show-description .core-editorial .slide p {
	display: block;
}

.core-editorial .slides .slide .read-more {
	display: none;
}

@media (min-width: 64em) {
	.core-editorial {
		margin-bottom: 74px;
	}

	.core-editorial .slides {
		gap: var(--space-8) var(--space-10);
	}

	.core-editorial .slide:not(:nth-child(6n)) {
		align-content: start;
	}
}