/*
	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.
*/

.ccl-widget.core-cards .mini-date-section,
.ccl-widget.core-cards .blog-feed-header,
.ccl-widget.core-cards .details {
	display: none;
}

.core-cards {
	margin-bottom: var(--space-5);
	padding-top: var(--widget-padding-top);
	position: relative;
}

.core-cards:not(.cards-2-across) .slides::after {
	content : "";
	position: absolute;
	width: 100%;
	height: calc(100% - 108px);
	z-index: -2;
	bottom: 0;
	background-image: url(/includes/public/assets/shared/pattern-tan.png)
}

.core-cards:not(.cards-2-across) .slides::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 20%;
	bottom: 0;
	z-index: -1;
	background-image: url(/includes/public/assets/shared/cards-4-bg-blob-sm.svg);
	background-position: bottom;
	background-size: cover;
	background-repeat: no-repeat;
}

@media (min-width: 40em) {
	.core-cards:not(.cards-2-across) .slides::after {
		content : none;
	}
	
	.core-cards:not(.cards-2-across) .slides::before {
		content: none;

	}

	.core-cards:not(.cards-2-across)::after {
		content : "";
		position: absolute;
		width: 100%;
		height: calc(100% - 120px);
		z-index: 0;
		bottom: 0;
		background-image: url(/includes/public/assets/shared/pattern-tan.png)
	}
	
	.core-cards:not(.cards-2-across)::before {
		content: "";
		position: absolute;
		width: 100%;
		height: 20%;
		bottom: 0;
		z-index: 1;
		background-image: url(/includes/public/assets/shared/cards-4-bg-blob-sm.svg);
		background-position: bottom;
		background-size: cover;
		background-repeat: no-repeat;
	}
	
	
}

.core-cards.ccl-widget .widget-header {
	margin-bottom: var(--space-3);
	position: relative;
	z-index: 1;
}

.core-cards.ccl-widget .widget-header-inner {
	border-bottom: none;
	justify-content: center;
	padding: unset;
}
.core-cards.ccl-widget .widget-title {
	font-size: var(--text-5xl-1);
	line-height: var(--leading-none);
	text-transform: uppercase;
	margin-right: unset;
}
.core-cards.ccl-widget .widget-title span {
	display: block;
	color: var(--blue);
	font-family: var(--font-alt);
	font-size: var(--text-2xl-1);
	font-weight: 600;
	text-transform: none;
	text-align: center;
	letter-spacing: 0.01em;
}

.core-cards .slides {
	max-width: 1220px;
	gap: var(--space-6);
	padding: 0 var(--space-7);
	z-index: 1;
	position: relative;
	padding-bottom: var(--space-10);
}

.core-cards .slide .img-cont {
	margin-bottom: 0;
}

.core-cards .slide .slide-title {
	font-size: var(--text-xl-1);
	font-family: var(--font-body);
	line-height: var(--leading-tight);
	margin-bottom: var(--space-1);
}

.core-cards .slide .slide-title > a {
	color: inherit;
	font-weight: inherit;
	font-family: inherit;
	line-height: inherit;
}

.core-cards .slide .content-section {
	background-color: var(--white);
	padding: var(--space-6) var(--space-5) var(--space-7);
}

.core-cards .slide .content-section > .inner {
	display: block;
	gap: unset;
}

.core-cards:not(.cards-2-across) .slide .content-section {
	box-shadow: 0px 10px 10px #00000029;
}

.core-cards .slide p {
	font-size: var(--text-base-1);
	line-height: var(--leading-normal);
	letter-spacing: 0.03em;
	color: var(--dark-gray);
	font-weight: 400;
	margin-bottom: var(--space-3);
}

.core-cards .slide .slide-footer {
	margin: unset;
}
.core-cards.ccl-widget .slide .slide-footer a {
	margin: unset;
	font-family: var(--font-body);
	font-weight: 600;
}
.core-cards:not(.cards-2-across) .slide .slide-footer a {
	font-size: var(--text-base-1);
	letter-spacing: 0.03em;
	font-weight: 700;
	color: var(--dark-green);
}

.core-cards:not(.cards-2-across) .slide .slide-footer a:after {
	content: none;
}

@media (min-width: 40em) {
	.core-cards:not(.cards-2-across)::before {
		background-image: url(/includes/public/assets/shared/cards-4-bg-blob.svg);
		height: 25%;
	}
	.core-cards:not(.cards-2-across)::after {
		height: 75%;
	}

	.core-cards.ccl-widget .slides {
		gap: var(--space-12) var(--space-8);
	}

	.core-cards:not(.cards-2-across) .slide .content-section {
		height: 100%;
	}
}

@media (min-width: 64em) {
	.core-cards:not(.cards-2-across)::after {
		height: 65%;
	}
	.core-cards:not(.cards-2-across)::before {
		height: 30%;
		background-position: top;
	}
	.core-cards.ccl-widget .widget-title {
		font-size: var(--text-7xl);
		letter-spacing: 0.01em;
	}

	.core-cards.ccl-widget .widget-title span {
		font-size: var(--text-5xl-1);
	}

	.core-cards .slide .slide-title {
		margin-bottom: var(--space-3);
	}

	.core-cards:not(.cards-2-across) .slide .slide-footer a {
		font-size: var(--text-lg);
	}
}