/* Galería responsive: se adapta al número de fotografías. */
.gallery.gallery-layout-mosaic,.gallery.gallery-layout-grid,.gallery.gallery-layout-carousel{grid-template-rows:none!important}
.gallery.gallery-layout-mosaic{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-flow:row;gap:10px}.gallery.gallery-layout-mosaic figure{grid-column:span 2!important;grid-row:auto!important;height:225px!important;min-width:0}.gallery.gallery-layout-mosaic figure:first-child{grid-column:span 4!important;grid-row:span 2!important;height:auto!important;min-height:460px}.gallery.gallery-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px}.gallery.gallery-layout-grid figure{grid-column:auto!important;grid-row:auto!important;height:230px!important}.gallery.gallery-layout-carousel{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:15px}.gallery.gallery-layout-carousel figure{flex:0 0 min(72%,520px);height:350px!important;scroll-snap-align:center;grid-column:auto!important;grid-row:auto!important}.gallery[class*="gallery-layout-"] img{display:block;width:100%;height:100%;object-fit:cover}.gallery[class*="gallery-layout-"] figure{position:relative;overflow:hidden}.gallery[class*="gallery-layout-"] figcaption{opacity:1;transform:none;text-shadow:0 1px 4px #0009;background:linear-gradient(0deg,#0006,transparent);left:0;right:0;bottom:0;padding:22px 12px 10px;font-size:17px}
@media(max-width:767px){.gallery.gallery-layout-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}.gallery.gallery-layout-mosaic figure{grid-column:span 1!important;height:185px!important}.gallery.gallery-layout-mosaic figure:first-child{grid-column:span 2!important;grid-row:auto!important;height:280px!important;min-height:0}.gallery.gallery-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}.gallery.gallery-layout-grid figure{height:175px!important}.gallery.gallery-layout-carousel figure{flex-basis:85%;height:270px!important}}
