/**
 * Variant CSS: cta-banner--phone-prominent
 *
 * A CTA band whose hero is the phone number — kicker + short headline above an
 * oversized, tappable tel: number, with one line of context (hours / call-back
 * time). Unlike the button-led banners: for businesses whose main conversion is
 * a phone call. Sits on a subtle full-width accent band. Text stays --ink
 * (polarity-aware); the band tint, kicker, em and the number take --accent.
 * Part of the `cta-banner` role.
 */

body.aibt-universal .universal-cta-banner--phone-prominent {
	padding-block: calc(clamp(3rem, 7vw, 5rem) * var(--density, 1));
	background: color-mix(in srgb, var(--accent) 6%, transparent);
	text-align: center;
}

body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__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-cta-banner--phone-prominent .universal-cta-banner__headline {
	font-family: var(--font-display) !important;
	color: var(--ink) !important;
	/* Centred element (has-text-align-center) → keep horizontal margins auto so
	   WP constrained-layout centering is preserved, never left-pinned (A8/A9). */
	margin: 0 auto clamp(1rem, 2.5vw, 1.6rem) auto !important;
}

body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__headline em {
	color: var(--accent) !important;
	font-style: italic;
}

/* The phone number as an oversized text link (override the pill button base). */
body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__phone-wrap {
	margin: 0 0 var(--space-md) 0;
}

body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__phone .wp-block-button__link {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	font-family: var(--font-display) !important;
	font-size: clamp(2.2rem, 8vw, 4.4rem) !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: -0.03em !important;
	color: var(--accent) !important;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	transition: color var(--duration-fast, 0.18s) var(--ease-default, ease),
		opacity var(--duration-fast, 0.18s) var(--ease-default, ease);
}

body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__phone .wp-block-button__link:hover,
body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__phone .wp-block-button__link:focus-visible {
	color: var(--accent-hover, var(--accent)) !important;
	opacity: 0.85;
}

/* Keyboard focus ring on the oversized phone link. */
body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__phone .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
	border-radius: var(--decor-radius);
}

body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__deck {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--ink) !important;
	opacity: 0.7;
	max-width: 48ch;
	margin: 0 auto !important;
}

/* Small mobile: drop kicker tracking so the uppercase eyebrow never forces overflow (A5). */
@media (max-width: 640px) {
	body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__kicker {
		letter-spacing: 0 !important;
	}
}

/* Very small screens: let the number shrink a touch more so it never clips. */
@media (max-width: 380px) {
	body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__phone .wp-block-button__link {
		font-size: clamp(1.7rem, 8.5vw, 2.2rem) !important;
	}
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-cta-banner--phone-prominent .universal-cta-banner__phone .wp-block-button__link {
		transition: none;
	}
}
