/* Semantic figures, plus a gentle upgrade for legacy Markdown images. */
/* The theme capped text columns but left them at the article's start edge. */
article > section.body,
article > section.description,
article > section.photo,
article > section.caption,
article.page > section {
    margin-inline: auto;
}
.blog-figure {
    clear: both;
    inline-size: min(100%, 720px);
    margin: 2rem auto;
    text-align: center;
}
.blog-figure__link { display: block; }
.blog-figure__image, article .body > p > img {
    display: block;
    max-inline-size: min(100%, 720px);
    height: auto;
    margin-inline: auto;
}
.blog-figure figcaption {
    text-align: center;
}
/* Existing temporary image + italic-caption pairs get the same alignment. */
article .body > p:has(> img) + p:has(> em:only-child),
article .body > p:has(> img + em:last-child) {
    text-align: center;
}
