/* Products follow the post grid and pagination, immediately before the footer. */
.sr-home-bottom-widgets{clear:both;width:100%;margin:32px 0;display:flow-root}
.sr-home-bottom-widgets #secondary{width:100%;float:none;margin:0;display:flow-root}
.sr-home-bottom-widgets .widget{float:none;padding:24px;width:100%;display:flow-root}
.sr-home-bottom-widgets .product_list_widget{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:0;margin:0}
.sr-home-bottom-widgets .product_list_widget li{width:100%;margin:0;padding:0!important;min-width:0}
.sr-home-bottom-widgets .product_list_widget li img{float:none!important;display:block;width:100%!important;max-width:220px;height:180px;object-fit:contain;margin:0 auto 12px!important}
@media(max-width:800px){.sr-home-bottom-widgets .product_list_widget{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.sr-home-bottom-widgets .product_list_widget{grid-template-columns:1fr}}

body:not(.single-post) #primary.featured-content{width:100%;margin-right:0;float:none}
body.archive #main.all-blog-articles,body.search #main.all-blog-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
body.archive #main.all-blog-articles > article,body.search #main.all-blog-articles > article{width:100%;max-width:none;margin:0}
#main.all-blog-articles > .page-header,#main.all-blog-articles > .pag-wrapper{grid-column:1/-1}
.sr-recent-sidebar{padding:0 0 24px}
.sr-recent-sidebar h2{font-size:22px;margin:0 0 18px}
.sr-recent-item{margin:0;border-bottom:1px solid #dce4e9;padding:14px 0}
.sr-recent-item a{display:flex;gap:12px;align-items:flex-start;color:#203b50;text-decoration:none}
.sr-recent-item img{width:120px;height:90px;object-fit:cover;flex:0 0 120px;border-radius:5px}
.sr-recent-item strong{font-size:15px;line-height:1.45;display:block}
.sr-recent-item time{display:block;font-size:12px;color:#647787;margin-top:6px}
@media(max-width:1000px){body.archive #main.all-blog-articles,body.search #main.all-blog-articles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.archive #main.all-blog-articles,body.search #main.all-blog-articles{grid-template-columns:1fr}}

@media(max-width:380px){.sr-recent-item img{width:96px;height:72px;flex-basis:96px}}

/* Gentle photo zoom for mouse users; native WooCommerce gallery zoom is retained. */
.featured-thumbnail{overflow:hidden}
.sr-recent-item a,.sr-home-bottom-widgets .product_list_widget li{overflow:hidden}
.entry-content figure{overflow:hidden}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .featured-thumbnail img,
 .sr-recent-item img,
 .sr-home-bottom-widgets .product_list_widget img,
 .woocommerce ul.products li.product a img,
 .entry-content img:not(.emoji):not(.wp-smiley):not([style*="position:absolute"]):not([style*="position: absolute"]){
  transition:transform .25s ease;transform-origin:center;will-change:auto;
 }
 .featured-thumbnail:hover img,
 .sr-recent-item img:hover,
 .sr-home-bottom-widgets .product_list_widget img:hover,
 .woocommerce ul.products li.product a img:hover,
 .entry-content img:not(.emoji):not(.wp-smiley):not([style*="position:absolute"]):not([style*="position: absolute"]):hover{
  transform:scale(1.04);
 }
}
