/* Layout overrides only, loaded after style.css. Brand colors live in
   style.css's own :root — not redefined here, so the brand palette set
   there is the one that actually renders. */

/* Grid variant for providers/payments (this site uses a static grid, not a
   slider). auto-fit (not auto-fill) so the last row's cards stretch to
   fill the remaining width instead of leaving empty reserved tracks. */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.providers-grid .provider-card,
.payments-grid .payment-card {
  width: 100%;
}

@media (min-width: 900px) {
  .providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .payments-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}
