/* Shared blog return link and artwork additions. */
body .blog-back,body.bed-story .blog-back,body .blog-article .blog-back{display:inline-block;font:italic 32px/1.25 var(--serif);color:#B6261D;transition:color .25s ease;text-decoration:none;width:fit-content}
body .blog-back:hover,body .blog-back:focus-visible,body.bed-story .blog-back:hover{color:#F49CAF}
body h1 .white-title-word{color:#000!important}
@media(max-width:900px){body .blog-back,body.bed-story .blog-back,body .blog-article .blog-back{font-size:28px}}

/* Bind each vertical artwork credit to the visible image. */
.art-curation-page .art-gallery .art-piece{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;max-width:100%;width:fit-content;height:100%;margin:auto}
.art-curation-page .art-gallery .art-piece figcaption{position:static;flex:none;left:auto;top:auto;transform:rotate(180deg);writing-mode:vertical-rl;width:auto;max-width:none;white-space:nowrap;margin:0;font:11px/1.3 Arial,sans-serif;color:#666}
.art-curation-page .art-gallery .art-piece img{display:block;flex:0 1 auto;width:auto;height:auto;max-height:70vh;max-width:calc(100% - 28px);object-fit:contain}
@media(max-width:900px){
.art-curation-page .art-gallery figure,.art-curation-page .art-gallery figure:first-child{padding-left:5vw;padding-right:5vw}
.art-curation-page .art-gallery .art-piece{gap:9px}
.art-curation-page .art-gallery .art-piece figcaption{font-size:10px}
.art-curation-page .art-gallery .art-piece img{max-height:65vh;max-width:calc(100% - 24px)}
}

.art-curation-page .art-gallery .art-pedestal-window{position:relative;flex:none;height:65vh;width:18.5vh;max-width:60vw;overflow:hidden}
.art-curation-page .art-gallery .art-pedestal-window img{position:absolute;left:50%;top:0;transform:translateX(-50%);height:100%;max-height:none;width:auto;max-width:none}

.art-curation-page .art-gallery .art-piece:has(.art-pedestal-window){gap:6px}

/* Size the gallery by visible object proportions instead of equal-width slides. */
.art-curation-page .art-gallery{gap:28px!important;padding-left:0;padding-right:5vw}
.art-curation-page .art-gallery figure,.art-curation-page .art-gallery figure:first-child,.art-curation-page .art-gallery figure:nth-child(even){flex:0 0 auto!important;width:min(calc(70vh * var(--art-ratio) + 28px),82vw)!important;max-width:none!important;padding:0!important;margin:0!important}
.art-curation-page .art-gallery .art-piece{width:100%;max-width:100%;gap:8px;justify-content:center}
.art-curation-page .art-gallery .art-piece img{max-height:70vh;max-width:calc(100% - 23px);width:auto;height:auto}
.art-curation-page .art-gallery .art-piece:has(.art-pedestal-window){gap:6px}
.art-curation-page .art-gallery .art-pedestal-window{height:65vh;width:18.5vh}
.art-curation-page .art-gallery .art-pedestal-window img{height:100%;max-height:none;width:auto;max-width:none}
.art-curation-page .art-gallery .art-piece .art-reference-window{width:calc(100% - 23px);height:auto;aspect-ratio:670/690;max-height:70vh}
.art-curation-page .art-gallery .art-piece .art-reference-window img{max-width:none;max-height:none;height:auto}
@media(max-width:900px){
.art-curation-page .art-gallery{gap:18px!important;padding-right:6vw!important}
.art-curation-page .art-gallery figure,.art-curation-page .art-gallery figure:first-child,.art-curation-page .art-gallery figure:nth-child(even){width:min(calc(65vh * var(--art-ratio) + 23px),86vw)!important}
.art-curation-page .art-gallery .art-piece{gap:6px}
.art-curation-page .art-gallery .art-piece img{max-height:65vh;max-width:calc(100% - 20px)}
.art-curation-page .art-gallery .art-pedestal-window img{max-height:none;max-width:none}
.art-curation-page .art-gallery .art-piece .art-reference-window img{max-height:none;max-width:none}
}
