/* One shared footer spacing scale. Keep every search panel and footer link intact. */
@layer ls-profile.sanabit-approved {
  :root { --finder-footer-gap: 28px; }
  body#homeopati-layout.sb-san .page-frame { flex: none !important; padding-bottom: 0 !important; }
  body#homeopati-layout main#main { margin-bottom: var(--finder-footer-gap) !important; }
  body#homeopati-layout footer.HPFooter { margin-top: 0 !important; }
  body .legacy-page { min-height: 0 !important; padding-bottom: 0 !important; }
  body .legacy-page :is(.fe-workspace, #homeopathy-method, #remedy-method) { margin-bottom: 0 !important; }
  body .legacy-page > footer.site-footer { margin-top: var(--finder-footer-gap) !important; margin-bottom: 0 !important; }
  body main.if-main { padding-bottom: var(--finder-footer-gap) !important; }
  body.finder-classic-footer-positioned #Leagal { top: var(--finder-classic-legal-top) !important; }
  body.finder-classic-footer-positioned #Info { top: var(--finder-classic-info-top) !important; }
  body.finder-classic-footer-positioned :is(#Whitebackground, #classic-shell) { min-height: var(--finder-classic-footer-height) !important; }
  @media (max-width: 760px) {
    :root { --finder-footer-gap: 20px; }
    body.rf-classic-search-entry :is(#Leagal, #Info) { margin-top: 20px !important; }
    body.rf-classic-search-entry #Whitebackground { padding-bottom: 20px !important; }
  }
}
