.wr-gallery-page{padding:40px 20px 64px;background:#050505;color:#ddd}
.wr-gallery-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:end;padding:16px 0 36px;border-bottom:1px solid #ffffff25}
.wr-gallery-heading .eyebrow,.wr-gallery-card .eyebrow{font:10px/1.6 var(--sans);letter-spacing:.15em;color:#aaa}
.wr-gallery-heading .wr-split-title{margin:20px 0 0}
.wr-gallery-heading>p{font:22px/1.55 var(--serif);color:#bcbcbc;max-width:34ch;margin:0 0 8px;justify-self:end}
.wr-gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 16px}
.wr-gallery-filters button{background:transparent;border:1px solid #ffffff38;color:#bbb;min-height:44px;padding:10px 16px;font:11px/1.5 var(--sans)}
.wr-gallery-filters button[aria-pressed=true]{background:#460d18;border-color:#9a8086;color:#eee}
.wr-gallery-hint{font:12px/1.7 var(--sans);color:#aaa;margin:0 0 28px}
.wr-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 26px}
.wr-gallery-card{min-width:0}
.wr-gallery-image{position:relative;width:100%;display:block;padding:0;aspect-ratio:4/5;border:1px solid #ffffff26;background:radial-gradient(ellipse at center,#1d0a11,#090909);overflow:hidden;cursor:pointer;color:#eee}
.wr-gallery-image>img,.wr-gallery-image>.wr-gallery-fitted{width:100%;height:100%;object-fit:contain;display:block}
.wr-gallery-image.is-linework{padding:24px}
.wr-gallery-fitted.is-linework{filter:invert(1) grayscale(1);mix-blend-mode:screen}
.wr-gallery-image>span{position:absolute;left:12px;right:12px;bottom:12px;min-height:44px;display:flex;justify-content:center;align-items:center;gap:20px;background:#080808d9;border:1px solid #ffffff38;font:10px/1.5 var(--sans);letter-spacing:.08em;text-transform:uppercase}
.wr-gallery-card-meta{padding-top:18px}
.wr-gallery-card h2{font:400 31px/1.18 var(--gothic);margin:10px 0;color:#ddd}
.wr-gallery-card-meta>p{font:13px/1.75 var(--sans);color:#aaa;margin:0 0 16px}
.wr-gallery-actions{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #ffffff25;padding-top:8px}
.wr-gallery-actions button,.wr-gallery-like{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:#bbb;background:none;border:0;padding:8px;font:12px/1.5 var(--sans)}
[data-like-count],[data-comment-count]{font-variant-numeric:tabular-nums;min-width:1.6ch;text-align:center}
.wr-gallery-like[aria-pressed=true]{color:#eee}
.wr-gallery-like[aria-pressed=true] svg path{fill:#581322;stroke:#b09b9f}
.wr-gallery-like:disabled{opacity:.55;cursor:wait}
#wr-gallery-status{min-height:24px;font:12px/1.7 var(--sans);color:#bbb;margin-top:26px}
.wr-gallery-dialog{position:fixed;inset:0;width:min(1180px,calc(100% - 48px));height:auto;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #ffffff38;background:#090909;color:#ddd;overflow:auto}
.wr-gallery-dialog::backdrop{background:#000d}
.wr-gallery-dialog-grid{display:grid;grid-template-columns:1fr 1fr;min-height:500px}
.wr-gallery-full-image{background:#030303;display:flex;align-items:center;justify-content:center;padding:30px;min-width:0}
.wr-gallery-full-image>img,.wr-gallery-full-image>svg{display:block;width:100%;height:auto;max-height:calc(100dvh - 110px);object-fit:contain;aspect-ratio:4/5}
.wr-gallery-conversation{padding:44px 32px 32px;min-width:0}
.wr-gallery-conversation>.eyebrow{font-size:10px;letter-spacing:.15em;color:#aaa}
.wr-gallery-conversation h2{font:400 40px/1.16 var(--gothic);margin:16px 0;color:#e1e1e1;overflow-wrap:break-word}
.wr-gallery-conversation h3{font:400 27px/1.2 var(--serif);margin:24px 0 18px}
.wr-gallery-conversation>p{font:13px/1.75 var(--sans);color:#aaa}
.wr-gallery-close{position:sticky;top:8px;float:right;right:8px;z-index:2;width:44px;height:44px;margin:8px 8px -52px 0;background:#080808e8;color:#ddd;border:1px solid #ffffff50;font:30px/1 var(--serif);display:flex;align-items:center;justify-content:center}
#wr-gallery-comments{font:13px/1.7 var(--sans);color:#aaa}
#wr-gallery-comments article{border-top:1px solid #ffffff20;padding:16px 0}
#wr-gallery-comments article>div{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
#wr-gallery-comments strong{font-weight:500;color:#ddd}
#wr-gallery-comments article span{font-size:10px;color:#999}
#wr-gallery-comments article p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#wr-gallery-more-comments{min-height:44px;background:#1d0a11;border:1px solid #ffffff40;color:#ddd;padding:10px 18px;margin:10px 0}
#wr-gallery-comment-form{padding-top:20px;border-top:1px solid #ffffff25;margin-top:24px}
#wr-gallery-comment-form>label{display:block;font:12px/1.6 var(--sans);color:#ccc;margin:16px 0 8px}
#wr-gallery-comment-form>input,#wr-gallery-comment-form textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;background:#111;border:1px solid #ffffff40;border-radius:0;color:#eee;padding:12px;font:16px/1.6 var(--sans)}
#wr-gallery-comment-form textarea{min-height:120px;resize:vertical}
#wr-gallery-comment-form .wr-gallery-consent{display:flex;gap:12px;align-items:start;font-size:12px;line-height:1.7;margin:20px 0}
.wr-gallery-consent input{flex:0 0 20px;width:20px;height:20px;margin-top:3px;accent-color:#460d18}
.wr-gallery-consent span{min-width:0}
#wr-gallery-comment-form>p{font:11px/1.7 var(--sans);color:#aaa}
#wr-gallery-comment-form .btn{width:100%;min-height:50px;background:#460d18;color:#eee;border-color:#ffffff40}
.wr-gallery-honeypot{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
#wr-gallery-comment-status{font-size:13px;line-height:1.7;color:#ccc;overflow-wrap:anywhere}
body.wr-gallery-open{overflow:hidden}
.wr-gallery-page :is(button,a):focus-visible,.wr-gallery-dialog :is(button,input,textarea):focus-visible{outline:2px solid #ddd;outline-offset:4px}
@media(max-width:950px){.wr-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}.wr-gallery-heading{grid-template-columns:1fr;gap:24px}.wr-gallery-heading>p{justify-self:start}.wr-gallery-conversation{padding:42px 24px 24px}}
@media(max-width:650px){.wr-gallery-page{padding-top:24px;padding-bottom:44px}.wr-gallery-heading{padding-top:0;padding-bottom:28px;gap:20px}.wr-gallery-heading>p{font-size:20px}.wr-gallery-heading .wr-split-title>em{font-size:clamp(38px,10.5vw,58px)!important}.wr-gallery-grid{grid-template-columns:minmax(0,1fr);gap:32px}.wr-gallery-card h2{font-size:30px}.wr-gallery-dialog{width:100%;height:100dvh;max-height:100dvh;border:0}.wr-gallery-dialog-grid{grid-template-columns:minmax(0,1fr)}.wr-gallery-full-image{padding:28px 20px 16px}.wr-gallery-full-image>img,.wr-gallery-full-image>svg{height:48svh;max-height:480px;aspect-ratio:auto}.wr-gallery-conversation{padding:24px 20px 36px}.wr-gallery-conversation h2{font-size:34px}.wr-gallery-close{top:8px}.wr-gallery-image.is-linework{padding:26px}.wr-gallery-hint{margin-bottom:24px}}

.wr-gallery-grid:has(>.wr-gallery-card:only-child){grid-template-columns:minmax(0,600px);justify-content:center}.wr-gallery-image{background:#050505}.wr-gallery-full-image{background:#050505}

.wr-gallery-close{box-sizing:border-box;padding:0;min-width:44px;min-height:44px;line-height:0;letter-spacing:0}.wr-gallery-close>svg{display:block;flex:none;margin:0}

@media(max-width:650px){.wr-gallery-close{position:fixed;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));margin:0}}

@media(min-width:651px){.wr-gallery-grid:has(>.wr-gallery-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:1080px;margin-inline:auto}}
