/* Keep the migrated editorial layouts inside the HeriBase site chrome. */
.article-page {
  background: #142235 linear-gradient(to bottom, #080f1c 0%, #0e1929 40%, #142235 100%) no-repeat top / 100% 460px;
}
.article-page > .ambient { display: none; }
.migrated-article { padding-top: 116px; overflow: clip; }
.migrated-article .source-page { min-height: 0; height: auto; overflow: visible; background: transparent; font-family: var(--font-sans); }
/* The original pages reserved space for a header that the site now supplies. */
.migrated-article .source-page.editorial-article,
.migrated-article .source-page.comparison-article { background: transparent; }
.migrated-article .source-main { padding-top: 0; }
.migrated-article .source-main .blog-masthead { margin-top: 0; }
.migrated-article .hero { min-height: 0; height: auto; display: block; background: none; border: 0; }
.migrated-article h1, .migrated-article h2, .migrated-article h3 { font-family: var(--font-sans); }
.migrated-article img { max-width: 100%; height: auto; object-fit: contain; }
.migrated-article [id] { scroll-margin-top: 125px; }
.migrated-article .article-nav, .migrated-article .contents { top: 116px; }
.migrated-article .masthead-author img { object-fit: contain; }
.blog-page--after-article { padding-top: 0; }
@media (max-width: 900px) {
  .migrated-article { padding-top: 24px; }
  .migrated-article .source-main { padding-top: 0; }
  .migrated-article [id] { scroll-margin-top: 90px; }
}

.migrated-article .blog-date { display: inline-block; }
