/* Shop cards, all widths (phones from Mark's round 10): bag photos fill the card edge to edge at one ratio, so there is no band above them and the tops line up */
/* Shop: bag photos fill the card edge to edge at one ratio, so the three tops line up */
.jos-product-card {
  display: flex;
  flex-direction: column;
}

.jos-product-card img {
  aspect-ratio: 4 / 5;
  background: none;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Equal-height cards with the Notify me button pushed to the bottom: all three on one line */
.jos-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.jos-product-body .jos-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Desktop only (1024px+) */
@media (min-width: 1024px) {
  /* Community: the Evening events heading block is centred above the cards */
  #events .jos-section-label,
  #events h2,
  #events .jos-section-inner > p {
    text-align: center;
  }
}
