.b-posts {
	padding-top: 79px;
}

/* Categories */
.b-posts .categories {
	gap: 16px;
	margin-bottom: 46px;
}
.b-posts .categories li {
	padding: 17px 46px;
	border-radius: 32px;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}
.b-posts .categories li:before {
	display: block;
	height: 0;
	font-weight: 800;
	overflow: hidden;
	visibility: hidden;
	content: attr(data-category);
}
.b-posts .categories li:hover {
	border-width: 3px;
	padding: 16px 45px;
	font-weight: 700;
}
.b-posts .categories li.active {
	background-color: var(--color-primary);
	color: #fff;
	padding: 17px 46px;
}
.b-posts .categories li {
	cursor: pointer;
}

/* Posts */
.b-posts .slider__post {
	display: block;
	margin-bottom: 47px;
}
.b-posts .post-image {
	border-radius: 16px;
	overflow: hidden;
	height: 390px;
	margin-bottom: 21px;
}
.b-posts .info {
	margin-top: 14px;
}
.b-posts .location img {
	margin-right: 10px;
	width: 24px;
	height: 17px;
	border-radius: 4px;
}
.b-posts .location:not(:last-child) {
	padding-right: 26px;
	border-right: 1px solid var(--color-border);
	margin-right: 22px;
}
.b-posts .description .name {
	margin-right: 8px;
}

.b-posts .slider__post.js-project {
	cursor: pointer;
}

@media (max-width: 767px) {
	.b-hero + .b-posts,
	.hero-text + .b-posts {
		padding-top: 8px;
	}
	.b-posts {
		background: var(--color-medium);
	}
	.b-posts .h2 {
		margin-bottom: 16px;
	}
	.b-posts .h5 {
		font-size: 16px;
		line-height: 22px;
		max-width: unset;
		letter-spacing: 0;
	}
	.posts-row {
		margin-left: -4px;
		margin-right: -4px;
	}
	.posts-row > .col-6 {
		padding-left: 4px;
		padding-right: 4px;
	}

	/* Categories */
	.b-posts .categories {
		margin-top: 24px;
		margin-bottom: 22px;
		border-radius: 4px;
		overflow: hidden;
		background: var(--color-light);
		gap: 0;
	}
	.b-posts .categories li {
		border-radius: unset;
		background: var(--color-light);
		width: 100%;
		display: none;
		padding: 16px 24px;
		border: none;
		color: var(--color-default);
		text-transform: none;
		letter-spacing: 0;
    	font-weight: 400;
	}
	.b-posts .categories li:hover,
	.b-posts .categories li.active {
		padding: 16px 24px;
	}
	.b-posts .categories.open-cat li {
		display: block;
	}
	.b-posts .categories li.active {
		display: block;
		order: -1;
		background: var(--color-light);
		position: relative;
		color: var(--color-default);
	}
	.b-posts .categories li.active:before {
		content: "";
		position: absolute;
		top: 24px;
		right: 23px;
		background: url(../../assets/img/toggle-icon.svg) no-repeat center center;
		width: 15px;
		height: 8px;
		visibility: visible;
	}

	.b-posts .slider__post {
		margin-bottom: 23px;
	}
	.b-posts .post-image {
		height: 210px;
		margin-bottom: 17px;
	}
	.slider__post > p {
		font-size: 16px;
		line-height: 22px;
		letter-spacing: -0.48px;
	}
	.b-posts .info {
		margin-top: 11px;
	}
	.b-posts .location:not(:last-child) {
		padding-right: 0;
        margin-right: 0;
        width: 100%;
        border: none;
        margin-bottom: 9px;
	}
	.b-posts .location img {
		margin-right: 12px;
	}
	.b-posts .col-12 {
		padding: 0;
	}
	.b-posts .btn {
		width: 100%;
	}
}