/*
	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-body);
	--font-desc: var(--font-body);
	--text-color: #fff;

	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.65) 0%, rgba(0,0,0,0) 40%);
	pointer-events: none;
}

.core-hero-image .banner-content {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 16px 14px;
	width: 100%;
	max-width: 100%;
	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: 22px;
	line-height: 34px;
	font-weight: 700;
	margin-bottom: var(--space-1);
	text-shadow: var(--text-shadow-image);
}
.core-hero-image .banner-title a:hover {
	color: var(--text-color);
}

.core-hero-image .banner-description {
	font-family: var(--font-desc);
	font-size: 14px;
	line-height: 20px;
	color: var(--text-color);
	text-shadow: var(--text-shadow-image);
}

.core-hero-image .title-desc-container { 
	max-width: var(--width-comfortable);
}

.core-hero-image .read-more {
	margin-top: 20px;
}

.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;
	display: none;
}

@media (min-width: 40em) {
	.core-hero-image .banner-title {
		font-size: 30px;
		line-height: 1;
		margin-bottom: 10px;
	}
	.core-hero-image .banner-description {
		font-size: 20px;
		line-height: 26px;
	}
}
@media (min-width: 64em) {
	.core-hero-image .banner-content {
		padding: var(--space-8) 60px 35px;
		max-width: 60%;
	}
}