/*
	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-2);
	margin: 0 auto;
}

.core-cards .slide .slide-title {
	margin: 0;
	color: var(--white);
	font-weight: 400;
	text-transform: uppercase;
	display: flex;
    justify-content: center;
    align-items: center;
}

.core-cards .slide:hover .slide-title {
	color: var(--black);
}

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

@media (min-width: 40em) {
	.core-cards .slides {
		gap: 0 var(--space-2);
		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 .slide-top {
	display: grid;
	gap: var(--space-2);
}

.core-cards .slide .content-section {
	display: grid;
	gap: var(--space-4);
	text-align: center;
	background: var(--color-display);
	flex: 1 1 auto;
    height: auto;
}

.core-cards .slide:hover .content-section {
	background: var(--orange-color);
}

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

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

.core-cards .slide p, .core-cards .slide .slide-footer {
	display: none;
}