/*
	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-image {
	--font-title: var(--font-display);
	--font-desc: var(--font-body);
	--text-color: var(--gray-100);

	position: relative;
}

/* Overlay Effect */
.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.85) 0%, rgba(0,0,0,0) 40%);
	pointer-events: none;
}

.core-hero-image .banner-content {
	position: absolute;
	bottom: 0;
	/*left: 0;*/
	padding: var(--space-8) var(--space-12);
	width: 100%;
	max-width: var(--width-comfortable);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--space-3);
}

.core-hero-image .banner-title {
	color: var(--text-color);
	font-family: var(--font-title);
	font-size: var(--text-2xl);
	font-weight: 700;
	margin-bottom: var(--space-2);
	line-height: var(--leading-tight);
	max-width: 80%;
}

@media (min-width: 40em) {
	.core-hero-image .banner-title {
		max-width: 70%;
	}
}

.core-hero-image .banner-description {
	font-family: var(--font-desc);
	font-size: var(--text-base);
	color: var(--text-color);
}

.core-hero-image .title-desc-container { max-width: var(--width-comfortable); }

.core-hero-image .read-more {
	font-weight: 700;
	color: var(--text-color);
}

@media (hover: hover) {
	.core-hero-image .banner-title > a:hover {
		color: inherit;
		text-decoration: none;
	}

	.core-hero-image .read-more:hover {
		text-decoration: none;
	}	
}

.core-hero-image .credits {
	font-size: var(--text-xs);
	font-family: var(--font-body);
	font-style: italic;
	color: var(--gray-100);
	flex-grow: 1;
	text-align: right;
}

/*------------------------------------*/
.core-hero-image .slides .inner {
	position: relative;
}
.core-hero-image {
	margin-bottom: 30px;
}
.core-hero-image .credits {
	font-size: 14px;
	font-style: none;
	font-style: normal;
}
.core-hero-image .credits {
	position: absolute;
    bottom: -25px;
    right: 40px;
    padding: 11px 17px;
    width: fit-content;
    max-width: var(--width-comfortable);
    display: flex;
	flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-3);
    background-color: rgba(162,29,77,.8);
    height: auto;
}
/* .core-hero-image.hero-image .banner-content .banner-title {
	font-family: var(--font-body);
	font-size: 30px;
	text-transform: uppercase;
	max-width: 100%;
	font-weight: 500;
}
.core-hero-image.hero-image .banner-content .title-desc-container {
	font-family: var(--font-body);
}

.core-hero-image.hero-image .banner-content .sponsored {
	font-family: var(--font-title);
}
.core-hero-image.hero-image .banner-content .banner-description {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1;
} */
.core-hero-image.hero-image .slides .inner .img-cont img{
	
}

@media screen and (min-width:640px) {
	.core-hero-image .banner-content .title-desc-container {
		position: absolute;
		bottom: 0;
		left: 0;
		padding: 35px 40px;
		max-width: 440px;
		flex-direction: column;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: flex-start;
		gap: var(--space-3);
		background-color: rgba(162,29,77,.8);
		height: auto;
	}
	.core-hero-image.hero-image .slides .inner .img-cont img {
	}
}