/* =============================================================
   logo-ticker.css — Bluworks v2
   All values traced to Website/style.css.
   ============================================================= */

/* ── .marquee-section ───────────────────────────────────────── */
.marquee-section {
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 64px); /* var(--space-section-sm) */
  overflow: hidden;
  background: #FAFBFD; /* var(--bg) */
  border-top: 0;
  border-bottom: 0;
}

/* ── .container inside the section ─────────────────────────── */
.marquee-section .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
img.marquee-logo-img {
    width: 90px;
}

/* ── .marquee-label ─────────────────────────────────────────── */
.marquee-label {
  display: block;
  text-align: center;
  margin: 0 0 12px; /* var(--s-3) */
  color: #6B7088; /* var(--ink-muted) */
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; /* var(--text-micro) */
 
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  padding: 0;
  background: transparent;
  border: 0;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] .marquee-label {
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* ── .marquee strip ─────────────────────────────────────────── */
.marquee {
  display: flex;
  overflow: hidden;
  padding: 8px 0; /* var(--s-2) */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

/* Pause on hover */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Row 2 */
.marquee-row-2 {
  margin-top: 12px; /* var(--s-3) */
}

/* ── .marquee-track ─────────────────────────────────────────── */
.marquee-track {
  display: flex;
  animation: marquee 60s linear infinite;
  gap: 64px;
  flex-shrink: 0;
  padding-right: 64px;
  width: max-content;
  will-change: transform;
}

/* LTR animation */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* RTL: reverse direction, swap padding side */
[dir="rtl"] .marquee-track {
  animation-name: marquee-rtl;
  padding-right: 0;
  padding-left: 64px;
}

@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* ── .marquee-logo (Image only — no pill) ──────────────────── */
.marquee-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

html[dir="rtl"] .marquee-logo {
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif;
}

.marquee-logo::before {
  display: none;
}

/* ── Logo image variant ───────────────────────────────────────
   In case an image is uploaded instead of text
*/
.marquee-logo-img {
  height: 60px;
  width: auto;
  display: block;
  max-width: none;
  object-fit: contain;

  transition: opacity 220ms ease, filter 220ms ease;
}

.marquee-logo:hover .marquee-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .marquee-track {
    gap: 40px;
    padding-right: 40px;
  }

  [dir="rtl"] .marquee-track {
    padding-right: 0;
    padding-left: 40px;
  }
}