/*
Theme Name:  DoxOnCall Child
Description: Child theme for DoxOnCall — overrides Hello Elementor header
Template:    hello-elementor
Version:     1.0.0
Author:      IE HEALTHNOW LIMITED
*/

/* ================================================================
   KILL HELLO ELEMENTOR HEADER INTERFERENCE
   These rules neutralise every Hello Elementor global style that
   conflicts with the custom .doc-hdr-wrap header.
================================================================ */

/* 1. Remove Hello Elementor's site header entirely —
      our header.php outputs its own .doc-hdr-wrap instead */
.site-header,
.site-header .site-navigation,
.site-header .site-branding,
.site-header .site-logo,
.elementor-location-header {
  display: none !important;
}

/* 2. Reset link styles that Hello Elementor sets globally
      and that bleed into our nav */
.doc-hdr-wrap a,
.doc-hdr-wrap a:visited,
.doc-hdr-wrap a:hover,
.doc-hdr-wrap a:focus {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
  outline: none;
  box-shadow: none;
}

/* 3. Reset button styles Hello Elementor sets globally */
.doc-hdr-wrap button,
.doc-hdr-wrap input[type="button"],
.doc-hdr-wrap input[type="submit"] {
  border-radius: 0;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* 4. Prevent Hello Elementor body padding/margin from
      pushing content down under a phantom header */
.elementor-page .elementor {
  margin-top: 0 !important;
}

/* 5. Remove any margin Hello Elementor adds below the header
      location — our sticky header handles its own spacing */
.elementor-location-header + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
