/* t285: NO CROPPING of images. Loaded last. Remove this file + its enqueue to revert. */
/* Content/hero/single images: natural ratio, never cropped */
body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image{aspect-ratio:auto!important;height:auto!important;max-height:none!important;padding:0!important;position:relative!important;overflow:visible!important}
body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image img,body.ssb-wide-single .single-content .wp-block-kadence-image img{position:static!important;inset:auto!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
body.ssb-wide-single .entry-content img,body.ssb-wide-single .kb-dynamic-html img,body.ssb-wide-single .single-content img:not(.avatar):not(.emoji){height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
body.ssb-wide-single .wp-caption img{max-height:none!important;width:auto;height:auto!important;object-fit:contain!important}
/* galleries: keep the tile box, show the whole picture */
body.ssb-wide-single .gallery .gallery-icon{background:#ece7e1}
body.ssb-wide-single .gallery .gallery-icon img{object-fit:contain!important;object-position:center!important}
/* Card thumbnails: uniform card width, whole image visible (letterboxed on neutral bg) */
.home-template .threeposts-sec .single-post>a:first-child,
.ssb-related__img,
body.archive .loop-entry .post-thumbnail,body.search .loop-entry .post-thumbnail,body.blog .loop-entry .post-thumbnail,
body.archive .custom-archive-loop-item .kb-is-ratio-image,body.search .custom-archive-loop-item .kb-is-ratio-image{aspect-ratio:16/10!important;height:auto!important;max-height:none!important;padding:0!important;position:relative!important;overflow:hidden;background:#ece7e1;display:block}
.home-template .threeposts-sec .single-post img,.home-template .bottom-section .threeposts-sec .single-post img,.home-template .middle-column .threeposts-sec .single-post img,
.ssb-related__img img,
.loop-entry .post-thumbnail img,.custom-archive-loop-item img,
body.archive .custom-archive-loop-item .kb-is-ratio-image img,body.search .custom-archive-loop-item .kb-is-ratio-image img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
/* Home featured */
.home-template .middle-column .featured-post>a{aspect-ratio:auto!important;overflow:visible;background:#ece7e1;display:flex;align-items:center;justify-content:center}
.home-template .middle-column .featured-post>a img,.home-template .middle-column .featured-post img,.home-template .middle-column .featured-post>a:first-child img{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;object-fit:contain!important}
/* small thumbs & widgets */
.home-template .tab-post-item img,.widget img,.widget .post-thumbnail img,.widget .wp-post-image,.widget li img{object-fit:contain!important;background:#ece7e1;aspect-ratio:auto!important;max-height:none!important;height:auto;max-width:100%}
.home-template .tab-post-item img{width:84px;height:64px!important}
.widget .wp-post-image,.widget .post-thumbnail img,.widget li img{width:90px;height:68px}
.entry-related img,.kadence-posts-list img,.wp-block-latest-posts__featured-image img{aspect-ratio:auto!important;object-fit:contain!important;max-height:none!important;height:auto!important}
