/*
 * "Basic Gallery" (image-gallery) variants. Applied via prefix_class, which stamps
 * redteam-image-gallery--<variant> on the widget wrapper. Style each with the theme's
 * design-system tokens (var(--color-*), var(--font-*), the --s* / --spacer-* scales).
 *
 * "Default" has no rule on purpose — it's the no-op that leaves the native gallery untouched.
 */

/* Logo Grid — a row of square white cards, each holding one centered/contained logo.
 * Used for the PFA hero's trusted-by badge row. */
.elementor-widget-image-gallery.redteam-image-gallery--logo-grid .gallery {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--s2);
	margin: 0;
}

.elementor-widget-image-gallery.redteam-image-gallery--logo-grid .gallery-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--s8);
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: var(--s3) var(--s2) !important;
	background-color: var(--color-white, #fffffd);
	border-radius: var(--s05);
	box-sizing: border-box;
}

.elementor-widget-image-gallery.redteam-image-gallery--logo-grid .gallery-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.elementor-widget-image-gallery.redteam-image-gallery--logo-grid .gallery-icon img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border: none;
	border-radius: 0;
}

.elementor-widget-image-gallery.redteam-image-gallery--logo-grid .gallery-caption {
	display: none;
}
