/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Image Box 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-imagebox {
	margin-bottom: var(--widget-margin-bottom);
	padding-top: 0;
}
.core-imagebox .slides:not([data-width="full"]) {
	max-width: 1200px;
	gap: var(--space-12);
}

.core-imagebox .slide .img-cont::before {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 2;
	width: 35px;
	height: 59px;
	background: var(--burnt);
	clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	pointer-events: none;
}

.core-imagebox .slide .shared-play-button {
	right: unset;
	top: 12px;
	left: 12px;
	height: 40px;
	width: 40px;
}

.core-imagebox .slide .shared-play-button i { font-size: var(--text-sm); }

.core-imagebox .slide .content-section {
	max-width: 650px;
	bottom: 0;
	left: 0;
	padding: var(--space-3);
	margin-right: 36px;
}

.core-imagebox .slide .content-section .slide-title,
.core-imagebox .slide .content-section .slide-title a {
	font-size: var(--text-xl);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: var(--tracking-wide);
	color: var(--white);
	text-transform: uppercase;
	margin-bottom: var(--space-1);
}

.core-imagebox .slide .content-section p { display: none }

.core-imagebox .slide .content-section .slide-footer {
	margin: 0;
	padding-left: var(--space-1);
}

.core-imagebox .slide .content-section .slide-footer a.read-more {
	color: var(--white);
	margin: 0;
}

.core-imagebox .slide .content-section .slide-footer a.read-more::after {
	background: url(../svg/read-more-arrow-white.svg);
}

@media (min-width: 64em) {
	.core-imagebox .slide .img-cont::before {
		content: '';
		position: absolute;
		bottom: 0;
		right: 0;
		z-index: 2;
		width: 48px;
		height: 81px;
		background: var(--burnt);
		clip-path: polygon(100% 0, 0% 100%, 100% 100%);
		pointer-events: none;
	}

	.core-imagebox .slide .shared-play-button {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		height: 64px;
		width: 64px;
	}

	.core-imagebox .slide .shared-play-button i { font-size: var(--text-2xl); }

	.core-imagebox .slide .content-section {
		padding: var(--space-8);
		margin-right: var(--space-12);
	}

	.core-imagebox .slide .content-section .slide-title,
	.core-imagebox .slide .content-section .slide-title a {
		font-size: var(--text-3xl);
		line-height: 1.06;
		margin-bottom: var(--space-2);
	}
}