/* Separate the bedroom before image from the material reference. */
body.journal-unified .bed-editorial .bed-pair.before-pair{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:32px!important;width:100%!important;margin:32px 0!important;align-items:start!important}
body.journal-unified .bed-editorial .before-pair>.bed-figure{width:100%!important;max-width:900px!important;margin:0 auto!important;padding:0!important}
body.journal-unified .bed-editorial .before-pair>.bed-figure:last-child{max-width:540px!important}
body.journal-unified .bed-editorial .before-pair>.bed-figure img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0!important}
/* One consistent gap between project photographs: no stacked figure margins. */
body.journal-unified .blog-article .journal-photo-story{display:flex!important;flex-direction:column!important;align-items:center!important;gap:32px!important;margin:32px 0!important;padding:0!important}
body.journal-unified .blog-article .journal-photo-story>.journal-project-photo,
body.journal-unified .blog-article .journal-photo-story>.journal-project-photo:nth-of-type(even),
body.journal-unified .blog-article .journal-photo-story>.journal-project-photo:last-child{margin:0 auto!important;padding:0!important;width:100%!important;max-width:1000px!important}
body.journal-unified .blog-article .journal-photo-story figcaption{margin:10px auto 0!important;padding:0!important}
@media(max-width:900px){
body.journal-unified .bed-editorial .bed-pair.before-pair{gap:28px!important;margin:28px 0!important}
body.journal-unified .bed-editorial .before-pair>.bed-figure:last-child{width:82%!important;max-width:540px!important}
body.journal-unified .blog-article .journal-photo-story{gap:28px!important;margin:28px 0!important}
body.journal-unified .blog-article .journal-photo-story>.journal-project-photo,
body.journal-unified .blog-article .journal-photo-story>.journal-project-photo:nth-of-type(even),
body.journal-unified .blog-article .journal-photo-story>.journal-project-photo:last-child{width:100%!important;max-width:100%!important;margin:0 auto!important}
}
