/* Adaptive Image Slider v1.0.6. Scoped to avoid Helix/Bootstrap conflicts. */
.ais{--ais-gap:25px;--ais-arrow-size:44px;--ais-arrow-bg:rgba(20,22,28,.60);--ais-arrow-color:#fff;--ais-focus:#135acb;width:100%;max-width:100%;font:inherit;color:inherit;box-sizing:border-box}
.ais *, .ais *::before, .ais *::after{box-sizing:border-box}
.ais [hidden]{display:none!important}
.ais__viewport{display:flex;justify-content:center;align-items:flex-start;gap:0;min-width:0;width:100%;position:relative}
.ais__nav-rail{height:var(--ais-stage-height);flex:1 1 0;min-width:58px;display:flex;align-items:center;justify-content:center;position:relative;z-index:5}
.ais[data-preview="0"] .ais__previews,.ais[data-compact="1"] .ais__previews{display:none!important}
.ais[data-layout-ready="0"] .ais__previews{visibility:hidden}
.ais__figure{margin:0;min-width:0;flex:0 0 var(--ais-main-width,100%);width:var(--ais-main-width,100%);max-width:100%}
.ais__stage{height:var(--ais-stage-height);width:100%;position:relative;overflow:hidden;background:transparent;border-radius:3px;isolation:isolate}
.ais__open{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;padding:0;width:100%;height:100%;border:0;background:transparent;color:inherit;cursor:zoom-in}
.ais__main{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center;display:block}
.ais__fade{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center;opacity:0;pointer-events:none;transition:opacity .4s ease;z-index:1}
.ais__fade.is-visible{opacity:1}
.ais__previews{flex:0 0 var(--ais-side-width,200px);width:var(--ais-side-width,200px);min-width:0;height:var(--ais-stage-height);display:flex;gap:var(--ais-gap);align-items:center}
.ais__previews--left{justify-content:flex-end;margin-right:var(--ais-gap)}
.ais__previews--right{justify-content:flex-start;margin-left:var(--ais-gap)}
.ais__thumb{display:block;flex:0 0 var(--ais-thumb-width);width:var(--ais-thumb-width);min-width:0;height:min(62%,285px);padding:0;border:0;background:transparent;cursor:pointer;opacity:.8;overflow:hidden;border-radius:3px;transition:opacity .2s ease}
.ais__thumb:hover{opacity:1}
.ais__thumb img{width:100%;height:100%;max-width:100%;display:block;object-fit:cover;object-position:center}
/* Navigation sits in the *outer* white rails on desktop; never on top of photos. */
.ais .ais__nav-rail > button.ais__arrow{
  display:flex!important;visibility:visible!important;align-items:center!important;justify-content:center!important;
  position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
  transform:none!important;float:none!important;z-index:50!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  background:var(--ais-arrow-bg)!important;color:var(--ais-arrow-color)!important;
  -webkit-text-fill-color:var(--ais-arrow-color)!important;
  font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;line-height:1!important;
  box-shadow:none!important;text-decoration:none!important;text-transform:none!important;cursor:pointer!important;
  touch-action:manipulation!important;
}
.ais .ais__nav-rail > button.ais__arrow:disabled{opacity:.4!important;cursor:default!important}
.ais .ais__nav-rail > button.ais__arrow:not(:disabled){opacity:1!important}
.ais .ais__nav-rail > button.ais__arrow::before,.ais .ais__nav-rail > button.ais__arrow::after{content:none!important;display:none!important}
.ais .ais__nav-rail > button.ais__arrow:not(:disabled):hover{filter:brightness(1.2)}
.ais .ais__arrow-icon{display:block!important;visibility:visible!important;color:inherit!important;-webkit-text-fill-color:inherit!important;font-family:Arial,Helvetica,sans-serif!important;font-size:38px!important;font-style:normal!important;font-weight:400!important;line-height:.85!important;white-space:nowrap!important;pointer-events:none}
.ais .ais__arrow-icon--chevron{transform:translateY(-2px)}
.ais .ais__arrow-icon--arrow{font-size:28px!important;line-height:1!important}
.ais .ais__arrow-icon--triangle{font-size:22px!important;line-height:1!important}
.ais .ais__arrow .ais__custom-icon{display:block!important;visibility:visible!important;width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;object-fit:contain}
/* The stage retains its fixed height, but "contain" can leave vertical free space.
   Move the caption up by exactly the unused half below the visible image.
   The JS computes --ais-caption-shift for the current image after each reflow. */
.ais .ais__figure > figcaption.ais__caption{
  text-align:center;min-height:1.6em;
  margin:calc(12px - var(--ais-caption-shift, 0px)) 0 0 !important;
  padding:0 !important;
  line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;
  position:relative;
}
.ais__arrow:focus-visible,.ais__open:focus-visible,.ais__thumb:focus-visible,.ais__lightbox-close:focus-visible{outline:3px solid var(--ais-focus);outline-offset:3px}
.ais__sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ais__lightbox{position:fixed;inset:0;width:min(98vw,1500px);max-width:98vw;height:min(96dvh,1050px);max-height:96dvh;border:0;border-radius:5px;padding:12px;background:#141519;color:#fff;box-shadow:0 20px 65px rgba(0,0,0,.45);z-index:2147483000}
.ais__lightbox::backdrop{background:rgba(0,0,0,.87)}
.ais__lightbox-inner{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:26px 0 0}
.ais__lightbox img[data-ais-lightbox-image]{display:block;min-width:0;min-height:0;max-width:100%;width:100%;height:100%;object-fit:contain;flex:1}
.ais__lightbox-caption{text-align:center;flex:0 0 auto;max-width:100%;max-height:16vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}
.ais__lightbox-close{position:absolute;top:0;right:0;z-index:2;width:34px;height:34px;border:0;border-radius:50%;background:#333;color:#fff;font-size:26px;line-height:1;cursor:pointer}
/* On narrow phones the outer arrows overlay the empty edges of the stage. */
@media(max-width:680px){
  .ais__previews{display:none!important}
  .ais__figure{max-width:100%}
  .ais__stage{height:var(--ais-mobile-height)}
  .ais__nav-rail{position:absolute;top:0;height:var(--ais-mobile-height);width:52px;min-width:0;flex:none;z-index:8}
  .ais__nav-rail--left{left:0}.ais__nav-rail--right{right:0}
  .ais .ais__nav-rail > button.ais__arrow{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
}
@media(prefers-reduced-motion:reduce){.ais__fade,.ais__thumb,.ais__caption{transition:none!important}}
