/* OSI customer logo banner — sliding ticker for osibytes.com home */
.osi-cust-banner {
  --osi-cust-seconds: 40s;
  scroll-margin-top: 96px;
  color: #fff;
  font-family: var(--font-primary, Inter, sans-serif);
}
.osi-cust-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.osi-cust-banner h2 {
  color: #fff;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.osi-cust-viewport {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}
.osi-cust-track {
  display: flex;
  width: max-content;
  animation: osi-cust-scroll var(--osi-cust-seconds) linear infinite;
  will-change: transform;
}
.osi-cust-banner:hover .osi-cust-track,
.osi-cust-banner:focus-within .osi-cust-track {
  animation-play-state: paused;
}
.osi-cust-set {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}
@keyframes osi-cust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.osi-cust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  background: rgba(26,35,58,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 18px 10px;
  min-width: 150px;
  max-width: 200px;
  min-height: 92px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.osi-cust-card:hover,
.osi-cust-card:focus-visible {
  border-color: rgba(173,216,230,0.45);
  background: rgba(26,35,58,0.9);
  outline: none;
}
.osi-cust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-bottom: 6px;
}
.osi-cust-logo img {
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05);
  opacity: 0.88;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.osi-cust-card:hover img,
.osi-cust-card:focus-visible img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}
.osi-cust-wordmark {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: #f8f9fa;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  padding: 8px 4px;
}
.osi-cust-name {
  margin: 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.osi-cust-card:has(.osi-cust-wordmark) .osi-cust-name { display: none; }

/* Variant A: in-page ticker at the bottom of the home page */
.osi-cust-banner--in-page {
  margin: 10px auto 50px;
  padding: 8px 0 4px;
  max-width: none;
}

/* Variant B: slim sticky bar at the bottom of the screen */
.osi-cust-banner--sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  margin: 0;
  padding: 8px 48px 8px 12px;
  background: rgba(15, 21, 39, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
}
.osi-cust-banner--sticky .osi-cust-banner-inner {
  max-width: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.osi-cust-banner.osi-cust-banner--sticky .osi-cust-banner-inner h2#osi-cust-heading {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #9ca3af;
  flex: 0 0 auto;
  padding: 0 8px 0 10px;
}
.osi-cust-banner--sticky .osi-cust-viewport {
  flex: 1 1 auto;
  min-width: 0;
}
.osi-cust-banner--sticky .osi-cust-card {
  min-width: 132px;
  max-width: 180px;
  min-height: 72px;
  padding: 8px 14px 7px;
}
.osi-cust-banner--sticky .osi-cust-logo {
  height: 40px;
  margin-bottom: 4px;
}
.osi-cust-banner--sticky .osi-cust-logo img {
  max-height: 40px;
  max-width: 120px;
}
.osi-cust-banner--sticky .osi-cust-wordmark {
  font-size: 0.84rem;
  padding: 4px;
}
.osi-cust-close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #cccccc;
  font: 700 1.15rem/1 var(--font-primary, Inter, sans-serif);
  cursor: pointer;
  padding: 0;
}
.osi-cust-close:hover,
.osi-cust-close:focus-visible {
  background: rgba(255,255,255,0.16);
  color: #fff;
  outline: none;
}
body.osi-cust-banner-pad {
  padding-bottom: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .osi-cust-track {
    animation: none;
  }
  .osi-cust-set[aria-hidden="true"] {
    display: none;
  }
  .osi-cust-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 640px) {
  .osi-cust-banner--in-page { margin: 8px auto 36px; }
  .osi-cust-banner--in-page h2 { font-size: 1.05rem; margin-bottom: 10px; }
  .osi-cust-card { min-width: 132px; padding: 10px 14px 8px; min-height: 84px; }
  .osi-cust-banner--sticky { padding: 6px 40px 6px 8px; }
  .osi-cust-banner.osi-cust-banner--sticky .osi-cust-banner-inner h2#osi-cust-heading {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
  }
  .osi-cust-banner--sticky .osi-cust-card { min-width: 120px; min-height: 64px; }
  body.osi-cust-banner-pad { padding-bottom: 84px; }
}

.osi-preview-banner {
  background: #332a0f;
  color: orange;
  text-align: center;
  padding: 10px 16px;
  font: 600 0.9rem/1.4 var(--font-primary, Inter, sans-serif);
  border-bottom: 1px solid orange;
  position: relative;
  z-index: 2000;
}
