/*
Theme Name: Shoshanah DDA Consulting
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: WordPress theme generated from Shoshanah DDA & Assisted Living Consulting Services project.
Version: 1.1.1
License: GNU General Public License v2 or later
Text Domain: tmt
*/

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; }

/*
 * Fixed header sits in the viewport, not the document flow — offset it below the WP admin bar.
 * Do not zero out html margin-top; WordPress uses it for non-fixed content.
 */
body.admin-bar .tmt-site-header,
body.tmt-admin-bar-visible .tmt-site-header {
  top: 32px;
}

body.admin-bar .tmt-mobile-nav-panel,
body.tmt-admin-bar-visible .tmt-mobile-nav-panel {
  top: 32px;
  height: calc(100vh - 32px);
  min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .tmt-site-header,
  body.tmt-admin-bar-visible .tmt-site-header {
    top: 46px;
  }

  body.admin-bar .tmt-mobile-nav-panel,
  body.tmt-admin-bar-visible .tmt-mobile-nav-panel {
    top: 46px;
    height: calc(100vh - 46px);
    min-height: calc(100vh - 46px);
  }
}

body.admin-bar #tmt-app,
body.tmt-admin-bar-visible #tmt-app {
  scroll-padding-top: calc(5rem + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar #tmt-app,
  body.tmt-admin-bar-visible #tmt-app {
    scroll-padding-top: calc(5rem + 46px);
  }
}
