/**
 * Variant CSS: gallery--trio-full-bleed-band
 *
 * Three photos touching edge-to-edge in one FULL-WIDTH band — zero gaps, zero
 * radius, a cinematic edge-to-edge "filmstrip" (subtle per-tile hover). Unlike
 * even-trio-row / passe-partout (gridded tiles with gaps inside the container):
 * here the band breaks out past the page margin into one uninterrupted ribbon of
 * image. Unlike mosaic (two rows) and podium (hierarchy): a single horizontal,
 * full-screen panoramic strip. The intro stays constrained; the band is alignfull.
 * Text stays --ink (polarity aware); kicker + the em take --accent; images carry
 * --photo-filter. Image src are swapped by the photo system. Dedicated to exactly
 * three photos. Part of the `gallery` role.
 */

body.aibt-universal .universal-gallery--trio-full-bleed-band {
	padding-block: calc(clamp(3rem, 7vw, 5.5rem) * var(--density, 1));
	background: var(--background);
	color: var(--text-primary);
}

/* Intro (stays within the constrained content width). */
body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__intro {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__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 0 var(--space-sm) 0 !important;
}

body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__headline {
	font-family: var(--font-display) !important;
	color: var(--ink) !important;
	margin: 0 !important;
}

body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__headline em {
	color: var(--accent) !important;
	font-style: italic;
}

/* The band: three equal columns with NO gap, so the photos meet seamlessly. The
   group is alignfull, so it already spans the viewport; we just remove the inner
   gutters and any rounding for a true cinematic strip. */
body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__band {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item {
	margin: 0 !important;
	overflow: hidden;
	border-radius: 0;
}

body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: var(--photo-filter, none);
	transition: transform var(--duration-slow, 500ms) var(--ease-default, ease);
}

/* Subtle hover: the single tile pushes in slightly without breaking the seam. */
body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item:hover img,
body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item:focus-within img {
	transform: scale(1.05);
}

/* Keyboard focus parity with hover (image becomes focusable when a client links it).
   Inset ring so the outline stays visible inside the gapless band. */
body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item a:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: -3px;
}

/* Tablet: the band stays full-bleed; three columns still read for landscape
   crops, just a touch taller proportion via the source aspect-ratio. */
@media (min-width: 641px) and (max-width: 959px) {
	body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__kicker {
		letter-spacing: var(--tracking-wide) !important;
	}
}

/* Mobile: three full-bleed columns become slivers — stack into a single full-width
   column. Still gapless and edge-to-edge, now a vertical cinematic stack. Each
   tile takes a wider landscape crop so it does not run too tall. */
@media (max-width: 640px) {
	body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__band {
		grid-template-columns: 1fr;
	}
	body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item {
		aspect-ratio: 3 / 2;
	}
	body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item img {
		height: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item img {
		transition: none;
	}
	body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item:hover img,
	body.aibt-universal .universal-gallery--trio-full-bleed-band .universal-gallery__item:focus-within img {
		transform: none;
	}
}
