/* PK Immersive Gallery — base layout. Works on its own; the Pablo Krisch theme adds the editorial skin. */
.pk-gallery{--pk-gallery-speed:350ms;position:relative}
.pk-gallery .viewer-stage{height:auto;min-height:0;max-height:none;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:12px}
.pk-gallery .image-hold{display:flex;align-items:center;justify-content:center;min-width:0;height:min(64vw,680px);outline-offset:4px}
.pk-gallery .pk-gallery-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transition:opacity var(--pk-gallery-speed) ease}
.pk-gallery .pk-gallery-image.is-changing,.pk-gallery .pk-light-image.is-changing{opacity:0}
.pk-gallery .view-arrow,.pk-gallery .light-main>button{background:none;border:0;font-size:22px;cursor:pointer;padding:12px;justify-self:center;color:inherit}
.pk-gallery button:disabled{opacity:.3;cursor:default}
.pk-gallery .viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:18px}
.pk-gallery .pk-caption{flex:1;text-align:center;min-height:1.2em}
.pk-gallery .pk-open,.pk-gallery .pk-fullscreen{background:none;border:0;cursor:pointer;text-transform:uppercase;letter-spacing:.1em;font-size:11px;text-decoration:underline;text-underline-offset:4px;color:inherit}
.pk-gallery .thumbs{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;justify-content:safe center;max-width:100%;margin-top:26px;padding-bottom:6px;scrollbar-width:thin}
.pk-gallery .thumbs button{flex:0 0 auto;width:62px;height:56px;max-width:none;border:1px solid transparent;background:none;padding:2px;cursor:pointer;line-height:0}
.pk-gallery .thumbs button.active{border-color:currentColor}
.pk-gallery .thumbs img{width:100%;height:100%;object-fit:cover}
.pk-gallery button:focus-visible,.pk-gallery .image-hold:focus-visible{outline:2px solid #ae9781;outline-offset:3px}
.pk-gallery .pk-lightbox{position:fixed;inset:0;z-index:100000;background:rgba(15,16,16,.97);color:#fff;display:flex;flex-direction:column}
.pk-gallery .pk-lightbox[hidden]{display:none!important}
.pk-gallery .light-top,.pk-gallery .light-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px clamp(16px,3vw,40px);font-size:11px;letter-spacing:.12em}
.pk-gallery .pk-light-actions{display:flex;gap:22px;align-items:center}
.pk-gallery .pk-close{background:none;border:0;color:inherit;font-size:28px;cursor:pointer;line-height:1}
.pk-gallery .light-main{flex:1;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;min-height:0}
.pk-gallery .light-image{display:flex;justify-content:center;align-items:center;height:100%;min-height:0}
.pk-gallery .pk-light-image{max-width:100%;max-height:calc(100vh - 140px);object-fit:contain;transition:opacity var(--pk-gallery-speed) ease}
.pk-gallery .pk-lightbox:fullscreen .pk-light-image{max-height:calc(100vh - 110px)}
.pk-gallery-empty{padding:40px;border:1px dashed #b7b3ab;color:#5f5d58;font-size:14px;margin:40px auto;max-width:900px}
.pk-gallery .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}
body.no-scroll{overflow:hidden}
@media (max-width:580px){.pk-gallery .viewer-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}.pk-gallery .image-hold{height:auto;min-height:0}.pk-gallery .pk-gallery-image{max-height:min(115vw,72vh)}.pk-gallery .light-main{grid-template-columns:40px minmax(0,1fr) 40px}.pk-gallery .thumbs button{width:48px;height:44px}}
@media (prefers-reduced-motion:reduce){.pk-gallery .pk-gallery-image,.pk-gallery .pk-light-image{transition:none}}

.pk-gallery .pk-interest{text-align:center;margin:22px 0 0;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.pk-gallery .pk-interest a{color:inherit;text-decoration:underline;text-underline-offset:5px;display:inline-block;padding:10px 4px}
