
/* Garvin Exteriors article image refinement v4 */

/* Featured/main article image: smaller and centered on desktop */
body.blog-page header.article-head .article-featured {
  display:block !important;
  width:auto !important;
  max-width:740px !important;
  height:auto !important;
  max-height:none !important;
  margin:34px auto 0 !important;
  object-fit:contain !important;
}

/* Images embedded in the article body */
body.blog-page .article-body img {
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  margin:34px auto !important;
  object-fit:contain !important;
}

body.blog-page .article-body figure {
  width:100% !important;
  max-width:100% !important;
  margin:34px auto !important;
}

body.blog-page .article-body figure img {
  margin:0 auto !important;
}

/* JS marks a migrated duplicate of the featured image with this class. */
body.blog-page .article-body .ge-duplicate-featured {
  display:none !important;
}

body.blog-page .article-body figure:has(.ge-duplicate-featured) {
  display:none !important;
}

@media (max-width:780px) {
  body.blog-page header.article-head .article-featured {
    width:100% !important;
    max-width:100% !important;
    margin-top:26px !important;
  }
}
