/*
	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);
	--margin-top: -80px;
}

.ccl-widget.core-imagebox .slides {
	padding: 0 40px;
}

.ccl-widget.core-imagebox:not([data-width="full"]) .content-section {
	position: relative;
	left: 0;
	bottom: 0;
	max-width: 244px;
	margin-top: var(--margin-top);
	min-height: calc(var(--margin-top) * -1);
	background-color: var(--white);
}

.ccl-widget.core-imagebox .slide .content-section .category-flag {
	font-family: var(--avenir-heavy-1);
    font-size: 11px;
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    color: var(--gray-alt);
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ccl-widget.core-imagebox .slide .content-section .category-flag-decoration {
	width: 16px;
    height: 2px;
    background-color: var(--gray-alt);
}

.ccl-widget.core-imagebox.black .slide .content-section .category-flag {
	color: var(--white);
}

.ccl-widget.core-imagebox.black .slide .content-section .category-flag-decoration {
	background-color: var(--white);
}

.core-imagebox .content-section .slide-title {
	font-size: 18px;
	font-family: var(--avenir-heavy-1);
	font-weight: var(--font-weight-demi);
	color: var(--black);
	line-height: 1.3;
}

@media(hover:hover) {
	.ccl-widget.core-imagebox .content-section .slide-title:hover,
	.ccl-widget.core-imagebox .content-section .slide-title a:hover {
		color: var(--black);
		text-decoration: none;
	}

	.ccl-widget.core-imagebox.black .content-section .slide-title:hover,
	.ccl-widget.core-imagebox.black .content-section .slide-title a:hover {
		color: var(--white);
	}
}

.core-imagebox .content-section p {
	margin-bottom: var(--space-4);
	font-size: var(--text-base);
	font-weight: 400;
	line-height: var(--leading-tight);
}

@media(min-width:64em) {
	.ccl-widget.core-imagebox .slides {
		max-width: 1180px;
	}

	.ccl-widget.core-imagebox .slide .content-section .category-flag {
		font-size: 12px;
		margin-bottom: 10px;
	}
}