/* =========================================================
   RESCUEPRO EMERGENCY CLEAN FIX
   Paste into Appearance > Customize > Additional CSS
   ========================================================= */

/* Stop horizontal blowout */
html,
body {
  overflow-x: hidden !important;
  background: #071018 !important;
}

/* Global font cleanup */
body,
button,
input,
select,
textarea {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Main background */
#page,
.site,
#content,
.site-content,
.site-main,
.ast-container,
.entry-content,
.page-content {
  background: #071018 !important;
}

/* Remove weird Astra spacing */
.ast-container,
.site-content .ast-container,
#primary,
#main,
.site-main {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Header/nav cleanup */
.site-header,
.ast-primary-header-bar,
.main-header-bar,
header {
  background: #050b11 !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: none !important;
}

.site-header a,
.ast-builder-menu a,
.main-navigation a,
.menu-link,
header a {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.site-header a:hover,
.ast-builder-menu a:hover,
.main-navigation a:hover,
.menu-link:hover,
header a:hover {
  color: #f2b705 !important;
}

/* Hide duplicate nav/menu blocks if they appear inside page content */
.entry-content nav,
.entry-content .main-navigation,
.entry-content .menu,
.entry-content .wp-block-navigation,
.entry-content .site-header,
.entry-content header,
.entry-content footer,
.entry-content .site-footer {
  display: none !important;
}

/* Hide visible code/markdown junk if it is sitting alone */
.entry-content pre,
.entry-content code {
  display: none !important;
}

/* Page content container */
body.page .entry-content {
  background: #071018 !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden !important;
}

/* Keep all direct content contained */
body.page .entry-content > *:not(style):not(script) {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  box-sizing: border-box !important;
}

/* Hero/top content */
body.page .entry-content > h1:first-child,
body.page .entry-content > h2:first-child,
body.page .entry-content section:first-of-type {
  padding-top: 70px !important;
}

/* Headings */
body.page .entry-content h1,
body.page .entry-content h2,
body.page .entry-content h3 {
  color: #ffffff !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  max-width: 900px !important;
  text-transform: none !important;
}

body.page .entry-content h1 {
  font-size: clamp(36px, 5vw, 60px) !important;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

body.page .entry-content h2 {
  font-size: clamp(28px, 3.5vw, 42px) !important;
  margin-top: 42px !important;
  margin-bottom: 16px !important;
}

body.page .entry-content h3 {
  font-size: clamp(21px, 2.5vw, 28px) !important;
  margin-top: 26px !important;
  margin-bottom: 10px !important;
}

/* Paragraphs/lists */
body.page .entry-content p,
body.page .entry-content li {
  color: #dbe4ea !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  max-width: 860px !important;
}

body.page .entry-content p {
  margin-bottom: 18px !important;
}

body.page .entry-content ul,
body.page .entry-content ol {
  max-width: 860px !important;
  margin: 24px auto !important;
  padding-left: 48px !important;
}

/* Make service-card looking blocks cleaner */
body.page .entry-content .wp-block-columns,
body.page .entry-content .elementor-section,
body.page .entry-content section {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Links and buttons */
body.page .entry-content a {
  color: #f2b705 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.page .entry-content a[href*="contact"],
body.page .entry-content a[href^="tel"],
body.page .entry-content a[href^="mailto"] {
  display: inline-block !important;
  background: #f2b705 !important;
  color: #071018 !important;
  padding: 13px 22px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  margin-top: 14px !important;
}

/* Images */
body.page .entry-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
}

/* Hide comments and junk */
.comments-area,
#comments,
.comment-respond,
#respond,
.entry-meta,
.post-navigation,
.nav-links,
.sharedaddy,
.sd-sharing-enabled,
#jp-relatedposts {
  display: none !important;
}

/* Footer cleanup */
.site-footer,
footer {
  background: #050b11 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
}

.site-footer *,
footer * {
  color: #ffffff !important;
}

.site-footer a,
footer a {
  color: #f2b705 !important;
}

/* Homepage duplicate menu/footer text cleanup */
.home .entry-content nav,
.home .entry-content .menu,
.home .entry-content footer,
.home .entry-content .site-footer,
.home .entry-content .wp-block-navigation {
  display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.page .entry-content > *:not(style):not(script) {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.page .entry-content h1 {
    font-size: 34px !important;
  }

  body.page .entry-content h2 {
    font-size: 28px !important;
  }

  body.page .entry-content p,
  body.page .entry-content li {
    font-size: 16px !important;
  }

  body.page .entry-content ul,
  body.page .entry-content ol {
    padding-left: 38px !important;
  }

  .site-header a,
  .ast-builder-menu a,
  .main-navigation a,
  .menu-link {
    font-size: 12px !important;
  }
}