
/* Galerie éditoriale compacte — Topette Pictures */

.compact-gallery {
  columns: 3;
  column-gap: 12px;

  width: 94%;
  max-width: 1400px;
  margin: 0 auto 36px;
}

.compact-gallery figure {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;

  break-inside: avoid;
  page-break-inside: avoid;
}

.compact-gallery img {
  display: block;
  width: 100%;
  height: auto;

  margin: 0;
  padding: 0;

  object-fit: contain;
  cursor: zoom-in;
}

/* Ajustement sur tablette */

@media (max-width: 900px) {
  .compact-gallery {
    columns: 2;
    column-gap: 10px;
    width: 94%;
  }

  .compact-gallery figure {
    margin-bottom: 10px;
  }
}

/* Ajustement sur téléphone */

@media (max-width: 500px) {
  .compact-gallery {
    columns: 2;
    column-gap: 8px;
    width: 94%;
    margin-bottom: 26px;
  }

  .compact-gallery figure {
    margin-bottom: 8px;
  }
}
