/**
 * Variant CSS: testimonials--duo-stacked-rows-hairline
 * Layer 2 — Path B testimonials role (2026-06-10).
 * Two FULL-WIDTH quote rows stacked one above the other, separated by a single
 * hairline rule — no columns, no cards, no portraits. Each row is a calm block:
 * stars, an editorial-scale quote, and an inline "name · role" signature. A
 * magazine-like rhythm of two voices read top-to-bottom, carried by typography
 * and the whitespace between rows. Distinct from two-column-quotes (dense 2-col,
 * 2 quotes each) and from avatar-left-duo-stack (portrait-left flex rows): here
 * there is no portrait and no side-by-side — the hairline + air do the work.
 * Reflows naturally to a single column on mobile.
 * Every selector scoped to .universal-testimonials--duo-stacked-rows-hairline (no global leak).
 */

body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline {
	background: var(--background);
	color: var(--text-primary);
}

/* ---- intro (centered → auto horizontal margins, A8) ------------------- */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__intro {
	text-align: center;
	margin: 0 auto var(--space-8, 64px) auto;
}
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__kicker {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-widest, 0.16em) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 auto var(--space-3, 12px) auto !important;
}
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__headline {
	font-family: var(--font-display) !important;
	color: var(--text-primary) !important;
	margin: 0 auto !important;
}

/* ---- rows: two stacked blocks; hairline divider between them --------- */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__rows {
	display: flex;
	flex-direction: column;
}
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__row {
	padding: var(--space-7, 48px) 0;
}
/* Single hairline BETWEEN the two rows (not above the first / below the last). */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__row + .universal-testimonials__row {
	border-top: 1px solid var(--divider-primary);
}
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__row:first-child {
	padding-top: 0;
}
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__row:last-child {
	padding-bottom: 0;
}
/* Keyboard-reachable focus ring (binding fields are focusable in the editor). */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__row:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 8px;
}

/* ---- star motif (static, not a fabricated metric) ------------------- */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__stars {
	font-size: var(--text-base) !important;
	line-height: 1 !important;
	letter-spacing: 0.12em !important;
	color: var(--accent) !important;
	margin: 0 0 var(--space-4, 16px) 0 !important;
}

/* ---- quote: editorial display scale (the row carries one strong voice) - */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__quote {
	font-family: var(--font-display) !important;
	font-size: clamp(1.3rem, 2.4vw, 1.75rem) !important;
	line-height: var(--leading-snug, 1.4) !important;
	letter-spacing: -0.015em !important;
	color: var(--text-primary) !important;
	margin: 0 0 var(--space-5, 24px) 0 !important;
	max-width: 42ch;
}

/* ---- author: inline name · role, separated by a middot ---------------- */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__authormeta {
	gap: var(--space-2, 8px) !important;
	align-items: baseline !important;
}
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__name {
	font-family: var(--font-display) !important;
	font-size: var(--text-md) !important;
	font-weight: 600 !important;
	color: var(--text-primary) !important;
	margin: 0 !important;
	line-height: 1.3 !important;
}
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__authorrole {
	position: relative;
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	/* --text-secondary clears AA 4.5:1 on the section bg across themes */
	color: var(--text-secondary) !important;
	margin: 0 !important;
	padding-left: var(--space-4, 16px);
	line-height: 1.3 !important;
}
/* Decorative middot between name and role (hidden when wrapped on mobile). */
body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__authorrole::before {
	content: "·";
	position: absolute;
	left: var(--space-2, 8px);
	color: var(--accent);
}

/* ---- tablet (641-959): trim vertical padding between rows ------------ */
@media (max-width: 959px) {
	body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__row {
		padding: var(--space-6, 32px) 0;
	}
}

/* ---- mobile (≤640): cap kicker tracking (A5); stack name over role --- */
@media (max-width: 640px) {
	body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__kicker {
		letter-spacing: 0 !important; /* A5: avoid uppercase line-break artifacts */
	}
	/* On a narrow column let role drop under name; drop the inline middot. */
	body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__authormeta {
		gap: 2px !important;
	}
	body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__authorrole {
		padding-left: 0;
	}
	body.aibt-universal .universal-testimonials--duo-stacked-rows-hairline .universal-testimonials__authorrole::before {
		content: none;
	}
}
