/*
 * Section-level layout ported from the reference (cards, rows, the
 * promise-over-robot overlay). Used by the page patterns.
 */

/* --- native Columns tuned to the reference grid --- */
/* Brand behaviour: columns stack below the reference lg breakpoint (992px),
   not WP's default 782px — applies to every Columns block on the site. */
@media (max-width: 991.98px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) {
		flex-wrap: wrap !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* equal-height card rows: the column becomes a flex column so a card
   inside can grow to the row height (reference .d-flex .flex-fill) */
.wp-block-columns > .wp-block-column {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* --- section rhythm (reference .container.content.py-5) --- */
.seal-section {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/* --- promise headline absolutely over the robot (reference "robot chaser") --- */
.seal-section.robot-section {
	padding-top: 0;
	position: relative;
}

.seal-section.robot-section .promise {
	position: absolute;
	z-index: 3;
	width: 100%;
	margin-top: 3rem; /* reference .mt-5 on .row.promise */
}

.seal-section.robot-section .promise > * {
	max-width: 50%; /* reference .col-11 .col-sm-6 */
}

@media (max-width: 575.98px) {
	.seal-section.robot-section .promise > * {
		max-width: 91.66%;
	}
}

/* founder cards — names use the H2 scale with black ink (reference .text-h2.highlight) */
.wp-block-seal-card .founder-name {
	font-size: var(--wp--preset--font-size--xl);
	line-height: 1.3;
	letter-spacing: -0.01em;
	font-weight: 400;
	color: var(--black);
	margin-bottom: 1rem;
}

/* legal/privacy prose sections (reference section.mb-5) */
.legal-section {
	margin-bottom: 3rem;
}
