/*
	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-hero-image .img-cont:after {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	height: 100%;
	width: 100%;
	content: "";
	background: rgba(0, 0, 0, 0.25);
	mix-blend-mode: multiply;
	pointer-events: none;
}

.core-hero-image .slide .content-section {
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	display: block;
	width: 100%;
	max-width: 528px;
	padding: 20px 50px;
	text-align: center;
}

.core-hero-image .slide .slide-title {
	width: auto;
	max-width: none;
	margin: 0;
	font-family: var(--font-display);
	font-weight: normal;
	font-size: var(--text-2xl);
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--white);
}

.core-hero-image .slide .slide-title .small-title {
	margin-bottom: 4px;
	display: block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: var(--text-xs);
	text-transform: none;
}

.core-hero-image .slide p {
	display: none;
}

.core-hero-image .shared-play-button {
	inset: 20px 20px auto auto;
	transform: none;
}

.core-hero-image .overlay {
	position: absolute;
	inset: 10px;
	z-index: 4;
	display: block;
	border-radius: 8px;
	border: 2px solid var(--white);
	pointer-events: none;
}

.core-hero-image .overlay img {
	position: absolute;
	inset: auto auto 0 50%;
	transform: translate(-50%, 50%);
	display: none;
	width: 30px;
}

@media (min-width: 64em) {
	.core-hero-image .slide .slide-title {
		font-size: var(--text-5xl);
	}

	.core-hero-image .slide .slide-title .small-title {
		font-size: var(--text-base);
	}

	.core-hero-image .overlay {
		inset: 32px 80px;
		border: none;
		border-top: 2px solid var(--white);
		border-radius: 16px;
	}

	.core-hero-image .overlay::before,
	.core-hero-image .overlay::after {
		position: absolute;
		display: block;
		content: '';
		border: 2px solid var(--white);
	}

	.core-hero-image .overlay::before {
		inset: -2px calc(50% + 20px) 0 0;
		border-right: none;
		border-radius: 16px 0 0 16px;
	}

	.core-hero-image .overlay::after {
		inset: -2px 0 0 calc(50% + 20px);
		border-left: none;
		border-radius: 0 16px 16px 0;
	}

	.core-hero-image .overlay img {
		display: block;
	}
}