/*
	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 {
	--text-container-width: var(--width-comfortable);
	position: relative;
	overflow: hidden;
	border-radius: 0 0 80px 0px;
}

/* .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 {
	padding: var(--space-5) var(--space-12) 0 var(--space-6);
    position: relative;
    left: 0;
    pointer-events: none;
    display: grid;
    background: white;
}

.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 .slides .img-cont {
        border-radius: 0 0 165px 0px;
    }

	.core-hero-image .content-section {
        position: absolute;
        max-width: var(--text-container-width);
        left: 0;
        bottom: 0;
        border-radius: 0 60px 0 0;
    }

	.core-hero-image .banner-title {
		max-width: 70%;
	}

	.core-hero-image .content-section {
		padding: var(--space-5) var(--space-12) var(--space-5) var(--space-6);
	}
}

.core-hero-image .title-desc-container {
	width: 100%;
	max-width: var(--width-comfortable);
}

.core-hero-image .credits {
	flex-grow: 1;
	text-align: right;
}