/* Shared image-first gallery: native swiping, direct thumbnails, no autoplay. */
.wheel-gallery{--wg-aspect:1.25;--wg-thumb-size:64px;min-width:0;max-width:100%;color:#555b64}
.wheel-gallery .wheel-gallery-stage{position:relative;min-width:0;background:#f1f2f3}
.wheel-gallery .wheel-gallery-track{display:flex;width:100%;min-width:0;aspect-ratio:var(--wg-aspect);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;background:#f1f2f3;cursor:grab;-webkit-overflow-scrolling:touch}
.wheel-gallery .wheel-gallery-track::-webkit-scrollbar{display:none}
.wheel-gallery .wheel-gallery-slide{display:block;position:relative;flex:0 0 100%;width:100%;min-width:0;height:100%;padding:0;margin:0;border:0;border-radius:0;color:inherit;background:#f1f2f3;scroll-snap-align:start;scroll-snap-stop:always;text-decoration:none;cursor:pointer;overflow:hidden}
.wheel-gallery .wheel-gallery-slide>img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;padding:0;pointer-events:none;user-select:none;-webkit-user-drag:none;background:#f1f2f3}
.wheel-gallery .wheel-gallery-track.is-dragging,.wheel-gallery .wheel-gallery-track.is-dragging .wheel-gallery-slide{cursor:grabbing;user-select:none}
.wheel-gallery .wheel-gallery-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #d2d5d9;border-radius:0;background:#fffffff0;color:#333a43;box-shadow:0 2px 12px #00000008;font:400 28px/1 Arial,sans-serif;cursor:pointer}
.wheel-gallery .wheel-gallery-prev{left:10px}.wheel-gallery .wheel-gallery-next{right:10px}
.wheel-gallery .wheel-gallery-arrow:disabled{opacity:.35;cursor:default}.wheel-gallery .wheel-gallery-arrow[hidden]{display:none!important}
.wheel-gallery .wheel-gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:33px;margin:0;padding:7px 2px 6px;font-size:10px;font-weight:400;line-height:1.6;background:transparent}
.wheel-gallery [data-gallery-caption]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.wheel-gallery .wheel-gallery-count{flex:0 0 auto;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#858b93}
.wheel-gallery .wheel-gallery-thumbnails{position:relative;display:flex;gap:7px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 2px 6px;scrollbar-width:thin;scrollbar-color:#b8bdc5 transparent;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom}
.wheel-gallery .wheel-gallery-thumb{display:block;flex:0 0 var(--wg-thumb-size);width:var(--wg-thumb-size);height:var(--wg-thumb-size);min-width:44px;min-height:44px;padding:3px;margin:0;border:1px solid #d9dce1;border-radius:0;background:#f4f5f6;cursor:pointer;opacity:.7;scroll-margin-inline:4px}
.wheel-gallery .wheel-gallery-thumb>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:0;background:#f4f5f6;pointer-events:none;user-select:none;-webkit-user-drag:none}
.wheel-gallery .wheel-gallery-thumb[aria-current=true]{border:2px solid #b92331;padding:2px;opacity:1;background:#fff}
.wheel-gallery .wheel-gallery-slide:focus-visible,.wheel-gallery .wheel-gallery-thumb:focus-visible,.wheel-gallery .wheel-gallery-arrow:focus-visible{outline:3px solid #b92331;outline-offset:-3px}
@media(hover:hover){.wheel-gallery .wheel-gallery-thumb:hover{opacity:1;border-color:#b92331}.wheel-gallery .wheel-gallery-arrow:not(:disabled):hover{border-color:#9097a1;background:#fff}}
@media(max-width:700px){.wheel-gallery{--wg-thumb-size:52px;--wg-aspect:1.12}.wheel-gallery .wheel-gallery-prev{left:7px}.wheel-gallery .wheel-gallery-next{right:7px}.wheel-gallery .wheel-gallery-caption{font-size:10px;min-height:31px;padding-top:6px}.wheel-gallery .wheel-gallery-thumbnails{gap:6px;padding-bottom:5px}}
@media(prefers-reduced-motion:reduce){.wheel-gallery,.wheel-gallery *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
html.motion-disabled .wheel-gallery,html.motion-disabled .wheel-gallery *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
