.as-service-gallery{display:block;box-sizing:border-box;width:100%;max-width:1170px;margin:36px auto;padding:0 15px;clear:both}
.container .as-service-gallery{padding-left:0;padding-right:0}
.as-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.as-gallery-header h2{margin:0;font-size:26px;line-height:1.3}
.as-gallery-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}
.as-gallery-controls button{display:flex;justify-content:center;align-items:center;width:44px;height:44px;min-width:44px;padding:9px;border:1px solid #ba0913;border-radius:5px;background:#fff;color:#ba0913;cursor:pointer}
.as-gallery-controls button:hover:not(:disabled){background:#ba0913;color:#fff}
.as-gallery-controls button:disabled{border-color:#ddd;color:#aaa;cursor:default}
.as-gallery-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.as-gallery-counter{min-width:62px;text-align:center;font-size:13px;line-height:1.3;color:#555;font-variant-numeric:tabular-nums}
.as-service-gallery-track:not(.owl-loaded){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.as-gallery-slide{display:block;margin:0;padding:0;min-width:0}
.as-service-gallery-link{display:block;color:inherit;text-decoration:none}
.as-gallery-frame{display:block;position:relative;width:100%;aspect-ratio:4/3;background:#f3f3f3;border-radius:6px;overflow:hidden}
.as-gallery-frame .as-gallery-image{display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:contain;border:0;margin:0}
.as-gallery-zoom{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fffE;color:#222;font-size:24px;line-height:1}
.as-gallery-slide figcaption{display:block;min-height:2.8em;margin-top:10px;padding:0 2px;font-size:13px;line-height:1.4;color:#444}
.as-service-gallery .owl-stage-outer{overflow:hidden;touch-action:pan-y pinch-zoom}
.as-service-gallery .owl-item{float:left;min-height:1px;user-select:none}
.as-gallery-controls button:focus-visible,.as-service-gallery-link:focus-visible{outline:3px solid #185abc;outline-offset:3px}
.as-service-gallery-open .fancybox-overlay{z-index:100100}
.as-service-gallery-open .fancybox-wrap{z-index:100101}
.as-service-gallery-open .fancybox-image{touch-action:pan-y pinch-zoom}
.as-service-gallery-open .fancybox-close:focus-visible,.as-service-gallery-open .fancybox-nav:focus-visible{outline:3px solid #185abc;outline-offset:3px}
.as-lightbox-counter{display:block;text-align:center;font-size:13px;line-height:1.8;color:#fff}
@media(max-width:767px){.as-service-gallery{margin-top:28px;margin-bottom:28px}.as-gallery-header{align-items:center;gap:8px}.as-gallery-header h2{font-size:21px}.as-gallery-controls{gap:4px}.as-gallery-counter{min-width:48px;font-size:12px}.as-service-gallery-track:not(.owl-loaded){grid-template-columns:minmax(0,1fr)}.as-gallery-slide figcaption{font-size:13px}}
@media(prefers-reduced-motion:reduce){.as-service-gallery .owl-stage{transition:none!important}}

.as-service-gallery-open .fancybox-nav span{visibility:visible;opacity:1}
@media(max-width:359px){.as-gallery-header h2{font-size:19px}.as-gallery-counter{min-width:42px;font-size:11px}}
