/*
	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: 75%;
	background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
	pointer-events: none;
}

.core-imagebox .content-section .slide-title {
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: var(--leading-snug);
	margin-bottom: var(--space-1);
}

.core-imagebox .content-section p {
	font-size: var(--text-sm);
	font-weight: 400;
	line-height: var(--leading-tight);
}

.core-imagebox .slide a.read-more:not(p *),
.core-imagebox .slide ,
.core-imagebox .content-section .slide-footer a {
    font-size: 9px;
    padding: 5px 6px;
}

@media screen and (min-width: 64em) {
	.core-imagebox .slide a.read-more:not(p *),
    .core-imagebox .slide .slide-footer a {
        font-size: 16px;
        padding: 10px var(--space-4);
    }

	.core-imagebox .content-section p {
		margin-bottom: var(--space-4);
		font-size: var(--text-base);
		font-weight: 400;
		line-height: var(--leading-tight);
	}
}