/*
	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.
*/

/* Styles For Both Homepage and Interior Variations */
.core-hero-image .img-cont:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 25%);
	pointer-events: none;
}

.core-hero-image .logo + .shared-play-button {
	top: var(--space-5);
	left: unset;
	right: var(--space-5);
	transform: translate(0, 0);
}

.core-hero-image .img-cont .credits {
	bottom: var(--space-3);
	font-family: var(--font-body);
	font-size: 0.625rem;
	font-weight: 400;
	font-style: normal;
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-normal);
	color: var(--white);
	text-transform: uppercase;
	background-color: var(--charcoal);
	padding: 6px; 
}

@media (min-width: 64em) {
	.core-hero-image .img-cont .credits {
		bottom: var(--space-5);
		right: 68px;
		font-size: var(--text-sm);
		padding: var(--space-1) var(--space-3); 
	}

	.core-hero-image .logo + .shared-play-button {
		height: var(--space-20);
		width: var(--space-20);
		top: var(--space-10);
		right: var(--space-10);
	}
}

/* For DTN */
.slide.overlap-image.dtn-placeholder .content-section .sponsored {
    display: block;
    color: var(--white);
    opacity: .5;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.7;
}

/*Specific Homepage Variation Styles */
.core-hero-image.homepage .img-cont::before {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 10px;
	background-image: url(/includes/public/assets/shared/hero-assets/texture-bottom-sm.svg);
	background-size: cover;
	background-position: top;
	pointer-events: none;
	z-index: 2;
}

.core-hero-image.homepage .img-cont .logo {
	position: absolute;
	width: 300px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	pointer-events: none;
	aspect-ratio: 60 / 29;
}

.core-hero-image.homepage .content-section { display: none; }

@media (min-width: 40em) {
	.core-hero-image.homepage .img-cont::before {
		height: 15px;
		background-image: url(/includes/public/assets/shared/hero-assets/texture-bottom.svg);
	}
}

@media(min-width: 64em) {
	.core-hero-image.homepage .img-cont .logo {
		top: 55%;
		width: 580px;
	}
}

/* Specific Interior Variation Styles */
.core-hero-image.interior-hero .img-cont::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background-image: url(/includes/public/assets/shared/hero-assets/texture-bottom-interior-sm.svg);
	background-size: cover;
	background-position: top;
	pointer-events: none;
	z-index: 2;
}

.core-hero-image.interior-hero .img-cont .logo { display: none; }

.core-hero-image.interior-hero .img-cont .credits { display: none; }

.core-hero-image.interior-hero .content-section {
	left:50%;
	bottom: 0;
	z-index: 1;
	transform: translateX(-50%);
	background-image: url(/includes/public/assets/shared/hero-assets/content-background.svg);
	background-size: cover;
	background-position: top center;
	padding: var(--space-3) var(--space-4) var(--space-6);
	max-width: 300px;
}

.core-hero-image.interior-hero .content-section .title-desc-container { max-width: 100%; }

.core-hero-image.interior-hero .content-section .slide-title,
.core-hero-image.interior-hero .content-section .slide-title a {
	font-family: var(--font-body);
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--white);
	pointer-events: all;
	max-width: 100%;
}

.core-hero-image .slide.overlap-image .content-section  p {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 400;
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-normal);
	color: var(--white);
	margin-bottom: var(--space-3);
}

.core-hero-image .slide .content-section a.read-more {
	position: relative;
	display: inline-block;
	font-family: var(--font-body);
	font-size: var(--text-lg);
	font-weight: 700;
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--white);
	text-transform: uppercase;
	background-color: unset;
	border-radius: unset;
	padding: 0 0 var(--space-3) 0;
	pointer-events: all;
}

.core-hero-image .slide .content-section a.read-more::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	transform: translateY(0);
	width: 100%;
	height: 2px;
	background-color: var(--yellow);
	opacity: 0;
	transition: opacity ease-out 300ms, transform ease-out 300ms;
}

@media (hover:hover) {
	.core-hero-image.interior-hero .content-section .slide-title a:hover { text-decoration: none; }

	.core-hero-image .slide .content-section a.read-more:hover{ background-color: unset; }

	.core-hero-image .slide .content-section a.read-more:hover::after {
		transform: translateY(-10px);
		opacity: 1;
	}
}

@media (min-width: 40em) {
	.core-hero-image.interior-hero .img-cont::before {
		height: 15px;
		background-image: url(/includes/public/assets/shared/hero-assets/texture-bottom-interior.svg);
	}

	.core-hero-image.interior-hero .content-section { max-width: 500px; }
}

@media (min-width: 64em) {
	.core-hero-image.interior-hero .img-cont .credits {
		display: inline-block;
		right: 60px;
		bottom: var(--space-6);
	}
	
	.core-hero-image.interior-hero .content-section {
		max-width: 571px;
		left: 60px;
		transform: translateX(0);
		padding: var(--space-5);
		padding-bottom: var(--space-8);
	}

	.core-hero-image.interior-hero .content-section::after {
		content: "";
		position: absolute;
		bottom: 26px;
		right: 19px;
		height: 31px;
		width: 31px;
		background-image: url(/includes/public/assets/shared/hero-assets/JHCC-brand.svg);
		pointer-events: none;
	}

	.core-hero-image.interior-hero .content-section .title-desc-container { max-width: 94%; }

	.core-hero-image.interior-hero .content-section .slide-title,
	.core-hero-image.interior-hero .content-section .slide-title a {
		font-size: var(--text-2xl-2);
		line-height: var(--leading-none);
		letter-spacing: var(--tracking-tighter);
	}
}

@media (min-width: 1440px) {
	.core-hero-image.interior-hero .img-cont .credits { right: 128px; }

	.core-hero-image.interior-hero .content-section { left: 140px; }
}