/* Mobile header effects (navbar-primary becomes the top bar ≤767px):
     flat at the top, bg + shadow once scrolled or when the menu is open */
  @media (max-width: 767px) {
    [data-nav-mobile][data-nav-mobile] {
      background-color: transparent;
      box-shadow: 0 1px 0 rgba(20, 35, 60, 0),
                  0 8px 24px -12px rgba(20, 35, 60, 0);
      transition:
        background-color 0.22s ease,
        box-shadow 0.22s ease;
    }
    [data-nav-mobile][data-nav-mobile].is-scrolled,
    [data-nav-mobile][data-nav-mobile]:has(.w--open) {
      background-color: #f9fbfd;
      box-shadow: 0 1px 0 rgba(20, 35, 60, 0.025),
                  0 8px 24px -12px rgba(20, 35, 60, 0.03);
    }
  }
