/**
 * Variant CSS: hero--wide-photo-rounded-soft-elevation
 * Layer 2 — Variants Library (Path B Recipes architecture).
 * Concept: modern SaaS-style hero — centered kicker + large H1 + deck + primary CTA
 *   (optionally + a ghost secondary CTA) ON the page surface, then ONE large
 *   LANDSCAPE photo (16/9) with generously ROUNDED corners and a SOFT ELEVATION
 *   shadow so it appears to float above the page. Contained to content width.
 *   Signature device = the big rounded, floating, elevated photo under centered copy.
 *   Distinct from headline-top-photo-band-bottom (full-bleed 21:9 letterbox, sharp
 *   edges, CTA riding the band) — here the image is contained, rounded and elevated.
 * Scoping: body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation
 * @since 2026-06-11 (Path B Variants Library)
 */

body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation {
	padding: clamp(var(--space-8, 64px), 9vh, var(--space-10, 128px)) clamp(var(--space-5, 24px), 6vw, var(--space-8, 64px)) clamp(var(--space-8, 64px), 9vh, var(--space-10, 128px));
	background: var(--bg-main, var(--background, #fff));
	text-align: center;
}

/* === Copy block (top, centered) === */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__copy {
	margin: 0 auto clamp(var(--space-7, 48px), 6vh, var(--space-9, 96px));
	max-width: 56rem;
}

/* Kicker — small caps eyebrow above the headline, centered, accent-tinted. */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__kicker {
	display: block;
	font-family: var(--font-body) !important;
	font-size: var(--text-xs, 12px) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-widest, 0.2em) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 auto var(--space-4, 16px) !important;
}

/* Headline — display face, polarity-aware ink so it works on light + dark themes. */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__headline {
	font-family: var(--font-display) !important;
	color: var(--ink, var(--text-primary, #1a1a1a)) !important;
	margin: 0 auto var(--space-5, 24px) !important;
	max-width: 20ch;
	text-wrap: balance;
}
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__headline em {
	font-style: italic;
	color: var(--accent);
	font-weight: inherit;
}

/* Deck — supporting line, lighter color, constrained measure, centered. */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__deck {
	font-family: var(--font-body) !important;
	font-size: var(--text-lg, 20px) !important;
	line-height: var(--leading-relaxed, 1.6) !important;
	color: var(--text-secondary, color-mix(in srgb, var(--ink, #1a1a1a) 72%, transparent)) !important;
	max-width: 46ch;
	margin: 0 auto clamp(var(--space-6, 32px), 4vh, var(--space-7, 48px)) !important;
}

/* === Actions row — centered, primary + optional ghost === */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__actions {
	margin: 0 auto !important;
	gap: var(--space-3, 12px);
	justify-content: center;
}

/* Shared CTA geometry. */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta .wp-block-button__link {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: var(--text-base, 16px);
	letter-spacing: var(--tracking-wide, 0.02em);
	padding: 1rem 2.5rem;
	min-height: var(--target-min, 44px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--decor-radius, 0);
	transition: background var(--duration-base, 250ms) var(--ease-standard, ease), color var(--duration-base, 250ms) var(--ease-standard, ease), border-color var(--duration-base, 250ms) var(--ease-standard, ease), transform var(--duration-base, 250ms) var(--ease-standard, ease);
}

/* Primary CTA — accent fill; text uses --on-accent (NOT --on-dark) so it stays
   legible on light accents (lime / butter / peach). */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta--primary .wp-block-button__link {
	color: var(--cta-text-primary, var(--on-accent, #fff));
	background: var(--cta-bg-primary, var(--accent));
	border: 1px solid var(--cta-bg-primary, var(--accent));
}
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta--primary .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--cta-bg-primary, var(--accent)) 86%, #000);
	border-color: color-mix(in srgb, var(--cta-bg-primary, var(--accent)) 86%, #000);
	transform: translateY(-2px);
}

/* Ghost / secondary CTA — sits on theme bg: text + border use theme tokens
   (text-primary / accent border) so it reads on both light and dark themes. */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta--ghost .wp-block-button__link {
	color: var(--text-primary, var(--ink, #1a1a1a));
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
}
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta--ghost .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--accent) 8%, transparent);
	border-color: var(--accent);
	transform: translateY(-2px);
}

/* Focus-visible — A11y, visible ring on every CTA. */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: var(--focus-offset, 4px);
}

/* === Signature: the big rounded, floating, elevated photo === */
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__photo {
	margin: 0 auto;
	width: 100%;
	border-radius: clamp(12px, 2vw, 28px);
	overflow: hidden;
	box-shadow: var(--decor-shadow-elevated, 0 18px 50px rgba(0, 0, 0, 0.16));
}
body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: inherit;
}

/* === Tablet === */
@media (max-width: 959px) {
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__deck {
		font-size: var(--text-base, 16px) !important;
	}
}

/* === Mobile — CTAs stack full-width, photo holds 16/9, H1 readable, no overflow === */
@media (max-width: 640px) {
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__headline {
		font-size: clamp(2.1rem, 9vw, 3rem) !important;
		max-width: 100%;
	}
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__kicker {
		letter-spacing: 0.12em !important;
	}
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta {
		width: 100%;
	}
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta .wp-block-button__link {
		width: 100%;
	}
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__photo {
		border-radius: clamp(10px, 3vw, 16px);
	}
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta .wp-block-button__link {
		transition: none;
	}
	body.aibt-universal .universal-hero--wide-photo-rounded-soft-elevation .universal-hero__cta .wp-block-button__link:hover {
		transform: none;
	}
}
