/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Image Box 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.
*/

.core-imagebox {
	margin-bottom: var(--widget-margin-bottom);
	padding-top: var(--widget-padding-top);
}

.core-imagebox .img-cont::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	pointer-events: none;
}

.core-imagebox .slide .content-section {
    left: 23px;
    margin-inline-end: 23px;
    bottom: 24px;
    max-width: 462px;
}

.core-imagebox .slide .slide-title {
    font-size: 1.5rem;
    letter-spacing: -0.015rem;
    line-height: 1;
    margin: 0;
    margin-block-end: 2px;
}

.core-imagebox .content-section p {
	margin-bottom: var(--space-4);
	font-size: var(--text-base);
	font-weight: 400;
	line-height: var(--leading-tight);
}

.core-imagebox .slide .content-section p {
    margin-block-end: 6px;
    line-height: calc(22/15);
}

.core-imagebox .slide .slide-footer {
    margin: 0;
}

.core-imagebox .slide .slide-footer a.read-more {
    padding: 0;
    font-size: 0.9375rem;
    margin: 0;
}

@media screen and (min-width: 64em) {
    .core-imagebox .slide .content-section {
        left: 41px;
        bottom: 37px;
    }

    .core-imagebox .slide .slide-title {
        font-size: 2rem;
        letter-spacing: -0.02rem;
        line-height: calc(36/32);
        margin-block-end: 7px;
    }

    .core-imagebox .slide .content-section p {
        margin-block-end: 9px;
    }

    .core-imagebox .slide .slide-footer a.read-more {
        font-size: var(--text-base);
    }
}