/**
 * Variant CSS: gallery--full-bleed-duo
 *
 * Gallery built for impact, not count — two large 4:5 frames side by side (hover
 * zoom), each with a short caption. Unlike the dense grids, mosaics and
 * carousels: two strong shots do more than twelve thumbnails. Text stays --ink
 * (polarity-aware); kicker, em and the caption tick take --accent. Image src are
 * swapped by the photo system. Part of the `gallery` role.
 */

body.aibt-universal .universal-gallery--full-bleed-duo {
	padding-block: calc(clamp(3rem, 7vw, 5rem) * var(--density, 1));
}

/* Intro. */
body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__intro {
	margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

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

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

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

/* Two large panels. */
body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.2rem, 3vw, 2rem);
}

body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__media {
	position: relative;
	border-radius: var(--decor-radius, 16px);
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__img {
	margin: 0 !important;
	height: 100%;
}

body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__img img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 700ms var(--ease-default, ease);
}

body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__panel:hover .universal-gallery__img img {
	transform: scale(1.04);
}

/* Caption. */
body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__caption {
	display: flex;
	align-items: baseline;
	gap: 0.55rem;
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	font-weight: 600 !important;
	color: var(--ink) !important;
	opacity: 0.84;
	margin: var(--space-md) 0 0 0 !important;
}

body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__caption::before {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	transform: translateY(-2px);
}

/* Mobile: stack the two panels. */
@media (max-width: 680px) {
	body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__duo {
		grid-template-columns: 1fr;
		gap: clamp(1.4rem, 5vw, 2rem);
	}
	body.aibt-universal .universal-gallery--full-bleed-duo .universal-gallery__media {
		aspect-ratio: 4 / 3;
	}
}

/* A8/A9 left-shift fix (2026-06-08): centered intro element(s) were max-width-capped by
   WP constrained layout but pinned left by horizontal margin:0. Force margin-inline:auto.
   Section class doubled -> specificity (0,4,1) beats h2.__headline-style rules; harmless on
   already-centered elements (auto margins compute to 0). Only left/right are overridden. */
body.aibt-universal .universal-gallery--full-bleed-duo.universal-gallery--full-bleed-duo .universal-gallery__headline { margin-inline: auto !important; }
