/* Reuse the hero's lower whitespace for the approved customer references. */
#hero-main { padding-bottom: 0; }
.customer-logos { background: #fff; padding: 28px 24px; }
.customer-logos-inner { max-width: 1280px; margin: 0 auto; }
.customer-logos-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.customer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 8px 34px;
}
.customer-logo img {
  width: var(--logo-width);
  height: 38px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0);
  opacity: .84;
}
/* Inline-source SVGs declare 1em dimensions; use their viewBox in our optical box. */
.customer-logo img[src$=".svg"] { object-fit: fill; }
.customer-logo img.customer-logo-genpa { width: 56px; height: 46px; filter: grayscale(1); }
.customer-logos-group[aria-hidden], .customer-logos-controls { display: none; }
.customer-logos-controls { justify-content: flex-end; margin-top: 7px; }
.customer-logos-toggle {
  color: #585858;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .035em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 8px 0 8px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.customer-logos-toggle:hover { color: #111; }
.customer-logos-toggle:focus-visible { outline: 2px solid #171717; outline-offset: 5px; }
.customer-logos-toggle svg { width: 11px; height: 11px; fill: currentColor; }
@media (min-width: 768px) {
  .customer-logos { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 767px) {
  .customer-logos-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .customer-logo { height: 60px; padding: 8px 23px; }
  .customer-logo img { max-width: 118px; height: 30px; }
}
/* Static is the default for reduced motion and when the pause script cannot load. */
@media (prefers-reduced-motion: no-preference) {
  .customer-logos.is-animated { padding-top: 24px; padding-bottom: 18px; }
  .is-animated .customer-logos-window {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  }
  .is-animated .customer-logos-track {
    display: flex;
    width: max-content;
    animation: customer-logo-drift 75s linear infinite;
  }
  .is-animated .customer-logos-group { display: flex; flex: none; align-items: center; gap: 0; }
  .is-animated .customer-logo { width: 220px; flex: none; }
  .is-animated .customer-logos-controls { display: flex; }
  .customer-logos[data-paused] .customer-logos-track { animation-play-state: paused; }
  @keyframes customer-logo-drift { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .customer-logos.is-animated { padding-top: 18px; padding-bottom: 14px; }
  .is-animated .customer-logo { width: 162px; }
  .is-animated .customer-logos-window {
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }
}
