
/* White Rock custom-page header normalization.
   Only affects pages that already contain the #wrr-about HTML shell. */
@media (min-width:981px){
  #wrr-about:not(.wrr-store-master-header) .site-header:not(.scrolled){
    position:absolute!important;
    top:44px!important;
    right:0!important;
    left:0!important;
    width:100%!important;
  }
  #wrr-about:not(.wrr-store-master-header) .site-header.scrolled{
    position:fixed!important;
    top:10px!important;
    right:0!important;
    left:0!important;
    width:100%!important;
  }
  #wrr-about:not(.wrr-store-master-header) .site-header:not(.scrolled) .mega{
    top:126px!important;
  }
  #wrr-about:not(.wrr-store-master-header) .site-header.scrolled .mega{
    top:78px!important;
  }
}
@media (max-width:980px){
  #wrr-about:not(.wrr-store-master-header) .site-header,
  #wrr-about:not(.wrr-store-master-header) .site-header.scrolled{
    position:fixed!important;
    top:8px!important;
    right:0!important;
    left:0!important;
    width:100%!important;
  }
}


/* =========================================================
   REMOVE OLD THEME FOOTER SITEWIDE
   The rebuilt WRR pages already contain their own HTML footer,
   and the WooCommerce store gets its footer from this plugin.
   This hides the old theme footer that was appearing underneath.
========================================================= */
body footer#colophon,
body #colophon.site-footer,
body .site-footer:not(#wrr-store-footer .site-footer),
body .elementor-location-footer,
body .footer-area,
body .footer-widgets,
body .footer-widget-area,
body .site-info{
  display:none!important;
}

/* Never hide the custom White Rock footer */
#wrr-about .footer,
#wrr-store-footer .footer{
  display:block!important;
}
