.posts {
	display: flex;
	column-gap: 20px;
	align-items: flex-start;
	margin-top: 40px;
	flex-wrap: wrap;
	row-gap: 40px;
}

.posts .post {
	flex: 0 0 calc(25% - 15px);
	text-align: left;
}

.posts .post .image {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	padding-bottom: 100%;
	margin-bottom: 20px;
}

.posts .post img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}

.posts .post h4 {
	margin-top: 0;
	margin-bottom: 10px;
	font-weight: 500;
	font-size: 18px;
}

.posts .post .permalink {
	color: var(--2);
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
}

@media screen and (max-width: 1024px) {
	.posts {
		flex-wrap: wrap;
		row-gap: 20px;
	}
	
	.posts .post {
		flex: 0 0 100%;
	}
}