/* Approved HOME-PHOTO-01 treatments; use the site's existing colour tokens. */
.rv-home .rv-categories .rv-category-icon.rv-category-photo {
  background: var(--rv-paper);
  padding: 8px;
}
.rv-category-photo > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.rv-home [data-photo-fallback][hidden] { display: none; }
.rv-home .rv-collection-photo {
  position: relative;
  display: block;
  padding: 0;
  color: var(--rv-paper);
}
.rv-collection-photo > .rv-collection-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rv-collection-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, color-mix(in srgb, var(--rv-ink) 92%, transparent) 45%, var(--rv-ink) 100%);
}
.rv-collection-photo .rv-collection-copy {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: var(--rv-space-3);
}
.rv-home .rv-collection-photo p { color: inherit; }
.rv-home .rv-collection-photo h3 { color: inherit; }
.rv-home .rv-collection-photo .rv-more { color: inherit; }
.rv-collection-photo:hover > .rv-collection-image { transform: scale(1.025); }
@media (prefers-reduced-motion: no-preference) {
  .rv-collection-image { transition: transform .2s ease; }
}
