/*
Theme Name: Bloomdale
Theme URI: https://example.com/
Description: Bloomdale
Author: Adam
Author URI: https://example.com/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

.postThumb {
	width: calc(33.33% - 30px);
	margin: 15px;
	float: left;
	max-height: 356px;
	height: calc(90vw / 3);
	overflow: hidden;
	position: relative;
}

.postThumb a {
	color: #fff;
}

.postThumb a:after {
	content: '';
	background: -moz-linear-gradient(top, rgba(56,64,68,0) 0%, rgba(56,64,68,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(56,64,68,0) 0%,rgba(56,64,68,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(56,64,68,0) 0%,rgba(56,64,68,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00384044', endColorstr='#384044',GradientType=0 ); /* IE6-9 */
	width: 100%;
	height: 50%;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	transition: transform 0.25s;
}

.postThumb a:hover {
	color: #fff;
	text-decoration: none;
}

.postThumb a:hover:after {
	background: -moz-linear-gradient(top, rgba(56,64,68,0) 0%, rgba(56,64,68,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(56,64,68,0) 0%,rgba(56,64,68,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(56,64,68,0) 0%,rgba(56,64,68,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00384044', endColorstr='#384044',GradientType=0 ); /* IE6-9 */
	transform: scale(4);
}

.postThumb a:hover .postBg {
	transform: scale(1.1);
}

.postHead {
	width: 100%;
	padding: 20px 25px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 3;
}

#primary .featured {
	padding: 65px 65px 0;
	background-color: #f6ebe5;
}

.postBg {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transition: transform 0.25s;
}

.blog-wrap {
	padding: 15px 0 !important;
	width: calc(100% + 30px);
    margin-left: -15px !important;
}

ul.page-numbers {
	text-align: center;
	margin: 15px 0 20px;
}

@media (max-width: 1230px) {
	.blog-wrap {
		padding: 10px !important;
		width: 100%;
		margin-left: 0 !important;
	}
	.postThumb {
		width: calc(33.33% - 20px);
		margin: 10px;
	}
}

@media (max-width: 760px) {
	.blog-wrap {
		padding: 10px !important;
	}
	.postThumb {
		width: calc(50% - 20px);
		margin: 10px;
		max-height: auto;
		height: calc(90vw / 2);
	}
	.postThumb h3 {
		font-size: 20px;
		font-weight: bold;
		    line-height: 30px;
	}
}

@media (max-width: 460px) {
	.blog-wrap {
		padding: 10px 20px !important;
	}
	.postThumb {
		width: 100%;
		margin: 10px 0;
		max-height: auto;
		height: 90vw;
	}
	.postThumb h3 {
		font-size: 20px;
		font-weight: bold;
	}
}