/* Cases page */
body:has(.bmp-cases-page) main#wp--skip-link--target {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body:has(.bmp-cases-page) .wp-block-post-content {
	max-width: none !important;
	margin-block-start: 0 !important;
}

.bmp-cases-page {
	margin: 0 !important;
	color: var(--bmp-ink);
	font-family: var(--wp--preset--font-family--inter, Inter, sans-serif);
}

.bmp-cases-page,
.bmp-cases-page * {
	box-sizing: border-box;
}

.bmp-cases-page > .wp-block-group {
	margin-block-start: 0;
}

.bmp-cases-page h1,
.bmp-cases-page h2,
.bmp-cases-page h3 {
	color: inherit;
	font-family: var(--wp--preset--font-family--inter, Inter, sans-serif);
	letter-spacing: -.04em;
}

.bmp-cases-hero {
	position: relative;
	padding: 88px 0 96px;
	overflow: hidden;
	background: var(--bmp-paper);
}

.bmp-cases-hero::before {
	content: "";
	position: absolute;
	top: -320px;
	right: -260px;
	width: 650px;
	height: 650px;
	border: 1px solid rgba(255, 123, 1, .28);
	border-radius: 50%;
	box-shadow: 0 0 0 92px rgba(255, 123, 1, .045), 0 0 0 184px rgba(255, 123, 1, .025);
	pointer-events: none;
}

.bmp-cases-hero-copy {
	position: relative;
	max-width: 890px;
}

.bmp-cases-hero h1 {
	max-width: 850px;
	margin: 0 0 26px;
	font-size: clamp(48px, 6vw, 78px);
	font-weight: 760;
	line-height: 1.06;
}

.bmp-cases-lead {
	max-width: 720px;
	margin: 0;
	color: #3e3b38;
	font-size: clamp(19px, 2vw, 22px);
	line-height: 1.58;
}

.bmp-cases-featured {
	padding: 100px 0;
	background: var(--bmp-white);
}

.bmp-cases-featured-grid {
	display: grid !important;
	grid-template-columns: .72fr 1.28fr;
	align-items: center !important;
	gap: clamp(52px, 8vw, 110px) !important;
}

.bmp-cases-featured-person {
	text-align: center;
}

.bmp-cases-featured-image {
	margin: 0 auto 18px;
}

.bmp-cases-featured-image img {
	width: min(100%, 390px);
	aspect-ratio: 1;
	display: block;
	margin: 0 auto;
	border: 9px solid rgba(255, 123, 1, .16);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--bmp-shadow);
}

.bmp-cases-person {
	margin: 0;
	color: var(--bmp-muted);
	font-size: 14px;
	line-height: 1.55;
}

.bmp-cases-person strong {
	color: var(--bmp-ink);
	font-size: 17px;
}

.bmp-cases-featured-copy h2 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(38px, 4.6vw, 60px);
	font-weight: 745;
	line-height: 1.08;
}

.bmp-cases-featured-copy > p:not(.bmp-eyebrow):not(.bmp-offer-link) {
	max-width: 710px;
	margin: 24px 0 0;
	color: var(--bmp-muted);
	font-size: 18px;
	line-height: 1.65;
}

.bmp-cases-featured-copy .bmp-offer-link {
	margin-top: 30px;
}

.bmp-cases-list {
	padding: 100px 0;
	background: var(--bmp-paper);
}

.bmp-cases-section-head {
	display: grid !important;
	grid-template-columns: .85fr 1.15fr;
	align-items: end !important;
	gap: 68px !important;
	margin-bottom: 46px;
}

.bmp-cases-section-head h2 {
	margin: 0;
	font-size: clamp(36px, 4.6vw, 58px);
	font-weight: 745;
	line-height: 1.08;
}

.bmp-cases-section-intro {
	margin: 0;
	color: var(--bmp-muted);
	font-size: 18px;
	line-height: 1.65;
}

.bmp-cases-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px !important;
}

.bmp-case-card {
	min-height: 450px;
	display: flex !important;
	flex-direction: column;
	padding: 34px;
	border: 1px solid var(--bmp-line);
	border-radius: var(--bmp-radius);
	background: var(--bmp-white);
	box-shadow: 0 15px 40px rgba(38, 30, 20, .055);
}

.bmp-case-card-top {
	display: flex !important;
	align-items: center;
	gap: 15px;
	margin-bottom: 30px;
}

.bmp-case-card-image {
	flex: 0 0 auto;
	margin: 0;
}

.bmp-case-card-image img {
	width: 68px;
	height: 68px;
	display: block;
	border: 4px solid rgba(255, 123, 1, .15);
	border-radius: 50%;
	object-fit: cover;
	background: var(--bmp-paper);
}

.bmp-case-card-person {
	margin: 0;
	color: var(--bmp-muted);
	font-size: 13px;
	line-height: 1.45;
}

.bmp-case-card-person strong {
	color: var(--bmp-ink);
	font-size: 16px;
}

.bmp-case-card-label {
	margin: 0 0 15px;
	color: var(--bmp-orange-dark);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.bmp-case-card h3 {
	margin: 0 0 18px;
	font-size: clamp(27px, 2.5vw, 36px);
	font-weight: 735;
	line-height: 1.12;
}

.bmp-case-card-copy {
	margin: 0;
	color: var(--bmp-muted);
	font-size: 16px;
	line-height: 1.65;
}

.bmp-case-card .bmp-offer-link {
	margin-top: auto;
	padding-top: 28px;
}

.bmp-cases-cta {
	padding: 94px 0;
	background: var(--bmp-white);
}

.bmp-cases-cta-inner {
	padding: 52px min(18vw, 200px) 52px 52px;
	border: 1px solid var(--bmp-line);
	border-radius: 24px;
	background: var(--bmp-paper);
	box-shadow: 0 18px 45px rgba(38, 30, 20, .07);
}

.bmp-cases-cta h2 {
	max-width: 820px;
	margin: 0;
	font-size: clamp(36px, 4.6vw, 58px);
	font-weight: 745;
	line-height: 1.08;
}

.bmp-cases-cta-copy {
	max-width: 700px;
	margin: 24px 0 0;
	color: var(--bmp-muted);
	font-size: 18px;
	line-height: 1.65;
}

.bmp-cases-page + .yoast-breadcrumbs {
	width: min(1160px, calc(100% - 48px));
	margin: 20px auto !important;
	color: var(--bmp-muted);
	font-size: 12px;
}

.editor-styles-wrapper .bmp-cases-page {
	max-width: none;
}

@media (max-width: 900px) {
	.bmp-cases-featured-grid,
	.bmp-cases-section-head {
		grid-template-columns: 1fr;
	}

	.bmp-cases-section-head {
		gap: 18px !important;
	}

	.bmp-cases-featured-person {
		text-align: left;
	}

	.bmp-cases-featured-image {
		margin-right: 0;
		margin-left: 0;
	}
}

@media (max-width: 720px) {
	.bmp-cases-hero {
		padding: 52px 0 72px;
	}

	.bmp-cases-hero h1 {
		font-size: 44px;
	}

	.bmp-cases-featured,
	.bmp-cases-list,
	.bmp-cases-cta {
		padding: 72px 0;
	}

	.bmp-cases-grid {
		grid-template-columns: 1fr;
	}

	.bmp-case-card {
		min-height: 0;
		padding: 28px;
	}

	.bmp-case-card .bmp-offer-link {
		margin-top: 28px;
		padding-top: 0;
	}

	.bmp-cases-cta-inner {
		padding: 34px 24px;
		border-radius: 18px;
	}

	.bmp-cases-page + .yoast-breadcrumbs {
		width: min(calc(100% - 30px), 1160px);
	}
}
