/* XtraVIRAL Service 1 TEST 26
   Final mobile flow correction loaded after every earlier template stylesheet. */

@media (max-width: 991px) {
  .theme-header.xv-custom-mobile-ready,
  .theme-header.xv-custom-mobile-ready > .xv-mobile-header-shell {
    display: block !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .theme-header.xv-custom-mobile-ready > .xv-native-header-source,
  .theme-header.xv-custom-mobile-ready .xv-native-header-source {
    display: none !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-header-top {
    display: flex !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 70px !important;
    margin: 0 !important;
    padding: 8px 12px 8px 15px !important;
    box-sizing: border-box !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-header-brand {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 58px) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-toggle {
    display: flex !important;
    position: relative !important;
    float: none !important;
    inset: auto !important;
    transform: none !important;
    flex: 0 0 46px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    gap: 5px !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    margin: 0 0 0 auto !important;
    padding: 9px !important;
    box-sizing: border-box !important;
  }

  /* Row 2: expanded menu. Normal flow guarantees it is above the CTA. */
  .theme-header.xv-custom-mobile-ready .xv-mobile-header-shell > .xv-mobile-menu-panel {
    display: block !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
    inset: auto !important;
    transform: none !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 1 !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-header-shell > .xv-mobile-menu-panel[hidden] {
    display: none !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul {
    display: block !important;
    position: relative !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6px 16px 12px !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row),
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row):hover,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row):focus-within,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row).active,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row).theme-menu-selected,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row).theme-menu-active,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row).xv-scroll-active {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row) > a,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row) > a:link,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row) > a:visited,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row) > a:hover,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row) > a:focus,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel > ul > li:not(.xv-custom-mobile-actions-row) > a:active {
    display: flex !important;
    position: relative !important;
    float: none !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px 2px !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel .theme-menu-content,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel .theme-menu-name,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel a:hover .theme-menu-name,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel li.active .theme-menu-name,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel li.theme-menu-selected .theme-menu-name,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel li.theme-menu-active .theme-menu-name,
  .theme-header.xv-custom-mobile-ready .xv-mobile-menu-panel li.xv-scroll-active .theme-menu-name {
    border: 0 !important;
    border-bottom: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    box-shadow: none !important;
  }

  /* Row 3: CTA. It follows the menu in the DOM and cannot sit beside it. */
  .theme-header.xv-custom-mobile-ready .xv-mobile-header-shell > .xv-custom-mobile-cta-row {
    display: block !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
    inset: auto !important;
    transform: none !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 16px 10px !important;
    box-sizing: border-box !important;
  }
}
