/* Break out of WordPress container */
.entry-content, .post-content, .page-content, .wp-block-group,
article.page, article.post, .site-content, .content-area,
main#main, #primary, .elementor-section-wrap {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Hide WordPress page title if shown */
.entry-header, .page-header {
  display: none !important;
}

/* Full width sections */
nav, header, section {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
  position: relative !important;
}

footer {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

footer[class*='bg-navy'] { padding-top: 5rem !important; }
body { overflow-x: hidden !important; }

@media (max-width: 767px) {
  header[class*="pt-"] {
    padding-top: 5.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  h1.text-3xl,
  h1.text-4xl {
    line-height: 1.08 !important;
  }

  section.py-20,
  section.py-24 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  section.px-4,
  section.px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3.5rem !important;
  }
}
