/* TechGents custom styles - loaded last on every page */

/* Footer: indent "Contact Info" to line up with the emergency call text */
#block-27 { margin-left: 3.5em; }

/* Header: keep the menu bar at the top while scrolling.
   The theme's own sticky header (#ast-fixed-header) never appears, so it is
   switched off and the real header is pinned instead. */
#ast-fixed-header { display: none !important; }
#masthead { position: sticky; top: 0; z-index: 999; }
.ast-theme-transparent-header #masthead { position: fixed; left: 0; right: 0; }
#masthead .main-header-bar { background-color: #fff; }
/* Stop in-page links (e.g. /#remote-support) hiding under the header */
html { scroll-padding-top: 110px; }
@media (max-width: 921px) { html { scroll-padding-top: 80px; } }

/* Tablet (769px-1100px): stop the header button squashing into a vertical
   column and keep the menu on one line, so the pinned header stays slim. */
@media (min-width: 769px) and (max-width: 1100px) {
  #ast-desktop-header .ast-header-button-1 .ast-custom-button {
    white-space: nowrap;
    font-size: 11px;
    padding: 10px 14px;
  }
  #ast-desktop-header .main-header-menu .menu-link {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    white-space: nowrap;
  }
  #ast-desktop-header .main-header-menu { flex-wrap: nowrap; }
  #ast-desktop-header .site-logo-img img { max-width: 150px; height: auto; }
}
@media (min-width: 769px) and (max-width: 900px) {
  #ast-desktop-header .main-header-menu .menu-link { padding-left: 7px; padding-right: 7px; font-size: 13px; }
  #ast-desktop-header .ast-header-button-1 .ast-custom-button { padding: 9px 10px; font-size: 10px; letter-spacing: 0; }
  #ast-desktop-header .site-logo-img img { max-width: 120px; }
}
