/* The Enfold header is taller than the classic compact header. */
html {
  scroll-padding-top: 245px !important;
}

/* ============================================================================
   BNP - StandOut · WordPress page-shell overrides
   Loaded only on the classic target URLs, after the scoped classic CSS.
   The theme header and footer stay in place. The page body becomes full width
   so the classic hero and centered shell match the static pages.
   ========================================================================== */

body.bnp-standout #main .container_wrap_first > .container,
body.bnp-standout #main .template-page.content,
body.bnp-standout #main .post-entry,
body.bnp-standout #main .entry-content-wrapper,
body.bnp-standout #main .entry-content,
body.bnp-standout #main .av_textblock_section,
body.bnp-standout #main .avia_textblock {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.bnp-standout #main .template-page.content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.bnp-standout #main .entry-content-header {
  display: none !important;
}

body.bnp-standout .bnp-standout-content {
  width: 100%;
}

/* The theme uppercases entry headings. The classic system uses sentence case. */
body.bnp-standout .bnp-standout-content h1,
body.bnp-standout .bnp-standout-content h2,
body.bnp-standout .bnp-standout-content h3,
body.bnp-standout .bnp-standout-content h4,
body.bnp-standout .bnp-standout-content h5,
body.bnp-standout .bnp-standout-content h6 {
  text-transform: none;
  letter-spacing: normal;
}

body.bnp-standout .bnp-standout-content .classic-shell {
  margin-left: auto;
  margin-right: auto;
}

/* Remove the extra desktop gap below the sticky theme header. */
@media (min-width: 990px) {
  body.bnp-standout #main {
    padding-top: 215px !important;
  }
}

/* Footer cleanup on the classic target pages. */
body.bnp-standout #footer-page .column-copyright {
  display: none !important;
}

body.bnp-standout #footer-page .column-social {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
}

body.bnp-standout #footer-page .column-social .flex-column-inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

body.bnp-standout #footer-page .column-social .av_textblock_section,
body.bnp-standout #footer-page .column-social .avia_textblock {
  background: transparent !important;
}

body.bnp-standout #footer-page .column-social p {
  margin: 0 !important;
  color: #fff !important;
}

body.bnp-standout #footer-page .column-social ul {
  margin: 0 !important;
}

body.bnp-standout #footer-page .column-social a {
  color: #fff !important;
}

/* Blend the footer newsletter field into the navy footer. */
body.bnp-standout #footer-page .ctct-email,
body.bnp-standout #footer-page input[type="email"] {
  background: transparent !important;
  border: 1px solid rgb(255 255 255 / 0.55) !important;
  color: #fff !important;
}

body.bnp-standout #footer-page .ctct-email::placeholder,
body.bnp-standout #footer-page input[type="email"]::placeholder {
  color: rgb(255 255 255 / 0.7) !important;
}

body.bnp-standout #footer-page .ctct_usage_field {
  display: none !important;
}

/* Fallback hero image while a page is waiting for its imported media. */
body.bnp-standout #main .classic-hero {
  background-color: #08142b !important;
  background-image: url("../img/sullivans.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}
