/* Style extrait des pages HTML */
/* Conserver le format compact des photographies existantes. */
.photo-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px)) !important;
  justify-content: start !important;
  gap: 12px !important;
}
.photo-grid > .photo-card {
  width: 100% !important;
  max-width: 220px !important;
  min-width: 0 !important;
}
.photo-grid > .photo-card.photo-slot {
  display: flex !important;
  flex-direction: column;
  min-height: 0 !important;
  border: 1px dashed #8e929a !important;
  border-radius: 8px;
  overflow: hidden;
  background: #25282d !important;
  color: #f4f4f4 !important;
}
.photo-slot-space {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-align: center;
}
.photo-slot-icon {
  font-size: 25px;
  line-height: 1;
  color: #d62832;
}
.photo-slot-label { font-size: 12px; font-weight: 600; }
.photo-grid .photo-slot figcaption {
  padding: 8px !important;
  font-size: 11px;
  text-align: center;
}
@media (max-width: 420px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
