/* Blog-home-only styles; shared category styles remain in css/pages/. */

.category a::before {
    content: none;
}

[class*=category-blog] .text-block {
	margin-block: 8rem 5rem;
}

[class*=category-blog] #wrapper {
    background-color: var(--white);
}

.blog_post_list_featured {
	padding: 4.2rem 1.8rem 0;
}
.blog_post_list_featured .posts_outer {
	padding: 0;
}
.blog_post_list_featured a {
	display: inline-block;
}
.blog_post_list_featured .post_last:hover h2,
.blog_post_list_featured .post_box:hover h2 {
	text-decoration: none;
}

.blog_post_list_featured article.post_box {
	border-radius: 1rem;
	position: relative;
}
.blog_post_list_featured article.post_box > a,
.blog_post_list_featured a.post_box {
	padding: 2.4rem 4rem 2.4rem 2.4rem;
	min-height: 11.6rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.blog_post_list_featured .post_box h2 {
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1.2em;
	color: var(--white);
}
.blog_post_list_featured .post_box h3 {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 1.2rem;
	line-height: 1em;
	letter-spacing: 0;
	margin: 0 0 0.8rem;
	color: var(--header);
}
.blog_post_list_featured .post_box i {
	position: absolute;
	right: 2.2rem;
	bottom: 3.3rem;
}
.blog_post_list_featured .post_box i img {
	width: 0.5rem;
	height: 0.8rem;
}

.blog_post_list_featured .post_last {
	background-color: var(--white);
	margin: 0 0 3.3rem;
}
.blog_post_list_featured .post_last a {
	padding: 35.5rem 0 0;
	position: relative;
	text-align: center;
	height: unset;
}
.blog_post_list_featured .post_last .img-box {
	height: 30rem;
	position: absolute;
	top: 4rem;
	left: -1.8rem;
	width: calc(100% + 3.6rem);
}
.blog_post_list_featured .post_last .img-box img {
	object-fit: contain;
}

.blog_post_list_featured .post_last .caption {
	display: inline-block;
	padding: .5rem 1rem;
	background-color: transparent;
	border: 1px solid currentColor;
	color: var(--red);
	border-radius: 2rem;
	margin: 0 1rem 1.7rem 0;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.2em;
	text-transform: uppercase;
}
.blog_post_list_featured .post_last h2 {
	color: var(--header);
	font-weight: 600;
	font-size: 2.4rem;
	line-height: 1.2em;
	margin: 0 0 3rem;
}
.blog_post_list_featured .post_last p {
	color: var(--paragraph);
	font-weight: 500;
	font-size: 1.6rem;
	line-height: 1.2em;
	margin: 0 0 1.9rem;
}
.blog_post_list_featured .post_last .date {
	display: block;
	margin: 0 0 1.7rem;
	color: var(--grey);
	font-weight: 500;
	font-size: 1.2rem;
	line-height: 1.2em;
}
.blog_post_list_featured .post_last .date i {
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.6rem;
}
.blog_post_list_featured .post_last .date i img {
	width: 1.3rem;
	height: 1.4rem;
}
.blog_post_list_featured .post_last .textlink {
	font-weight: 500;
	font-size: 1.2rem;
	line-height: 1.2em;
	color: var(--red);
}
.blog_post_list_featured .post_last .textlink i {
	display: inline-block;
	vertical-align: middle;
	margin-left: 0.4rem;
}
.blog_post_list_featured .post_last .textlink i img {
	width: 0.5rem;
	height: 0.8rem;
}

.blog_post_list_featured .posts_category_box > h3 {
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1.6rem;
	line-height: 1.5em;
	margin: 0 0 3rem;
}

.blog_post_list_featured .posts_category_box > h3.pill-flag {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: .5rem 2.5rem;
	border: 1px solid var(--red);
	border-radius: 5rem;
	color: var(--red);
	font-size: 1.2rem;
	line-height: 1.2em;
}
.blog_post_list_featured .posts_category_box .post_box {
	background-color: var(--white);
	border: 1px solid var(--grey);
	margin: 0 0 3rem;
	border-radius: 1rem;
}
.blog_post_list_featured .posts_category_box .post_box h2 {
	color: var(--header);
}
.blog_post_list_featured .posts_category_box .post_box h3 {
	margin: 0 0 0.6rem;
	color: var(--paragraph);
}

.blog_post_list_featured .post_box.lavender {
	background-color: var(--light-blue);
}
.blog_post_list_featured .post_box.lavender h2 {
	color: var(--header);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.blog_post_list_featured .post_box.grey {
	background-color: var(--header-2);
}

.blog_post_list_featured .post_box.blue {
	background: var(--red);
}

.blog_post_list_featured .post_box.violet {
	background-color: var(--paragraph);
}

.blog_post_list_featured .post_box_image {
	background-color: var(--medium-grey);
	overflow: hidden;
}
.blog_post_list_featured article.post_box_image a {
	padding-top: 16.6rem;
	padding-bottom: 1.5rem;
	position: relative;
}
.blog_post_list_featured .post_box_image .img-box {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 15rem;
}
.blog_post_list_featured .post_box_image h2,
.blog_post_list_featured .post_box_image h3 {
	color: var(--header);
}

@media only screen and (min-width: 768px) {

	.blog_post_list_featured {
		padding: 4rem 0 10rem;
	}

	.blog_post_list_featured .posts_outer {
		display: grid;
		grid-template-columns: repeat(9, 1fr);
		grid-column-gap: 4.2rem;
		grid-row-gap: 3.2rem;
		grid-auto-rows: auto;
	}
	.blog_post_list_featured .post_last {
		grid-area: 1 / 1 / 3 / 8;
	}
	.blog_post_list_featured .posts_category_box {
		grid-area: 1 / 8 / 3 / 13;
	}

	.blog_post_list_featured .post_box_cluster {
		grid-area: 4 / 1 / 8 / 13;
		display: flex;
		align-items: stretch;
        justify-content: space-between;
	}
	.blog_post_list_featured .post_box_cluster__tiles {
		display: flex;
		flex-wrap: wrap;
		align-content: space-between;
		gap: 3.5rem;
		width: 77.4rem;
	}
	.blog_post_list_featured .post_box.lavender {
		width: 41.2rem;
		height: 13.1rem;
		order: 1;
	}
	.blog_post_list_featured .post_box.grey {
		width: 32.7rem;
		height: 13.1rem;
		order: 2;
	}
	.blog_post_list_featured .post_box.violet {
		width: 32.7rem;
		height: 14.2rem;
		order: 3;
	}
	.blog_post_list_featured .post_box.blue {
		width: 41.2rem;
		height: 14.2rem;
		order: 4;
	}
	.blog_post_list_featured .post_box.post_box_image {
		flex: 0 0 38rem;
		width: 38rem;
	}

	.blog_post_list_featured .post_box_cluster__tiles .post_box {
		align-self: start;
	}

	.blog_post_list_featured .post_box_cluster .post_box > a {
		height: 100%;
		box-sizing: border-box;
	}
	.blog_post_list_featured article.post_box > a,
	.blog_post_list_featured a.post_box {
		padding: 3rem 5rem 5rem 3rem;
		height: 20.4rem;
	}
	.blog_post_list_featured .post_box,
	.blog_post_list_featured .post_last {
		transition: box-shadow 0.3s linear;
		margin-bottom: 0;
	}
	.blog_post_list_featured .post_last:hover,
	.blog_post_list_featured .post_box:hover {
		box-shadow: 0 .4rem 2.4rem 0 rgba(0, 0, 0, 0.1);
	}
	.blog_post_list_featured .post_box h2 {
		font-size: 2rem;
		max-width: 26rem;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;

		min-height: calc(1em * 1.2 * 3);
	}
	.blog_post_list_featured .post_box h3 {
		font-size: 1.4rem;
		margin: 0 0 2.5rem;
	}
	.blog_post_list_featured .post_box i {
		right: 2rem;
		bottom: 2rem;
	}
	.blog_post_list_featured .post_box i img {
		width: 0.9rem;
		height: 1.4rem;
	}

	.blog_post_list_featured .post_last {
		margin-bottom: 0;
		background-color: var(--light-grey);
		border-radius: 1rem;
		overflow: hidden;
	}
	.blog_post_list_featured .post_last .img-box {
		width: 100%;
		left: 0;
		height: 32rem;
		top: 0;
	}
	.blog_post_list_featured .post_last a {
		text-align: left;
		padding: 34.6rem 3rem 3.8rem;
	}
	.blog_post_list_featured .post_last .caption {
		margin: 0 1rem 1.7rem 0;
	}
	.blog_post_list_featured .post_last h2 {
		font-size: 3.2rem;
		margin: 0 0 0.8rem;
	}
	.blog_post_list_featured .post_last p {
		margin: 0 0 2.4rem;
	}
	.blog_post_list_featured .post_last .date {
		margin: 0;
	}
	.blog_post_list_featured .post_last .textlink {
		position: absolute;
		bottom: 3.8rem;
		right: 3rem;
	}

	.blog_post_list_featured .posts_category_box > h3 {
		margin: 0 0 2.9rem;
		text-align: left;
	}
	.blog_post_list_featured .posts_category_box .post_box {
		padding: 0 3.5rem;
		height: 15.3rem;
		margin: 0 0 3.2rem;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: center;
	}
	.blog_post_list_featured .posts_category_box .post_box:last-of-type {
		margin-bottom: 0;
	}
	.blog_post_list_featured .posts_category_box .post_box h2 {
		max-width: unset;
	}

	.blog_post_list_featured article.post_box_image a {
		padding: 23rem 3.5rem 3.5rem;
		height: 100%;
		justify-content: flex-start;
	}
	.blog_post_list_featured .post_box_image .img-box {
		height: 16rem;
		top: 4rem;
	}
	.blog_post_list_featured article.post_box_image h2 {
		max-width: 19rem;
		max-width: 21rem;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		min-height: calc(1em * 1.2 * 2);
	}
}
@media only screen and (min-width: 769px) and (max-width: 1440px) {
}
@media only screen and (min-width: 0) and (max-width: 769px) {
	.blog_post_list_featured .flag {
		white-space: inherit;
	}
	.blog_post_list_featured .post_title_latest {
		margin: 0 0 2rem;
	}
	.blog_post_list_featured .posts_category_box {
		margin: 4.9rem 0 1.9rem;
	}
	.blog_post_list_featured .posts_category_box .post_box {
		padding: 2.5rem 2.7rem 3.3rem 2.4rem;
	}
	.blog_post_list_featured .posts_category_box > h3:not(.pill-flag) {
		color: var(--header);
	}
	.blog_post_list_featured .post_box {
		margin: 0 0 3.3rem !important;
		justify-content: center !important;
	}
	.blog_post_list_featured .post_last .txt-box {
		text-align: left;
	}
	.blog_post_list_featured .post_last .caption {
		box-shadow: 0 0 2.4rem 0 rgba(0, 0, 0, 0.1);
	}
.blog-post-list article .category-button {
		padding: 0.4rem 1.4rem;
	}
}

.category-blog .blog-post-list .row { position: relative; }
.category-blog .paginationWP { left: 0; bottom: 0; opacity: 1; pointer-events: none; width: 100%; height: 25rem; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%); transition: all .5s; }
.category-blog .paginationWP .page-numbers { display: none; }

.blog_post_list_featured .flag {
	font-weight: 800 !important;
	font-size: 1.2rem !important;
	line-height: 1em !important;
	color: var(--red) !important;
	padding: 0.5rem 2rem 0.5rem 1rem;
	position: relative;
	width: fit-content;
	height: 2.2rem;
	border: 1px solid var(--red);
	border-right: unset;
	white-space: nowrap;
}
.blog_post_list_featured .flag::after {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	right: 0;
	border-width: 1.1rem;
	border-style: solid;
	border-color: transparent var(--red) transparent transparent;
}
.blog_post_list_featured .flag::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0, -50%);
	border-width: 1rem;
	border-style: solid;
	border-color: transparent var(--white) transparent transparent;
	z-index: 1;
}
