/* Blog index
------------------------------------ */
body.blog:not(.pinedHeader) .site-nav,
body.single-post:not(.pinedHeader) .site-nav {
	background: transparent;
}

body.blog:not(.pinedHeader) .site-nav .logo,
body.single-post:not(.pinedHeader) .site-nav .logo {
	margin-top: 3rem;
}

body.blog:not(.pinedHeader) .site-nav::before,
body.blog:not(.pinedHeader) .site-nav::after,
body.single-post:not(.pinedHeader) .site-nav::before,
body.single-post:not(.pinedHeader) .site-nav::after {
	background: #fff;
	content: '';
	height: .1rem;
	position: absolute;
	bottom: 1.8rem;
	width: calc(50vw - 10.25rem);
}

body.blog:not(.pinedHeader) .site-nav::before,
body.single-post:not(.pinedHeader) .site-nav::before {
	left: 0;
}

body.blog:not(.pinedHeader) .site-nav::after,
body.single-post:not(.pinedHeader) .site-nav::after {
	right: 0;
}

body.blog.pinedHeader .site-nav,
body.single-post.pinedHeader .site-nav {
	background: rgba(91, 118, 106, 1);
}

.blog-hero {
	background: #5e465c;
	color: #fff;
	display: flex;
	align-items: center;
	min-height: 75vh;
	overflow: hidden;
	padding: 15rem 0 13rem;
	position: relative;
}

.blog-hero--image::after,
.blog-hero--video::after {
	background: rgba(31, 23, 30, 0.4);
	content: '';
	inset: 0;
	position: absolute;
	z-index: 1;
}

.blog-hero--image {
	background-position: center;
	background-size: cover;
}

.blog-hero__video {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.blog-hero--video .blog-hero__video {
	opacity: 0;
	transition: opacity .7s ease;
}

.blog-hero--video.blog-hero--video-ready .blog-hero__video {
	opacity: 1;
}

.blog-hero__video iframe {
	border: 0;
	height: 56.25vw;
	left: 50%;
	min-height: 100%;
	min-width: 177.78vh;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 177.78vh;
}

.blog-hero__video video {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.blog-hero__accent {
	background: #5b766a;
	bottom: 0;
	height: 2rem;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 3;
}

.blog-hero__accent::after {
	background: #5e465c;
	content: '';
	inset: 0;
	left: 50%;
	position: absolute;
	clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100%);
}

.blog-hero__inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 128rem;
	padding: 0 3rem;
	position: relative;
	text-align: left;
	width: 100%;
	z-index: 2;
}

body.single-post .blog-hero h1 {
	font-size: 6.5rem;
}

.blog-hero__eyebrow,
.blog-card__date,
.blog-card__read-more {
	font-family: var(--control-font);
	font-size: 1.4em;
	font-weight: 600;
	letter-spacing: .5px;
	line-height: 1.143em;
	text-transform: uppercase;
}

.blog-hero__eyebrow {
	margin: 0 0 2rem;
}

.blog-hero h1 {
	font-size: clamp(4.8rem, 7vw, 9rem);
	line-height: 1.05;
	margin: 0 0 2.5rem;
}

.blog-hero__intro {
	font-size: 1.8em;
	line-height: 1.55em;
	margin: 0;
	max-width: 56rem;
}

.blog-content {
	background: #e6e2dd;
	padding-bottom: 11rem;
	padding-top: 9rem;
}

.blog-content__inner {
	margin: 0 auto;
	max-width: 128rem;
	padding: 0 3rem;
}

.blog-post-content {
	color: #5e465c;
	margin: 0 auto;
}

.blog-post-content__date,
.blog-post-content__back {
	color: #836c69;
	display: block;
	font-family: var(--control-font);
	font-size: 1.4em;
	font-weight: 600;
	letter-spacing: .5px;
	line-height: 1.143em;
	margin-bottom: 3rem;
	text-transform: uppercase;
}

.blog-post-content__back {
	text-decoration: none;
}

.blog-post-content__back:hover {
	color: #5b766a;
}

.blog-post-content__body {
	font-size: 1.25em;
	line-height: 1.6em;
}

.blog-post-content__body h1,
.blog-post-content__body h2,
.blog-post-content__body h3,
.blog-post-content__body h4,
.blog-post-content__body h5,
.blog-post-content__body h6 {
	letter-spacing: normal;
	line-height: 1.3em;
}

.blog-post-content__body h1 {
	font-size: 2.8em;
}

.blog-post-content__body h2 {
	font-size: 2.2em;
}

.blog-post-content__body h3 {
	font-size: 1.8em;
}

.blog-post-content__body h4 {
	font-size: 1.5em;
}

.blog-post-content__body h5 {
	font-size: 1.25em;
}

.blog-post-content__body h6 {
	font-size: 1.1em;
}

.blog-post-content__body p:first-child {
	margin-top: 0;
}

.blog-post-content__body p {
	margin-bottom: 1.5em;
}

.blog-post-content__body img {
	height: auto;
	max-width: 100%;
}

.blog-post-content + .post-navigation {
	border-top: 1px solid #d1cbc4;
	margin-top: 8rem;
	padding-top: 4rem;
}

.blog-post-content + .post-navigation .nav-links {
	font-family: inherit;
	font-size: 1em;
	justify-content: space-between;
	margin-top: 0;
	text-transform: none;
}

.blog-post-content + .post-navigation .nav-previous,
.blog-post-content + .post-navigation .nav-next {
	max-width: 45%;
}

.blog-post-content + .post-navigation a {
	color: #5e465c;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.blog-post-content + .post-navigation .nav-subtitle {
	color: #836c69;
	font-family: var(--control-font);
	font-size: 1.4em;
	font-weight: 600;
	letter-spacing: .5px;
	line-height: 1.143em;
	text-transform: uppercase;
}

.blog-post-content + .post-navigation .nav-title {
	font-size: 1.8em;
	line-height: 1.3em;
}

.blog-post-content + .post-navigation .nav-next {
	text-align: right;
}

.blog-post-grid {
	display: block;
}

.blog-card {
	/* background: #fff; */
	border-bottom: 1px solid #d1cbc4;
	margin: 0 0 5rem;
	padding: 0 0 5rem;
}

.blog-card:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.blog-card__link {
	color: #5e465c;
	display: grid;
	gap: 5rem;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	align-items: center;
	height: 100%;
}

.blog-card__image {
	height: 30rem;
	margin: 0;
	overflow: hidden;
}

.blog-card__image img {
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
	width: 100%;
}

.blog-card__image--fallback {
	background: #836c69;
}

.blog-card__body {
	padding: 3rem 3rem 3rem 0;
}

.blog-card__date {
	color: #836c69;
	display: block;
	margin-bottom: 1.2rem;
}

.blog-card__title {
	font-size: 2.6em;
	line-height: 1.25em;
	margin: 0 0 1.5rem;
}

.blog-card__excerpt,
.blog-card__excerpt p {
	font-size: 1.25em;
	line-height: 1.6em;
	margin: 0;
}

.blog-card__read-more {
	background: rgb(149, 164, 175);
	color: #fff;
	display: inline-block;
	margin-top: 2.5rem;
	padding: 2.4rem 2.9rem 2.5rem;
	transition: background .27s linear, color .27s linear;
}

.blog-empty {
	font-size: 1.8em;
	grid-column: 1 / -1;
	margin: 0;
}

.nav-links {
	display: flex;
	font-family: var(--control-font);
	font-size: 1.4em;
	font-weight: 600;
	gap: 2rem;
	justify-content: flex-start;
	letter-spacing: .5px;
	margin-top: 8rem;
	text-transform: uppercase;
}

.nav-links a {
	color: #5e465c;
}

@media (hover: hover) {
.blog-card__link:hover {
		color: #5e465c;
	}

	.blog-card__link:hover .blog-card__date {
		color: #836c69;
	}

	.blog-card__link:hover .blog-card__read-more {
		background: #5b766a;
		color: #fff;
	}

	.blog-card__link:hover .blog-card__image img {
		transform: scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	.blog-hero--video .blog-hero__video {
		transition: none;
	}
}

@media only screen and (min-width: 0) and (max-width: 960px) {
	.blog-hero {
		padding: 11rem 0 8rem;
	}

	.blog-hero__inner {
		padding-left: 3rem;
		padding-right: 3rem;
	}

	.blog-hero h1 {
		font-size: 5rem;
	}

	body.single-post .blog-hero h1 {
		font-size: 5rem;
	}

	.blog-content {
		padding-bottom: 7rem;
		padding-top: 5.5rem;
	}

	.blog-content__inner {
		padding: 0 2rem;
	}

	.blog-post-grid {
		gap: 0;
	}
}

@media only screen and (min-width: 961px) {
	body.blog:not(.pinedHeader) .site-nav::before,
	body.blog:not(.pinedHeader) .site-nav::after,
	body.single-post:not(.pinedHeader) .site-nav::before,
	body.single-post:not(.pinedHeader) .site-nav::after {
		width: calc(50vw - 15.7rem);
	}
}

@media only screen and (min-width: 0) and (max-width: 600px) {
	.blog-card__link {
		gap: 0;
		grid-template-columns: 1fr;
	}

	.blog-card__image {
		height: 22rem;
	}

	.blog-card__body {
		padding: 2.5rem 2rem 3rem;
	}

	.nav-links {
		gap: 2rem;
		flex-wrap: wrap;
	}
}
