/*
	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: var(--widget-margin-bottom);
	padding-top: var(--widget-padding-top);
}

.core-cards .slide .slide-title {
	font-size: var(--text-2xl);
}

.core-cards .slide p {
	font-size: var(--text-lg);
	line-height: var(--leading-tight);
}

.core-cards:not(.cards-2-across):not(.cards-4-across)  .sponsored {
	display: none;
}

.cards-2-across .slide .sponsored,
.cards-4-across .slide .sponsored {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--gray-100);
	font-style: italic;
	font-weight: 100;
	background-color: rgba(16, 29, 59, 0.4);
    padding: 2px 10px;
}

.cards-2-across .slide .sponsored {
	font-size: var(--text-sm);
}

.cards-4-across .slide .sponsored {
	font-size: 13px;
}

.cards-2-across .slide p .read-more.inline,
.cards-3-across .slide p .read-more.inline {
	display: none;
}
