.sensible-gallery,.sensible-gallery *{box-sizing:border-box}.sensible-gallery{padding:20px;width:100%}.sensible-gallery__grid{display:grid;gap:var(--gallery-gap);grid-template-columns:repeat(var(--gallery-columns),minmax(0,1fr));width:100%}.sensible-gallery__card{align-items:var(--gallery-card-align);display:flex;flex-direction:column;margin:0;min-width:0;overflow:hidden;width:100%}.sensible-gallery__image-button{background:transparent;border:0;cursor:zoom-in;display:block;margin:0;min-width:0;padding:0;width:100%}.sensible-gallery__image-button:focus-visible{outline:3px solid currentColor;outline-offset:-3px}.sensible-gallery__image--natural{display:block;height:auto;max-width:100%;width:100%}.sensible-gallery__image-frame--contain{align-items:center;aspect-ratio:4/3;display:flex;justify-content:center;overflow:hidden;width:100%}.sensible-gallery__image--contain{display:block;height:100%;object-fit:contain;width:100%}.sensible-gallery__caption{color:var(--gallery-caption-colour);display:block;font-family:inherit;font-size:var(--gallery-caption-size);font-weight:var(--gallery-caption-weight);hyphens:none;line-height:1.35;min-width:0;overflow-wrap:break-word;padding:10px 12px;text-align:var(--gallery-caption-align);width:100%;word-break:normal}.sensible-gallery__lightbox{background:#0a0a0a;border:0;border-radius:16px;color:#fff;max-height:calc(100dvh - 32px);max-width:1100px;overflow:hidden;padding:0;width:min(1100px,calc(100vw - 32px))}.sensible-gallery__lightbox::backdrop{background:rgba(0,0,0,.82)}.sensible-gallery__lightbox-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);width:100%}.sensible-gallery__lightbox-top{align-items:center;border-bottom:1px solid hsla(0,0%,100%,.14);display:flex;gap:16px;justify-content:space-between;padding:12px 14px}.sensible-gallery__counter{color:hsla(0,0%,100%,.78);font-size:14px;font-weight:700}.sensible-gallery__close,.sensible-gallery__nav{align-items:center;background:hsla(0,0%,100%,.06);border:1px solid hsla(0,0%,100%,.22);border-radius:10px;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;padding:0}.sensible-gallery__close{font-size:30px;height:42px;line-height:1;width:42px}.sensible-gallery__lightbox-stage{align-items:center;display:grid;grid-template-columns:58px minmax(0,1fr) 58px;max-height:calc(100dvh - 100px);min-height:300px}.sensible-gallery__lightbox-image-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;max-height:calc(100dvh - 110px);min-height:0;min-width:0;padding:16px 8px}.sensible-gallery__lightbox-image{display:block;height:auto;max-height:calc(100dvh - 190px);max-width:100%;object-fit:contain;width:auto}.sensible-gallery__lightbox-caption{color:#fff;font-size:16px;line-height:1.4;margin-top:12px;min-width:0;overflow-wrap:break-word;padding:0 10px;text-align:center;width:min(100%,800px);word-break:normal}.sensible-gallery__lightbox-caption:empty{display:none}.sensible-gallery__nav{font-size:38px;height:58px;line-height:1;margin:auto;width:46px}.sensible-gallery__close:hover,.sensible-gallery__nav:hover{background:hsla(0,0%,100%,.12)}.sensible-gallery__close:focus-visible,.sensible-gallery__nav:focus-visible{outline:2px solid #fff;outline-offset:3px}@media (max-width:1100px){.sensible-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:800px){.sensible-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:540px){.sensible-gallery{padding:12px}.sensible-gallery__grid{grid-template-columns:1fr}}@media (max-width:700px){.sensible-gallery__lightbox{border-radius:0;margin:0;max-width:none;width:100vw}.sensible-gallery__lightbox,.sensible-gallery__lightbox-shell{height:100dvh;max-height:none}.sensible-gallery__lightbox-stage{flex:1;grid-template-columns:46px minmax(0,1fr) 46px;max-height:none;min-height:0}.sensible-gallery__lightbox-image-wrap{max-height:none;padding:12px 4px}.sensible-gallery__lightbox-image{max-height:calc(100dvh - 180px)}.sensible-gallery__nav{font-size:32px;height:54px;width:38px}.sensible-gallery__lightbox-caption{font-size:14px}}