/*
 * GEO hero illustration (template-parts/service/ai-art.php).
 * Sized in container units (cqw) of .omnia-hero-art so it scales with the hero.
 */

.omnia-ai__pos { position: absolute; }
.omnia-ai__pos--1 { left: 2%; top: 14%; width: 50%; }
.omnia-ai__pos--2 { left: 21%; top: 5%; width: 50%; }
.omnia-ai__pos--3 { left: 43%; top: 11%; width: 54%; }
.omnia-ai__pos--4 { left: 12%; top: 58%; width: 52%; }
.omnia-ai__pos--5 { right: 0; top: 0; width: 9%; }
.omnia-ai__pos--6 { right: 6%; top: 70%; width: 12%; }

.omnia-ai__card,
.omnia-ai__track { border: 1px solid #e3ece7; border-radius: 3.4cqw; background: #fff; box-shadow: 0 4.5cqw 9cqw -4.5cqw rgb(6 77 54 / 0.35), 0 0.3cqw 1cqw rgb(16 28 45 / 0.06); }
.omnia-ai__card { padding: 2.8cqw; }
.omnia-ai__hd { display: flex; align-items: center; gap: 1.2cqw; margin: 0; font: 700 max(10px, 2.1cqw)/1.2 var(--font-display); color: var(--color-ink); }
.omnia-ai__dot { width: 1.4cqw; height: 1.4cqw; flex: none; border-radius: 99px; }
.omnia-ai__q { margin: 1.8cqw 0 0; padding: 1.4cqw 1.7cqw; border-radius: 1.6cqw; background: #f4f7f6; font: 500 max(9px, 1.95cqw)/1.4 var(--font-sans); color: var(--color-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.omnia-ai__lines i { display: block; height: 1.4cqw; margin-top: 1.4cqw; border-radius: 1cqw; background: #e9efec; }
.omnia-ai__src { display: flex; flex-wrap: wrap; gap: 0.9cqw; margin: 1.9cqw 0 0; }
.omnia-ai__cite { display: inline-flex; align-items: center; gap: 0.9cqw; padding: 1.1cqw 1.5cqw; border-radius: 99px; background: #f2f5f4; font: 600 max(8px, 1.85cqw)/1 var(--font-sans); color: var(--color-body); }
.omnia-ai__cite.is-me { border: 0.25cqw solid #9fdcbd; background: var(--color-mint); color: var(--color-emerald); }
.omnia-ai__tick { display: inline-grid; place-items: center; width: 2.4cqw; height: 2.4cqw; border-radius: 99px; background: var(--color-emerald); font-size: 1.5cqw; line-height: 1; color: #fff; }

.omnia-ai__track { padding: 2.6cqw 2.9cqw; }
.omnia-ai__th { display: flex; align-items: center; gap: 1cqw; margin: 0; font: 700 max(10px, 2cqw)/1 var(--font-display); color: var(--color-ink); }
.omnia-ai__spark { width: 2.4cqw; height: 2.4cqw; color: var(--color-emerald); }
.omnia-ai__row { display: flex; justify-content: space-between; gap: 2cqw; margin: 1.6cqw 0 0; font: 600 max(9px, 1.9cqw)/1.2 var(--font-sans); color: var(--color-ink); }
.omnia-ai__ok { font-weight: 700; color: var(--color-emerald); white-space: nowrap; }

/* Text must stay on one line inside the cards. */
.omnia-ui .omnia-ai__q, .omnia-ui .omnia-ai__row span { white-space: nowrap; }
.omnia-ui .omnia-ai__q { overflow: hidden; text-overflow: ellipsis; }

/* Narrow heroes (phones): keep the ChatGPT card and the tracker, larger. */
@container (max-width: 560px) {
	.omnia-ai__pos--1, .omnia-ai__pos--2 { display: none; }
	.omnia-ai__pos--3 { left: 3%; top: 4%; width: 90%; }
	.omnia-ai__pos--4 { left: 24%; top: 57%; width: 74%; }
	.omnia-ai__pos--5 { right: 2%; top: 4%; width: 12%; }
	.omnia-ai__pos--6 { left: 4%; right: auto; top: 82%; width: 14%; }
	.omnia-ai__card, .omnia-ai__track { border-radius: 4.5cqw; }
	.omnia-ai__card { padding: 4cqw; }
	.omnia-ai__track { padding: 3.6cqw 4cqw; }
	.omnia-ai__hd { gap: 2cqw; font-size: max(11px, 3.4cqw); }
	.omnia-ai__dot { width: 2.2cqw; height: 2.2cqw; }
	.omnia-ai__q { margin-top: 2.6cqw; padding: 2.2cqw 2.6cqw; border-radius: 2.4cqw; font-size: max(10px, 3.1cqw); }
	.omnia-ai__lines i { height: 2cqw; margin-top: 2cqw; }
	.omnia-ai__src { gap: 1.6cqw; margin-top: 2.8cqw; }
	.omnia-ai__cite { padding: 1.6cqw 2.2cqw; gap: 1.4cqw; font-size: max(9px, 2.9cqw); }
	.omnia-ai__tick { width: 3.6cqw; height: 3.6cqw; font-size: 2.2cqw; }
	.omnia-ai__th { gap: 1.6cqw; font-size: max(11px, 3.2cqw); }
	.omnia-ai__spark { width: 3.6cqw; height: 3.6cqw; }
	.omnia-ai__row { margin-top: 2.2cqw; font-size: max(10px, 3cqw); }
}

/* Phones: a squarer stage so the tracker sits below the ChatGPT citation. */
@media (max-width: 639px) {
	.omnia-hero-art:has(.omnia-ai__pos) { aspect-ratio: 1 / 1 !important; }
}
