/**
 * CARDS
 */

.front-card {
	--type__size: 16px;
	background-color: #fff;
	color: #222;	
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin-bottom: 2rem;
	position: relative;
	width: 100%;
}
.front-card .card-link {
	color: inherit;
	display: block;
	text-decoration: inherit;
	font-family: inherit;
	font-weight: normal;
	font-size: inherit;
}

.front-card .card-content h3 {
	font-size: calc(var(--type__size) * 1.375);
	margin: 0 calc(var(--type__size) * 1.25) calc(var(--type__size) * .5);
}

.front-card .card-content p {
	font-size: calc(var(--type__size) * 1);
}


.front-card .card-media {
	order: 1;
}
.front-card .card-content {
	order: 2;
}


.front-card {
	padding-top: 1rem;
}

.front-card .card-media {
	margin-top: -1rem;
	margin-bottom: calc(var(--type__size) * 1.25);
}

.front-card .card-content {
	flex-grow: 1;
}
.front-card .card-content p {
	margin: 0 calc(var(--type__size) * 1.25) calc(var(--type__size) * 1);
}

.front-card .card-media img {
	height: auto;
	width: 100%;
}




.front-card {
	transition: all .2s ease-in-out;
}
.front-card:hover {
	transform: translateY(-2px);
}

.front-card .arrow-link {
	margin: 0 calc(var(--type__size) * 1.25) calc(var(--type__size) * 1.5);
}
.front-card:hover .arrow-link {
	padding-right: 36px;
	text-decoration: none!important;
}
.front-card:hover .arrow-link::before {
	width: 24px;
}

.front-card .card-link::before {
	box-shadow: 0 0 5px #ccc;
	content: '';
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	transition: all .2s ease-in-out;
	z-index: 1;
} 
.front-card .card-link:hover {
	background-color: inherit;
	color: inherit;
}

.front-card .card-link:hover::before {
	box-shadow: 0 3px 10px #ddd;
	transform: translateY(-2px);
}

.front-card .card-media {
	overflow: hidden;
}

.front-card .card-media img {
	display: block;
	transition: all .2s ease-in-out;
}
.front-card:hover .card-media img {
	transform: scale(1.05);
}


.front-card .card-link:hover::before {
	box-shadow: 0 3px 10px #eaeaea;
}

.front-card .card-content h3 {
	line-height: 1.2;
}
.front-card .card-content h3 {
	font-family: "Source Sans Pro", sans-serif;
	line-height: 1.2;
	font-weight: 600;
}
.front-card .card-content h3 a {
	font-weight: inherit;
}

.wp-block-column .front-card {
	height: 100%;
	margin-bottom: 0;
}
.front-card h3 a {
	color: inherit !important;
}
