/* Centered Text Block — Figma 2011-462 */

.centered-text {
	background: #f5f5f5;
	padding-top:    var( --ct-pt, 7rem );
	padding-bottom: var( --ct-pb, 7rem );
	margin-top:     var( --ct-mt, 0rem );
	margin-bottom:  var( --ct-mb, 0rem );
}

.centered-text__inner {
	max-width: 56rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	/* SITE-WIDE SPACING STANDARD (desktop + mobile): eyebrow -> heading = 0.75rem
	   (via .centered-text__titles); heading -> body and body -> body = 1rem each
	   (via the margin rules below). Inner gap stays 0 so those margins are the
	   single source of vertical rhythm -- no double-counting on mobile. */
	gap: 0;
}

.centered-text__titles { display: flex; flex-direction: column; gap: 0.75rem; } /* 12px eyebrow->heading */
.centered-text__titles + .centered-text__body { margin-top: 1rem; } /* 16px heading->body: even rhythm, was 0 */
.centered-text__body + .centered-text__body { margin-top: 1rem; }

.centered-text__eyebrow {
	font-family: 'Jost', system-ui, sans-serif;
	font-size: 1rem; font-weight: 500; letter-spacing: 0.25rem;
	text-transform: uppercase; line-height: 1.35; color: rgba( 0, 13, 38, 0.7 ); margin: 0;
}
.centered-text__heading {
	font-family: 'Quincy', Georgia, serif;
	font-size: clamp( 2.5rem, 5vw, 3.5rem );   /* 40 → 64px */
	font-weight: 400; line-height: clamp( 2.875rem, 5.75vw, 4.025rem ); color: #000d26; margin: 0;
}
.centered-text__body {
	font-family: 'Source Sans 3', system-ui, sans-serif;
	font-size: 1.125rem; line-height: 1.35; color: #000d26; margin: 0;
	max-width: 44rem;       /* 707px */
}

@media (max-width: 600px) {
	.centered-text {
		padding-top:    var( --ct-pt-m, var( --ct-pt, 3.5rem ) );
		padding-bottom: var( --ct-pb-m, var( --ct-pb, 3.5rem ) );
		margin-top:     var( --ct-mt-m, var( --ct-mt, 0rem ) );
		margin-bottom:  var( --ct-mb-m, var( --ct-mb, 0rem ) );
	}
	.centered-text__inner { padding: 0 1rem; } /* gap stays 0; the 1rem margins drive rhythm on mobile too */
}
