/* NoversX Photos DESIGN 3.6-H1 — Home / Recently Added visual parity.
   Only Home's recent gallery. Never modify hero, albums, viewers, photos,
   Screenshots chronology, Sidebar, or media data. Desktop 5/5, wide 6/6. */
body.nx-design2 .nx-home-page .nx-home-recent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
body.nx-design2 .nx-home-page .nx-home-recent-grid > .nx-home-tile {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
}
body.nx-design2 .nx-home-page .nx-home-recent-grid > .nx-home-tile > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
  max-height: none;
}
body.nx-design2 .nx-home-page .nx-home-recent-grid > .nx-home-tile > .nx-home-tile-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
@media (min-width: 1600px) {
  body.nx-design2 .nx-home-page .nx-home-recent-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 861px) and (max-width: 1099px) {
  body.nx-design2 .nx-home-page .nx-home-recent-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 661px) and (max-width: 860px) {
  body.nx-design2 .nx-home-page .nx-home-recent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 660px) {
  body.nx-design2 .nx-home-page .nx-home-recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
