/* Server-rendered company logos keep the same bounded slots as the templates. */
.product-card .card-companies .card-logo {
  align-items: center;
  gap: var(--space-2xs);
  min-width: 0;
}
.product-card .card-companies .card-logo > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--step-3);
  height: var(--step-3);
  flex: 0 0 var(--step-3);
}
.product-card .card-companies .card-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.hero-card article.card {
  width: 100%;
  min-width: 0;
  grid-template-columns: clamp(1.625rem, 3vw, 2.375rem) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: .35rem;
}
.hero-card .card-category {
  width: auto;
  max-width: 100%;
  min-width: 0;
  line-height: 1.25;
  text-align: right;
}
.hero-card .card-logo {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  align-self: end;
  justify-content: flex-end;
  gap: .3rem;
}
.hero-card article.card .card-logo img {
  display: block;
  width: 100%;
  height: clamp(1.625rem, 3vw, 2.375rem);
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-card .card-offer {
  min-width: 0;
  overflow-wrap: break-word;
}
