.mvbf-site-banner {
  z-index: 1;
  margin-top: var(--mvbf-header-offset, 0px);
}

/* TheGem normally makes room for its transparent menu inside the page title. */
.mvbf-site-banner + #main #page-title {
  padding-top: clamp(20px, 2.5vw, 36px) !important;
}

body.home .mvbf-site-banner + #main .block-content {
  padding-top: clamp(20px, 2.5vw, 36px);
}

body.home .mvbf-site-banner + #main #home {
  margin-top: 0 !important;
}

/* The checkout title uses a WPBakery spacer instead of TheGem's page title. */
.mvbf-site-banner + #main .thegem-template-checkout .vc_custom_1698854049618
  .gem-divider:has(+ .wpb_text_column h2) {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .mvbf-site-banner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .mvbf-site-banner__inner {
    width: 100%;
    max-width: 100%;
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .mvbf-site-banner__copy { flex: none; min-width: 0; }
  .mvbf-site-banner__copy strong { font-size: 17px; }
  .mvbf-site-banner__timer {
    min-width: 0;
    margin: 0;
    justify-content: center;
    white-space: normal;
    flex-wrap: wrap;
  }
  .mvbf-site-banner__button {
    display: block;
    margin: 0;
    text-align: center;
    white-space: normal;
  }
}
