/**
 * Variant CSS: features--split-highlight
 * Layer 2 — Path B features role (2026-05-29).
 *
 * One large highlighted feature on the left (kicker + title + desc + checklist +
 * link) beside a stacked column of smaller features on the right (icon + title +
 * desc). Establishes a "hero feature + supporting" hierarchy.
 *
 * All selectors scoped to .universal-features--split-highlight — no leak.
 */

body.aibt-universal .universal-features--split-highlight {
	background: var(--background);
	color: var(--text-primary);
	border-bottom: 1px solid var(--divider-primary);
}

body.aibt-universal .universal-features.universal-features--split-highlight .has-text-align-center {
	margin-inline: auto !important;
}

/* ── Intro ─────────────────────────────────────────────────────── */
body.aibt-universal .universal-features--split-highlight .universal-features__intro {
	margin-bottom: var(--space-2xl);
	text-align: center;
}

body.aibt-universal .universal-features--split-highlight .universal-features__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-features--split-highlight h2.universal-features__headline,
body.aibt-universal .universal-features--split-highlight .universal-features__headline {
	font-family: var(--font-display) !important;
	color: var(--text-primary) !important;
	margin: 0 auto !important;
	max-width: 20ch;
}

/* ── Row container ─────────────────────────────────────────────── */
body.aibt-universal .universal-features--split-highlight .universal-features__row {
	gap: clamp(2rem, 5vw, 4.5rem) !important;
	align-items: stretch;
}

/* ── Highlight (left) — accent-tinted panel ────────────────────── */
body.aibt-universal .universal-features--split-highlight .universal-features__highlight {
	background: var(--accent-fade, var(--background-alt)) !important;
	border: 1px solid var(--divider-primary) !important;
	border-radius: var(--decor-radius, 0) !important;
	padding: clamp(1.75rem, 3vw, 2.75rem) !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

body.aibt-universal .universal-features--split-highlight .universal-features__row-kicker {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-wider) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 0 var(--space-sm) 0 !important;
}

body.aibt-universal .universal-features--split-highlight h3.universal-features__row-title,
body.aibt-universal .universal-features--split-highlight .universal-features__row-title {
	font-family: var(--font-display) !important;
	font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	color: var(--text-primary) !important;
	margin: 0 0 var(--space-sm) 0 !important;
}

body.aibt-universal .universal-features--split-highlight .universal-features__row-desc {
	font-family: var(--font-body) !important;
	font-size: var(--text-lg) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--text-secondary) !important;
	margin: 0 0 var(--space-md) 0 !important;
}

/* Highlight checklist — accent checkmarks. */
body.aibt-universal .universal-features--split-highlight ul.universal-features__row-list,
body.aibt-universal .universal-features--split-highlight .universal-features__row-list {
	list-style: none !important;
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	line-height: var(--leading-normal) !important;
	color: var(--text-primary) !important;
	margin: 0 0 var(--space-md) 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs);
}

body.aibt-universal .universal-features--split-highlight .universal-features__row-list li {
	position: relative;
	padding-left: 1.75em;
}

body.aibt-universal .universal-features--split-highlight .universal-features__row-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1em;
	height: 1em;
	background-color: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Inline underline-style link CTA. */
body.aibt-universal .universal-features--split-highlight .universal-features__row-cta-wrap {
	margin: auto 0 0 0 !important;
}

body.aibt-universal .universal-features--split-highlight .wp-block-button.universal-features__row-cta.is-style-outline .wp-block-button__link {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.98rem;
	letter-spacing: var(--tracking-wide);
	background: transparent;
	color: var(--text-primary);
	padding-inline: 0;
	border: 0;
	border-bottom: 2px solid var(--accent);
	border-radius: 0;
	min-height: 0;
	display: inline-flex;
	align-items: center;
	transition: color var(--duration-fast) var(--ease-snappy),
		border-color var(--duration-fast) var(--ease-snappy);
}

body.aibt-universal .universal-features--split-highlight .wp-block-button.universal-features__row-cta.is-style-outline .wp-block-button__link:hover,
body.aibt-universal .universal-features--split-highlight .wp-block-button.universal-features__row-cta.is-style-outline .wp-block-button__link:focus-visible {
	color: var(--accent);
	border-bottom-color: var(--accent-hover);
}

/* Explicit keyboard focus ring — layers on top of the colour cue above so the
   underline-style link also gets a clearly visible outline (a11y). */
body.aibt-universal .universal-features--split-highlight .wp-block-button.universal-features__row-cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ── Minor features (right) — stacked rows ─────────────────────── */
body.aibt-universal .universal-features--split-highlight .universal-features__minor-col {
	display: flex !important;
	flex-direction: column;
	gap: 0;
}

body.aibt-universal .universal-features--split-highlight .universal-features__minor {
	gap: var(--space-md) !important;
	align-items: flex-start !important;
	flex-wrap: nowrap !important;
	padding: var(--space-md) 0 !important;
	border-top: 1px solid var(--divider-primary);
}

body.aibt-universal .universal-features--split-highlight .universal-features__minor-col > .universal-features__minor:first-child {
	border-top: 0;
	padding-top: 0 !important;
}

/* Emoji icon inside an accent-tinted chip. */
body.aibt-universal .universal-features--split-highlight .universal-features__icon {
	flex: 0 0 auto;
	font-size: 1.3rem !important;
	line-height: 1 !important;
	width: 2.75rem;
	height: 2.75rem;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: var(--accent-fade, rgba(0, 0, 0, 0.04)) !important;
	border-radius: var(--decor-radius, 0) !important;
	margin: 0 !important;
}

body.aibt-universal .universal-features--split-highlight .universal-features__minor-body {
	flex: 1 1 auto;
}

body.aibt-universal .universal-features--split-highlight h3.universal-features__minor-title,
body.aibt-universal .universal-features--split-highlight .universal-features__minor-title {
	font-family: var(--font-display) !important;
	font-weight: 600 !important;
	font-size: var(--text-lg) !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em !important;
	color: var(--text-primary) !important;
	margin: 0 0 var(--space-2xs) 0 !important;
}

body.aibt-universal .universal-features--split-highlight .universal-features__minor-desc {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--text-secondary) !important;
	margin: 0 !important;
}

/* ── Mobile: stack highlight above the minor list ──────────────── */
@media (max-width: 781px) {
	body.aibt-universal .universal-features--split-highlight .universal-features__row {
		flex-direction: column !important;
		gap: var(--space-lg) !important;
	}
	body.aibt-universal .universal-features--split-highlight .universal-features__highlight,
	body.aibt-universal .universal-features--split-highlight .universal-features__minor-col {
		flex-basis: 100% !important;
		width: 100% !important;
	}
	body.aibt-universal .universal-features--split-highlight .universal-features__highlight {
		padding: var(--space-lg) !important;
	}
}

/* Drop the wide kicker tracking on narrow phones so the uppercase intro +
   highlight labels never strain or wrap on small screens (house ≤640 standard). */
@media (max-width: 640px) {
	body.aibt-universal .universal-features--split-highlight .universal-features__kicker,
	body.aibt-universal .universal-features--split-highlight .universal-features__row-kicker {
		letter-spacing: 0 !important;
	}
}
