
/* Keep each mobile gallery caption attached to its own photograph. */
@media(max-width:600px){
 .school .work-grid{row-gap:36px;align-items:start}
 .school .work-grid figure{display:flex;flex-direction:column;gap:0;margin:0;padding-bottom:20px;border-bottom:1px solid #ffffff33}
 .school .work-grid figure:last-child{padding-bottom:0;border-bottom:0}
 .school .work-photo-05377,.school .work-photo-05387{aspect-ratio:auto}
 .school .work-photo-05377 img,.school .work-photo-05387 img{display:block;height:auto;width:100%;object-fit:contain}
 .school .work-grid figcaption{padding:10px 0 0;margin:0}
 .school .work-grid figcaption h3{margin:0;line-height:1.35}
}
