/* Sve klase su prefiksirane kako se galerija ne bi sukobila sa Elementor stilovima. */
.stg-gallery,.stg-gallery *{box-sizing:border-box}
.stg-gallery{width:100%;max-width:100%;min-width:0;--stg-ratio:16 / 9;--stg-fit:cover;--stg-duration:650ms;font-family:inherit}
.stg-gallery .stg-stage{position:relative;overflow:hidden;border-radius:10px;background:#f0f2f4}
.stg-gallery .stg-viewport{width:100%;position:relative;overflow:hidden;aspect-ratio:var(--stg-ratio);touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.stg-gallery .stg-viewport:active{cursor:grabbing}
.stg-gallery .stg-track{display:flex;position:absolute;inset:0;width:100%;height:100%;transform:translate3d(0,0,0);transition:transform var(--stg-duration) cubic-bezier(.22,.61,.36,1);will-change:transform}
.stg-gallery .stg-slide{position:relative;flex:0 0 100%;height:100%;min-width:0;overflow:hidden;background:#e9ecef}
.stg-gallery .stg-main-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:var(--stg-fit)!important;object-position:center!important;margin:0!important;border:0!important;border-radius:0!important;pointer-events:none}
.stg-gallery .stg-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:42px;height:42px;display:flex;align-items:center;justify-content:center;padding:0;border:0!important;border-radius:50%;background:rgba(0,0,0,.43)!important;color:#fff!important;cursor:pointer;transition:background .2s,opacity .2s;outline-offset:3px;box-shadow:none!important}
.stg-gallery .stg-arrow:hover{background:rgba(0,0,0,.72)!important}
.stg-gallery .stg-arrow:focus-visible,.stg-gallery .stg-thumb:focus-visible{outline:3px solid #2573d9;outline-offset:3px}
.stg-gallery .stg-arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.stg-gallery .stg-arrow-prev{left:12px}.stg-gallery .stg-arrow-next{right:12px}
.stg-gallery .stg-thumbnails{display:flex;align-items:stretch;gap:8px;overflow-x:auto;overflow-y:hidden;padding:10px 2px 5px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#bec6d0 transparent;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.stg-gallery .stg-thumb{flex:0 0 clamp(68px,16%,104px);display:block;width:clamp(68px,16%,104px);aspect-ratio:4/3;position:relative;margin:0!important;padding:0!important;overflow:hidden;border:2px solid transparent!important;border-radius:6px!important;background:#e8ebef!important;opacity:.66;cursor:pointer;outline-offset:2px;transition:opacity .25s,border-color .25s,transform .25s;box-shadow:none!important}
.stg-gallery .stg-thumb:hover{opacity:1;transform:translateY(-1px)}
.stg-gallery .stg-thumb.is-active{opacity:1;border-color:#2877d7!important}
.stg-gallery .stg-thumb-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;margin:0!important;border-radius:0!important;pointer-events:none}
@media(max-width:600px){.stg-gallery .stg-stage{border-radius:7px}.stg-gallery .stg-arrow{width:34px;height:34px}.stg-gallery .stg-arrow-prev{left:7px}.stg-gallery .stg-arrow-next{right:7px}.stg-gallery .stg-arrow svg{width:20px;height:20px}.stg-gallery .stg-thumbnails{gap:6px;padding-top:8px}.stg-gallery .stg-thumb{flex-basis:72px;width:72px;border-radius:5px!important}}
@media(prefers-reduced-motion:reduce){.stg-gallery .stg-track,.stg-gallery .stg-thumbnails,.stg-gallery .stg-thumb,.stg-gallery .stg-arrow{transition-duration:0ms!important;scroll-behavior:auto!important}}
