/* Keep category dimensions intrinsic, independently of Elementor flex sizing. */
body.saad-performance-theme .saad-category-tile__space {display:none;}
@media (max-width: 1024px) {
 body.saad-performance-theme .saad-category-grid {display:grid!important;position:relative!important;grid-auto-rows:max-content!important;align-content:start!important;align-items:start!important;height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;overflow:visible!important;}
 body.saad-performance-theme .saad-category-grid > .saad-category-tile {display:block!important;position:relative!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;grid-row:auto!important;align-self:start!important;float:none!important;inset:auto!important;transform:none!important;}
 body.saad-performance-theme .saad-category-grid .saad-category-tile__space {display:block!important;position:static!important;width:100%;height:auto;padding-top:125%;pointer-events:none;}
 /* Handle both the shipped template and existing Elementor data using its widget wrapper. */
 body.saad-performance-theme :is(.saad-v2-category-section,.saad-v2-featured,.saad-section:has(.saad-category-grid)) {display:block!important;position:relative!important;height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;overflow:visible!important;contain:none!important;isolation:isolate;clear:both;}
 body.saad-performance-theme :is(.saad-v2-category-section,.saad-section:has(.saad-category-grid)) :is(.e-con-inner,.e-con,.elementor-widget:has(.saad-category-grid),.elementor-widget-container:has(.saad-category-grid),.elementor-shortcode:has(.saad-category-grid)) {display:block!important;position:relative!important;height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;contain:none!important;overflow:visible!important;}
 body.saad-performance-theme :is(.saad-v2-category-section,.saad-section:has(.saad-category-grid)) .saad-category-grid {margin-bottom:0!important;}
 body.saad-performance-theme .saad-v2-featured>.e-con-inner {display:flex!important;flex-direction:column!important;align-items:stretch!important;}
}
@media (max-width:767px) {
 body.saad-performance-theme :is(.saad-section:not(.saad-v2-hero),.saad-editor-footer) {padding-inline:0!important;}
 body.saad-performance-theme :is(.saad-section:not(.saad-v2-hero),.saad-editor-footer)>.e-con-inner {box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding-inline:clamp(24px,7vw,40px)!important;}
 body.saad-performance-theme :is(.saad-section:not(.saad-v2-hero),.saad-editor-footer).e-con-full {box-sizing:border-box!important;padding-inline:clamp(24px,7vw,40px)!important;}
 body.saad-performance-theme .saad-editor-header>.e-con-inner {padding-inline:24px!important;}
 body.saad-performance-theme .saad-hero-slide__content {padding-inline:24px!important;}
 body.saad-performance-theme .saad-v2-category-section .saad-v2-title-row {margin-bottom:20px!important;}
 body.saad-performance-theme .saad-category-grid {gap:12px!important;}
 body.saad-performance-theme .saad-category-grid .saad-category-tile__label {font-size:clamp(16px,4.5vw,22px)!important;}
}
body.saad-performance-theme .saad-dark-section .saad-category-tile__label {color:#fff!important;}
