.grid {
	position: relative; margin: 0 auto;
	padding: 1em 0 4em; list-style: none; text-align: center;}
/* Common style */
.grid figure {
	position: relative; float: left; overflow: hidden;
	margin: 1%; min-width: 320px; max-width: 600px; max-height: 400px; width: 48%;
	text-align: center; cursor: pointer; 
	-webkit-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.2);
	-moz-box-shadow:    0px 0px 15px 0px rgba(50, 50, 50, 0.2);
	box-shadow:         0px 0px 15px 0px rgba(50, 50, 50, 0.2);}
.grid figure img {
	position: relative; display: block;
	min-height: 100%; max-width: 100%;}
.grid figure figcaption {
	padding: 2em; color: #fff; font-size: 1.25em; line-height: 0.9em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;}
.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;}
.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute; top: 0; left: 0;
	width: 90%; height: 100%;}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000; text-indent: 200%;
	white-space: nowrap; font-size: 0; opacity: 0;}
.grid figure h2{
	font-size: 15px;}
figure.effect-zoe figcaption {
	top: auto; bottom: 0; padding: 5%; 
	height: 1.3em; background: #fff; color: #3c4a50;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);}
figure.effect-zoe:hover figcaption,
figure.effect-zoe:hover h2{
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);}
figure.effect-zoe:hover h2 {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;}
.grid h3{
	color: #3859cb; font-weight: 400; margin-bottom: 10px;}


@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px; text-align: center;
	}
	.grid figure {
		display: inline-block; float: none; margin: 10px auto; width: 100%;
	}
	.grid h3 {
    margin: 10px;}
}