/* One transparent logo canvas for both desktop and the dedicated mobile site. */
.home-brand-logos > .w {
  width: min(1200px, calc(100% - 48px));
}

.home-brand-logos .home-panel-shell,
.home-brand-logos .home-product-shell,
.home-brand-logos .home-product-card,
.home-brand-logos .home-product-media,
.home-brand-logos .home-product-body,
.home-brand-logos .m-home-shell,
.home-brand-logos .m-home-brand-card,
.home-brand-logos .m-home-brand-card__media,
.home-brand-logos .m-home-brand-card__body {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-brand-logos .home-product-shell::before,
.home-brand-logos .home-product-card::before,
.home-brand-logos .home-product-card::after,
.home-brand-logos .home-product-media::before,
.home-brand-logos .home-product-media::after {
  content: none;
  display: none;
}

.home-brand-logos .homeProductSwiper .swiper-wrapper {
  align-items: stretch !important;
  width: 100%;
  margin: 0 !important;
  padding: 0;
}

.home-brand-logos .home-product-card {
  align-self: stretch;
  padding: 0 6px 18px !important;
}

.home-brand-logos .home-product-media,
.home-brand-logos .m-home-brand-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 128px !important;
  aspect-ratio: auto;
  padding: 0;
  overflow: visible;
  transform: none !important;
  filter: none;
}

.home-brand-logos .home-product-card img,
.home-brand-logos .m-home-brand-card__media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 !important;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none !important;
  transform: none;
}

.home-brand-logos .home-product-body,
.home-brand-logos .m-home-brand-card__body {
  margin-top: 12px;
  padding: 0 2px !important;
  text-align: center;
}

.home-brand-logos .home-product-body b a,
.home-brand-logos .m-home-brand-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: auto !important;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4 !important;
  color: #24384c !important;
  transition: color .18s ease;
}

.home-brand-logos .home-product-body .description,
.home-brand-logos .m-home-brand-card__body p {
  display: block;
  min-height: 20px;
  margin-top: 6px;
  font-size: 13px !important;
  line-height: 20px !important;
  color: #74818d !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-brand-logos .home-product-card:hover .home-product-body b a,
.home-brand-logos .m-home-brand-card:hover .m-home-brand-card__title {
  color: #1d5fb8 !important;
}

.home-brand-logos .home-product-media:focus-visible,
.home-brand-logos .m-home-brand-card__media:focus-visible {
  outline: 2px solid #1d5fb8;
  outline-offset: -2px;
}

.home-brand-logos .m-home-brand-strip {
  grid-auto-columns: clamp(170px, 49vw, 240px);
  gap: 18px;
  padding: 4px 0 8px;
}

.home-brand-logos .m-home-brand-card {
  overflow: visible;
}

@media (max-width: 767px) {
  .home-brand-logos > .w {
    width: calc(100% - 32px);
  }

  .home-brand-logos .home-product-media,
  .home-brand-logos .m-home-brand-card__media {
    height: 112px !important;
  }

  .home-brand-logos .home-product-body b a,
  .home-brand-logos .m-home-brand-card__title {
    font-size: 16px;
  }

  .home-brand-logos .home-product-body,
  .home-brand-logos .m-home-brand-card__body {
    margin-top: 10px;
  }

  .home-brand-logos .home-product-body .description,
  .home-brand-logos .m-home-brand-card__body p {
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand-logos a {
    transition: none !important;
  }
}
