/**
 * Variant CSS: guarantee--badge-row
 *
 * A row of guarantee "badges" — intro (kicker + headline + one line), then a
 * wrapping flex row of promises (emoji icon in a round accent chip + short title
 * + one-line description). Light, scannable proof of trustworthiness without a
 * heavy layout. Text is --ink (polarity-aware); kicker, em and the icon chip use
 * --accent so they stay visible in every theme. Wraps to two-up then one-up on
 * smaller viewports. Part of the `guarantee` role.
 */

body.aibt-universal .universal-guarantee--badge-row {
	padding-block: calc(clamp(3.4rem, 7vw, 5.5rem) * var(--density, 1));
}

/* Intro. */
body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__intro {
	margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__kicker {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-widest) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 auto var(--space-sm) auto !important;
}

body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__headline {
	font-family: var(--font-display) !important;
	color: var(--ink) !important;
	margin: 0 auto !important;
}

body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__headline em {
	color: var(--accent) !important;
	font-style: italic;
}

body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__deck {
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--ink) !important;
	opacity: 0.78;
	margin: var(--space-sm) auto 0 auto !important;
}

/* Badge row — equal-width wrapping cells. */
body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__row {
	gap: clamp(1.4rem, 3vw, 2.2rem) !important;
	align-items: stretch !important;
}

body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__badge {
	flex: 1 1 200px !important;
	max-width: 260px;
	min-width: 0;
	gap: 0.85rem !important;
	align-items: center !important;
	text-align: center;
}

/* Round accent icon chip. */
body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__icon {
	flex: 0 0 auto !important;
	width: 3.4rem;
	height: 3.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto !important;
	font-size: 1.6rem !important;
	line-height: 1 !important;
	border-radius: var(--decor-radius-pill, 999px);
	background: color-mix(in srgb, var(--accent) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__badge-title {
	font-family: var(--font-display) !important;
	font-size: clamp(1.05rem, 2vw, 1.22rem) !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: var(--ink) !important;
	margin: 0 auto !important;
}

body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__badge-desc {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--ink) !important;
	opacity: 0.72;
	margin: 0 auto !important;
}

/* Two-up on tablet. */
@media (max-width: 781px) {
	body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__badge {
		flex: 1 1 40% !important;
		max-width: none;
	}
}

/* One-up on phone; kill tracking to avoid clipping (A5). */
@media (max-width: 480px) {
	body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__badge {
		flex: 1 1 100% !important;
	}
	body.aibt-universal .universal-guarantee--badge-row .universal-guarantee__kicker {
		letter-spacing: 0 !important;
	}
}
