/* --- MARQUEE LOGOS — Bricks Element v1.2.1 --- */


/* ==============================================
   BASE
   ============================================== */

.mq-wrapper {
  overflow: hidden !important;
  position: relative;
}

.mq-container {
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
}

.mq-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5rem;
  width: max-content;
  will-change: transform;
}

.mq-track > * {
  flex-shrink: 0;
}


/* ==============================================
   LOGO WRAPPER (.mq-logo)
   Wraps either an inline SVG or an <img>
   ============================================== */

.mq-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

/* --- Logos WITHOUT cards (direct in track) --- */
.mq-track > .mq-logo img {
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.mq-track > .mq-logo svg {
  height: 40px;
  width: auto;
  max-width: none;
  display: block;
}

/* --- Logos INSIDE cards --- */
.mq-card .mq-logo {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mq-card .mq-logo img,
.mq-card .mq-logo svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}


/* ==============================================
   CARDS
   ============================================== */

.mq-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
}


/* ==============================================
   FADE — BOTH EDGES
   ============================================== */

.mq-fade {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black var(--mq-fade-start, 10%),
    black var(--mq-fade-end, 90%),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black var(--mq-fade-start, 10%),
    black var(--mq-fade-end, 90%),
    transparent 100%
  );
}


/* ==============================================
   FADE — LEFT EDGE ONLY (overflow right)
   ============================================== */

.mq-fade-left-only {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black var(--mq-fade-start, 10%),
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black var(--mq-fade-start, 10%),
    black 100%
  );
}


/* ==============================================
   LAYOUT: OVERFLOW RIGHT
   ============================================== */

.mq-section-clip {
  overflow: clip !important;
}

.mq-overflow-variant {
  width: calc(100% + ((100vw - var(--mq-container-width, 1440px)) / 2)) !important;
  max-width: none !important;
}
