/* Mobile navigation plus the approved homepage's desktop sticky positioning. */
#spx-mobile-controls,#spx-mobile-toggle,.spx-mobile-brand,#spx-mobile-menu{display:none}
@media(min-width:990px){
  /* Preserve Enfold's desktop sizing/menu and the homepage hero's zero offset. */
  html.responsive #top.spx-home #header{position:fixed!important;top:0!important;transition:background-color .24s ease,box-shadow .24s ease}
  html.responsive #top.spx-home.admin-bar #header{top:32px!important}
  html.responsive #top.spx-home #header.spx-header-scrolled{background:#070707!important;box-shadow:0 4px 18px #0003!important}
  #top .av-burger-overlay .spx-desktop-social-item{opacity:1!important;visibility:visible!important;transform:none!important}
  #top .av-burger-overlay .spx-desktop-social{display:flex;justify-content:center;align-items:center;gap:16px;padding:28px 24px max(16px,env(safe-area-inset-bottom));margin:0}
  #top .av-burger-overlay .spx-desktop-social a{display:flex!important;align-items:center;justify-content:center;width:46px;height:46px;min-height:46px;padding:0!important;margin:0!important;border:1px solid #e5a823;border-radius:50%;color:#e5a823!important;background:transparent;font-size:16px;line-height:1}
  #top .av-burger-overlay .spx-desktop-social svg{display:block;width:24px;height:24px}
  #top .av-burger-overlay .spx-desktop-social a:focus-visible{outline:2px solid #e5a823;outline-offset:4px}
}
@media(max-width:989px){
  :root{--spx-admin-offset:0px;--spx-mobile-header-height:80px;--spx-safe-top:env(safe-area-inset-top,0px)}
  html.responsive #top.admin-bar{--spx-admin-offset:46px}
  html.responsive #top #wpadminbar{position:fixed!important;top:0}
  html.responsive #top #header,html.responsive #top.spx-home.admin-bar #header{position:fixed!important;top:var(--spx-admin-offset)!important;left:0!important;right:0!important;width:100%!important;height:calc(var(--spx-mobile-header-height) + var(--spx-safe-top))!important;min-height:0!important;max-height:none!important;padding-top:var(--spx-safe-top)!important;background:var(--spx-header-background,#070707)!important;z-index:99990!important;transform:none!important;transition:background-color .24s ease,box-shadow .24s ease,border-color .24s ease;border-bottom:1px solid transparent!important;box-sizing:border-box}
  html.responsive #top #header.spx-header-scrolled{box-shadow:0 4px 18px #0003!important;border-bottom-color:#ffffff1c!important}
  html.responsive #top #header .header_bg{background:transparent!important;opacity:0!important}
  html.responsive #top #header_meta{display:none!important}
  html.responsive #top #header_main{height:var(--spx-mobile-header-height)!important;border:0!important;box-shadow:none!important}
  html.responsive #top #header .av-logo-container,html.responsive #top #header .inner-container{height:var(--spx-mobile-header-height)!important;max-height:none!important;line-height:normal!important;min-height:0!important;position:relative}
  html.responsive #top #header .container{width:100%!important;max-width:none!important;padding:0 max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left))!important}
  html.responsive #top #header .logo,html.responsive #top #header .logo a,html.responsive #top #header .av-main-nav>li>a{height:80px!important;line-height:80px!important;max-height:80px!important}
  html.responsive #top #header .logo img{max-height:68px!important;width:auto!important;top:6px!important}
  html.responsive #top #header .av-hamburger-inner,html.responsive #top #header .av-hamburger-inner::before,html.responsive #top #header .av-hamburger-inner::after{background-color:#e5a823!important}
  html.responsive #top #wrap_all #main{padding-top:calc(var(--spx-mobile-header-height) + var(--spx-safe-top))!important}
  /* The approved homepage hero starts at the viewport top beneath the fixed header. */
  html.responsive #top.spx-home #wrap_all #main{padding-top:0!important}
  html.responsive #top.spx-home #header{--spx-header-background:transparent}
  html.responsive #top.spx-home #header.spx-header-scrolled{--spx-header-background:#070707}
  #top.spx-home #header:not(.spx-header-scrolled) .spx-mobile-brand img{filter:drop-shadow(0 1px 3px #0009)}
  #top.spx-home #header:not(.spx-header-scrolled) #spx-mobile-toggle span{box-shadow:0 1px 3px #0009}
  html.responsive #top.spx-mobile-ready #header .logo,html.responsive #top.spx-mobile-ready #header .main_menu{display:none!important}
  html.responsive #top #header .spx-mobile-brand,#top #spx-mobile-menu .spx-mobile-brand{display:flex;align-items:center;height:80px;width:210px;max-width:calc(100% - 76px);line-height:1;position:static}
  #top #header .spx-mobile-brand img,#top #spx-mobile-menu .spx-mobile-brand img{display:block;max-height:80px;max-width:100%;width:210px;height:auto;object-fit:contain}
  #top #spx-mobile-toggle{display:flex;position:absolute;right:12px;top:16px;width:48px;height:48px;min-width:48px;padding:12px 8px;flex-direction:column;justify-content:center;gap:6px;background:transparent;border:0;border-radius:0;cursor:pointer}
  #top #spx-mobile-toggle span{display:block;width:32px;height:2px;background:#e5a823}
  #top #spx-mobile-menu{position:fixed;inset:var(--spx-admin-offset) 0 0;margin:0;padding:0;border:0;width:100%;max-width:none;height:calc(100vh - var(--spx-admin-offset));height:calc(100dvh - var(--spx-admin-offset));max-height:none;box-sizing:border-box;background:#070707;color:#f7f4ef;z-index:100000;overflow:hidden}
  #top #spx-mobile-menu[open]{display:flex;flex-direction:column}
  #spx-mobile-menu::backdrop{background:transparent}
  #top #spx-mobile-menu .spx-mobile-menu-bar{display:flex;align-items:center;justify-content:space-between;flex:none;height:calc(80px + var(--spx-safe-top));box-sizing:border-box;padding:var(--spx-safe-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left));border-bottom:1px solid #ffffff19}
  #top #spx-mobile-menu .spx-mobile-close,#top #spx-mobile-menu .spx-mobile-sub-toggle{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:10px;border:0;background:transparent;color:#e5a823;cursor:pointer;border-radius:0}
  #top #spx-mobile-menu button svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
  #top #spx-mobile-menu .spx-mobile-menu-scroll{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:18px max(24px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));display:flex;flex-direction:column}
  #top #spx-mobile-menu ul,#top #spx-mobile-menu li{list-style:none;padding:0;margin:0;float:none;width:auto;position:static}
  #top #spx-mobile-menu .spx-mobile-menu-row{display:flex;align-items:center;justify-content:center;position:relative;min-height:44px}
  #top #spx-mobile-menu .spx-mobile-menu-row>a{display:block;flex:1;min-width:0;padding:7px 0;text-align:center;font:400 clamp(26px,7vw,34px)/1.17 "Cormorant Garamond",Georgia,serif;letter-spacing:0;text-transform:none;color:#f7f4ef;text-decoration:none!important;overflow-wrap:anywhere}
  #top #spx-mobile-menu .spx-mobile-menu-row>a:not(:last-child){padding-left:44px;padding-right:44px}
  #top #spx-mobile-menu .spx-mobile-menu-row>.spx-mobile-sub-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%)}
  #top #spx-mobile-menu a:hover,#top #spx-mobile-menu a[aria-current="page"]{color:#e5a823}
  #top #spx-mobile-menu .spx-mobile-submenu{margin:6px 0 12px;padding:0;border:0}
  #top #spx-mobile-menu [hidden]{display:none!important}
  #top #spx-mobile-menu .spx-mobile-submenu a{font:400 clamp(18px,4.8vw,22px)/1.4 "Helvetica Neue",Helvetica,Arial,sans-serif;padding:9px 0;color:#d4d0c9}
  #top #spx-mobile-menu .spx-mobile-sub-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
  #top #spx-mobile-menu .spx-mobile-social{display:flex;gap:14px;align-items:center;justify-content:center;padding-top:26px;margin-top:auto;flex:none}
  #top #spx-mobile-menu .spx-mobile-social a{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #e5a823;border-radius:50%;color:#e5a823;background:transparent}
  #top #spx-mobile-menu a:focus-visible,#top #spx-mobile-menu button:focus-visible,#top #spx-mobile-toggle:focus-visible{outline:2px solid #e5a823;outline-offset:4px}
  html.spx-mobile-menu-open{overflow:hidden!important;overscroll-behavior:none}
  html.responsive #top.spx-mobile-menu-open{position:fixed!important;top:var(--spx-lock-top)!important;left:0;right:0;width:100%;overflow:hidden!important}
  html.responsive #top :is(h1,h2,h3,summary,[id="book-online"]){scroll-margin-top:calc(104px + var(--spx-admin-offset) + var(--spx-safe-top))}
}
@media(min-width:783px) and (max-width:989px){html.responsive #top.admin-bar{--spx-admin-offset:32px}}
@media(prefers-reduced-motion:reduce){#header{transition:none!important}}
