/* ============================================================
   PLATFORM PARTNERS — the official-partner card (PlatformPartners.astro), from the live home page
   Requires: tokens.css, page.css, surface.css
   A .card: the heading on the left half, the four platform wordmarks on tiles of the page black (2 × 2) on the
   right; phones — the heading over the tiles. The marks keep equal weight, as live (Meta 24 high, the others 32).
   ============================================================ */

.platform-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.platform-partners__title { max-width: 18em; }
.platform-partners__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
/* a tile: the page black set into the grey card, the mark centred, controls' radius */
.platform-partners__tile {
  display: flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: var(--btn-h-cta); padding: var(--space-sm);
  border-radius: var(--radius-md); background: var(--color-bg); color: var(--color-text);
}
.platform-partners__mark { display: flex; }
.platform-partners__mark svg { display: block; width: auto; height: var(--mark-h, var(--space-md)); max-width: 100%; }
/* equal weight, as live (Meta 24 high, Google Ads and TikTok 34, the Snapchat ghost 32 beside its word) */
.platform-partners__tile--small { --mark-h: var(--space); }
@media (max-width: 47.9375rem) {
  .platform-partners { grid-template-columns: minmax(0, 1fr); gap: var(--space); }
  .platform-partners__tile { --mark-h: var(--space); min-height: var(--btn-h-s); }
  .platform-partners__tile--small { --mark-h: var(--space-sm); }
}

