.ut-card-gallery { position: relative; }
.ut-card-gallery > a { touch-action: pan-y pinch-zoom; }
.ut-card-gallery .ut-card-photo-count, .ut-card-gallery .ut-photo-arrow {
    position: absolute;
    z-index: 2;
    background: rgba(22,30,28,.82);
    color: white;
}
.ut-card-gallery .ut-card-photo-count {
    bottom: 10px; right: 10px; border-radius: 20px; padding: 3px 9px;
    font: 600 12px/1.5 system-ui,sans-serif; pointer-events: none;
}
.ut-card-gallery .ut-photo-arrow {
    top: 50%; transform: translateY(-50%); border: 0; border-radius: 50%;
    width: 36px; height: 36px; padding: 0; cursor: pointer;
    font: 400 28px/32px system-ui,sans-serif;
}
.ut-card-gallery .ut-prev { left: 8px; }
.ut-card-gallery .ut-next { right: 8px; }
.ut-card-gallery .ut-photo-arrow:focus-visible { outline: 3px solid white; outline-offset: 2px; }
@media (hover: none) and (pointer: coarse) {
    .ut-card-gallery .ut-photo-arrow:not(:focus-visible) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
