/* Shared House of Pools public-page header.
   Matches homepage navigation: desktop links on left, Login on right;
   phone Menu on left, Login on right. No secondary logo. */
#hop-global-header{
  position:relative!important;z-index:100!important;isolation:isolate;
  display:block!important;width:100%!important;min-height:0!important;height:auto!important;
  margin:0!important;padding:0!important;border:0!important;border-bottom:2px solid #F97316!important;
  background:#0D2B3E!important;color:#E7D7B5!important;
  box-sizing:border-box;font-family:Arial,Helvetica,sans-serif!important;
}
#hop-global-header *,#hop-global-header *::before,#hop-global-header *::after{box-sizing:border-box}
#hop-global-header .hop-global-inner{
  width:100%!important;max-width:1180px!important;margin:0 auto!important;
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  min-height:55px!important;padding:8px 18px!important;gap:18px!important;
}
#hop-global-header .hop-global-desktop{
  display:flex!important;align-items:center!important;gap:clamp(12px,2.6vw,34px)!important;
  flex-wrap:wrap!important;margin:0!important;padding:0!important;
  /* /styles.css applies overflow:auto to all nav elements; this creates
     a stray desktop scrollbar beside the final header link. */
  overflow:visible!important;scrollbar-width:none!important;
  width:auto!important;border:0!important;background:transparent!important;
}
#hop-global-header a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#E7D7B5!important;text-decoration:none!important;font-size:clamp(12px,1.18vw,15px)!important;
  font-weight:800!important;line-height:1.3!important;white-space:nowrap!important;
  padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
  width:auto!important;height:auto!important;max-width:none!important;text-transform:none!important;
}
#hop-global-header a:hover{color:#14B8A6!important}
#hop-global-header a:focus-visible,#hop-global-header summary:focus-visible{outline:2px solid #14B8A6!important;outline-offset:3px}
#hop-global-header .hop-global-login{
  padding:8px 16px!important;border:1px solid #E7D7B5!important;border-radius:8px!important;
}
#hop-global-header .hop-global-mobile{display:none}
@media(max-width:760px){
  #hop-global-header .hop-global-inner{min-height:51px!important;padding:7px 16px!important;gap:12px!important}
  #hop-global-header .hop-global-desktop{display:none!important}
  #hop-global-header .hop-global-mobile{display:block!important;position:relative!important;order:0}
  #hop-global-header .hop-global-login{order:1;font-size:14px!important}
  #hop-global-header .hop-global-mobile summary{
    display:block;cursor:pointer;list-style:none;padding:8px 12px!important;margin:0!important;
    border:1px solid #E7D7B5!important;border-radius:8px!important;color:#E7D7B5!important;
    background:#0D2B3E!important;font-size:14px!important;font-weight:800!important;line-height:1.3!important;
  }
  #hop-global-header .hop-global-mobile summary::-webkit-details-marker{display:none}
  #hop-global-header .hop-global-mobile summary::after{content:' ▾'}
  #hop-global-header .hop-global-dropdown{
    position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:auto!important;
    z-index:101!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
    width:max-content!important;min-width:190px!important;max-width:calc(100vw - 32px)!important;
    gap:0!important;padding:5px!important;background:#0D2B3E!important;
    border:1px solid #E7D7B5!important;border-radius:9px!important;box-shadow:0 10px 24px #0616229c!important;
  }
  #hop-global-header .hop-global-dropdown a{
    display:block!important;padding:12px!important;text-align:left!important;font-size:14px!important;
  }
}

/* Public-page social footers use the homepage's full-width single-row treatment.
   Undo individual page footer padding that made the links wrap on iPhones. */
body > footer:has(> nav.hop-social-links){
  margin:0!important;padding:0!important;
  width:100%!important;max-width:none!important;
  /* Isolate the social footer from /styles.css's illustrated homepage footer. */
  height:auto!important;min-height:0!important;aspect-ratio:auto!important;
  background:#0D2B3E!important;background-image:none!important;
  background-size:auto!important;background-position:initial!important;
  border-top:0!important;overflow:visible!important;
  box-sizing:border-box!important;
}
body > footer > nav.hop-social-links,body > nav.hop-social-links{
  width:100%!important;max-width:none!important;margin:0!important;
  padding:14px 12px 24px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:nowrap!important;gap:clamp(8px,2.4vw,24px)!important;
  background:#0D2B3E!important;border:0!important;box-shadow:none!important;
  box-sizing:border-box!important;
}
body > footer > nav.hop-social-links a,body > nav.hop-social-links a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;padding:8px 3px!important;margin:0!important;
  min-height:44px!important;min-width:0!important;flex:0 1 auto!important;
  color:#E7D7B5!important;font-size:clamp(12px,3.5vw,16px)!important;
  font-weight:700!important;line-height:1.2!important;white-space:nowrap!important;
  text-decoration:none!important;border:0!important;border-radius:0!important;
  background:transparent!important;
}
body > footer > nav.hop-social-links a:hover,body > nav.hop-social-links a:hover{color:#14B8A6!important}
body > footer > nav.hop-social-links svg,body > nav.hop-social-links svg{
  flex:0 0 auto!important;width:clamp(17px,4.8vw,21px)!important;
  height:clamp(17px,4.8vw,21px)!important;
}
@media(max-width:380px){
  body > footer > nav.hop-social-links,body > nav.hop-social-links{gap:4px!important;padding-left:6px!important;padding-right:6px!important}
  body > footer > nav.hop-social-links a,body > nav.hop-social-links a{gap:5px!important;padding-left:1px!important;padding-right:1px!important;font-size:12px!important}
}
