/*! Counterra Gallery Viewer 1.1.0 */
/* Number badges (pure CSS, so they show even without JavaScript; videos are skipped) */
.ctr-photos{counter-reset:ctrgv}
.ctr-photos__item{position:relative}
.ctr-photos__item:not(.ctr-photos__item--video){counter-increment:ctrgv}
.ctr-photos__item:not(.ctr-photos__item--video)::after{content:counter(ctrgv);position:absolute;left:6px;top:6px;z-index:2;pointer-events:none;font-style:normal;font-size:12px;font-weight:700;line-height:1.5;background:rgba(10,11,14,.8);color:#ffd79a;border-radius:999px;padding:2px 8px;font-family:inherit}
.ctr-photos__item.is-gv-active{outline:3px solid #f2b45a;outline-offset:2px}
.ctr-gv-on .ctr-photos__item a{cursor:zoom-in}
/* Slideshow stage */
.ctr-gv-stage{position:relative;margin:1em 0 12px;border-radius:6px;overflow:hidden;background:#111;aspect-ratio:3/2;max-height:72vh;width:100%;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.ctr-gv-stage .ctr-gv-open{all:unset;position:absolute;inset:0;display:block;cursor:zoom-in}
.ctr-gv-stage .ctr-gv-open:focus-visible{outline:3px solid #f2b45a;outline-offset:-3px}
.ctr-gv-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .7s ease;margin:0;max-width:none;border-radius:0}
.ctr-gv-stage img.is-on{opacity:1}
.ctr-gv-stage .ctr-gv-nav,.ctr-gv-lb button{position:absolute;font:inherit;cursor:pointer;border:1px solid rgba(255,255,255,.3);background:rgba(20,22,28,.78);color:#fff;border-radius:999px;width:44px;height:44px;font-size:22px;line-height:1;padding:0;display:flex;align-items:center;justify-content:center;z-index:3}
.ctr-gv-stage .ctr-gv-nav:hover,.ctr-gv-lb button:hover{background:rgba(20,22,28,.95);color:#fff}
.ctr-gv-stage .ctr-gv-nav:focus-visible,.ctr-gv-lb button:focus-visible{outline:2px solid #f2b45a;outline-offset:2px}
.ctr-gv-stage .ctr-gv-pv{left:10px;top:50%;transform:translateY(-50%)}
.ctr-gv-stage .ctr-gv-nx{right:10px;top:50%;transform:translateY(-50%)}
.ctr-gv-stage .ctr-gv-pp{right:10px;bottom:10px;width:38px;height:38px;font-size:14px}
.ctr-gv-stage .ctr-gv-count{position:absolute;left:10px;bottom:10px;z-index:3;font-size:13px;font-weight:700;background:rgba(10,11,14,.8);color:#ffd79a;border-radius:999px;padding:3px 10px;pointer-events:none}
.ctr-gv-stage .ctr-gv-bar{position:absolute;left:0;bottom:0;height:3px;width:0;background:#f2b45a;z-index:3;pointer-events:none}
.ctr-gv-stage.is-playing .ctr-gv-bar{animation:ctrgvbar var(--ctr-gv-ms,4500ms) linear forwards}
@keyframes ctrgvbar{from{width:0}to{width:100%}}
/* Full-screen viewer */
.ctr-gv-lb{position:fixed;inset:0;z-index:2147482000;background:rgba(5,6,8,.94);display:none;align-items:center;justify-content:center;flex-direction:column;padding:60px 12px 16px;box-sizing:border-box;touch-action:pan-y}
.ctr-gv-lb.is-open{display:flex}
.ctr-gv-lb img{max-width:100%;max-height:calc(100vh - 150px);width:auto;height:auto;object-fit:contain;margin:0}
.ctr-gv-lb p{color:#eee;margin:12px 0 0;text-align:center;font-size:15px;max-width:70ch;line-height:1.5}
.ctr-gv-lb .ctr-gv-x{top:10px;right:10px}
.ctr-gv-lb .ctr-gv-pp{top:10px;right:64px;font-size:14px}
.ctr-gv-lb .ctr-gv-pv{left:10px;top:50%;transform:translateY(-50%)}
.ctr-gv-lb .ctr-gv-nx{right:10px;top:50%;transform:translateY(-50%)}
html.ctr-gv-lock{overflow:hidden}
/* 1.1.0: thumbnail strip + fullscreen */
.ctr-gv-lb .ctr-gv-tb{top:10px;right:172px}
.ctr-gv-lb .ctr-gv-fs{top:10px;right:118px}
.ctr-gv-lb:not(.has-fs) .ctr-gv-tb{right:118px}
.ctr-gv-lb .ctr-gv-tb[aria-pressed="true"]{border-color:#f2b45a;color:#ffd79a}
.ctr-gv-lb:fullscreen{background:#050608}
.ctr-gv-lb:-webkit-full-screen{background:#050608;width:100%;height:100%}
.ctr-gv-strip{display:none;position:relative;width:100%;max-width:1100px;margin:12px auto 0;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent;flex:0 0 auto}
.ctr-gv-lb.has-strip .ctr-gv-strip{display:block}
.ctr-gv-strip-in{display:flex;gap:6px;width:max-content;margin:0 auto;padding:4px 4px 6px}
.ctr-gv-lb .ctr-gv-strip button.ctr-gv-th{position:relative;top:auto;left:auto;right:auto;bottom:auto;transform:none;flex:0 0 auto;width:76px;height:54px;border-radius:4px;padding:0;overflow:hidden;background:#222;border:2px solid transparent;opacity:.6;transition:opacity .2s,border-color .2s}
.ctr-gv-lb .ctr-gv-strip button.ctr-gv-th:hover{opacity:.9;background:#222}
.ctr-gv-lb .ctr-gv-strip button.ctr-gv-th.is-on{opacity:1;border-color:#f2b45a}
.ctr-gv-lb .ctr-gv-strip button.ctr-gv-th:focus-visible{outline:2px solid #f2b45a;outline-offset:1px;opacity:1}
.ctr-gv-lb .ctr-gv-strip img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;display:block;margin:0;pointer-events:none}
.ctr-gv-thn{position:absolute;left:3px;top:3px;font-size:10px;font-weight:700;line-height:1.4;background:rgba(10,11,14,.82);color:#ffd79a;border-radius:999px;padding:0 5px;pointer-events:none}
.ctr-gv-lb.has-strip img{max-height:calc(100vh - 226px)}
.ctr-gv-lb.has-strip .ctr-gv-strip img{max-height:none}
@media (max-width:600px){.ctr-gv-stage{aspect-ratio:4/3}.ctr-gv-stage .ctr-gv-nav{width:38px;height:38px;font-size:19px}.ctr-gv-lb .ctr-gv-pv,.ctr-gv-lb .ctr-gv-nx{top:auto;bottom:14px;transform:none}.ctr-gv-lb{padding-bottom:70px}.ctr-gv-lb img{max-height:calc(100vh - 190px)}.ctr-gv-lb.has-strip img{max-height:calc(100vh - 240px)}.ctr-gv-lb .ctr-gv-strip button.ctr-gv-th{width:52px;height:40px}.ctr-gv-strip{margin-top:8px}.ctr-gv-lb p{font-size:14px;margin-top:8px}}
@media (prefers-reduced-motion:reduce){.ctr-gv-stage img{transition:none}.ctr-gv-lb .ctr-gv-strip button.ctr-gv-th{transition:none}.ctr-gv-stage.is-playing .ctr-gv-bar{animation:none}}
