.image-gallery-preview{aspect-ratio:2.35;background:color-mix(in srgb, var(--color-heading) 10%, #fff);border-radius:20px;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;min-height:380px;display:grid;position:relative;overflow:hidden}.image-gallery-preview-tile{background:color-mix(in srgb, var(--color-heading) 10%, #fff);cursor:pointer;border:0;min-width:0;min-height:0;padding:0;position:relative;overflow:hidden}.image-gallery-preview-tile:first-child{grid-area:span 2/span 2}.image-gallery-preview-image{object-fit:cover;transition:transform .45s,filter .25s}.image-gallery-preview-tile:hover .image-gallery-preview-image,.image-gallery-preview-tile:focus-visible .image-gallery-preview-image{filter:brightness(.93);transform:scale(1.025)}.image-gallery-preview-tile:focus-visible,.image-gallery-show-all-button:focus-visible,.image-gallery-icon-button:focus-visible,.image-gallery-navigation-button:focus-visible,.image-gallery-thumbnail-button:focus-visible{z-index:4;outline:var(--focus-ring);outline-offset:-3px}.image-gallery-preview[data-preview-count="1"] .image-gallery-preview-tile:first-child{grid-area:1/1/-1/-1}.image-gallery-preview[data-preview-count="2"] .image-gallery-preview-tile:first-child{grid-column:span 3}.image-gallery-preview[data-preview-count="2"] .image-gallery-preview-tile:nth-child(2){grid-area:1/4/-1}.image-gallery-preview[data-preview-count="3"] .image-gallery-preview-tile:nth-child(2){grid-area:1/3/auto/-1}.image-gallery-preview[data-preview-count="3"] .image-gallery-preview-tile:nth-child(3){grid-area:2/3/auto/-1}.image-gallery-preview[data-preview-count="4"] .image-gallery-preview-tile:nth-child(2){grid-area:1/3/auto/-1}.image-gallery-preview[data-preview-count="4"] .image-gallery-preview-tile:nth-child(3){grid-area:2/3}.image-gallery-preview[data-preview-count="4"] .image-gallery-preview-tile:nth-child(4){grid-area:2/4}.image-gallery-preview[data-preview-count="5"] .image-gallery-preview-tile:nth-child(n+2){grid-area:auto}.image-gallery-show-all-button{z-index:3;border:1px solid color-mix(in srgb, var(--color-heading) 28%, transparent);min-height:42px;color:var(--color-heading);cursor:pointer;box-shadow:0 8px 22px color-mix(in srgb, var(--color-heading) 17%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff0;border-radius:10px;justify-content:center;align-items:center;gap:.55rem;padding:.45rem .85rem;font-size:13px;font-weight:850;line-height:1.15;transition:background .2s,transform .2s;display:inline-flex;position:absolute;bottom:1rem;right:1rem}.image-gallery-show-all-button:hover{background:#fff;transform:translateY(-1px)}.image-gallery-modal{z-index:10000;color:var(--color-heading);background:#fff;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:fixed;inset:0}.image-gallery-modal-header{z-index:3;border-bottom:1px solid var(--color-border);background:#fffffff7;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:1rem;min-height:72px;padding:.7rem 1.25rem;display:grid;position:relative}.image-gallery-icon-button,.image-gallery-navigation-button{border:1px solid var(--color-border);color:var(--color-heading);cursor:pointer;box-shadow:0 7px 20px color-mix(in srgb, var(--color-heading) 12%, transparent);background:#fffffff5;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:background .2s,transform .2s;display:inline-flex}.image-gallery-icon-button{width:44px;height:44px}.image-gallery-icon-button:hover,.image-gallery-navigation-button:hover{background:color-mix(in srgb, var(--color-heading) 5%, #fff);transform:scale(1.035)}.image-gallery-modal-title-wrap{text-align:center;min-width:0}.image-gallery-modal-title-wrap h2{color:var(--color-heading);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:850;line-height:1.25;overflow:hidden}.image-gallery-modal-title-wrap p{color:var(--color-muted);margin-top:.15rem;font-size:12px;font-weight:750}.image-gallery-header-spacer{width:44px;height:44px}.image-gallery-viewer{background:color-mix(in srgb, var(--color-heading) 4%, #fff);min-height:0;position:relative;overflow:hidden}.image-gallery-image-stage{position:absolute;inset:1.1rem 5.8rem}.image-gallery-modal-image{object-fit:contain}.image-gallery-navigation-button{z-index:2;width:48px;height:48px;position:absolute;top:50%;transform:translateY(-50%)}.image-gallery-navigation-button:hover{transform:translateY(-50%)scale(1.035)}.image-gallery-navigation-previous{left:1.25rem}.image-gallery-navigation-next{right:1.25rem}.image-gallery-thumbnail-rail{border-top:1px solid var(--color-border);scrollbar-width:thin;background:#fff;gap:.6rem;min-height:100px;padding:.7rem 1rem;display:flex;overflow-x:auto}.image-gallery-thumbnail-button{background:color-mix(in srgb, var(--color-heading) 10%, #fff);cursor:pointer;opacity:.67;border:2px solid #0000;border-radius:9px;flex:0 0 94px;padding:0;transition:border-color .2s,opacity .2s;position:relative;overflow:hidden}.image-gallery-thumbnail-button:hover,.image-gallery-thumbnail-button-active{opacity:1}.image-gallery-thumbnail-button-active{border-color:var(--color-primary)}.image-gallery-thumbnail-image{object-fit:cover}@media (max-width:900px){.image-gallery-preview{min-height:320px}}@media (max-width:720px){.image-gallery-preview{aspect-ratio:1.45;border-radius:16px;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-height:0;display:grid}.image-gallery-preview-tile,.image-gallery-preview-tile:first-child{grid-area:auto;width:100%;height:100%;display:none}.image-gallery-preview-tile:nth-child(-n+4){display:block}.image-gallery-preview[data-preview-count="1"] .image-gallery-preview-tile:first-child{grid-area:1/1/-1/-1;display:block}.image-gallery-preview[data-preview-count="2"] .image-gallery-preview-tile:first-child,.image-gallery-preview[data-preview-count="2"] .image-gallery-preview-tile:nth-child(2){grid-row:1/-1;display:block}.image-gallery-preview[data-preview-count="3"] .image-gallery-preview-tile:first-child{grid-area:1/1/-1;display:block}.image-gallery-preview[data-preview-count="3"] .image-gallery-preview-tile:nth-child(2){grid-area:1/2;display:block}.image-gallery-preview[data-preview-count="3"] .image-gallery-preview-tile:nth-child(3){grid-area:2/2;display:block}.image-gallery-show-all-button{max-width:calc(100% - 1.2rem);min-height:37px;padding:.4rem .7rem;font-size:11.5px;bottom:.6rem;right:.6rem}.image-gallery-modal-header{grid-template-columns:42px minmax(0,1fr) 42px;min-height:64px;padding:.55rem .7rem}.image-gallery-icon-button,.image-gallery-header-spacer{width:40px;height:40px}.image-gallery-image-stage{inset:.65rem}.image-gallery-navigation-button{width:44px;height:44px;top:auto;bottom:1rem;transform:none}.image-gallery-navigation-button:hover{transform:scale(1.035)}.image-gallery-navigation-previous{left:1rem}.image-gallery-navigation-next{right:1rem}.image-gallery-thumbnail-rail{min-height:86px;padding:.55rem .65rem}.image-gallery-thumbnail-button{flex-basis:76px}}@media (prefers-reduced-motion:reduce){.image-gallery-preview-image,.image-gallery-show-all-button,.image-gallery-icon-button,.image-gallery-navigation-button,.image-gallery-thumbnail-button{transition:none}.image-gallery-preview-tile:hover .image-gallery-preview-image,.image-gallery-preview-tile:focus-visible .image-gallery-preview-image,.image-gallery-show-all-button:hover,.image-gallery-icon-button:hover,.image-gallery-navigation-button:hover{transform:none}}.image-gallery-visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
