/* Native single-post featured image: preserve ratio and never force an upscale. */
html body.single-post .someh-featured-original-area,
html body.single-post .someh-featured-original-area > .featured-area-inner,
html body.single-post .someh-featured-original-frame,
html body.single-post .single-featured-image {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
html body.single-post .someh-featured-original-frame {
  text-align: center;
}
html body.single-post .someh-featured-original-frame > a,
html body.single-post .someh-featured-original-frame > picture {
  display: block;
  width: 100%;
  height: auto !important;
  overflow: visible !important;
}
html body.single-post .someh-featured-original-frame img,
html body.single-post .single-featured-image img.someh-featured-original {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: min(78vh, 760px) !important;
  margin-inline: auto !important;
  object-fit: scale-down !important;
  object-position: center center !important;
  transform: none !important;
}

/* WCLPS builds its own HTML. Its image box must keep the viewport height,
   even when mobile content styles try to set every IMG to height:auto. */
html body.single-post #the-post .wclps-wrap .wclps-slide > img,
html body.single-post #the-post .wclps-wrap .wclps-slide > a > img,
html body.single-post #the-post .wclps-wrap .wclps-slide picture img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  object-fit: scale-down !important;
  object-position: center center !important;
  transform: none !important;
}
html body.single-post #the-post .wclps-wrap .wclps-slide > picture,
html body.single-post #the-post .wclps-wrap .wclps-slide > a {
  display: block;
  width: 100%;
  height: 100%;
}
