/* Photos de l'annonce (templates/event/_photos.html) : principale en grand, deux
   facultatives en petit dessous, cote a cote ; l'une sous l'autre sur petit ecran. */
.listing-photos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.listing-photos__main img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.listing-photos__extra {
  display: flex;
  gap: 0.5rem;
}

.listing-photos__extra a {
  flex: 1 1 0;
  min-width: 0;
}

.listing-photos__extra img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
}

@media screen and (max-width: 480px) {
  .listing-photos__extra {
    flex-direction: column;
  }
}
