/* Load AFTER WordPress core block/global styles, BEFORE legacy-article.css.
   No layout constraint or block gap is added to the same-tag legacy groups. */
:where(.ts-standard-legacy) :where(.is-layout-flow) > * { margin-block-start: 0; margin-block-end: 0; }
/* The original profile logo was a direct image, not a margin-bearing figure. */
.ts-standard-legacy .case-article .profile > figure.wp-block-image { margin: 0; flex-shrink: 0; }
/* Core image preserves crop ratio/fit, but source height:auto was image inline CSS.
   Restore it only to migrated images that actually declare an aspect ratio. */
.ts-standard-legacy .case-article .article-cover img[style*="aspect-ratio"] { height: auto; }

/* Preserve original inline phrase wrapping against shared new-page h1>span rules. */
.ts-standard-legacy h1 .heading-phrase, .ts-standard-legacy h2 .heading-phrase, .ts-standard-legacy h3 .heading-phrase { display: inline; }
