/* Case study hero (patterns/case-study-hero.php). Values from the old case-study-hero-section.tsx and section-title.tsx. */
.sp-case-study-hero.sp-case-study-hero {
	margin-top: 120px;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--wp--preset--color--grey-light);
}
@media (min-width: 1024px) {
	.sp-case-study-hero.sp-case-study-hero {
		margin-top: 160px;
		margin-bottom: 64px;
		padding-inline: 50px;
		padding-bottom: 64px;
	}
}
.sp-case-study-hero .sp-case-study-hero__top.sp-case-study-hero__top {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 2px solid var(--wp--preset--color--grey-light);
}
@media (min-width: 1024px) {
	.sp-case-study-hero .sp-case-study-hero__top.sp-case-study-hero__top {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}
@media (min-width: 1280px) {
	.sp-case-study-hero .sp-case-study-hero__top.sp-case-study-hero__top { gap: 64px; }
}
.sp-case-study-hero .sp-case-study-hero__heading {
	max-width: 1000px;
	text-align: left;
}
.sp-case-study-hero .sp-case-study-hero__label.sp-case-study-hero__label {
	margin-bottom: 20px;
	font-size: var(--wp--preset--font-size--label);
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.6;
}
.sp-case-study-hero .sp-case-study-hero__title {
	font-size: clamp(2rem, 4.5vw, 4rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.025em;
}
.sp-case-study-hero .sp-case-study-hero__scroll {
	flex-shrink: 0;
	font-size: var(--wp--preset--font-size--label);
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.sp-case-study-hero .sp-case-study-hero__scroll a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	opacity: 0.5;
	transition: opacity 0.2s;
}
.sp-case-study-hero .sp-case-study-hero__scroll a:hover { opacity: 0.6; }
.sp-case-study-hero .sp-case-study-hero__image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
}
@media (min-width: 1024px) {
	.sp-case-study-hero .sp-case-study-hero__image { aspect-ratio: 2 / 1; }
}
.sp-case-study-hero .sp-case-study-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
