.lt-gallery-trigger{cursor:zoom-in}.lt-gallery{width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:rgba(2,12,31,.96);color:#fff}.lt-gallery::backdrop{background:rgba(0,0,0,.85)}.lt-gallery-shell{height:100%;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:10px;padding:56px 20px 20px;position:relative}.lt-gallery figure{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;height:100%;text-align:center}.lt-gallery img{display:block;max-width:100%;max-height:calc(100% - 65px);width:auto;height:auto;object-fit:contain}.lt-gallery figcaption{margin-top:12px;font-size:14px;line-height:1.4}.lt-gallery [data-gallery-count]{margin-top:7px;color:#c9d8ec;font-size:12px}.lt-gallery button{border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:50%;width:48px;height:48px;font-size:32px;line-height:1}.lt-gallery button:hover,.lt-gallery button:focus-visible{background:#02d2fd;color:#022458}.lt-gallery button[hidden]{display:none}.lt-gallery-close{position:absolute;top:10px;right:20px}.lt-gallery-next{justify-self:end}@media(max-width:767px){.lt-gallery-shell{grid-template-columns:42px minmax(0,1fr) 42px;padding:55px 6px 15px;gap:2px}.lt-gallery button{width:40px;height:40px}.lt-gallery-close{right:12px}}

/* Gallerie dei blocchi e shortcode classico: non interessa le immagini singole. */
.entry-content .wp-block-gallery,.entry-content .gallery,.entry-content .blocks-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0;padding:0}.entry-content .wp-block-gallery .blocks-gallery-grid{grid-column:1/-1;width:100%;margin:0}.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),.entry-content .wp-block-gallery>.wp-block-image,.entry-content .gallery .gallery-item,.entry-content .blocks-gallery-item{width:100%;max-width:none;min-width:0;margin:0;list-style:none;float:none}.entry-content .wp-block-gallery img,.entry-content .gallery img,.entry-content .blocks-gallery-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:0;border-radius:6px}.entry-content .gallery-icon a,.entry-content .wp-block-gallery .wp-block-image>a{display:block}.entry-content .wp-block-gallery>figcaption,.entry-content .wp-block-gallery>.blocks-gallery-caption{grid-column:1/-1}.entry-content .gallery-caption,.entry-content .blocks-gallery-item figcaption{font-size:12px;line-height:1.35;margin-top:5px}.entry-content .gallery .gallery-icon{margin:0}@media(max-width:767px){.entry-content .wp-block-gallery,.entry-content .gallery,.entry-content .blocks-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
