/* Show the complete generated photograph at its own aspect ratio. */
.photo-frame,
figure:has(>img[src*="/assets/unique-photos-20261013/"]),
.home-visual-card-image:has(>img[src*="/assets/unique-photos-20261013/"]),
.pet-card-placeholder:has(>img[src*="/assets/unique-photos-20261013/"]){
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  padding:0!important;
  background:transparent!important;
}
img.generated-photo,
img[src*="/assets/unique-photos-20261013/"]{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  mix-blend-mode:normal!important;
}
.home .category-page-opening figure.photo-frame{
  width:min(100%,240px)!important;
  justify-self:end;
  align-self:center;
  margin:0;
}
.home .category-page-opening:has(>figure.photo-frame){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,240px)!important;
  gap:20px;
  align-items:center;
}
@media(max-width:600px){
  .home .category-page-opening:has(>figure.photo-frame){grid-template-columns:minmax(0,1fr) minmax(0,150px)!important;gap:12px}
  .home .category-page-opening figure.photo-frame{width:min(100%,200px)!important}
  .home .category-panel .category-links{grid-template-columns:1fr}
}
