/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Header Slideshow 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.
*/

.ccl-v2-widget.core-v2-hero-slideshow {
	.glide__arrows {
		inset: auto var(--space-5) 30px auto;
		gap: 10px;
		padding: 0;
	}

	.glide__arrow {
		width: 45px;
		height: 45px;
		margin: 0;
		font-size: 20px;
		color: var(--off-white);
		background-color: rgba(0, 0, 0, 0.65);
		border: 2px solid var(--off-white);
	}

	.img-cont::before {
		display: block;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40.8%, rgba(0, 0, 0, 0.65) 100%);
	}

	&.hide-content .img-cont::before {
		display: none;
	}

	.shared-play-button {
		transform: none;
		top: 20px;
		right: 20px;
		left: unset;
	}

	.content-section {
		gap: 17px;
		max-width: 550px;
		padding: var(--space-5);
	}

	.content-upper {
		gap: 7px;
	}

	.info-flag,
	.sponsored,
	.slide-title,
	.slide-desc {
		text-shadow: 0 0 var(--space-2) rgba(0, 0, 0, 0.35);
	}

	.info-flag,
	.sponsored {
		--color: var(--white);

		margin-bottom: var(--space-1);
	}

	.slide-title {
		font-weight: var(--font-weight-extrabold);
		font-size: var(--text-3xl);
		line-height: 1.2;
	}

	.slide-desc {
		font-size: var(--text-sm);
		font-weight: var(--font-weight-medium);
		line-height: 1.2;
	}

	.slide-top .credits {
		right: 20px;
	}

	.slide-footer .read-more {
		--background-color-hover: transparent;
		--border-color-hover: var(--white);
		--text-color-hover: var(--white);
	}

	@media (hover: hover) {
		.slide-title > a:hover {
			text-decoration: none;
		}
	}

	@container (min-width: 64em) {
		.glide__arrows {
			inset: auto 30px 30px auto;
			gap: var(--space-5);
		}

		.glide__arrow {
			width: 55px;
			height: 55px;
			font-size: 24px;
		}

		.content-section {
			padding: 30px;
		}

		.slide-title {
			font-size: var(--text-4xl);
		}

		.slide-desc {
			font-size: var(--text-lg);
		}

		.shared-play-button {
			top: 50%;
			right: 50%;
		}
	}
}