/* ARTICLE CARD STYLING */

.article-card {
	display: block;
	background-color: #333;
	box-shadow: 0 20px 20px rgba(0,0,0,0.05);
	transition: background-color .3s ease-in-out, color .3s ease-in-out !important;
}

.article-card .article-card__image {
	overflow: hidden;
	backface-visibility: hidden; /* helps to prevent flicker */
}

.article-card .article-card__image img {
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
	filter: grayscale(0%);
	transition: all 1s ease;
	display: block;
	max-width: 100%;
	backface-visibility: hidden; /* helps to prevent blurring */
}

.article-card .article-card__text {
	padding: 10px 20px 20px;
	color: #FFFFFF;
	-webkit-font-smoothing: antialiased;
}

.article-card .article-card__text p {
	color: #FFFFFF;
}

.article-card .article-card__meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.article-card .article-card__title {
	margin: 10px 0;
	color: #FFFFFF;
	line-height: 1.25;
	font-weight: 600;
}

.article-card:hover {
	background-color: #333;
}

.article-card:hover .article-card__image img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}

.article-card.article-card--no-thumbnail {
	background-color: #333;
	color: #FFFFFF;
}

.article-card.article-card--no-thumbnail .article-card__title {
	color: #FFFFFF;
}


/* HERO BLOG TEMPLATE STYLES */

.blog-template .blog-template__hero-img {

	height: 100vh;
	width: 100%;
	position: fixed;
	z-index: -1;
	top: 0;
	background-size: cover;
	background-position: center center;
	transition: all .6s ease-in-out;
}

@media (min-width: 768px) {

	.blog-template .blog-template__hero-img.blog-template__hero-img--blurred {

		-webkit-filter: blur(5px);
		-moz-filter: blur(5px);
		-o-filter: blur(5px);
		-ms-filter: blur(5px);
		filter: blur(5px);

	}

}

.blog-template .blog-template__hero-img:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.3);
}

.blog-template .blog-template__hero-img.blog-template__hero-img--no-thumb {
	background: #333333;
}	

.blog-template .blog-template__title {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	color: #FFFFFF;
	text-align: center;
	font-size: 3em;
	line-height: 1.25;
	font-weight: bold;
	padding: 1em;
	margin: 0;

}

.blog-template .blog-template__content {
	background-color: #FFFFFF;
	margin-top: calc(100vh - 200px);
	padding-top: 40px;
	padding-bottom: 40px;
}

.blog-template .blog-template__meta {
	border-bottom: 1px solid #CCCCCC;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.blog-template .alignleft {
	float: left;
	margin: 0 20px 20px 0;
}


/* MASONRY GRID STYLES */

.masonry-grid.row {
	padding: 0;
}

.masonry-grid ::after {
  clear: both;
  content: "";
  display: block;
}

.masonry-grid .masonry-grid__card {

	box-sizing: border-box;
	width: 100%;
	margin-bottom: 20px;
	opacity: 0;

}

@media (min-width: 560px){

	.masonry-grid .masonry-grid__card {
		width: calc( (100% - 20px) / 2 );
	}	

}

@media (min-width: 1200px){

	.masonry-grid .masonry-grid__card {
		width: calc( (100% - 40px) / 3 );
	}

}

.masonry-grid.is-showing-items .masonry-grid__card {
	opacity: 1; /* reveal when ready */
}


.post-sidebar .widget h2,
.post-sidebar .widget .widget__title,
.post-sidebar .widget .widget__title a:link {
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
}

.post-sidebar .widget .widget__title a:hover {
	color: inherit;
}

.post-sidebar .widget ul {
	list-style: none;
	margin: 0 20px;
}


/*
 * PAGINATION STYLES
 */

.numbered-pagination {
	margin: 20px 0;
}

.numbered-pagination .page-numbers {
	padding: .5em;
}

 .numbered-pagination .page-numbers.current {
 	color: white;
 }