.herb-photo-card .herb-photo-art {
  padding: 10px;
  background: var(--white, #fffdf9);
}

.herb-photo-art > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(139, 30, 30, .18);
  transition: box-shadow .2s ease;
}

.herb-photo-card > .herb-title {
  position: static;
  padding: 12px 24px 0;
}

.herb-photo-card > .herb-title h3 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

@media (hover: hover) and (pointer: fine) {
  .herb-photo-card:hover .herb-photo-art > img {
    box-shadow: 0 0 0 1px rgba(139, 30, 30, .55),
      0 3px 12px rgba(43, 26, 22, .1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .herb-photo-art > img { transition: none; }
}
