/* Carrusel: estilo «Carrusel» del bloque Galería. Solo se carga en el sitio público;
   en el editor la galería se ve como cuadrícula para editarla cómodo. */
.vv-carrusel{position:relative;display:grid;gap:18px}
.wp-block-gallery.is-style-vv-carrusel{display:flex!important;flex-wrap:nowrap!important;gap:16px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;margin:0}
.wp-block-gallery.is-style-vv-carrusel::-webkit-scrollbar{display:none}
.wp-block-gallery.is-style-vv-carrusel figure.wp-block-image{flex:0 0 calc((100% - 32px) / 3)!important;width:auto!important;max-width:none!important;margin:0!important;scroll-snap-align:start;aspect-ratio:4/5;border-radius:16px;overflow:hidden;background:var(--vv-tarjeta)}
.wp-block-gallery.is-style-vv-carrusel figure.wp-block-image img{width:100%!important;height:100%!important;object-fit:cover;display:block}
.wp-block-gallery.is-style-vv-carrusel figure.wp-block-image figcaption{font-size:13px;padding:40px 14px 12px}
.vv-car-ctrl[hidden]{display:none}
.vv-car-ctrl{display:flex;align-items:center;justify-content:center;gap:14px}
.vv-car-btn{width:44px;height:44px;border-radius:50%;border:1px solid #ffffff4d;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.vv-car-btn:hover{background:#ffffff1a}
.vv-car-btn svg{width:20px;height:20px}
.vv-car-dots{display:flex;gap:7px;align-items:center}
.vv-car-dot{position:relative;width:9px;height:9px;border-radius:5px;border:0;padding:0;background:#ffffff4d;cursor:pointer;transition:width .2s}
.vv-car-dot::after{content:"";position:absolute;inset:-17px -6px}
.vv-car-dot[aria-current="true"]{width:24px;background:var(--vv-naranja)}
@media (max-width:1040px){.wp-block-gallery.is-style-vv-carrusel figure.wp-block-image{flex-basis:calc((100% - 16px) / 2)!important}}
@media (max-width:600px){.wp-block-gallery.is-style-vv-carrusel figure.wp-block-image{flex-basis:82%!important}}
@media (prefers-reduced-motion:reduce){.wp-block-gallery.is-style-vv-carrusel{scroll-behavior:auto}}
