/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Slider family. This enables the ability to
	a family of widgets in a single update without touching the structure of the widget and without needing
	to duplicate efforts across several widget-specific CSS files.
*/

.contentRender_name_plugins_collections_template_custom_core_v2_hero_image {
    position: relative;
}

.contentRender_name_plugins_collections_template_custom_core_v2_hero_image .scroll-button {
    position: absolute;
    inset: auto auto var(--space-6) 50%;
    z-index: 4;
    translate: -50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    aspect-ratio: 1;
    padding: 0;
    margin: 0;
    font-size: var(--text-3xl);
    line-height: 1;
    color: var(--white);
    background: none;
    border: 2px solid var(--white);
    border-radius: var(--rounded-circle);

    &::before {
        translate: 0 8%;
        font: var(--fa-font-light);
        content: '\f107';
    }
}

.ccl-v2-widget.core-v2-hero-image .overlap-image .content-section {
    inset: 50% auto auto 0;
    translate: 0 -50%;
    max-width: 1120px;
    padding: var(--space-12) var(--space-5);
}

.ccl-v2-widget.core-v2-hero-image .content-upper {
    gap: 60px;
}

.core-v2-hero-image .img-cont::before {
	display: block;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent);
}

.core-v2-hero-image.hide-content .img-cont::before {
	display: none;
}

.core-v2-hero-image .img-cont::after {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    display: block;
    height: 447px;
    content: '';
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.36) 100%);
    pointer-events: none;
}

.core-v2-hero-image .slide-title {
    font-family: var(--font-display);
    font-weight: var(--font-weight-normal);
	font-size: 2.188em;
	line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    
    &::before {
        display: none;
    }
}

.core-v2-hero-image .slide-desc:before {
    content: '';
    position: absolute;
    left: 0;
    top: -30px;
    width: 75px;
    height: 4px;
    background-color: var(--white);
}

.core-v2-hero-image .slide-desc {
    position: relative;
    max-width: 540px;
    font-family: var(--font-body-bold);
	font-weight: normal;
	font-size: 1.25rem;
    letter-spacing: 0.088em;
    line-height: 1.25;
}

.ccl-v2-widget.core-v2-hero-image .slide-footer .read-more {
    --button-color: var(--brown);
    --button-bg: var(--gray-light);
    --button-hover-color: var(--white);
    --button-hover-bg: var(--brown);

    font-family: var(--font-body-bold);
    display: inline-block;
    padding: 9px 56px;
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--button-color);
    text-decoration: none;
    border-radius: var(--rounded-full);
    background-color: var(--button-bg);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border: none;

}

.ccl-v2-widget.core-v2-hero-image .content-section {
    gap: 30px;
}

.ccl-v2-widget.core-v2-hero-image .caption-credits {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: var(--space-2) var(--space-3);
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-style: italic;
    text-shadow: 0 0 10px var(--black);
    color: var(--white);
    pointer-events: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: end;
    
    .caption,
    .credits {
        position: relative;
        margin: 0;
        padding: 0;
        text-shadow: inherit;
        font-family: inherit;
        font-size: inherit;
        font-style: inherit;
        color: inherit;
        text-align: right;
    }
}

@media (min-width: 64em) {
    .contentRender_name_plugins_collections_template_custom_core_v2_hero_image .scroll-button {
        bottom: 42px;
        width: 44px;
        font-size: var(--text-4xl);
    }

    .core-v2-hero-image .slide-desc:before {
        width: 112px;
    }
    
    .core-v2-hero-image .slide-title {
        font-size: 4.375rem;
        line-height: 1.08;
    }

    .core-v2-hero-image .slide-desc {
        font-size: 2.188rem;
        line-height: 1.15;
    }

    .ccl-v2-widget.core-v2-hero-image .overlap-image .content-section {
        padding-left: 80px;
    }
}

@media (min-width: 90em) {
    .ccl-v2-widget.core-v2-hero-image .overlap-image .content-section {
        padding-left: 197px;
    }

    .ccl-v2-widget.core-v2-hero-image .content-section {
        gap: 50px;
    }
}

@media (hover: hover) {
	.core-v2-hero-image.animation-expand .slide:hover .slide-img {
		scale: 1.02;
	}

    .ccl-v2-widget.core-v2-hero-image .slide-footer .read-more:hover {
        color: var(--button-hover-color);
        background-color: var(--button-hover-bg);
    }
}