/**
 * Variant CSS: logos--mono-row-divided
 * Layer 2 - Path B logos role (2026-06-06).
 *
 * A single centred row of monochrome faux-SVG wordmarks (currentColor) split by
 * thin VERTICAL hairlines — a quiet "partner bar" under the "Zaufali nam" eyebrow.
 * The dividers are drawn as a left border on each item (suppressed on the first of
 * each visual line) so the rule sits BETWEEN adjacent logos, not around them. Logos
 * read muted by default and lift to the accent on hover. Structurally distinct from
 * the text-chip rows (mono-grid-static / framed-press-strip), the scrolling marquee,
 * and the bordered logo GRID (trust--client-logos-bordered-grid).
 * Every selector scoped to .universal-logos--mono-row-divided (no leak).
 */

body.aibt-universal .universal-logos--mono-row-divided {
	background: var(--background-alt);
	color: var(--text-primary);
	border-block: 1px solid var(--divider-primary);
	text-align: center;
}

/* ── Eyebrow ──────────────────────────────────────────────────────── */
body.aibt-universal .universal-logos--mono-row-divided .universal-logos__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;
	/* Centred eyebrow (has-text-align-center) — keep horizontal margins auto so WP's
	   constrained margin-inline:auto is not overridden (anti-pattern A8/A9). */
	margin: 0 auto var(--space-lg, 2rem) auto !important;
}

/* ── The divided row: one centred flex line of wordmarks ──────────── */
body.aibt-universal .universal-logos--mono-row-divided .universal-logos__row {
	gap: 0 !important;
	max-width: 1040px;
	margin: 0 auto;
}

/* Each wordmark cell carries generous horizontal padding; the thin vertical rule
   lives on its left edge. */
body.aibt-universal .universal-logos--mono-row-divided .universal-logos__item {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-sm, 0.75rem) clamp(1.25rem, 0.5rem + 2vw, 2.75rem);
	border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}

/* Suppress the divider on the first item so the row does not open with a stray
   rule. (Wrapped lines simply keep an interior rule — acceptable + tidy.) */
body.aibt-universal .universal-logos--mono-row-divided .universal-logos__item:first-child {
	border-left: 0;
}

/* ── The faux-SVG wordmark itself ─────────────────────────────────── */
body.aibt-universal .universal-logos--mono-row-divided .universal-logos__logo {
	display: inline-flex;
	color: var(--ink);
	opacity: 0.5;
	transition: opacity var(--duration-fast, 0.18s) var(--ease-default, ease),
		color var(--duration-fast, 0.18s) var(--ease-default, ease);
}

body.aibt-universal .universal-logos--mono-row-divided .universal-logos__logo svg {
	display: block;
	width: clamp(96px, 8vw, 130px);
	height: auto;
}

body.aibt-universal .universal-logos--mono-row-divided .universal-logos__item:hover .universal-logos__logo {
	opacity: 1;
	color: var(--accent);
}

/* Keyboard reachability: the item is not focusable itself, but provide a visible
   ring should a theme make these focusable, and lift the mark on focus-within. */
body.aibt-universal .universal-logos--mono-row-divided .universal-logos__item:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
body.aibt-universal .universal-logos--mono-row-divided .universal-logos__item:focus-within .universal-logos__logo {
	opacity: 1;
	color: var(--accent);
}

/* ── Tablet: fewer per line, tighter padding ──────────────────────── */
@media (max-width: 781px) {
	body.aibt-universal .universal-logos--mono-row-divided .universal-logos__item {
		padding: var(--space-sm, 0.75rem) clamp(1rem, 4vw, 1.8rem);
	}
}

/* ── ≤640px: drop kicker tracking (A5); shrink marks, two per line ── */
@media (max-width: 640px) {
	body.aibt-universal .universal-logos--mono-row-divided .universal-logos__kicker {
		letter-spacing: 0 !important;
	}
	body.aibt-universal .universal-logos--mono-row-divided .universal-logos__logo svg {
		width: clamp(82px, 30vw, 110px);
	}
	body.aibt-universal .universal-logos--mono-row-divided .universal-logos__item {
		padding: var(--space-sm, 0.75rem) clamp(0.7rem, 4vw, 1.2rem);
	}
}

/* ── Reduced motion: drop hover transitions ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-logos--mono-row-divided .universal-logos__logo {
		transition: none;
	}
}
