/* V15: riquadri piccoli, sequenza completa, loghi nei riquadri V13 */
.wip-story .stage-gallery.ribalta-gallery {
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,190px))!important;
 justify-content:start!important;
 align-items:stretch!important;
 gap:14px!important;
 max-width:650px!important;
 width:100%!important;
 margin:22px 0 28px!important;
 padding:0!important;
 overflow:visible!important;
 scroll-snap-type:none!important;
}
.wip-story .ribalta-gallery .ribalta-card {
 display:flex!important;flex-direction:column!important;
 width:100%!important;max-width:190px!important;min-width:0!important;
 margin:0!important;padding:0!important;
 background:#1b1513!important;border:1px solid #493530!important;
 overflow:hidden!important;box-sizing:border-box!important;
}
.wip-story .ribalta-gallery .ribalta-card img {
 display:block!important;width:100%!important;max-width:100%!important;
 height:156px!important;max-height:156px!important;
 aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
 background:#100e0d!important;margin:0!important;padding:0!important;
}
.wip-story .ribalta-gallery .ribalta-card figcaption {
 display:flex!important;flex-direction:column!important;flex:1!important;
 padding:11px 12px 14px!important;margin:0!important;
 color:#d5c7c0!important;font-size:12px!important;line-height:1.45!important;
}
.wip-story .ribalta-gallery .ribalta-card figcaption .step {
 color:#ed7d84!important;font-size:10px!important;font-weight:800!important;letter-spacing:.08em!important;
}
.wip-story .ribalta-gallery .ribalta-card figcaption strong {
 display:block!important;color:#f5e8e0!important;
 font:800 17px/1.12 'Barlow Condensed',Impact,sans-serif!important;
 margin:6px 0 7px!important;text-transform:uppercase!important;
}
.wip-story .ribalta-gallery .ribalta-card figcaption .stage-description {display:block!important}
.wip-story .warehouse-gallery {display:grid!important;grid-template-columns:repeat(3,minmax(0,190px))!important;gap:14px!important;max-width:650px!important}
.wip-story .warehouse-gallery figure {max-width:190px!important}
.wip-story .warehouse-gallery img {height:156px!important;aspect-ratio:auto!important;object-fit:contain!important;background:#100e0d!important}
@media(max-width:700px){
 .wip-story .stage-gallery.ribalta-gallery,.wip-story .warehouse-gallery {grid-template-columns:repeat(2,minmax(0,170px))!important;max-width:370px!important;gap:10px!important}
 .wip-story .ribalta-gallery .ribalta-card,.wip-story .warehouse-gallery figure{max-width:170px!important}
 .wip-story .ribalta-gallery .ribalta-card img,.wip-story .warehouse-gallery img {height:145px!important;max-height:145px!important}
}
@media(max-width:370px){
 .wip-story .stage-gallery.ribalta-gallery,.wip-story .warehouse-gallery {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* Keep the original V13 four-card grid; logos must not stretch or change aspect ratio. */
.ob-partners .ob-partners__grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.ob-partners .ob-partner {
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 min-height:165px!important;height:auto!important;padding:15px 10px!important;gap:7px!important;
 border:1px solid rgba(230,214,194,.16)!important;
 background:linear-gradient(145deg,#191616,#0f0e0e)!important;
}
.ob-partners .ob-partner__logo-wrap {
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 72px!important;width:160px!important;max-width:100%!important;height:72px!important;
 min-height:72px!important;max-height:72px!important;overflow:hidden!important;
 background:transparent!important;padding:7px!important;border-radius:2px!important;
}
.ob-partners .ob-partner__logo-wrap img {
 display:block!important;width:auto!important;height:auto!important;
 max-width:100%!important;max-height:58px!important;
 object-fit:contain!important;object-position:center!important;
 margin:auto!important;padding:0!important;
}
.ob-partners .ob-partner--resolve .ob-partner__logo-wrap,
.ob-partners .ob-partner--aura .ob-partner__logo-wrap {background:#f5f2ee!important}
.ob-partners .ob-partner__name {min-height:27px!important;font-size:10px!important;line-height:1.3!important}
.ob-partners .ob-partner__link {font-size:9px!important;margin-top:auto!important}
@media(max-width:900px){.ob-partners .ob-partners__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){
 .ob-partners .ob-partner{min-height:155px!important;padding:11px 7px!important}
 .ob-partners .ob-partner__logo-wrap{width:135px!important;height:65px!important;min-height:65px!important;max-height:65px!important;flex-basis:65px!important}
 .ob-partners .ob-partner__logo-wrap img{max-height:53px!important}
}
