/* Preserve complete editorial diagrams and branding in cards of any aspect ratio. */
img[src*="uploads/images/website-theme/post-"],
img[data-src*="uploads/images/website-theme/post-"],
img[src*="uploads/images/post-1-website-theme/"],
img[data-src*="uploads/images/post-1-website-theme/"] {
    object-fit: contain !important;
    object-position: center !important;
    background-color: #f7fbff;
}

/* Article artwork must follow its column, including figures lifted out of a legacy TOC. */
.article-generated-image { width: 100%; max-width: 100%; min-width: 0; margin: 28px 0; }
.article-generated-image > a { display: block; max-width: 100%; }
.article-generated-image img { display: block; width: 100%; max-width: 100%; height: auto; }
.article-generated-image figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: #64748b; }
