ih-gallery-extras{display:block;min-width:0;max-width:100%;margin-block:20px 8px;color:#181816}ih-gallery-extras[hidden]{display:none}.ih-gx-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ih-gx-head h2{font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;margin:0}.ih-gx-nav{display:flex;gap:8px}.ih-gx-nav button,.ih-gx-tools button{border:1px solid #787876;background:#fff;color:#181816;cursor:pointer;border-radius:24px;min-height:44px;padding:8px 16px;font:inherit}.ih-gx-nav button{width:44px;padding:0;font-size:26px}.ih-gx-nav button[hidden]{display:none}.ih-gx-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;max-width:100%}.ih-gx-track::-webkit-scrollbar{display:none}.ih-gx-item{flex:0 0 calc((100% - 24px)/3);min-width:0;scroll-snap-align:start}.ih-gx-tile{padding:0;width:100%;height:100%;border:1px solid #787876;border-radius:8px;overflow:hidden;background:#fff;color:#181816;text-align:start;cursor:pointer;font:inherit}.ih-gx-tile[aria-pressed=true]{outline:2px solid #1f5578;outline-offset:-2px}.ih-gx-cover{display:block;position:relative;aspect-ratio:16/9;background:#f4f4f4}.ih-gx-cover img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}.ih-gx-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;width:40px;height:40px;display:grid;place-items:center;color:#fff;background:#1f5578;font-size:16px}.ih-gx-title{display:block;padding:10px;font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.ih-gx-placeholder{font-size:14px;border:1px dashed #787876;padding:12px;min-width:180px}.ih-gx-stage{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;background:#fff;color:#181816}.ih-gx-tools{display:flex;justify-content:space-between;gap:10px;padding:8px;flex:0 0 auto}.ih-gx-tools button{font-size:14px}.ih-gx-player{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f4f4f4}.ih-gx-player :is(video,iframe,img){display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;border:0}.ih-gx-stage.ih-gx-expanded{position:fixed!important;inset:0!important;width:100vw;height:100dvh;z-index:2147483640}.ih-gx-stage:fullscreen{width:100vw;height:100vh}.ih-gx-stage:fullscreen .ih-gx-player{background:#000}.ih-gx-stage button:focus-visible,.ih-gx-tile:focus-visible,.ih-gx-nav button:focus-visible{outline:3px solid #1f5578;outline-offset:2px}@media(max-width:749px){ih-gallery-extras{margin-block:16px}.ih-gx-track[data-many=true] .ih-gx-item{flex-basis:calc((100% - 18px)/2.35)}.ih-gx-track{gap:8px}.ih-gx-item{flex-basis:calc((100% - 16px)/3)}.ih-gx-title{padding:8px;font-size:13px}}@media(prefers-reduced-motion:reduce){.ih-gx-track{scroll-behavior:auto}}



media-gallery:has(ih-gallery-extras:not([hidden])) slideshow-container{scroll-margin-top:calc(var(--header-height,80px) + 8px)}


/* Consistent window height for landscape and square footage; gallery geometry stays native. */
.ih-gx-window{width:min(100%,calc(var(--ih-gx-h,500px)*1.777778));aspect-ratio:16/9;max-height:100%;display:flex;align-items:center;justify-content:center;background:#181816;overflow:hidden}.ih-gx-window :is(video,iframe,img){width:100%!important;height:100%!important;object-fit:contain!important;border:0}
