/**
 * Variant CSS: careers--team-testimonial-hiring
 *
 * Dark, centered hiring section led by a single employee pull-quote. A large
 * editorial quote sits under a decorative quote-mark; below it a circular avatar
 * pairs with the author name + role as a centered attribution chip; the section
 * closes with a compact "join us" headline, supporting line and CTA.
 * Dark band: background --background-dark, text --text-on-dark; accent lifted via
 * color-mix against --on-dark (KI-020 — never --bg-main as foreground). Every
 * centered child keeps horizontal-auto margins (A8/A9). Part of the `careers` role.
 */

body.aibt-universal .universal-careers--team-testimonial-hiring {
	padding-block: calc(clamp(3.4rem, 8vw, 5.6rem) * var(--density, 1));
	background: var(--background-dark, #141414);
	color: var(--text-on-dark, #fff);
}

/* Kicker — accent lift so it stays legible on the dark band. */
body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__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: color-mix(in srgb, var(--accent) 60%, var(--on-dark, #fff)) !important;
	margin: 0 auto var(--space-md) auto !important;
}

/* The pull-quote is the centerpiece — large, with a decorative quote mark. */
body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__quote {
	position: relative;
	font-family: var(--font-display) !important;
	font-size: clamp(1.45rem, 3.4vw, 2.35rem) !important;
	font-weight: 500 !important;
	line-height: 1.32 !important;
	color: var(--text-on-dark, #fff) !important;
	max-width: 24ch;
	margin: 0 auto clamp(2rem, 4.6vw, 2.8rem) auto !important;
	padding-top: calc(clamp(2.4rem, 5vw, 3.2rem) * var(--density, 1));
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__quote::before {
	content: "\201C";
	position: absolute;
	top: -0.18em;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-display);
	font-size: clamp(3.4rem, 8vw, 5rem);
	line-height: 1;
	color: var(--accent);
	opacity: 0.55;
	pointer-events: none;
}

/* Attribution chip: circular avatar + name/role, centered as a row. */
body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__attribution {
	gap: clamp(0.7rem, 1.6vw, 1rem) !important;
	margin: 0 auto clamp(2.6rem, 5.6vw, 3.6rem) auto !important;
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__avatar {
	width: 3.5rem;
	flex: 0 0 auto;
	margin: 0 !important;
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__avatar img {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 2px solid color-mix(in srgb, var(--accent) 50%, transparent);
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__attribution-text {
	text-align: left;
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__quote-author {
	font-family: var(--font-display) !important;
	font-size: var(--text-base) !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: var(--text-on-dark, #fff) !important;
	margin: 0 !important;
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__quote-role {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	line-height: 1.3 !important;
	color: var(--text-on-dark, #fff) !important;
	opacity: 0.66;
	margin: 0.15rem 0 0 0 !important;
}

/* Hairline divider above the join block. */
body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__join {
	padding-top: calc(clamp(2.2rem, 5vw, 3rem) * var(--density, 1));
	border-top: 1px solid color-mix(in srgb, var(--on-dark, #fff) 16%, transparent);
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__headline {
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	color: var(--text-on-dark, #fff) !important;
	margin: 0 auto var(--space-sm) auto !important;
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__headline em {
	color: color-mix(in srgb, var(--accent) 60%, var(--on-dark, #fff)) !important;
	font-style: italic;
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__deck {
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--text-on-dark, #fff) !important;
	opacity: 0.74;
	margin: 0 auto clamp(1.4rem, 3vw, 2rem) auto !important;
}

/* CTA — solid accent button, comfortable on the dark band. */
body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__cta-wrap {
	margin: 0 auto !important;
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__cta .wp-block-button__link {
	background: var(--cta-bg-primary, var(--accent)) !important;
	color: var(--cta-text-primary, #fff) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-wide);
	border-radius: var(--decor-radius-pill, 999px) !important;
	padding: 0.85em 1.9em !important;
	transition: background var(--duration-fast, 0.18s) var(--ease-default, ease),
		transform var(--duration-fast, 0.18s) var(--ease-default, ease);
}

body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__cta .wp-block-button__link:hover {
	background: var(--accent-hover, var(--accent)) !important;
	transform: translateY(-2px);
}

/* Focus-visible rings for keyboard users — match the pill shape. */
body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: inherit;
}

/* Phone: stack the attribution chip, center its text, relax caps. */
@media (max-width: 540px) {
	body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__attribution {
		flex-direction: column !important;
		text-align: center;
	}
	body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__attribution-text {
		text-align: center;
	}
}

@media (max-width: 640px) {
	body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__kicker {
		letter-spacing: 0 !important;
	}
}

/* Respect reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__cta .wp-block-button__link {
		transition: none;
	}
	body.aibt-universal .universal-careers--team-testimonial-hiring .universal-careers__cta .wp-block-button__link:hover {
		transform: none;
	}
}
