/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Marquee 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-v2-marquee .img-cont::before {
	top: 25%;
	display: block;
	background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.core-v2-marquee .shared-play-button {
	top: var(--space-2);
	right: var(--space-2);
	left: unset;
	transform: unset;
	width: var(--space-12);
	height: var(--space-12);
	font-size: var(--text-xl);
}

.core-v2-marquee .slide-desc {
	font-size: var(--text-base);
	font-weight: var(--font-weight-normal, 400);
	line-height: var(--leading-tight);
}

.core-v2-marquee .slide-title {
	font-size: var(--text-xl);
	font-weight: var(--font-weight-bold, 700);
}

/*----- first slide -----*/

.core-v2-marquee .slide.major,
.core-v2-marquee .slide.major .slide-title {
	color: var(--sw-collections-text-color-light);
}

.core-v2-marquee .slide.major .info-flag,
.core-v2-marquee .slide.major .sponsored {
	color: var(--sw-collections-minor-text-color-light);
}

.core-v2-marquee .slide.major .info-item .icon {
	color: var(--sw-light-icon-color);
}

.core-v2-marquee .slide.major .slide-footer button {
	color: var(--sw-collections-text-color-light);
}

.core-v2-marquee .slide.major .details a {
	color: inherit;
}

/*----- other slides -----*/

.core-v2-marquee.horizontal .slide.minor .slide-title {
	font-size: var(--text-lg);
}

/*----- media queries -----*/

@media (hover: hover) {
	.marquee-v2-fullwidth.animation-expand .slide:hover .slide-img {
		scale: 1.02;
	}

	.core-v2-marquee .slide.major .slide-title a:hover {
		text-decoration: underline;
		color: inherit;
	}
}

@container (min-width: 23.4375em) {
	.core-v2-marquee .slide.minor,
	.core-v2-marquee .slide.minor .slide-title {
		color: var(--sw-collections-text-color-light);
	}
	
	.core-v2-marquee .slide.minor .info-flag {
		color: var(--sw-collections-minor-text-color-light);
	}

	.core-v2-marquee .slide.minor .info-item .icon {
		color: var(--sw-light-icon-color);
	}
	
	.core-v2-marquee .slide.minor .slide-footer button {
		color: var(--sw-collections-text-color-light);
	}

	.core-v2-marquee.horizontal .slide.minor {
		color: var(--sw-collections-text-color);
	}

	.core-v2-marquee.horizontal .slide.minor .info-flag {
		color: var(--sw-collections-minor-text-color);
	}

	.core-v2-marquee.horizontal .slide.minor .slide-title {
		color: var(--sw-collections-title-color);
	}

	.core-v2-marquee.horizontal .slide.minor .info-item .icon {
		color: var(--sw-icon-color);
	}

	.core-v2-marquee.horizontal .slide.minor .slide-footer button {
		color: var(--sw-collections-text-color);
	}

	@media (hover: hover) {
		.core-v2-marquee .slide-title a:hover {
			text-decoration: underline;
		}

		.core-v2-marquee.horizontal .slide.minor .slide-title a:hover {
			text-decoration: none;
		}
	}
}

@container (min-width: 64em) {
	.core-v2-marquee .slide.major .shared-play-button {
		width: var(--space-16);
		height: var(--space-16);
		font-size: var(--text-2xl);
	}
}