/* Blog post hero (patterns/blog-post-hero.php). Values from the old
 * components/features/insights/insight-hero-section.tsx. */
.sp-blog-post-hero.sp-blog-post-hero {
	margin-top: 120px;
	margin-bottom: 40px;
}
@media (min-width: 1024px) {
	.sp-blog-post-hero.sp-blog-post-hero {
		margin-top: 160px;
		margin-bottom: 64px;
		padding-inline: 50px;
	}
}
.sp-blog-post-hero .sp-blog-post-hero__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 40px;
	text-align: center;
}
@media (min-width: 1024px) {
	.sp-blog-post-hero .sp-blog-post-hero__head { margin-bottom: 64px; }
}
.sp-blog-post-hero .sp-blog-post-hero__date.sp-blog-post-hero__date {
	margin-bottom: 16px;
	font-size: var(--wp--preset--font-size--label);
	line-height: 19.5px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.5;
}
.sp-blog-post-hero .sp-blog-post-hero__title.sp-blog-post-hero__title {
	max-width: 1000px;
	margin-bottom: 16px;
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.025em;
}
.sp-blog-post-hero .sp-blog-post-hero__author {
	display: flex;
	align-items: center;
	gap: 8px;
}
.sp-blog-post-hero .sp-blog-post-hero__author::after {
	content: ""; /* the old empty author-name span, which still takes a gap */
}
.sp-blog-post-hero .sp-blog-post-hero__mark {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	border-radius: 9999px;
	background: var(--wp--preset--color--black);
}
.sp-blog-post-hero .sp-blog-post-hero__mark img {
	width: auto;
	height: 14px;
	margin-left: 2px;
}
.sp-blog-post-hero .sp-blog-post-hero__image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin: 0;
}
.sp-blog-post-hero .sp-blog-post-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Block-level, as the old span: same box as the reference, not just the same text position. */
.sp-blog-post-hero__date time { display: block; }
