/* The homepage retains the Thrive header, unlike compact inner-page headers.
   Its symbol-section-in (z=1) otherwise ties the later hero's section-in (z=1):
   menu z=10/9 cannot escape that ancestor. Raise the owning header context,
   not individual submenu links. Native modal dialogs remain in the top layer. */
html:not(#tve) body.home #thrive-header:not([data-ds]) {position:relative;z-index:2;}
@media(min-width:768px){
 /* Standalone keyboard/touch-open state must expand legacy collapsed li rows,
    not just their ul; keep the desktop panel out of flow as on hover. */
 html:not(#tve) body.home #thrive-header li.standalone-submenu-open > .sub-menu:not([data-ds]) {display:block !important;visibility:visible !important;opacity:1 !important;transform:none !important;position:absolute !important;left:0 !important;right:auto !important;max-width:none !important;height:auto !important;background:#fff;}
 html:not(#tve) body.home #thrive-header li.standalone-submenu-open > .sub-menu > li:not([data-ds]) {height:auto !important;visibility:visible !important;opacity:1 !important;}
}
/* One shared photographic treatment. Brand artwork, logos and controls are excluded. */
html:not(#tve) body img[data-standalone-photo]:not([data-ds]),
html:not(#tve) body .alc-article-featured:not([data-ds]),
html:not(#tve) body .alc-article-body img:not([data-ds]),
html:not(#tve) body .alc-blog-card__image img:not([data-ds]) {
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
  max-width: min(100%,var(--standalone-photo-width,100%)) !important;
  margin-inline: auto;
  height: auto !important;
}
html:not(#tve) body #tve_editor .tve_image_caption:has(img[data-standalone-photo]):not([data-ds]),
html:not(#tve) body .tve_image_caption:has(img[data-standalone-photo]):not([data-ds]),
html:not(#tve) body .tve_image_frame:has(img[data-standalone-photo]):not([data-ds]) {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html:not(#tve) body #tve_editor .tve_image_caption img[data-standalone-photo]:not([data-ds]) {
  width: 100% !important;
  object-fit: contain;
}
html:not(#tve) body .alc-blog-card:has(img):not([data-ds]),
html:not(#tve) body .alc-blog-card__image:not([data-ds]),
html:not(#tve) body [data-photo-clip]:not([data-ds]),
html:not(#tve) body [data-photo-background]:not([data-ds]) {
  border-radius: 0 !important;
  box-shadow: none !important;
}
html:not(#tve) body .alc-blog-card__image:not([data-ds]) {aspect-ratio: 4 / 3;}
html:not(#tve) body .alc-blog-card__image img:not([data-ds]) {width:100%;height:100% !important;object-fit:cover;}
html:not(#tve) body .alc-article-body img:not([data-ds]) {width:min(920px,calc(100vw - 40px),var(--standalone-photo-width,920px)) !important;max-width:min(920px,calc(100vw - 40px),var(--standalone-photo-width,920px)) !important;max-height:none;object-fit:contain;margin:28px 0;position:relative;left:50%;transform:translateX(-50%);}
html:not(#tve) body .alc-article-featured:not([data-ds]) {width:100%;aspect-ratio:auto !important;max-height:760px;object-fit:contain;margin:28px 0 36px;}
html:not(#tve) body #tve_editor [data-photo-text-row]:not([data-ds]) {align-items:center !important;gap:clamp(20px,3vw,40px) !important;flex-wrap:nowrap !important;}
html:not(#tve) body #tve_editor [data-photo-column]:not([data-ds]) {flex:0 1 42% !important;width:42% !important;max-width:42% !important;padding:0 !important;}
html:not(#tve) body #tve_editor [data-photo-copy]:not([data-ds]) {flex:1 1 58% !important;width:auto !important;min-width:0 !important;}
html:not(#tve) body #tve_editor [data-photo-column] > .tcb-col:not([data-ds]) {padding:0 !important;border-radius:0 !important;box-shadow:none !important;}
html:not(#tve) body .tcb-image-gallery-container:not([data-ds]) {gap:20px;}
html:not(#tve) body .tcb-image-gallery-container .tve_image_caption:not([data-ds]) {cursor:zoom-in;}
html:not(#tve) body #alf-form-wrapper > .alf-progress:not([data-ds]),
html:not(#tve) body #alf-form-wrapper > .alf-step:not([data-ds]) {display:none !important;}
html:not(#tve) body #alf-form-wrapper [data-standalone-contact]:not([data-ds]) {display:block;padding:16px 0;}
html:not(#tve) body .standalone-form-notice:not([data-ds]) {padding:20px;border-left:3px solid #0f746b;background:#f1f6f4;color:#10211e;}
html:not(#tve) body form[data-standalone-disabled] fieldset:not([data-ds]) {border:0;padding:0;margin:0;min-width:0;opacity:.65;}
html:not(#tve) body .standalone-embed:not([data-ds]) {display:block;padding:20px 28px;margin:24px 0;border:1px solid #0f746b;background:#fff;color:#0f746b;font:inherit;cursor:pointer;}
html:not(#tve) body .standalone-open > .tve_faqC:not([data-ds]) {display:block !important;}
html:not(#tve) body .thrv_widget_menu.standalone-menu-open .tve_w_menu:not([data-ds]),
html:not(#tve) body .standalone-submenu-open > .sub-menu:not([data-ds]) {display:block !important;visibility:visible !important;opacity:1 !important;transform:none !important;position:relative !important;left:auto !important;right:auto !important;max-width:100% !important;}
html:not(#tve) body .standalone-menu-open > ul:not([data-ds]),
html:not(#tve) body .standalone-menu-open > .tcb-menu:not([data-ds]) {display:block !important;visibility:visible !important;opacity:1 !important;transform:none !important;}
.standalone-lightbox:not([data-ds]) {padding:20px;border:0;background:#fff;max-width:94vw;max-height:94vh;}
.standalone-lightbox:not([data-ds])::backdrop {background:rgba(0,0,0,.8);}
.standalone-lightbox img:not([data-ds]) {max-width:88vw;max-height:80vh;object-fit:contain;border-radius:0;}
.standalone-lightbox button:not([data-ds]) {font:inherit;padding:8px 16px;cursor:pointer;}
html:not(#tve) body .tcb-image-gallery-container[data-carousel-settings]:not([data-ds]) {display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;gap:0 !important;overflow-x:auto !important;overflow-y:hidden !important;scroll-snap-type:x mandatory;max-width:100% !important;margin-inline:0 !important;}
html:not(#tve) body .tcb-image-gallery-container[data-carousel-settings] > .tve_image_caption:not([data-ds]) {flex:0 0 100% !important;width:100% !important;max-width:100% !important;left:0 !important;position:relative !important;transform:none !important;opacity:1 !important;visibility:visible !important;scroll-snap-align:start;}
html:not(#tve) body .tcb-image-gallery .tcb-carousel-dots:not([data-ds]),
html:not(#tve) body .tcb-image-gallery .tcb-carousel-arrow:not([data-ds]) {display:none !important;}
.standalone-gallery-controls:not([data-ds]) {display:flex;flex-wrap:wrap;justify-content:center;gap:16px;padding:16px 0;}
.standalone-gallery-controls span:not([data-ds]) {flex:1 0 100%;text-align:center;font-size:14px;}
.standalone-gallery-controls button:not([data-ds]) {min-height:44px;font:inherit;background:white;color:#0f746b;border:1px solid #0f746b;padding:8px 14px;cursor:pointer;transition:background-color 160ms ease,color 160ms ease;}
.standalone-gallery-controls button:hover:not([data-ds]),.standalone-gallery-controls button:focus-visible:not([data-ds]) {background:#0f746b;color:white;}
html:not(#tve) body .alc-blog-card__image img:not([data-ds]) {transition:transform 160ms ease;}
@media(hover:hover){html:not(#tve) body .alc-blog-card__image:hover img:not([data-ds]) {transform:scale(1.015);}}
@media(prefers-reduced-motion:reduce){html:not([data-ds]){scroll-behavior:auto !important;}.standalone-gallery-controls button:not([data-ds]),html:not(#tve) body .alc-blog-card__image img:not([data-ds]){transition:none !important;transform:none !important;}}
@media(max-width:767px){
 html:not(#tve) body #tve_editor .thrv_contentbox_shortcode:has(img[data-standalone-photo]):not([data-ds]),
 html:not(#tve) body #tve_editor .thrv_contentbox_shortcode:has(img[data-standalone-photo]) > .tve-cb:not([data-ds]) {width:100% !important;min-width:0 !important;max-width:100% !important;box-sizing:border-box !important;}
 html:not(#tve) body .container:has(#wallForm):not([data-ds]) {width:100% !important;min-width:0 !important;max-width:100% !important;box-sizing:border-box !important;padding-left:15px !important;padding-right:15px !important;}
 html:not(#tve) body #wallForm:not([data-ds]),html:not(#tve) body #wallForm .row:not([data-ds]) {width:100% !important;max-width:100% !important;margin-inline:0 !important;box-sizing:border-box;}
 html:not(#tve) body #wallForm .col-md-5:not([data-ds]) {width:100% !important;max-width:100% !important;box-sizing:border-box;}
 html:not(#tve) body #tve_editor [data-photo-text-row]:not([data-ds]) {flex-wrap:wrap !important;gap:20px !important;}
 html:not(#tve) body #tve_editor [data-photo-column]:not([data-ds]),
 html:not(#tve) body #tve_editor [data-photo-copy]:not([data-ds]) {flex:1 1 100% !important;width:100% !important;max-width:100% !important;}
 html:not(#tve) body .alc-article-featured:not([data-ds]) {max-height:620px;}
 html:not(#tve) body .tcb-image-gallery-container:not([data-ds]) {gap:12px;}
}
/* Mobile contract: one 15px page gutter, plus 15px inside actual leaf cards.
   Structural builder wrappers do not add another accidental gutter layer. */
@media(max-width:767px){
 html:not(#tve) body #tve_editor .tve-page-section-in:not([data-ds]),
 html:not(#tve) body .theme-section > .section-content:not([data-ds]),
 html:not(#tve) body #thrive-header .tve-page-section-in:not([data-ds]),
 html:not(#tve) body #thrive-footer .tve-page-section-in:not([data-ds]),
 html:not(#tve) body .alc-compact-header__inner:not([data-ds]),
 html:not(#tve) body .alc-article:not([data-ds]),
 html:not(#tve) body .alc-blog-index:not([data-ds]) {
  width:100% !important;max-width:100% !important;min-width:0 !important;
  margin-left:0 !important;margin-right:0 !important;
  padding-left:15px !important;padding-right:15px !important;box-sizing:border-box !important;
 }
 html:not(#tve) body #tve_editor .tve-page-section-in .tve-page-section-in:not([data-ds]),
 html:not(#tve) body #tve_editor .section-content .tve-page-section-in:not([data-ds]),
 html:not(#tve) body .section-content #tve_editor .tve-page-section-in:not([data-ds]) {padding-left:0 !important;padding-right:0 !important;}
 html:not(#tve) body .main-container:not([data-ds]) {width:100% !important;max-width:100% !important;min-width:0 !important;margin-inline:0 !important;padding-inline:0 !important;box-sizing:border-box;}
 html:not(#tve) body #tve_editor .tcb-flex-row:not([data-ds]) {width:100% !important;max-width:100% !important;margin-left:0 !important;margin-right:0 !important;box-sizing:border-box;}
 html:not(#tve) body #tve_editor .tcb-flex-col:not([data-ds]) {padding-left:0 !important;padding-right:0 !important;min-width:0;box-sizing:border-box;}
 html:not(#tve) body #tve_editor .thrv_header .thrv-columns > .tcb-flex-row:not([data-ds]) {padding-left:15px !important;padding-right:15px !important;box-sizing:border-box;}
 html:not(#tve) body #tve_editor .thrv_contentbox_shortcode:not([data-ds]) {width:100% !important;max-width:100% !important;min-width:0 !important;box-sizing:border-box !important;padding-left:0 !important;padding-right:0 !important;}
 html:not(#tve) body #tve_editor .thrv_contentbox_shortcode:not(:has(.thrv_contentbox_shortcode)):not([data-ds]),
 html:not(#tve) body #main .thrv_contentbox_shortcode:not(:has(.thrv_contentbox_shortcode)):not([data-ds]),
 html:not(#tve) body .thrv_contentbox_shortcode:not(:has(.thrv_contentbox_shortcode)):not([data-ds]),
 html:not(#tve) body .alc-blog-card:not([data-ds]),
 html:not(#tve) body .alc-newsletter:not([data-ds]),
 html:not(#tve) body #alf-form-wrapper:not([data-ds]) {padding-left:15px !important;padding-right:15px !important;box-sizing:border-box !important;}
 html:not(#tve) body #tve_editor .thrv_contentbox_shortcode > .tve-cb:not([data-ds]),
 html:not(#tve) body #tve_editor .thrv_contentbox_shortcode .thrv_text_element:not([data-ds]),
 html:not(#tve) body #tve_editor .thrv_contentbox_shortcode #alf-form-wrapper:not([data-ds]),
 html:not(#tve) body .alc-blog-card__content:not([data-ds]) {padding-left:0 !important;padding-right:0 !important;}
 html:not(#tve) body #tve_editor [data-photo-text-row]:not([data-ds]) {width:100% !important;margin-left:0 !important;margin-right:0 !important;}
 html:not(#tve) body #tve_editor [data-photo-copy] > .tcb-col:not([data-ds]) {padding-left:0 !important;padding-right:0 !important;}
 html:not(#tve) body .alc-article-body:not([data-ds]) {width:100%;}
 html:not(#tve) body .alc-article-body img:not([data-ds]) {width:min(100%,var(--standalone-photo-width,100%)) !important;max-width:100% !important;left:auto;transform:none;margin-left:auto;margin-right:auto;}
 html:not(#tve) body #thrive-footer .tcb-flex-row:not([data-ds]) {width:100% !important;margin-left:0 !important;margin-right:0 !important;}
 html:not(#tve) body #thrive-footer .tcb-flex-col:not([data-ds]),
 html:not(#tve) body #thrive-footer .tcb-col:not([data-ds]) {padding-left:0 !important;padding-right:0 !important;min-width:0;}
 html:not(#tve) body #thrive-header .thrv_contentbox_shortcode:not([data-ds]),
 html:not(#tve) body #thrive-footer .thrv_contentbox_shortcode:not([data-ds]) {padding-left:0 !important;padding-right:0 !important;}
 html:not(#tve) body .standalone-form-notice:not([data-ds]) {padding-left:15px !important;padding-right:15px !important;box-sizing:border-box;}
 /* Match source markup before first paint, not the deferred UI's data-standalone-menu marker.
    Otherwise in-flow service menus collapse by 366px after script initialization. */
 html:not(#tve) body #tve_editor .thrv_widget_menu:has(.tve-m-trigger,.tcb-menu-trigger,.tve-custom-menu-switch-icon):not([data-ds]) {position:absolute !important;right:0 !important;left:auto !important;top:0 !important;width:64px !important;max-width:calc(100vw - 30px) !important;z-index:3000;}
 html:not(#tve) body #tve_editor .thrv_widget_menu:has(.tve-m-trigger,.tcb-menu-trigger,.tve-custom-menu-switch-icon) .tve-m-trigger:not([data-ds]) {display:flex !important;position:relative !important;left:auto !important;right:auto !important;align-items:center;justify-content:center;width:64px !important;min-width:64px;min-height:44px;box-sizing:border-box;padding:8px !important;margin-left:auto !important;margin-right:0 !important;border:1px solid #0f746b;border-radius:6px;background:white;color:#0f746b !important;font:inherit;}
 html:not(#tve) body #tve_editor .thrv_widget_menu:has(.tve-m-trigger,.tcb-menu-trigger,.tve-custom-menu-switch-icon):not(.standalone-menu-open) .tve_w_menu:not([data-ds]) {display:none !important;}
 html:not(#tve) body #tve_editor .thrv_widget_menu:has(.tve-m-trigger,.tcb-menu-trigger,.tve-custom-menu-switch-icon).standalone-menu-open:not([data-ds]) {width:calc(100vw - 30px) !important;}
 html:not(#tve) body #tve_editor .thrv_widget_menu:has(.tve-m-trigger,.tcb-menu-trigger,.tve-custom-menu-switch-icon).standalone-menu-open .tve_w_menu:not([data-ds]) {position:fixed !important;left:15px !important;right:15px !important;top:var(--standalone-menu-top,110px) !important;transform:none !important;width:auto !important;max-width:none !important;height:auto !important;min-height:0 !important;max-height:calc(100dvh - var(--standalone-menu-top,110px) - 15px) !important;overflow-y:auto !important;box-sizing:border-box;padding:15px !important;margin:0 !important;background:white;text-align:left;box-shadow:0 8px 24px rgba(16,33,30,.12);}
 html:not(#tve) body .standalone-submenu-open > .sub-menu:not([data-ds]) {height:auto !important;max-height:none !important;overflow:visible !important;}
}
/* standalone-background-squares:start */
html:not(#tve) body [data-css="tve-u-16eb7cc1def"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-16eb7cc1def"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-16ecb5f152e"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-16ecb5f152e"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-170aae40f55"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-170aae40f55"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-1713b061954"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-1713b061954"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-1859bf4452d"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-1859bf4452d"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-185b2007e23"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-185b2007e23"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-185bdfe1c52"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-185bdfe1c52"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-185be1daeb9"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-185be1daeb9"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-185be487fa2"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-185be487fa2"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-185c30b3e35"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-185c30b3e35"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-185c30d74aa"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-185c30d74aa"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-185cf943f1c"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-185cf943f1c"]):not([data-ds]){border-radius:0!important}
html:not(#tve) body [data-css="tve-u-18a8fcf4a56"]:not([data-ds]),html:not(#tve) body :is(.thrv-page-section,.thrv_contentbox_shortcode,.tcb-col,.tcb-flex-col):has([data-css="tve-u-18a8fcf4a56"]):not([data-ds]){border-radius:0!important}
/* standalone-background-squares:end */
