/***************************************
 * Post Grid
 ***************************************/

/***************************************
 * Global Posts
 ***************************************/
.page-title {
	text-align: center;
	margin-bottom: 2em;
}

.post-meta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.post-meta a.lf-btn {
	margin-left: auto;
	margin-top: 2em;
	padding: 0;
	border: none;
	font-size: 20px;
}

.latest-posts, .posts-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: 2em;
}

.latest-posts .post, .posts-container .post-info {
	border-radius: 5px;
	box-shadow: var(--lfShadow);
	display: grid;
	overflow: hidden;
	z-index: 1;
}

.latest-posts .post .post-meta, .posts-container .post-info .post-meta {
	padding: 2em;
	background: #fff;
}

@media only screen and (min-width: 768px) {
	/* Featured First Post */
	.posts-container .post-info:nth-of-type(1) {
		grid-column: 1/-1;
		grid-template-columns: 1fr 1fr;
		gap: 2em;
		box-shadow: none;
		border-radius: 0px;
		overflow: visible;
	}
	
	.posts-container .post-info:nth-of-type(1) img {
		height: 100%;
		border-radius: 10px;
		box-shadow: var(--lfShadow);
	}
	
	.posts-container .post-info:nth-of-type(1) .post-meta a.lf-btn {
		margin-right: auto;
		margin-left: 0;
		margin-top: 2em;
		background-color: var(--lfRed);
		color: #fff;
		padding: .25rem 2rem;
		border: none;
		font-size: 16px;
	}
}

.latest-posts .post .post-meta .category, .posts-container .post-info .post-meta .category {
	font-weight: 700;
	font-size: 20px;
}

.latest-posts .post .post-meta .category.sales, .posts-container .post-info .post-meta .category.sales {
	color: #d502fd;
}

.latest-posts .post .post-meta .category.marketing, .posts-container .post-info .post-meta .category.marketing, .latest-posts .post .post-meta .category.industry-news, .posts-container .post-info .post-meta .category.industry-news {
	color: var(--primary);
}

.latest-posts .post .post-meta .category.account-management, .posts-container .post-info .post-meta .category.account-management, .latest-posts .post .post-meta .category.company-news, .posts-container .post-info .post-meta .category.company-news {
	color: var(--lfPurple);
}

.latest-posts .post img, .posts-container .post-info img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

/***************************************
 * Latest Posts Grid
 ***************************************/

/* Featured Post */
.latest-post {
	grid-column: 1/-1;
	display: flex;
	margin-bottom: 2em;
}

.latest-post img {
	flex: 0 1 60%;
	max-width: 60%;
	max-height: 500px;
	object-fit: cover;
	margin-right: 2em;
	border-radius: 5px;
	box-shadow: var(--lfShadow);
}

@media only screen and (max-width: 980px) {
	.latest-post {
		flex-wrap: wrap;
	}
	
	.latest-post img {
		max-width: 100%;
		margin-bottom: 2em;
	}
}

.latest-post .post-meta {
	justify-content: center;
}

.latest-post .post-meta a.lf-btn {
	padding: .25rem 2rem;
	margin-left: 0;
	margin-right: auto;
	margin-top: 1em;
	background: var(--primary);
	color: #fff;
	font-size: 16px;
}

/* Grid */
.latest-posts .post .post-meta h2 {
	font-size: min(24px, 8.5vw) !important;
}
