/* The public visual stylesheet is kept intact. These rules replace only old JS-dependent navigation. */
@media (max-width:921px){
  body.ast-hfb-header #ast-desktop-header{display:none!important}
  body.ast-hfb-header #ast-mobile-header{display:block!important}
  #ast-mobile-header .ast-mobile-header-content:not(.ao-open){display:none!important}
  #ast-mobile-header .ast-mobile-header-content.ao-open{display:block!important}
  #ast-mobile-header .menu-item-has-children>.sub-menu:not(.ao-open){display:none!important}
  #ast-mobile-header .menu-item-has-children>.sub-menu.ao-open{display:block!important}
}
@media (min-width:922px){
  body.ast-hfb-header #ast-mobile-header{display:none!important}
  #ast-desktop-header .menu-item:focus-within>.sub-menu{visibility:visible;opacity:1;left:0}
}
.ao-migrated-form{border:1px solid #dbdbdb;padding:1rem;margin:1rem 0}

.ao-form-note{padding:.45rem .7rem;background:#fff4dd;color:#372f24;border-left:3px solid #ff6b35}

/* Changing a banner's HTML heading level should not change its original type scale. */
.elementor-heading-title.seo-home-h1 { font-size: 2.5714285714286rem; letter-spacing: -2px; }
.elementor-heading-title.seo-visual-h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 3.6190476190476rem;
  font-weight: 400;
  line-height: 1.3em;
  text-transform: none;
  letter-spacing: -1px;
}
@media (max-width: 921px) {
  .elementor-heading-title.seo-home-h1 { font-size: 46px; }
  .elementor-heading-title.seo-visual-h1 { font-size: 76px; }
}
@media (max-width: 544px) {
  .elementor-heading-title.seo-home-h1 { font-size: 42px; }
  .elementor-heading-title.seo-visual-h1 { font-size: 54px; }
}
/* Elementor sets the tournament banner font size at its mobile breakpoint. */
.elementor-4497 .seo-visual-h1 { line-height: 1.3em; }

/* Use the Upcoming Tournaments photo behind these pages' main navigation. */
.ao-photo-header #masthead {
  display: flow-root;
  position: relative;
  background-color: #161d31;
  background-image: linear-gradient(rgb(7 12 24 / 72%), rgb(7 12 24 / 68%)),
    url('/assets/optimized/6e505bf2fe6a-1600w-v1.webp');
  background-position: center top;
  background-size: cover;
}

@media (max-width: 767px) {
  .ao-photo-header #masthead {
    background-image: linear-gradient(rgb(7 12 24 / 72%), rgb(7 12 24 / 68%)),
      url('/assets/optimized/6e505bf2fe6a-960w-v1.webp');
  }
}

/* Keep the expanded desktop navigation on one line. Mobile menu is unchanged. */
@media (min-width:922px){
  #ast-desktop-header .ast-builder-menu-1,
  #ast-desktop-header .ast-builder-menu-1 .main-navigation{min-width:0;}
  #ast-desktop-header #ast-hf-menu-1{display:flex;flex-wrap:nowrap!important;align-items:center;}
  #ast-desktop-header #ast-hf-menu-1 > .menu-item{flex:0 0 auto;}
  #ast-desktop-header #ast-hf-menu-1 > .menu-item > .menu-link{white-space:nowrap;padding-inline:clamp(5px,0.85vw,14px)!important;font-size:clamp(11px,1.05vw,15px)!important;}
}
