/* Narrow overrides kept separate so block-editor content can remain full width. */
.smes-prose > .wp-block-post-content {
  max-width: none;
  margin-inline: 0;
}

.smes-prose > :not(.wp-block-post-content, .alignwide, .alignfull),
.smes-prose .wp-block-post-content > :not(.alignwide, .alignfull, .smes-section) {
  max-width: var(--smes-reading);
  margin-inline: auto;
}

.smes-prose > .alignwide,
.smes-prose .wp-block-post-content > .alignwide {
  max-width: 76rem;
}

main#main:focus {
  outline: none;
}

.smes-cta-band .smes-eyebrow {
  color: var(--smes-gold-light);
}

.smes-cta-band .smes-lead {
  color: #e2e9ed;
}

.smes-empty-state .smes-eyebrow {
  color: var(--smes-teal-dark);
}

@media (max-width: 960px) {
  .smes-site-header .smes-header-cta {
    display: none !important;
  }
}
/* Keep the core Navigation overlay anchored to the viewport. The sticky
 * header's backdrop filter otherwise becomes its fixed-position container. */
html.has-modal-open .smes-site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.smes-site-header .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
