/* Unique filename: 30-day static cache still serves September main.css. */
/* stylelint-disable selector-class-pattern -- BEM modifiers match existing main.css */

.mei-hero--photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.mei-hero-photo {
  display: block;
  min-width: 0;
}

.mei-hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--stone);
  display: block;
}

@media (min-width: 900px) {
  .mei-hero--photo {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.cat-card.cat-card--photo::before,
.mei-catalog-mode .cat-card.cat-card--photo::before {
  content: none !important;
  display: none !important;
  height: 0 !important;
  aspect-ratio: unset;
  background: none;
  font-size: 0;
}

.cat-card--photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--stone);
}
