/* style.css */
/* MOBILE FIRST GRID */
.fgs-list { display: grid; gap: 1em; grid-template-columns: 1fr; }
@media (min-width: 37.5em) { .fgs-list { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 50em) { .fgs-list { grid-template-columns: repeat(3,1fr); } }

/* Galería individual */
.fgs-gallery { padding: 0.5em; background: #f5f5f5; text-decoration: none; display: block; text-align: center; }

/* Paginación */
.fgs-pagi { margin-top: 1em; text-align: center; }
.fgs-pagi a { margin: 0 0.25em; text-decoration: none; }
.fgs-pagi .current { font-weight: bold; }

/* Lightbox básico */
.fgs-lbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; padding: 1em; }
.fgs-lbox img { max-width: 90%; max-height: 90%; margin: 0.5em; }
