/* Myaree Dental v1.8 (21-11-2026): keeps the desktop header steady while it loads.
   On wide screens the header's logo, menu and buttons are rearranged by three scripts in the
   first second or so (animated logo, header v3, menu layer). Until that is finished the header
   row is kept invisible (its space is already reserved), then it appears in its final place,
   instead of being seen sliding sideways. The home page is left exactly as it is.
   adh-1.8.js reveals the row as soon as the header is ready, and always within 2.5 seconds.
   Turn off in one tab with ?adh_fix=0. */
@media (min-width:1081px){
  html[data-adh-fix="1.8"]:not([data-adh-hdr]):not([data-adh-page="home"]) .adh-root .site-header .container > *{visibility:hidden}
}

/* Near the top of the page (class set by adh-1.8.js) the browser does not re-anchor the scroll
   position when the top bar folds, which stops the header bouncing up and down. */
html[data-adh-fix="1.8"].adh-near-top, html[data-adh-fix="1.8"].adh-near-top body{overflow-anchor:none}

/* Phones and tablets: when the browser scrolls a field, button or link into view (keyboard Tab,
   form error focus, in-page links), keep it clear of the fixed Call / Book / Ask us bar
   (WCAG 2.2 "Focus not obscured"). No visual change. */
@media (max-width:900px){
  html[data-adh-fix="1.8"]{scroll-padding-bottom:96px}
}
