/*
	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 {
	--color-primary: var(--taupe);
	--color-secondary: var(--white);
	--color-icon: var(--green);
}

.core-cards .slide-top {
	position: relative;
}

.core-cards .slide-top .dtn {
	position: absolute;
	left: var(--space-3);
	bottom: var(--space-5);
	font-family: var(--font-display);
	color: var(--color-secondary);
	text-transform: uppercase;
	font-size: var(--text-xs);
	letter-spacing: 1.2px;
	z-index: 1;
}

.core-cards .img-cont:after {
	content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

.core-cards .slide .slide-title {
	color: var(--color-primary);
}

.core-cards .details li .icon {
	color: var(--color-icon)
}

.core-cards .details li:not(.has-link),
.core-cards .details li.has-link > a {
	color: var(--color-primary);
}

.core-cards .slide p {
	font-weight: unset;
}

@media (hover: hover) {
	.core-cards .slide .slide-title > a:hover,
	.core-cards .slide .slide-title:hover {
		color: var(--color-primary);
	}
}

