/* Sports & Opinion v1.4.2: never crop editorial / featured sports images.
   Applied after original theme styles; saved WP block templates are covered too. */
/* User-requested single post CSS (plus WordPress block template selectors). */
.single-post .post-thumbnail img,
.single-post .featured-image img,
.single-post .wp-post-image,
body.single-post .so-article-main .so-art-image img,
body.single-post .so-article-main figure.wp-block-post-featured-image img,
body.single-post .so-article-main .wp-block-post-featured-image img {
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  transform:none !important;
}
.single-post .post-thumbnail,
.single-post .featured-image,
body.single-post .so-article-main .so-art-image,
body.single-post .so-article-main figure.wp-block-post-featured-image,
body.single-post .so-article-main .so-art-image a {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  overflow:visible !important;
}
/* Archive, search, home feeds, related-story and sidebar image containers. */
html body .so-archive-wrapper .so-arch-card .so-arch-thumb,
html body .so-archive-wrapper .so-arch-card .so-arch-thumb figure,
html body .so-archive-wrapper .so-arch-card .so-arch-thumb a,
html body .so-single-wrapper .so-rel-thumb,
html body .so-single-wrapper .so-rel-thumb figure,
html body .so-single-wrapper .so-rel-thumb a,
html body .so-single-wrapper .so-side-big-thumb,
html body .so-single-wrapper .so-side-big-thumb figure,
html body .so-single-wrapper .so-side-big-thumb a,
html body .so-lead-img-wrap,
html body .so-card-sm .so-img-wrap,
html body .so-feed-img-wrap,
html body .so-video-grid .so-vid-thumb,
html body .so-sig-img {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  overflow:visible !important;
}
html body .so-archive-wrapper .so-arch-card .so-arch-thumb img,
html body .so-archive-wrapper .so-arch-card .so-arch-thumb figure img,
html body .so-single-wrapper .so-rel-thumb img,
html body .so-single-wrapper .so-side-big-thumb img,
html body .so-lead-img-wrap img,
html body .so-card-sm .so-img-wrap img,
html body .so-feed-img-wrap img,
html body .so-video-grid .so-vid-thumb img,
html body .so-sig-img img {
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  transform:none !important;
}
/* WordPress's featured block itself can carry an inline 16/9 style from a saved template.
   Overwrite it for all editorial listings, not unrelated logos / decorative cover blocks. */
html body .so-archive-wrapper .wp-block-post-featured-image,
html body .so-archive-wrapper .wp-block-post-featured-image img,
html body .so-single-wrapper .wp-block-post-featured-image,
html body .so-single-wrapper .wp-block-post-featured-image img {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  overflow:visible !important;
}
html body .so-single-wrapper .wp-block-post-featured-image img,
html body .so-archive-wrapper .wp-block-post-featured-image img {width:100% !important;}
@media(max-width:800px) {
  html body .so-archive-wrapper .so-arch-card .so-arch-thumb,
  html body .so-archive-wrapper .so-arch-card .so-arch-thumb img,
  html body .so-single-wrapper .so-article-main .so-art-image,
  html body .so-single-wrapper .so-article-main .so-art-image img {
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:auto !important;
  }
}
