/*
Feature Section Posts
---------------------------------------------------------------------------------------------------- */

ul.section-posts-one-half,
ul.section-posts-one-third,
ul.section-posts-one-fourth,
ul.section-posts-one-fifth,
ul.section-posts-one-sixth{
margin: 0 auto;
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
	overflow: visible;
	padding-left:  0;
	margin-left:  0;
    padding-left:  0;
}

ul.section-posts-one-half li,
ul.section-posts-one-third li,
ul.section-posts-one-fourth li,
ul.section-posts-one-fifth li,
ul.section-posts-one-sixth li{
list-style-type: none;
    color: #343334;
    margin:  0 auto 25px;
    border:  1px solid #eee;
}

ul.section-posts-one-half h3,
ul.section-posts-one-third h3,
ul.section-posts-one-fourth h3,
ul.section-posts-one-fifth h3,
ul.section-posts-one-sixth h3{
text-align: left;
    color: #343334;
line-height: 1.2;
	margin-bottom: 5px;
}

ul.section-posts-one-half h3,
ul.section-posts-one-half h3 a,
ul.section-posts-one-third h3,
ul.section-posts-one-third h3 a{
font-size: 20px;
    color: #343334;
}

ul.section-posts-one-fourth h3,
ul.section-posts-one-fourth h3 a{
font-size: 20px;
    color: #343334;
}

ul.section-posts-one-fifth h3,
ul.section-posts-one-fifth h3 a,
ul.section-posts-one-sixth h3,
ul.section-posts-one-sixth h3 a{
font-size: 16px;
    color: #343334;
}

ul.section-posts-one-half{
    grid-template-columns: repeat(2, 1fr);
}

ul.section-posts-one-third{
    grid-template-columns: repeat(3, 1fr);
}

ul.section-posts-one-fourth{
    grid-template-columns: repeat(4, 1fr);
}

ul.section-posts-one-fifth{
    grid-template-columns: repeat(5, 1fr);
}

ul.section-posts-one-sixth{
    grid-template-columns: repeat(6, 1fr);
}



/*
Custom Blocks
---------------------------------------------------------------------------------------------------- */

.featured-posts-block .wrap{
    width:  100%;
    max-width:  1240px;
    margin:  0 auto;
    padding: 2%;
}

.featured-posts-block ul{
margin: 0 auto;
    width: 100%;
    flex-flow: column nowrap;
    overflow: visible;
}

.featured-posts-block ul li{
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
text-align: left;
font-size: 16px;
line-height: 1.4;
}

.featured-posts-block ul li .favorite-post-img{
}

.featured-posts-block a{
    background-image: none !important;
    text-decoration:  none !Important;
}

.favorite-post-img img{
display: block;
	margin: 0 auto;
}

.favorite-post-info{
align-self: center;
padding: 2%;
font-size: 14px;
}

@media only screen and (max-width: 768px) {
	
	.featured-posts-block .wrap{
		padding: 4% 6%;
	}
	
	
ul.section-posts-one-half,
ul.section-posts-one-third,
ul.section-posts-one-fourth,
ul.section-posts-one-fifth,
ul.section-posts-one-sixth{
    grid-template-columns: repeat(2, 1fr);
}
	
.favorite-post-block ul.section-posts-one-third li:last-of-type,
.latest-block ul.section-posts-one-third li:last-of-type{
display: block;
}
	
	ul.section-posts-one-half h3, ul.section-posts-one-third h3, ul.section-posts-one-fourth h3, ul.section-posts-one-fifth h3, ul.section-posts-one-sixth h3,
	ul.section-posts-one-half h3 a, ul.section-posts-one-third h3 a, ul.section-posts-one-fourth h3 a, ul.section-posts-one-fifth h3 a, ul.section-posts-one-sixth h3 a{
		font-size: 22px;
	}
		
.featured-posts-block ul li{
display: block;
text-align: center;
}
	
.featured-posts-block ul li h3{
text-align: center;
}
	
}



@media only screen and (max-width: 580px) {
	

	
	ul.section-posts-one-half h3, ul.section-posts-one-third h3, ul.section-posts-one-fourth h3, ul.section-posts-one-fifth h3, ul.section-posts-one-sixth h3,
	ul.section-posts-one-half h3 a, ul.section-posts-one-third h3 a, ul.section-posts-one-fourth h3 a, ul.section-posts-one-fifth h3 a, ul.section-posts-one-sixth h3 a{
		font-size: 18px;
	}	
}