/*
	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-v2-hero-image .img-cont::before {
	display: block;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent);
}

.core-v2-hero-image.hide-content .img-cont::before {
	display: none;
}

.ccl-v2-widget.core-v2-hero-image .slide:not(.dtn-outside-image) .sponsored {
	display: none;
}

.core-v2-hero-image .slide-desc {
	font-weight: 600;
	color: var(--white);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
}

.core-v2-hero-image .read-more {
	font-weight: var(--font-weight-bold, 700);
	color: var(--sw-collections-text-color-light);
}

@media (hover: hover) {
	.core-v2-hero-image.animation-expand .slide:hover .slide-img {
		scale: 1.02;
	}
}
.ccl-v2-widget.core-v2-hero-image {
	margin-bottom: var(--space-5);

	&:after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		height: 11px;
		width: 100%;
		pointer-events: none;
		background: url(/includes/public/assets/shared/mtn-pattern.svg);
		z-index: 1;
		background-position: bottom;
		background-repeat: repeat-x;
	}

	.overlap-image {
		.content-section {
			padding: var(--space-4) var(--space-5);
			gap: 0;
		}
		.content-upper {
			gap: var(--space-1);
		}
		.slide-title {
			font-family: var(--font-display);
			font-weight: 700;
			color: var(--white);
			font-size: 1.375rem;
			line-height: 1.2;
			text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
		}
		.slide-desc {
			font-weight: 600;
			color: var(--white);
			font-size: var(--text-base);
			line-height: var(--leading-normal);
			text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
		}
	}

	@media (min-width: 64em) {
		.overlap-image {
			.content-section {
				padding: var(--space-10) 70px;
			}
			.slide-title {
				font-size: var(--text-3xl);
			}
			.slide-desc {
				font-size: var(--text-xl);
			}
		}
	}
}
