/* Logo Ticker */
.logo-ticker-section {
  width: 100%;
  padding: 8px 0; /* compact vertical spacing */
  background: transparent;
}

.logo-ticker-container {
  max-width: 1200px; /* match steps-section width */
  margin: 20px auto;
  height: 28px; /* reduced height */
  overflow: hidden;
  position: relative;
}

.logo-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  will-change: transform;
  animation: logo-ticker-scroll var(--ticker-speed, 10s) linear infinite;
}

.logo-ticker-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 8px 12px; /* chip padding so white logos可見 */
  background: #F5F7FA; /* light chip background */
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.logo-ticker-item img {
  max-height: calc(100% - 16px); /* account for vertical padding */
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  /* default: grayscale look */
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  opacity: 0.95;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.logo-ticker-item img:hover {
  -webkit-filter: none;
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes logo-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .logo-ticker-container { height: 28px; }
  .logo-ticker-item img { max-height: 28px; }
}

@media (max-width: 600px) {
  .logo-ticker-container { height: 28px; }
  .logo-ticker-track { gap: 24px; }
  .logo-ticker-item img { max-height: 28px; }
}

/* Overrides: revert to simple icons, no chip background */
.logo-ticker-item { padding: 0 !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
.logo-ticker-item img { max-height: 28px !important; height: 100% !important; }

@media (max-width: 1024px) {
  .logo-ticker-item img { max-height: 28px !important; }
}

@media (max-width: 600px) {
  .logo-ticker-item img { max-height: 28px !important; }
}
