/* promisepediatrics client overrides (conversion, project 221944f1). Agent-authored additions
 * only; every rule here is a measured difference from live. */

/* Blog shells (/blog and /blog/<slug>), built by 08-blog-migration/build-blog-widget.py.
 * The post body loads after the shell, so a screen of space is held while it is still empty
 * (otherwise the share box and footer jump down when it arrives). */
.ym-seo-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ym-blog-status { text-align: center; padding: 40px 0; }
#blog-pagination[hidden] { display: none; }
#post-figure[hidden] { display: none; }
#post-content:empty { min-height: 100vh; }

/* The blog shows each post's ONE featured image. WordPress cut two crops of it (1210x423 for
 * the post's lead photo, a square for the list thumbnail); the same centred crops are made
 * here in CSS, so a new post needs no crops prepared. */
#post-image { aspect-ratio: 1210 / 423; object-fit: cover; }
#blog-list a.small-preview img { aspect-ratio: 1 / 1; object-fit: cover; }
