/* POSTS */

.POSTS::before,
.POSTS::after {
	content: "";
	display: block;
	overflow: hidden;
}

.POSTS .filter .content-types p {
	font-weight: 700;
}
.POSTS .filter .content-types ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

.POSTS .filter .content-types ul li:not(:last-child) {
	margin: 0 15px 0 0;
}

.POSTS .filter .content-types ul li a {
	font-size: 16px;
	font-family: Montserrat, sans-serif;
	font-weight: bold;
	color: #FF5757;
	display: block;
	background-color: #ffffff;
	box-shadow: inset 0 0 0 1px #ff5757;
	margin: 10px 15px 10px 0;
	padding: 10px 20px;
  border-radius: 6px;
	transition: all 0.25s;
} 
.POSTS .filter .content-types ul li a:hover {
	color: #fff;
	background: #086DFF;
	box-shadow: inset 0 0 0 1px #086dff;
} 

.POSTS .filter {
	overflow: hidden;
	float: none;
	margin: 0 0 40px;
}

.POSTS .filter .b-button {
	min-width: 100%;
	padding: 0;
}

.POSTS .post {
	position: relative;
}

.POSTS .image {
	overflow: hidden;
	border-radius: 20px;
	margin-bottom: 20px;
}

.POSTS .content h6 {
	opacity: 0.6;
}

.POSTS .content h4 a:hover {
	color: #FF5757;
}

.POSTS .content h4 a::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* ajax load more */

.POSTS .alm-reveal {
	display: flex;
	flex-wrap: wrap;
	margin: -20px -20px -40px -20px;
}

.POSTS .alm-item {
	padding: 20px 20px 40px 20px;
	box-sizing: border-box;
	flex: 0 0 auto;
	align-items: stretch;
	width: 33.33%;
	display: inline-flex;
}

.POSTS .ajax-load-more-wrap[data-total-posts="0"] .alm-listing:empty::before {content: "No results found.";}
.POSTS .results + .posts .ajax-load-more-wrap[data-total-posts="0"] .alm-listing:empty::before {display:none;}

.POSTS .alm-reveal + .alm-reveal {padding-top:40px;}
.POSTS .alm-btn-wrap {text-align:center; overflow:hidden;}
.POSTS .alm-load-more-btn {margin-top:60px;}
.POSTS .alm-load-more-btn.done {display:none;}

.POSTS .posts.alt-hide-button .alm-load-more-btn.more {display:none;}

/* editor tweaks */

.acf-block-preview .POSTS .pagination {display:none;}

@media screen and (min-width: 1201px) {
	/* ONE:TWO SPLIT */

	.POSTS[data-style="1-2-split"] .posts .b-columns {display:block; overflow:hidden;}
	.POSTS[data-style="1-2-split"] .posts .b-column {display:block; width:50%;}
	.POSTS[data-style="1-2-split"] .posts .b-column:not(:first-child) {float:right; padding-bottom:20px;}
	.POSTS[data-style="1-2-split"] .posts .b-column:not(:first-child) .post {overflow:hidden;}
	.POSTS[data-style="1-2-split"] .posts .b-column:not(:first-child) .image {float:left; width:45%; margin:0 40px 0 0;}
	.POSTS[data-style="1-2-split"] .posts .b-column:not(:first-child) .content {overflow:hidden; padding-top:10px;}

	.POSTS[data-style="1-2-split"] .posts .b-column:first-child {float:left;}
	.POSTS[data-style="1-2-split"] .posts .b-column:first-child h4 {font-size:32px;}
}

@media screen and (max-width: 900px) {
	.POSTS .filter .content-types ul {flex-direction: column;}
	.POSTS .filter .content-types ul li:not(:last-child) {margin: 0 0 10px 0;}
	.POSTS .filter .b-columns {margin:-5px;}
	.POSTS .filter .b-columns > .b-column {padding:5px;}
	.POSTS .alm-reveal {margin:-10px -10px -20px -10px;}
	.POSTS .alm-item {width:100%; padding:10px 10px 20px 10px;}
	.POSTS .alm-reveal + .alm-reveal {padding-top:20px;}
	.POSTS .alm-load-more-btn {margin-top:30px;}
}
