/* Graine au vent — blocs photos ajoutés par l'interface (colonne, carrousel, mosaïque) */
.gav-photos{position:relative;max-width:1000px;margin:24px auto;padding:0 15px}
.gav-photos .gav-ph{margin:0}
.gav-photos .gav-ph a{display:block}
.gav-photos .gav-ph img{display:block;width:100%;height:auto}
.gav-photos .gav-ph figcaption{text-align:center;font-size:18px;margin-top:8px}

/* Les unes sous les autres */
.gav-mode-colonne .gav-ph{max-width:800px;margin:0 auto 28px}

/* Mosaïque : côte à côte, toutes au même format portrait (4/5), recadrées au centre ; la photo entière s'ouvre au clic */
/* Les photos remplissent la rangée : 2 → deux grandes (485 px), 3 → trois (313 px), 4 → quatre (227 px) ; 1 photo → une grande centrée ; 5 et plus : rangées de 4, dernière rangée centrée */
.gav-mode-mosaique .gav-piste{display:flex;flex-wrap:wrap;justify-content:center;gap:30px;align-items:flex-start}
.gav-mode-mosaique .gav-ph{flex:1 1 205px;max-width:485px}
.gav-mode-mosaique .gav-ph img{width:100%;aspect-ratio:4/5;object-fit:cover}
.gav-mode-mosaique .gav-ph figcaption{font-size:15px}

/* Carrousel */
.gav-mode-carrousel .gav-piste{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
.gav-mode-carrousel .gav-piste::-webkit-scrollbar{display:none}
.gav-mode-carrousel .gav-ph{flex:0 0 100%;scroll-snap-align:center}
.gav-mode-carrousel .gav-ph img{max-height:520px;object-fit:contain}
.gav-fleche{position:absolute;top:40%;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.85);font-size:26px;line-height:42px;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.25)}
.gav-fleche.g{left:22px}.gav-fleche.d{right:22px}
