/* Common production chrome around a current, unflattened Elementor document. */
body.jil-native-skin{margin:0;background:var(--paper);font-family:var(--sans);color:var(--text)}
.jil-native-skin>header.site-header{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;height:86px!important;min-height:0!important;position:sticky!important;top:0;left:0;right:0}
.jil-native-skin>header.site-header .header-inner{width:min(1320px,calc(100% - 64px))!important;max-width:none!important;margin:0 auto!important;padding:0!important;height:100%}
.jil-native-skin>footer.site-footer{width:100%!important;max-width:none!important;margin:0!important}
.jil-native-skin .jil-native-hero{width:100%;max-width:none;margin:0;padding:0}
.jil-native-hero .hero-grid{grid-template-columns:minmax(0,1fr);min-height:0!important;padding-block:82px!important;align-items:start;gap:0}
.jil-native-hero .hero-copy{max-width:100%}
.jil-native-hero .breadcrumbs a{color:var(--muted)!important}
.jil-native-hero h1{font-family:var(--serif)!important;font-size:clamp(2.25rem,4.8vw,4.25rem)!important;font-weight:400!important;line-height:1.08!important;color:var(--ink)!important;letter-spacing:-.035em!important;margin:14px 0 0!important}
.jil-native-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:52px;align-items:start;padding-top:48px;padding-bottom:72px}
.jil-native-layout .toc-column{min-width:0}
.jil-native-layout .article-toc{position:sticky;top:110px}
.jil-native-layout .jil-legacy-native{min-width:0;max-width:100%}
.jil-native-layout .jil-legacy-native>.elementor{width:100%}
.jil-native-layout .jil-legacy-native [id]{scroll-margin-top:115px}
.jil-native-layout .toc-link{overflow-wrap:anywhere}
.jil-native-layout>.toc-column a{color:var(--text)!important}
.jil-native-layout>.toc-column a.active,.jil-native-layout>.toc-column a:hover{color:var(--jade)!important}
@media(max-width:980px){.jil-native-layout{grid-template-columns:minmax(0,1fr);gap:24px}.jil-native-layout .article-toc{position:static}}
@media(max-width:680px){.jil-native-skin>header.site-header .header-inner{width:calc(100% - 36px)!important}.jil-native-hero .hero-grid{padding-block:48px!important}.jil-native-layout{padding-top:24px;padding-bottom:40px}.jil-native-hero h1{font-size:clamp(2rem,8vw,2.75rem)!important}}
/* The reviewed service template's first container held only the H1 now moved
   to the common hero. Collapse its empty layout, retaining every native node.
   Any remaining heading, media, control or non-heading widget prevents this
   rule. Photo landing heroes use a different container and are unaffected. */
:is(
  .jil-legacy-native>.elementor>.elementor-element-f71f86a:first-child:has(.elementor-widget-heading):not(:has(.elementor-widget:not(.elementor-widget-heading))):not(:has(h1,h2,h3,h4,h5,h6,a,img,picture,svg,video,audio,iframe,canvas,object,embed,form,input,select,textarea,button)),
  .jil-legacy-native>.elementor>.elementor-element-f71f86a:first-child:has(.elementor-widget-heading):not(:has(.elementor-widget:not(.elementor-widget-heading))):not(:has(h1,h2,h3,h4,h5,h6,a,img,picture,svg,video,audio,iframe,canvas,object,embed,form,input,select,textarea,button)) :is(.e-con,.e-con-inner,.elementor-widget-heading,.elementor-widget-container)
){--min-height:0px!important;--widgets-spacing:0px!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;gap:0!important}
/* The same reviewed legacy layout floated its featured image upward out of a
   zero-height widget. Restore normal flow only when the first banner above
   is empty, and only in this template's direct featured-image branch. */
.jil-legacy-native>.elementor:has(>.elementor-element-f71f86a:first-child .elementor-widget-heading):not(:has(>.elementor-element-f71f86a:first-child .elementor-widget:not(.elementor-widget-heading))):not(:has(>.elementor-element-f71f86a:first-child :is(h1,h2,h3,h4,h5,h6,a,img,picture,svg,video,audio,iframe,canvas,object,embed,form,input,select,textarea,button)))>.elementor-element-bd799e6>.elementor-element-46578bf5>.elementor-widget-image,
.jil-legacy-native>.elementor:has(>.elementor-element-f71f86a:first-child .elementor-widget-heading):not(:has(>.elementor-element-f71f86a:first-child .elementor-widget:not(.elementor-widget-heading))):not(:has(>.elementor-element-f71f86a:first-child :is(h1,h2,h3,h4,h5,h6,a,img,picture,svg,video,audio,iframe,canvas,object,embed,form,input,select,textarea,button)))>.elementor-element-bd799e6>.elementor-element-46578bf5>.elementor-widget-image>.elementor-widget-container,
.jil-legacy-native>.elementor:has(>.elementor-element-f71f86a:first-child .elementor-widget-heading):not(:has(>.elementor-element-f71f86a:first-child .elementor-widget:not(.elementor-widget-heading))):not(:has(>.elementor-element-f71f86a:first-child :is(h1,h2,h3,h4,h5,h6,a,img,picture,svg,video,audio,iframe,canvas,object,embed,form,input,select,textarea,button)))>.elementor-element-bd799e6>.e-con-inner>.elementor-element-46578bf5>.elementor-widget-image,
.jil-legacy-native>.elementor:has(>.elementor-element-f71f86a:first-child .elementor-widget-heading):not(:has(>.elementor-element-f71f86a:first-child .elementor-widget:not(.elementor-widget-heading))):not(:has(>.elementor-element-f71f86a:first-child :is(h1,h2,h3,h4,h5,h6,a,img,picture,svg,video,audio,iframe,canvas,object,embed,form,input,select,textarea,button)))>.elementor-element-bd799e6>.e-con-inner>.elementor-element-46578bf5>.elementor-widget-image>.elementor-widget-container
{--min-height:0px!important;min-height:0!important;height:auto!important;margin-top:0!important;margin-bottom:0!important}
/* Keep every native column at its existing text size while wide tables scroll
   inside their own box instead of widening the mobile document. */
.jil-legacy-native .elementor-widget-text-editor:has(>.elementor-widget-container>table){min-width:0!important;max-width:100%!important}
.jil-legacy-native .elementor-widget-text-editor>.elementor-widget-container:has(>table){min-width:0!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
