/**
 * Variant CSS: hero--photo-notch-cta-center
 * Layer 2 — centered statement over a 2:1 landscape photo whose bottom edge
 * carries the lone CTA pill STRADDLING the boundary (top half on the photo,
 * bottom half on the page surface), centered like a hanger on a frame.
 * Scope: body.aibt-universal .universal-hero--photo-notch-cta-center
 */

body.aibt-universal .universal-hero--photo-notch-cta-center {
	padding-block-start: clamp(var(--space-xl), 7vw, var(--space-3xl));
	/* Room for the pill's protruding lower half. */
	padding-block-end: clamp(var(--space-xl), 6vw, var(--space-2xl));
}

/* ── Centered statement (A8/A9: horizontal margins auto) ─────────── */
body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__kicker {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: var(--tracking-widest);
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 auto var(--space-sm) auto;
}

body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__headline {
	font-family: var(--font-display);
	color: var(--text-primary);
	margin: 0 auto var(--space-sm) auto;
	overflow-wrap: break-word;
}

body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__headline em {
	font-style: italic;
	color: var(--accent);
}

body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__deck {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--text-secondary);
	max-width: 40rem;
	margin: 0 auto clamp(var(--space-lg), 4vw, var(--space-xl)) auto;
}

/* ── Figure + straddling CTA ───────────────────────────────────── */
body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__figure {
	position: relative;
}

body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__photo {
	margin: 0;
}

body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: var(--decor-radius);
}

/* The hinge: pull the actions row up by half the button height so the pill
   sits astride the photo's bottom edge. Centered → margins stay auto. */
body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__actions {
	margin: -1.7rem auto 0 auto;
	position: relative;
	z-index: 2;
	justify-content: center;
}

body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__cta .wp-block-button__link {
	background: var(--cta-bg-primary, var(--accent));
	color: var(--cta-text-primary, var(--on-accent, #FFFFFF));
	font-family: var(--font-body);
	font-weight: 600;
	padding: 1.05rem 2.6rem;
	border-radius: 999px;
	box-shadow: var(--decor-shadow-elevated);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__cta .wp-block-button__link:hover {
	transform: translateY(-2px);
}

body.aibt-universal .universal-hero--photo-notch-cta-center a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 640px) {
	body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__kicker {
		letter-spacing: var(--tracking-wide);
	}
	body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__headline {
		font-size: clamp(2rem, 8.5vw, 2.8rem) !important;
	}
	body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__photo img {
		aspect-ratio: 4 / 3;
	}
	/* The straddle stays (it is the signature) but the pill spans nearly
	   full width for a comfortable tap target. */
	body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__actions {
		width: 100%;
		margin-top: -1.6rem;
	}
	body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__cta,
	body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__cta .wp-block-button__link {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-hero--photo-notch-cta-center .universal-hero__cta .wp-block-button__link {
		transition: none;
	}
}
