.photo-dialog{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:0;overflow:hidden;background:#171717;color:#f5f4ef;font-family:var(--font-brand)}.photo-dialog::backdrop{background:#171717;backdrop-filter:none}.photo-dialog figure{height:100%;width:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:66px 78px 28px;box-sizing:border-box;gap:18px}.photo-dialog img{display:block;flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 142px);object-fit:contain;min-height:0;box-shadow:0 8px 35px #0003}.photo-dialog figcaption{flex:0 0 auto;font-size:12px;line-height:1.5;font-weight:400;letter-spacing:.015em;color:#c7c4be;text-align:center;max-width:780px;margin:0;padding:0}.photo-dialog-close{position:absolute;z-index:3;right:22px;top:12px;min-height:44px;min-width:44px;display:flex;align-items:center;gap:14px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#f5f4ef;font:13px var(--font-brand);padding:8px 10px}.photo-dialog-close>span{font-size:28px;font-weight:300}.photo-dialog button:hover{background:#ffffff12}.photo-dialog button:focus-visible{outline:1px solid #fff;outline-offset:2px}.photo-dialog-count{position:absolute;z-index:2;top:26px;left:30px;font-size:11px;letter-spacing:.1em;color:#bbb8b1}.photo-dialog-prev,.photo-dialog-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:48px;border:0;background:transparent;color:#efeee9;font:36px/1 var(--font-brand);cursor:pointer}.photo-dialog-prev{left:16px}.photo-dialog-next{right:16px}.photo-dialog-status{position:absolute;top:45%;left:10%;right:10%;padding:0;color:#ddd;font-size:14px}.photo-dialog img[hidden]{display:none}@media(max-width:620px){.photo-dialog figure{padding:64px 16px 64px;gap:16px}.photo-dialog img{max-width:100%;max-height:calc(100dvh - 170px)}.photo-dialog-close{top:8px;right:8px}.photo-dialog-count{top:25px;left:18px}.photo-dialog-prev,.photo-dialog-next{top:auto;bottom:8px;transform:none;width:48px;height:44px;font-size:28px}.photo-dialog-prev{left:calc(50% - 58px)}.photo-dialog-next{right:calc(50% - 58px)}.photo-dialog figcaption{font-size:11px;line-height:1.5;max-width:90vw}}
