/* Live photo collages. Each tile uses its original product photo, not a generated illustration. */
a.jf-home-guide-card.jf-collage-guide {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}
.jf-home-guide-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 6 / 5;
  min-width: 0;
  padding: 13px;
  background: #eeeee5;
  overflow: hidden;
  box-sizing: border-box;
}
.jf-home-guide-collage .jf-collage-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  border-radius: 5px;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}
.jf-home-guide-collage img[data-jf-mosaic-photo] {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.jf-home-guide-collage .jf-collage-photo-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  color: #3f5b46;
  font: 500 12px/1.5 Arial, sans-serif;
  text-align: center;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.jf-home-guide-collage [hidden] { display: none !important; }
.jf-collage-guide .jf-home-guide-info { flex: 1; }
.jf-guide-hero-collage {
  align-self: center;
  justify-self: center;
  max-width: 450px;
  border-radius: 8px;
}
@media (max-width: 650px) {
  .jf-home-guide-collage { gap: 8px; padding: 11px; }
  .jf-home-guide-collage .jf-collage-photo { padding: 7px; }
  .jf-guide-hero-collage { max-width: 360px; }
}
