/* MSB */

.vsc-main > .vsc-marquee {
 width: 100%;
 max-width: none;
 margin-block: 0;
}

.vsc-marquee {
 --vsc-marquee-gap: 64px;
 --vsc-marquee-height: 96px;
 --vsc-marquee-fade: 80px;
 --vsc-marquee-duration: 24s;

 position: relative;
 width: 100%;
 box-sizing: border-box;
}

.vsc-marquee--speed-slow {
 --vsc-marquee-duration: 32s;
}

.vsc-marquee--speed-medium {
 --vsc-marquee-duration: 24s;
}

.vsc-marquee--speed-fast {
 --vsc-marquee-duration: 12s;
}

.vsc-marquee__viewport {
 position: relative;
 display: flex;
 align-items: center;
 height: var(--vsc-marquee-height);
 overflow: hidden;
}

.vsc-marquee__track {
 display: flex;
 align-items: center;
 width: max-content;
 /* Exact px set by JS; 50% fallback when JS has not run yet */
 --vsc-marquee-shift: 50%;
 animation: vsc-marquee-ltr var(--vsc-marquee-duration) linear infinite;
}

.vsc-marquee--dir-rtl .vsc-marquee__track {
 animation-name: vsc-marquee-rtl;
}

.vsc-marquee:hover .vsc-marquee__track,
.vsc-marquee--static .vsc-marquee__track {
 animation-play-state: paused;
}

.vsc-marquee--static .vsc-marquee__track {
 animation: none;
 transform: none;
}

.vsc-marquee__group {
 display: flex;
 align-items: center;
 gap: var(--vsc-marquee-gap);
 list-style: none;
 margin: 0;
 padding: 0 var(--vsc-marquee-gap) 0 0;
 flex-shrink: 0;
}

.vsc-marquee__item {
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 margin: 0;
}

.vsc-marquee__logo {
 display: block;
 width: auto;
 height: 64px;
 max-width: 240px;
 object-fit: contain;
}

.vsc-marquee__text {
 display: block;
 white-space: nowrap;
 font-family: var(--font-display);
 font-weight: 700;
 font-size: 48px;
 line-height: 1.2;
 letter-spacing: 0.02em;
 color: var(--color-text-primary, #1a1a1a);
}

.vsc-marquee__fade {
 position: absolute;
 top: 0;
 bottom: 0;
 width: var(--vsc-marquee-fade);
 pointer-events: none;
 z-index: 1;
}

.vsc-marquee__fade--left {
 left: 0;
 background: linear-gradient(
 to right,
 var(--color-bg-page, #fafafa) 0%,
 rgba(250, 250, 250, 0) 100%
 );
}

.vsc-marquee__fade--right {
 right: 0;
 background: linear-gradient(
 to left,
 var(--color-bg-page, #fafafa) 0%,
 rgba(250, 250, 250, 0) 100%
 );
}

@keyframes vsc-marquee-ltr {
  /* Items travel left → right */
  from { transform: translate3d(calc(-1 * var(--vsc-marquee-shift)), 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes vsc-marquee-rtl {
  /* Items travel right → left */
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--vsc-marquee-shift)), 0, 0); }
}

@media (max-width: 767px) {
 .vsc-marquee {
 --vsc-marquee-gap: 40px;
 --vsc-marquee-height: 80px;
 --vsc-marquee-fade: 48px;
 --vsc-marquee-duration: 17s;
 }

 .vsc-marquee--speed-slow {
 --vsc-marquee-duration: 24s;
 }

 .vsc-marquee--speed-medium {
 --vsc-marquee-duration: 16s;
 }

 .vsc-marquee--speed-fast {
 --vsc-marquee-duration: 10s;
 }

 .vsc-marquee__logo {
 height: 48px;
 max-width: 180px;
 }

 .vsc-marquee__text {
 font-size: 32px;
 }
}

@media (prefers-reduced-motion: reduce) {
 .vsc-marquee__track {
 animation: none !important;
 }
}
