/* AutoStar — "Strategic Partners & Innovation Network" logo grid.
   4×2 grid of native Image widgets. The thin internal gridlines come from a
   1px grid-gap over a Kit-border-coloured background (cells sit on white), so
   only the lines BETWEEN cells show — no outer frame, matching the design. */

.as-partners-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	width: 100%;
	background: var(--e-global-color-border);   /* becomes the gridlines */
}

.as-partners-cell {
	background: var(--e-global-color-ffffff, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 28px 24px;
}

/* Keep any logo (or the placeholder) tidy inside its cell. Swap the images in
   Elementor — these caps make every logo sit at a consistent size. */
.as-partners-cell img {
	max-width: 100%;
	max-height: 66px;
	width: auto;
	object-fit: contain;
}

@media (max-width: 900px) {
	.as-partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.as-partners-grid { grid-template-columns: 1fr; }
}
