/* 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. */

/* ---- hero.php: text-left / image-right, single static slide ---- */
.hero-slide__title em {
  color: var(--color-accent-light);
}

/* ---- payments-providers.php: static grid instead of the default
   auto-scrolling carousel/slider ---- */
.providers-grid,
.payments-grid {
  display: grid;
  gap: 12px;
}

.providers-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.payments-grid {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

.providers-grid .provider-card,
.payments-grid .payment-card {
  width: 100%;
}

@media (max-width: 480px) {
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .payments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@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));
  }
}
