/* Product cards.
   Scoped under .cat-* so nothing here can leak into the rest of the site.
   Used by newsroom (related products) and available to any other app. */

.cat-related {
  margin: 3rem 0 0;
}

.cat-related__heading {
  margin: 0 0 1rem;
}

.cat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-card:hover {
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}

.cat-card__media {
  display: block;
  line-height: 0;
}

.cat-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.cat-card__body {
  padding: 1rem 1.25rem 1.25rem;
}

.cat-card__name {
  margin: 0 0 0.25rem;
  padding: 0;
  font-size: 1.125rem;
  line-height: 1.3;
}

.cat-card__name a {
  color: inherit;
  text-decoration: none;
}

.cat-card__name a:hover {
  text-decoration: underline;
}

.cat-card__tagline {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.cat-card__summary {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cat-card__more {
  font-size: 0.875rem;
  font-weight: bold;
}
