/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Cards 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-cards {
	margin-bottom: 100px;
}

/* Widget Level */
.core-cards .widget-header {
    margin-bottom: var(--space-4);
}

.core-cards .widget-header-inner {
	padding-bottom: unset;
	border-bottom: unset;
}

.core-cards .widget-header-inner .widget-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--text-3-5xl);
	line-height: 1.14em;
	color: var(--text-black);
	text-align: left;
	margin-right: unset;
}

/* Slide Level */
.core-cards .slide .img-cont {
	border-radius: var(--rounded-xl);
}

.core-cards .slide .slide-title {
	font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--grey);
    line-height: 1.2em;
}

.core-cards .slide .slide-title > a:hover {
	color: unset;
}

.core-cards .slide p {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	letter-spacing: var(--tracking-tight);
	color: var(--text-black);
}

/* Desktop */
@media (min-width: 64em) {
	.core-cards .widget-header {
		margin-bottom: var(--space-10);
		display: flex;
		justify-content: center;
	}

	.core-cards .widget-header-inner .widget-title {
		font-size: 2.81em;
	}

	.core-cards .slides {
		max-width: 1370px;
	}
}