/* ============================================================
   ASTRA LAYOUT RESET
   Fallback fixes for Astra's own content-wrapper spacing, in case
   disabling "Page Header" in the Customizer/page settings isn't
   enough on its own. Safe to keep enabled either way.
   ============================================================ */

/* Remove Astra's default padding/margin around the main content
   area so patterns (hero, etc.) sit flush under the nav and flush
   against the footer with no leftover gap on either end */
.ast-container,
#content,
.site-content,
.ast-page-builder-body,
#primary,
#primary.content-area,
#main,
#main.site-main,
article.type-page,
.entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* The actual source of the nav-to-hero gap: Astra always outputs
   an empty <header class="entry-header"><h1 class="entry-title">
   even when the page title is hidden — the empty heading's default
   margin still takes up visible space. Remove the whole block. */
.entry-header,
.entry-header .entry-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* If Astra's Page Header / breadcrumb bar is still rendering,
   this hides the empty band without needing the Customizer setting */
.ast-archive-description,
.page-header,
.ast-breadcrumbs-container {
  display: none !important;
}

/* Let full-bleed sections (hero, cta-band, strip) span edge-to-edge
   even inside Astra's max-width container */
.hero,
.strip,
.cta-band {
  max-width: none !important;
  width: 100% !important;
}
