* {
	margin: 0;
	box-sizing: border-box;
}
body {
	background: #FFF9F2;
}
.post-wrap {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.post-item {
	padding: 10px;	
}
.post-link {
	text-decoration: none;
	display: block;
}
.post-item-wrap {
	overflow: hidden;
	position: relative;
	background-color: #FDFDFD;
	background-image: radial-gradient(#CADAD9 2px, transparent 2px);
	background-size: 6px 6px;
}
.post-item img {
	display: block;
	width: 100%;
}
.text-wrapper {
	position: absolute; 
	display: flex;
	justify-content: flex-end;
	flex-direction: column;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    width: 86%;
	padding: 20px;
    background: #d7ffeebf;    
    transform: translate3d(-100%,0,0);    
    transition: transform .5s cubic-bezier(.33,.02,0,.93);
}
.text-wrapper a{
    display: block;
    height: 100%;
    padding-bottom: 20px;
    padding-left: 15px;
    font-style: italic;
    font-weight: bold;
    font-size: medium;
    text-decoration: none;
    font-size: 61%;
}
.post-item:hover .text-wrapper {
	transform: translate3d(0,0,0);
	transition: transform .5s cubic-bezier(.33,.02,0,.93) .3s;
}
.overlay {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    background: #D1AFA6;    
    transform: translate3d(-100%,0,0);
    transition: transform .4s cubic-bezier(.33,.02,0,.93) .2s;
}
.post-item:hover .overlay {
	transform: translate3d(0,0,0);    
    transition: transform .5s cubic-bezier(.33,.02,0,.93);
}
.post-cat {
	text-transform: uppercase;
	margin-bottom: 5px;
	color: #000200;
	font-weight: 500;
}
.post-title {
	font-size: 12px;
	font-weight: 400;
	color: #4A4A40;
	font-style: italic;
}
@media (min-width: 192px) {
	.post-item {
		flex-basis: 25%;
		flex-shrink: 0;				
	}
}
@media (min-width: 2400px) {
	.post-item {
		flex-basis: 33.333333333%;			
	}
}




.post-item-wrap:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background: white;
    transition: .3s;
}
.post-item:hover .post-item-wrap:after {
    opacity: .7;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
}
.post-item:hover .post-item-wrap img {
    transform: translate(12px, 12px);
}
.post-item-wrap img {
	display: block;
    width: 100%;
    box-shadow: 2px 2px 10px rgba(0,0,0,.3);
	transition: .3s;
}
