/*
	README

	Do NOT modify this file directly; a number of widgets depend on this file being as is.
	Use the CSS file that is associated with your widget
	(ie. template: widget_template_custom_my_widget.html, CSS: widget_template_custom_my_widget.css)
	to make any theme-ing or overwrites you need.

	If you need to make significant changes such that overwriting would be complicated
	consider not using a different component from the Core Collection Library or
	not using the Core Component Library altogether.

	If you still feel the need to edit this file, copy/paste this CSS into a different file
	and use that instead.
*/


.core-hero-slideshow {
	--font-title: var(--font-display-agenda);
	--font-desc: var(--font-body);
	--text-container-width: 450px;
	--letter-spacing: 0;
	--title-text-size: 32px;
	--btn-text-size: 18px;
	--text-size: 16px;
	--text-color: #fff;
	--accent-text-color: #fff;
	--btn-bg-color: transparent;
	--btn-bg-color-hover: transparent;

	position: relative;
}

.core-hero-slideshow .slider-cont {
	position: relative;
}

.core-hero-slideshow .slick-slider:not(.slick-initialized) {
	max-height: 400px;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	pointer-events: none;
}

.core-hero-slideshow .slide .inner,
.core-hero-slideshow .slide .img-cont {
	position: relative;
}

.core-hero-slideshow .slide .img-cont::after {
	content: "";
	background: linear-gradient(to top, rgba(0, 0, 0,0.7) 0%, rgba(0,0,0,0) 100%);
	top: auto;
	left: 0;
	bottom: 0;
	position: absolute;
	pointer-events: none;
	height: 40%;
	width: 100%;
}

.core-hero-slideshow .img-cont {
	position: relative;
}

.header-slideshow .img-cont img {
	display: block;
	width: 100%;
}

.core-hero-slideshow .content-section {
	padding: var(--space-5);
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 10;
	pointer-events: none;
	font-family: var(--font-desc);
}

.core-hero-slideshow a .slide-title,
.core-hero-slideshow .slide-title {
	color: var(--text-color);
	font-weight: 700;
	line-height: var(--leading-tight);
	font-size: 22px;
	pointer-events: all;
	font-family: var(--font-title);
	margin-bottom: var(--space-2);
	width: 100%;
}

.core-hero-slideshow .description {
	color: var(--text-color);
	font-size: 14px;
	line-height: 18px;
	padding-bottom: var(--space-2);
}

.core-hero-slideshow .link-btn {
	color: var(--accent-text-color);
	pointer-events: all;
	padding: var(--space-2) 0;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: var(--letter-spacing);
	white-space: nowrap;
	cursor: pointer;
}
.core-hero-slideshow .link-btn i {
	margin-left: 3px;
}

.core-hero-slideshow .arrows .arrow-cont {
	position: absolute;
	bottom: 15px;
	left: auto;
	right: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-5);
	padding: 0 var(--space-5);
	pointer-events: none;
	z-index: 1;
}
.core-hero-slideshow .arrows .arrow-cont .custom-arrow {
	width: 35px;
	height: 35px;
	font-size: 16px;
}

@media (min-width: 40em) {
	.core-hero-slideshow .content-section {
		max-width: var(--text-container-width);
		left: var(--space-10);
		bottom: 90px;
	}
	.core-hero-slideshow a .slide-title,
	.core-hero-slideshow .slide-title {
		width: 100%;
		line-height: var(--leading-tight);
		font-size: var(--title-text-size);
		margin-bottom: var(--space-1);
	}
	.core-hero-slideshow .description {
		font-size: var(--text-size);
		line-height: 22px;
		padding-bottom: var(--space-2);
	}
	.core-hero-slideshow .link-btn {
		padding: var(--space-2) 0;
		font-size: var(--btn-text-size);
		right: inherit;
		left: var(--space-48);
		bottom: var(--space-10);
	}
	.core-hero-slideshow .arrows .arrow-cont {
		position: absolute;
		left: var(--space-10);
		right: auto;
		bottom: var(--space-8);
	}
	.core-hero-slideshow .arrows .arrow-cont .custom-arrow {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	.core-hero-slideshow .slide .img-cont::after {
		background: radial-gradient(at bottom left, rgba(0, 0, 0, 0.8), transparent 900px);
		height: 80%;
		width: 100%;
	}
} 