/* Galerie d'origine masquée uniquement après construction du bandeau. */
.logo-marquee.is-marquee .uael-gallery-parent {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.logo-marquee {
  --gap: 20px;
  --logo-w: 175px;
  --logo-h: 100px;
  --logo-pad: 18px;
  --logo-radius: 14px;
  --logo-bg: #fff;
  --logo-border: 1px solid rgba(0,0,0,.06);
}
.logo-marquee .marquee { overflow: hidden; width: 100%; }
.logo-marquee .marquee-row { overflow: hidden; }
.logo-marquee .marquee-row + .marquee-row { margin-top: var(--gap); }
.logo-marquee .marquee-track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;
  will-change: transform;
}
.logo-marquee .marquee-item {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: var(--logo-w);
  height: var(--logo-h);
  padding: var(--logo-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--logo-bg);
  border: var(--logo-border);
  border-radius: var(--logo-radius);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.logo-marquee .marquee-item img {
  display: block;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.logo-marquee .marquee-track--left { animation: lm-left var(--duration, 40s) linear infinite; }
.logo-marquee .marquee-track--right { animation: lm-right var(--duration, 40s) linear infinite; }
@keyframes lm-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--shift, 50%)), 0, 0); }
}
@keyframes lm-right {
  from { transform: translate3d(calc(-1 * var(--shift, 50%)), 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.logo-marquee .marquee-row.is-static { display: flex; justify-content: center; }
.logo-marquee .marquee-row.is-static .marquee-track { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee .marquee-track { animation: none !important; }
  .logo-marquee .marquee-row { display: flex; justify-content: center; }
}
