/*
	README

	This file should only be used to style structure of the widget. It should not
	contain fonts or theme styling. Use the shared_theme.css for that purpose.

	If simply theming the CCL, leave this file alone.

	If your design is very customized, edit this file as needed. 
*/

.core-hero-image {
	position: relative;
}

/* .hide-content also hides gradient */
.core-hero-image.hide-content .img-cont:after,
.core-hero-slideshow.hide-content .slide .img-cont:after, 
.core-hero-preview-slideshow.hide-content .img-cont:before {
	content: none;
}

.core-hero-image .content-section:not(.dtn-hero) {
	padding: var(--space-4) var(--space-8) var(--space-3);
	max-width: min(calc(360px + (625 - 360) * ((100vw - 375px) / (640 - 375))), 625px);
	display: flex;
	margin-right: 15px;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--space-3);
	pointer-events: none;
}

.core-hero-image .slide-title {
	font-size: var(--text-2xl);
	margin-bottom: var(--space-2);
	line-height: var(--leading-tight);
	max-width: 80%;
	pointer-events: none;
}

@media (min-width: 40em) {
	.core-hero-image .banner-title {
		max-width: 70%;
	}

	.core-hero-image .content-section:not(.dtn-hero) {
		padding: var(--space-5) var(--space-8);
		max-width: min(calc(625px + (638 - 625) * ((100vw - 640px) / (1440 - 640))), 638px);
	}
}

@media (min-width: 64em) {
	.core-hero-image .content-section:not(.dtn-hero) {
		padding: var(--space-8);
		max-width: 638px;
	}
}

.core-hero-image .title-desc-container {
	width: 100%;
	max-width: var(--width-comfortable);
}

.core-hero-image .credits {
	flex-grow: 1;
	text-align: right;
}