.gds-smart-gallery{width:100%}.gds-smart-gallery-grid{display:grid;grid-template-columns:repeat(var(--gds-gallery-cols,3),minmax(0,1fr));gap:14px}.gds-smart-gallery-tile{position:relative;display:flex;align-items:center;justify-content:center;width:100%;padding:0;overflow:hidden;border:0;background:#eef2f5;cursor:pointer}.gds-smart-gallery-tile.gds-smart-gallery-tile{box-sizing:border-box}.gds-smart-gallery-image{display:block;width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center center;transition-property:transform,filter,opacity;transition-duration:.25s;transition-timing-function:ease}.gds-smart-gallery-tile:hover .gds-smart-gallery-image,.gds-smart-gallery-tile:focus-visible .gds-smart-gallery-image{transform:scale(1.02)}.gds-smart-gallery-tile:focus-visible{outline:2px solid #EE6F00;outline-offset:2px}.gds-smart-gallery-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.52);color:#fff;font-size:32px;font-weight:700;direction:ltr;pointer-events:none}.gds-smart-gallery-empty{width:100%;min-height:44px;padding:12px 14px;border:1px dashed #b9c3cc;border-radius:6px;background:#f5f7f9;color:#6d7882;font-size:12px;line-height:1.5}.gds-smart-gallery-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(2,9,12,.94)}.gds-smart-gallery-lightbox.is-open{display:flex}.gds-smart-gallery-dialog{position:relative;width:min(1120px,100%);max-height:calc(100vh - 48px);display:flex;flex-direction:column;gap:16px}.gds-smart-gallery-close{position:absolute;top:-4px;right:-4px;z-index:4;display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(2,9,12,.68);color:#fff;font-size:0;line-height:0;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.34);backdrop-filter:blur(6px) brightness(.55);-webkit-backdrop-filter:blur(6px) brightness(.55)}.gds-smart-gallery-close::before,.gds-smart-gallery-close::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:2px;border-radius:999px;background:currentColor;transform-origin:center;filter:drop-shadow(0 1px 1px rgba(0,0,0,.7))}.gds-smart-gallery-close::before{transform:translate(-50%,-50%) rotate(45deg)}.gds-smart-gallery-close::after{transform:translate(-50%,-50%) rotate(-45deg)}.gds-smart-gallery-close:hover,.gds-smart-gallery-nav:hover{background:rgba(2,9,12,.84);border-color:rgba(255,255,255,.34);box-shadow:0 10px 28px rgba(0,0,0,.42)}.gds-smart-gallery-close:focus-visible,.gds-smart-gallery-nav:focus-visible,.gds-smart-gallery-thumb:focus-visible{outline:2px solid #EE6F00;outline-offset:2px}.gds-smart-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:min(68vh,720px);overflow:hidden;border-radius:10px;background:#02090c}.gds-smart-gallery-main{display:block;max-width:100%;max-height:68vh;width:auto;height:auto;object-fit:contain;border-radius:8px}.gds-smart-gallery-nav{position:absolute;top:50%;z-index:3;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-top:-24px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(2,9,12,.68);color:#fff;font-size:0;line-height:0;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.34);backdrop-filter:blur(6px) brightness(.55);-webkit-backdrop-filter:blur(6px) brightness(.55)}.gds-smart-gallery-nav::before{content:"";position:absolute;left:50%;top:50%;width:13px;height:13px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;filter:drop-shadow(0 1px 1px rgba(0,0,0,.75));transform-origin:center}.gds-smart-gallery-prev::before{transform:translate(-50%,-50%) rotate(135deg)}.gds-smart-gallery-next::before{transform:translate(-50%,-50%) rotate(-45deg)}.gds-smart-gallery-prev{left:14px}.gds-smart-gallery-next{right:14px}.gds-smart-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;padding:3px 2px 8px;scrollbar-width:thin}.gds-smart-gallery-thumb{flex:0 0 92px;width:92px;height:68px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:7px;background:#111;cursor:pointer;opacity:.68}.gds-smart-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}.gds-smart-gallery-thumb.is-active{border-color:#EE6F00;opacity:1;box-shadow:0 0 0 1px #EE6F00}.gds-smart-gallery [hidden]{display:none!important}.gds-gallery-lightbox-open{overflow:hidden}@media(max-width:767px){.gds-smart-gallery-grid{grid-template-columns:repeat(min(var(--gds-gallery-cols,3),2),minmax(0,1fr))}.gds-smart-gallery-grid .gds-smart-gallery-tile:nth-child(3):last-child{grid-column:1/-1}.gds-smart-gallery-lightbox{padding:12px}.gds-smart-gallery-dialog{max-height:calc(100vh - 24px)}.gds-smart-gallery-stage{min-height:62vh}.gds-smart-gallery-main{max-height:62vh}.gds-smart-gallery-nav{width:42px;height:42px;margin-top:-21px}.gds-smart-gallery-prev{left:8px}.gds-smart-gallery-next{right:8px}.gds-smart-gallery-thumb{flex-basis:76px;width:76px;height:56px}}

/* 1.0.21.9 — Responsive hardening for Smart Gallery. */
.gds-smart-gallery,.gds-smart-gallery-grid,.gds-smart-gallery-tile,.gds-smart-gallery-dialog,.gds-smart-gallery-stage{min-width:0;max-width:100%;box-sizing:border-box}
.gds-smart-gallery-image{max-width:100%}
@media(max-width:479px){
  .gds-smart-gallery-grid{gap:8px}
  .gds-smart-gallery-lightbox{padding:8px}
  .gds-smart-gallery-dialog{gap:10px;max-height:calc(100dvh - 16px)}
  .gds-smart-gallery-stage{min-height:56dvh;border-radius:8px}
  .gds-smart-gallery-main{max-height:56dvh}
  .gds-smart-gallery-close{width:36px;height:36px;top:2px;right:2px}
  .gds-smart-gallery-nav{width:36px;height:36px;margin-top:-18px}
  .gds-smart-gallery-prev{left:4px}.gds-smart-gallery-next{right:4px}
  .gds-smart-gallery-thumb{flex-basis:64px;width:64px;height:48px}
  .gds-smart-gallery-more{font-size:24px}
}
@media(max-width:359px){.gds-smart-gallery-grid{grid-template-columns:1fr}.gds-smart-gallery-grid .gds-smart-gallery-tile:nth-child(3):last-child{grid-column:auto}}
