/* ---------------------------------------- 
 *
 * 	Pages / Posts Link layouts
 *
 * ---------------------------------------- */
 .manifesto-pages {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}
.manifesto-pages.chapters {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-bottom: 30px;
}

.manifesto-post {
	background-color: var(--brand-green);
	color: var(--brand-white);
	min-height: 220px;
	overflow: hidden;
	padding: 30px;
	position: relative;
	border-radius: 5px;
}
.manifesto-post:hover {
	color: var(--brand-white);
}
.manifesto-post:hover .image img {
	transform: scale(1.1);
}
.manifesto-post:hover .content .link .link-arrow {
	right: -10px;
}
.manifesto-post .number {
	background-color: var(--brand-green);
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-white);
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	height: 100%;
	position: relative;
	z-index: 1;
	display: none;
}
.manifesto-post .image {
	background-color: var(--brand-green);
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}
.manifesto-post .image img {
	filter: grayscale(1);
	height: 100%;
	mix-blend-mode: multiply;
	object-fit: cover;
	object-position: center;
	opacity: 0.4;
	transition: .25s ease-in-out;
	transform: scale(1);
	width: 100%;
}
.manifesto-post .content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	position: relative;
	z-index: 1;
}
.manifesto-post .content .top {
	flex: 1;
}
.manifesto-post .content .post-title {
	font-size: 22px;
	font-style: normal;
	font-weight: 800;
	line-height: 30px; /* 136.364% */
	margin-bottom: 15px;
}
.manifesto-post .content .post-excerpt {
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin-bottom: 30px;
}
.manifesto-post .content .link {
	align-items: center;
	display: flex;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	justify-content: space-between;
	line-height: 20px; /* 142.857% */
	margin-top: 10px;
	text-transform: uppercase;
}
.manifesto-post .content .link .link-arrow {
	font-size: 32px;
	font-style: normal;
	font-weight: 900;
	line-height: 30px; /* 93.75% */
	position: relative;
	right: 0;
	transition: .25s ease-in-out;
}



/* Search Post Styles */
.manifesto-pages.chapters.search {
	gap: 30px;
}
.manifesto-post.search {
	background-color: var(--brand-white);
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	padding: 0;
	position: relative;
	z-index: 1;
}
.manifesto-post.search .top {
	background-color: var(--brand-green);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	color: var(--brand-white);
	padding: 15px 20px 25px;
}
.manifesto-post.search .top .chapter-number {
	color: #398B65;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 20px; /* 142.857% */
	text-transform: uppercase;
}
.manifesto-post.search .top .chapter-name {
	color: var(--brand-white);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 20px; /* 142.857% */
	text-transform: uppercase;
}

.manifesto-post.search .bottom {
	background-color: var(--brand-white);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	color: var(--brand-black);
	height: 100%;
	padding: 15px 20px;
}
.manifesto-post.search .bottom .content {
	height: 100%;
}
.manifesto-post.search .bottom .content .post-title {
	font-size: 18px;
	font-style: normal;
	font-weight: 800;
	margin-bottom: 15px;
	line-height: 1.4; /* 136.364% */
}
.manifesto-post.search .bottom .content .link {
	color: var(--brand-green);
	margin-top: 0;
	justify-content: flex-end;
}



/* 
 *
 *	MOBILE
 *
 */
@media screen and (max-width: 768px) {

	.manifesto-pages,
	.manifesto-pages.chapters {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		margin-bottom: 30px;
	}
	.manifesto-pages:not(.chapters) {
		margin-bottom: 60px !important;
	}

	.manifesto-post {
		min-height: auto;
		padding: 0;
		display: flex;
	}
	.manifesto-post .number {
		display: flex;
	}
	.manifesto-post .content {
		flex-direction: row;
		align-items: center;
		padding: 15px 20px;
		column-gap: 25px;
		width: 100%;
	}
	.manifesto-post.search .bottom .content {
		padding: 10px 0 12px;
	}
	.manifesto-post .content .post-excerpt {
		display: none;
	}
	.manifesto-post .content .post-title {
		margin-bottom: 0 !important;
		font-size: 1rem !important;
		line-height: 1.3 !important;
	}
	.manifesto-post .content .bottom .link {
		font-size: 0;
		margin-top: 0;
	}
	
}
