/*
 * Client success story hero (pages under /client-success-story/, parent page 763).
 * Added November 24, 2026: centered white box, navy heading, no backer shape.
 * Loaded only on those pages (functions.php, "Client success story hero").
 * Logo sizes are set per page on the image block (class dpc-story-logo):
 * each logo is a trimmed copy sized to about the same visual area.
 */
.parent-pageid-763 .dpc-hero .wp-block-cover__inner-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: none;
}
.parent-pageid-763 .dpc-hero .dpc-hero-card {
	background: #fff !important;
	width: 100%;
	max-width: 720px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 40px 48px 44px !important;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 33, 68, .18) !important;
	text-align: center;
}
/* No backer shape behind the box. */
.parent-pageid-763 .dpc-hero .dpc-hero-card::before,
.parent-pageid-763 .dpc-hero .dpc-hero-card::after {
	content: none !important;
	display: none !important;
}
.parent-pageid-763 .dpc-hero .dpc-hero-card h1 {
	color: #003a63 !important;
	text-align: center;
	margin: 0 !important;
	font-size: clamp(28px, 3.4vw, 42px) !important;
	line-height: 1.15 !important;
}
.parent-pageid-763 .dpc-hero .dpc-hero-card figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: none;
	min-height: 112px;
	margin: 0 auto 24px !important;
}
.parent-pageid-763 .dpc-hero .dpc-hero-card figure img {
	object-fit: contain;
	max-width: 100%;
	box-shadow: none !important;
	border-radius: 0 !important;
}

@media (max-width: 600px) {
	.parent-pageid-763 .dpc-hero .dpc-hero-card {
		padding: 28px 22px 30px !important;
	}
	.parent-pageid-763 .dpc-hero .dpc-hero-card h1 {
		font-size: 24px !important;
		line-height: 1.2 !important;
	}
	/* Logos at three-quarter size on phones, keeping each logo's proportions. */
	.parent-pageid-763 .dpc-hero .dpc-hero-card figure {
		zoom: .75;
		margin-bottom: 24px !important;
	}
}

/*
 * Grey callouts in the story body (November 24, 2026): the lightest brand grey
 * (Surface, #f4f7fa) instead of Silver, with rounded corners. Covers paragraphs
 * set to the Silver background and the Q&A boxes whose background was set to #e4e9ed.
 */
.parent-pageid-763 .wp-block-post-content .has-silver-background-color.has-background,
.parent-pageid-763 .wp-block-post-content .wp-block-columns.has-background[style*="#e4e9ed"] {
	background-color: var(--wp--preset--color--surface, #f4f7fa) !important;
	border-radius: 16px;
}
