/*
Theme Name: Vernilla-Productions LLC
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: WordPress theme generated from Vernilla-Productions LLC project.
Version: 1.1.4
License: GNU General Public License v2 or later
Text Domain: tmt
*/

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

:root {
  --tmt-admin-bar-offset: 0px;
}

/* WordPress admin bar (logged-in toolbar) */
html:has(body.admin-bar) {
  margin-top: 0 !important;
  --tmt-admin-bar-offset: 32px;
  scroll-padding-top: calc(5.5rem + var(--tmt-admin-bar-offset));
}

body.admin-bar {
  padding-top: var(--tmt-admin-bar-offset);
}

@media screen and (max-width: 782px) {
  html:has(body.admin-bar) {
    --tmt-admin-bar-offset: 46px;
  }
}

body.admin-bar #tmt-app {
  scroll-margin-top: calc(5.5rem + var(--tmt-admin-bar-offset));
}
