/*
	README

	This file should only be used to style structure of the widget. It should not
	contain fonts or theme styling. Use the shared_theme.css for that purpose.

	If simply theming the CCL, leave this file alone.

	If your design is very customized, edit this file as needed. 
*/

.core-cards .slides {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-16);
	margin: 0 auto;
	padding: 0 var(--space-5);
	max-width: var(--width-base);
}

.core-cards .slide .slide-title {
	margin: 0;
}

.core-cards .slide p {
	margin: 0;
}

@media (min-width: 40em) {
	.core-cards .slides {
		gap: var(--space-16) var(--space-3);
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 64em) {
	.core-cards[data-slides-across="3"] .slides {
		grid-template-columns: repeat(3, 1fr);
	}

	.core-cards[data-slides-across="4"] .slides {
		grid-template-columns: repeat(4, 1fr);
	}
}

.core-cards .slide > .inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.core-cards .slide .img-cont {
	margin-bottom: var(--space-5);
}

.core-cards .slide .slide-top {
	display: grid;
	gap: var(--space-2);
}

.core-cards .slide .content-section {
	display: grid;
	gap: var(--space-4);
}

.core-cards .slide .content-section > .inner {
	display: grid;
	gap: var(--space-3);
}

.core-cards .slide .content-section .heading-container {
	display: grid;
	gap: var(--space-1);
}