.trust-strip {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(112, 163, 10, .24);
  border-bottom: 1px solid rgba(112, 163, 10, .24);
  background: rgba(112, 163, 10, .06);
  overflow: hidden;
}

.trust-strip-title {
  margin-bottom: 1.5rem;
}

.trust-strip-title h3,
.trust-strip-title h4,
.trust-strip-title h5,
.trust-strip-title h6 {
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0;
}

.logo-row-wrap {
  overflow: visible;
}

.logo-row {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 34s linear infinite;
  padding: 5px 0; /* Space for subtle hover effects */
}

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

.logo-pill {
  min-width: 210px;
  height: 86px;
  padding: 0 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(112, 163, 10, .26);
  background: rgba(255, 255, 255, .04);
  color: #dce8d6;
  font-weight: 950;
  text-align: center;
  filter: grayscale(1);
}

/* Pause animation on hover for better UX */
.logo-row:hover {
  animation-play-state: paused;
}

/* Ensure images fit inside the pill if the user uploads them via the WYSIWYG editor */
.logo-pill img {
  max-width: 160px;
  max-height: 55px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* Make links take full size and center content */
.logo-pill a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-pill:hover a {
  transform: scale(1.05);
}

.logo-pill:hover {
  filter: grayscale(0);
  background: rgba(255, 255, 255, .08);
}
