/* Same visible photo height, with natural proportions. */
.artwork-rows .artwork-photo,.art-top,.event-dialog .event-artwork{display:flex;align-items:center;justify-content:center;width:100%;max-width:none!important;aspect-ratio:auto;height:auto;min-height:0;overflow:visible;margin-inline:auto;flex:none}
.artwork-window{max-width:none!important;flex:none}
.artwork-row{grid-template-columns:1fr;gap:24px}.artwork-row>div{max-width:760px;width:100%;margin:auto}
.study-row{grid-template-columns:1fr!important}.study-row figure{margin-inline:0}
.event-dialog .event-close{position:sticky;top:0;z-index:2;background:#0c1c30}
@media(min-width:1600px){.artwork-row{grid-template-columns:minmax(0,1000px) minmax(260px,1fr)}}
.artwork-row{grid-template-columns:minmax(0,1fr)}.artwork-photo,.art-top,.event-artwork,.artwork-row>*{min-width:0}@media(min-width:1600px){.artwork-row{grid-template-columns:minmax(0,1000px) minmax(260px,1fr)}}
/* Keep artwork metadata beside the photo wherever the viewport supports two columns. */
@media(min-width:701px){.artwork-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(24px,3vw,48px);align-items:center}.artwork-row>div{max-width:none;margin:0}.artwork-row h2{font-size:clamp(23px,2.5vw,36px)}}
@media(max-width:700px){.artwork-row{grid-template-columns:minmax(0,1fr)}}
/* Identical visible Gallery cards; complete existing artwork views fit within them. */
.artwork-rows .artwork-photo{width:100%;max-width:420px!important;aspect-ratio:1;height:auto;box-sizing:border-box;padding:16px;display:flex;align-items:center;justify-content:center;background:rgba(145,200,255,.065);border:1px solid rgba(145,200,255,.22);border-radius:6px;overflow:hidden;margin:auto}
.artwork-rows .artwork-photo .artwork-window{width:var(--gallery-fit,100%)!important;height:auto!important;margin:auto;max-width:100%!important;flex:none}
.artwork-rows .artwork-photo>img{width:100%;height:100%;object-fit:contain}
.artwork-rows .artwork-photo:hover{background:rgba(145,200,255,.10);border-color:rgba(145,200,255,.5)}
.artwork-rows .artwork-photo:focus-visible{outline:3px solid #91c8ff;outline-offset:4px}
@media(min-width:701px){.artwork-row{grid-template-columns:minmax(0,420px) minmax(0,1fr)}}

/* Collective: reduce inset so the rotated sections use more of the preview. */
.artwork-rows .artwork-photo[href="stories/archeological-dig-1-6-missing-7/index.html"]{padding:6px}
