/**
 * Variant CSS: testimonials--duo-pullmark-stacked
 * Layer 2 — Path B testimonials role (2026-06-10).
 * Two quotes STACKED vertically, each OPENED by an oversized decorative
 * quote-mark glyph sitting in a LEFT RAIL — like a drop-cap initial the quote
 * starts from. To the right of the rail: stars, quote, signature. The vertical
 * layout with the glyph as a left accent distinguishes it from
 * big-marks-duo-columns (two giant glyphs standing SIDE BY SIDE in equal
 * columns): here the glyphs are one above the other and act as a guiding rail
 * pulling the eye down. A strong, type-led rhythm of two voices, no card chrome.
 * On mobile the glyph shrinks and sits above its quote. Scales to one column.
 * Every selector scoped to .universal-testimonials--duo-pullmark-stacked (no global leak).
 */

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

/* ---- intro (centered → auto horizontal margins, A8) ------------------- */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__intro {
	text-align: center;
	margin: 0 auto var(--space-8, 64px) auto;
}
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .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-pullmark-stacked .universal-testimonials__headline {
	font-family: var(--font-display) !important;
	color: var(--text-primary) !important;
	margin: 0 auto !important;
}

/* ---- stack: two entries, hairline + air between them ----------------- */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__stack {
	display: flex;
	flex-direction: column;
}
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entry {
	gap: var(--space-5, 24px) !important;
	align-items: flex-start !important;
	padding: var(--space-7, 48px) 0;
}
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entry + .universal-testimonials__entry {
	border-top: 1px solid var(--divider-primary);
}
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entry:first-child {
	padding-top: 0;
}
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entry:last-child {
	padding-bottom: 0;
}
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entry:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 8px;
}

/* ---- left rail: oversized decorative pull-mark glyph ----------------- */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__pullmark {
	flex: 0 0 auto;
	font-family: var(--font-display) !important;
	font-size: clamp(4rem, 8vw, 7rem) !important;
	line-height: 0.72 !important;
	font-weight: 700 !important;
	color: var(--accent) !important;
	margin: 0 !important;
	/* Optical: lift the glyph so its cap-height aligns with the star row. */
	margin-top: calc(-1 * var(--space-2, 8px)) !important;
	user-select: none;
	pointer-events: none;
}

/* ---- entry body: stars + quote + author ------------------------------ */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entrybody {
	min-width: 0;
	flex: 1 1 auto;
}

/* ---- star motif (static, not a fabricated metric) ------------------- */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .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-3, 12px) 0 !important;
}

/* ---- quote: editorial display scale ---------------------------------- */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__quote {
	font-family: var(--font-display) !important;
	font-size: clamp(1.25rem, 2.2vw, 1.6rem) !important;
	line-height: var(--leading-snug, 1.4) !important;
	letter-spacing: -0.015em !important;
	color: var(--text-primary) !important;
	margin: 0 0 var(--space-4, 16px) 0 !important;
}

/* ---- author: inline name · role -------------------------------------- */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__authormeta {
	gap: var(--space-2, 8px) !important;
	align-items: baseline !important;
}
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .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-pullmark-stacked .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. */
body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__authorrole::before {
	content: "·";
	position: absolute;
	left: var(--space-2, 8px);
	color: var(--accent);
}

/* ---- tablet (641-959): trim entry padding + glyph ------------------- */
@media (max-width: 959px) {
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entry {
		padding: var(--space-6, 32px) 0;
		gap: var(--space-4, 16px) !important;
	}
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__pullmark {
		font-size: clamp(3.5rem, 9vw, 5.5rem) !important;
	}
}

/* ---- mobile (≤640): glyph sits ABOVE the quote (column), cap tracking - */
@media (max-width: 640px) {
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__entry {
		flex-direction: column !important;
		gap: var(--space-2, 8px) !important;
	}
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__pullmark {
		font-size: clamp(3rem, 16vw, 4.5rem) !important;
		margin-top: 0 !important;
		margin-bottom: calc(-1 * var(--space-3, 12px)) !important;
	}
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__kicker {
		letter-spacing: 0 !important; /* A5: avoid uppercase line-break artifacts */
	}
	/* Stack name over role on a narrow column; drop the inline middot. */
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__authormeta {
		gap: 2px !important;
	}
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__authorrole {
		padding-left: 0;
	}
	body.aibt-universal .universal-testimonials--duo-pullmark-stacked .universal-testimonials__authorrole::before {
		content: none;
	}
}
