/* Minimal, clean gallery layout for the Photos template */
.photos-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.photos-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.photos-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .photos-item img { height: 260px; }
}

.photos-empty {
  text-align: center;
  opacity: .7;
}


/* Actions row: below the image, right-aligned, inside featherlight */
.featherlight .fl-download-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

/* Button inherits Foundation .button style */
.featherlight .fl-download-btn { }