/* Trust strip: partner logos from the media library in uniform boxes beneath
   a centered SectionHeader. Arbitrary bitmaps/SVGs — no recolouring like the
   brand strip; the optional grayscale treatment calms mixed brand colours
   instead (logos regain their colour on hover). Vertical rhythm comes from
   the shared .d35-section utility; the dark band from .d35-section-dark. */
.d35-partner-logos__inner {
  width: min(100%, var(--d35-container));
  margin-inline: auto;
  padding-inline: var(--d35-gap);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.d35-partner-logos__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--d35-partner-logos-gap, clamp(1.5rem, 4vw, 3rem));
}

/* Uniform box per logo: the image scales to fit (contain) and centers, so
   wide wordmarks and compact marks share the same footprint. */
.d35-partner-logos__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--d35-partner-logos-item-w, 140px);
  height: var(--d35-partner-logos-item-h, 48px);
}

.d35-partner-logos__item .d35-partner-logos__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.d35-partner-logos--grayscale .d35-partner-logos__img {
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.d35-partner-logos--grayscale .d35-partner-logos__item:hover .d35-partner-logos__img,
.d35-partner-logos--grayscale .d35-partner-logos__item:focus-visible .d35-partner-logos__img {
  filter: none;
  opacity: 1;
}

/* Dark band: colored partner logos sit on light chips so any logo (dark
   wordmarks included) stays readable. */
.d35-partner-logos--dark .d35-partner-logos__item {
  background: #fff;
  border-radius: var(--d35-radius);
  padding: 0.5rem 0.75rem;
  box-sizing: content-box;
}
