.img-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
}

.img-marquee {
  display: flex;
  white-space: nowrap;
}

.img-track {
  display: flex;
  animation: marquee-scroll var(--marquee-duration, 80s) linear infinite;
}

.img-track-content {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.credibility-strip {
  min-height: 30vh;
}

.credibility-strip .img-marquee-wrapper {
  position: sticky;
  bottom: 0;
  padding-bottom: 0;
}

.credibility-strip .img-track-content {
  gap: 1.5rem;
}

.img-track-content span {
  flex-shrink: 0;
}

.img-marquee img {
  height: 400px;
  width: auto;
  max-width: none;
  display: block;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Credibility strip: logo sizing; mobile slightly larger */
.credibility-strip .img-marquee img,
.credibility-strip .img-marquee svg {
  height: 2.5rem;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 0;
}                 
@media (max-width: 767px) {
  .credibility-strip .img-marquee img,
  .credibility-strip .img-marquee svg {
    height: 2.75rem;
  }
}

/* Credibility strip: vertical divider */
.credibility-strip .credibility-strip__divider {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.credibility-strip .credibility-strip__divider svg {
  height: 2rem;
  width: auto;
}
@media (max-width: 767px) {
  .credibility-strip .credibility-strip__divider svg {
    height: 2.25rem;
  }
}

/* Credibility strip: logo link */
.credibility-strip .credibility-strip__logo-link {
  display: block;
  color: inherit;
}

/* Credibility strip: dark-mode + filter transition (theme sync) */
.credibility-strip .img-marquee img {
  transition: filter var(--theme-transition-ms, 1200ms) ease-in-out;
}
body.theme-dark .credibility-strip .img-marquee img {
  filter: invert(1);
}
body:not(.theme-dark) .credibility-strip .img-marquee img {
  filter: none;
}

/* Optional variation */
.crown-logo img {
  border-radius: 50%;
}

.img-marquee-wrapper:hover .img-track {
  animation-play-state: paused;
}


/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  .img-track {
    animation: none;
    transform: translateX(0);
  }
  .credibility-strip .img-marquee-wrapper {
    position: relative;
    bottom: auto;
    transform: none;
  }
}

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