:root {
  --site-nav-height: 60px;
}

html {
  scroll-padding-top: calc(var(--site-nav-height) + 16px);
}

#page {
  padding-top: var(--site-nav-height);
}

#masthead {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000;
}

#masthead .elementor-element-6a1c9cca {
  margin-bottom: 0 !important;
}

#masthead a.hfe-menu-item:focus:not(:focus-visible) {
  outline: none;
}

#masthead a.hfe-menu-item:focus-visible {
  outline: 2px solid #54c768;
  outline-offset: -4px;
}

#back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1100;
  width: 64px;
  height: 64px;
  padding: 8px;
  border: 1px solid #54c768;
  border-radius: 6px;
  background: #fff;
  color: #25873a;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 2px 12px #0002;
  cursor: pointer;
}

#back-to-top[hidden] {
  display: none !important;
}

#back-to-top:hover {
  background: #25873a;
  color: #fff;
}

#back-to-top:focus-visible {
  outline: 3px solid #25873a;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  #back-to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    font-size: 13px;
  }
}
