/* Reserve space for top trust bar and breadcrumb bar before footer JS runs to prevent Cumulative Layout Shift (CLS) */
#page:not(:has(#bcp-trustbar))::before {
  content: "";
  display: block;
  height: 48px;
  background: #0c2336;
  border-bottom: 2px solid #FBC21A;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  #page:not(:has(#bcp-trustbar))::before {
    height: 52px;
  }
}
#bcp-trustbar {
  min-height: 48px !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  #bcp-trustbar {
    min-height: 52px !important;
    box-sizing: border-box !important;
  }
}
html:has(link[rel="canonical"][href*="/blocked-drains-"]) #page:not(:has(#bcp-breadcrumb)) > #main,
html:has(link[rel="canonical"][href*="/hot-water-"]) #page:not(:has(#bcp-breadcrumb)) > #main,
html:has(link[rel="canonical"][href*="/plumber-"]):not(:has(link[rel="canonical"][href$="/plumber-brisbane/"])):not(:has(link[rel="canonical"][href*="/plumber-north-brisbane"])) #page:not(:has(#bcp-breadcrumb)) > #main {
  border-top: 39px solid #f1f5f8;
}
/* Global full-width page layout & hide Recent Posts sidebar on all WordPress pages */
body.page .page-title,
body.single .page-title,
body.page #sidebar,
body.page aside#sidebar,
body.page .sidebar,
body.page .widget_recent_entries,
body.page #comments {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body.page #main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.page #main .wf-wrap,
body.page #main .wf-container-main,
body.page .wf-container-main {
  display: block !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.page #main.sidebar-right #content,
body.page #main #content,
body.page #content,
body.page .content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.page #main.sidebar-divider-vertical #content:after,
body.page #content:after {
  display: none !important;
}
html, body, #page, #main {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
/* Global Floating Red Call Button - Bottom Left */
.bcp-global-call {
  position: fixed !important;
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;
  transform: none !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 54px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border: 2.5px solid #ffffff !important;
  text-decoration: none !important;
  font: 900 16.5px/1 Montserrat, Roboto, Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.58), 0 4px 12px rgba(0, 0, 0, 0.38) !important;
}
@media (max-width: 768px) {
  .bcp-global-call {
    display: inline-flex !important;
    left: 16px !important;
    right: auto !important;
    bottom: 16px !important;
    transform: none !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 50px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.62), 0 4px 12px rgba(0, 0, 0, 0.42) !important;
  }
}