/* Blog detail. Listing chrome comes from insights.css. */

body.blog-page .site-main--blog {
	padding-block: 0;
}

.blog-hero {
	position: relative;
	width: calc(100% - (var(--hero-inset) * 2));
	margin-top: calc(var(--header-height) * -1);
	margin-inline: auto;
	min-height: 30.75rem;
	overflow: hidden;
	border-radius: 1.5rem;
	color: #f5f5f5;
	background: #011325;
}

.blog-hero__media {
	position: absolute;
	inset: 0;
}

.blog-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.blog-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgb(1 19 37 / 0.62) 0, rgb(1 19 37 / 0) 8.5rem),
		linear-gradient(90deg, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.28) 62%);
}

.blog-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	min-height: 30.75rem;
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 3.25rem;
}

.blog-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 1.5rem;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15125rem;
	line-height: 1.375;
	text-decoration: none;
	text-transform: uppercase;
}

.blog-hero__back img {
	width: 1rem;
	height: 1rem;
	transform: rotate(225deg);
}

.blog-hero__kicker {
	margin-bottom: 0.95rem;
	color: #0fdf84;
}

.blog-hero__kicker .section-kicker__rule {
	width: 30px;
	background: #0fdf84;
}

.blog-hero__title {
	max-width: 52rem;
	margin: 0 0 1.15rem;
	color: #f5f5f5;
	font-family: var(--font-display);
	font-size: clamp(2.15rem, 4vw, 3.5rem);
	font-weight: 600;
	line-height: 1.12;
}

.blog-hero__date {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	color: rgb(255 255 255 / 0.9);
	font-size: 0.875rem;
	font-weight: 500;
}

.blog-hero__date img {
	filter: brightness(0) invert(1);
}

.blog-article {
	padding: 4.5rem 0 1rem;
	color: #1c1b1b;
}

.blog-article__inner {
	max-width: 52rem;
	margin-inline: auto;
}

.blog-article__lede {
	margin: 0 0 2rem;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 500;
	line-height: 1.45;
}

.blog-article__content h2,
.blog-article__content h3 {
	margin: 2rem 0 0.75rem;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.3;
}

.blog-article__content h2 {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.blog-article__content h3 {
	font-size: 1.25rem;
}

.blog-article__content p,
.blog-article__content li {
	color: #4b4b4b;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.blog-article__content p {
	margin: 0 0 1.1rem;
}

.blog-article__content ul,
.blog-article__content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

.blog-article__content li + li {
	margin-top: 0.45rem;
}

.blog-article__content a {
	color: #0d8651;
}

.blog-article__content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
	border-radius: 0.9rem;
}

.blog-related {
	padding: 2.5rem 0 5rem;
}

.blog-related__title {
	margin: 0 0 1.75rem;
	color: #1c1b1b;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 600;
	line-height: 1.2;
}

body.blog-page .blog-related .insights-grid {
	grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
	body.blog-page .blog-related .insights-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	body.blog-page .blog-related .insights-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 40rem) {
	.blog-hero,
	.blog-hero__inner {
		min-height: 22rem;
	}

	.blog-hero__inner {
		padding-top: calc(var(--header-height) + 1.25rem);
		padding-bottom: 1.75rem;
	}

	.blog-hero__title {
		font-size: clamp(1.7rem, 7.2vw, 2.1rem);
	}

	.blog-hero__back {
		letter-spacing: 0.08rem;
	}

	.blog-article {
		padding-top: 2.25rem;
	}

	.blog-article__lede {
		font-size: 1.125rem;
	}

	.blog-article__content p,
	.blog-article__content li {
		font-size: 1rem;
	}

	.blog-related {
		padding-bottom: 3.5rem;
	}
}
