/* House of Pools approved footer — one layout for Homepage and Meet the Crew.
   Desktop: the complete approved 8:3 illustration.
   Mobile: original approved poolside background with readable separate lettering.
   The two pages use identical HTML and this stylesheet as their shared source of truth. */
footer.hop-shared-footer{
  position:relative;
  box-sizing:border-box;
  display:block;
  isolation:isolate;
  width:100%;
  margin:0;
  min-height:0;
  height:auto;
  aspect-ratio:8/3;
  padding:0;
  border:0;
  overflow:hidden;
  background:#e8c69b url("/assets/poolside-footer-approved.png") center center/100% 100% no-repeat;
}
footer.hop-shared-footer::before,
footer.hop-shared-footer::after{content:none;display:none}
footer.hop-shared-footer>.hop-footer-content{display:none}
@media(max-width:760px){
  footer.hop-shared-footer{
    height:clamp(240px,68vw,330px);
    aspect-ratio:auto;
    background-image:url("/assets/poolside-footer-background.jpg");
    background-size:auto 100%;
    background-position:center center;
  }
  footer.hop-shared-footer>.hop-footer-content{
    position:relative;
    z-index:1;
    box-sizing:border-box;
    display:flex;
    width:100%;
    height:65%;
    margin:0;
    padding:13px 12px 0;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:7px;
  }
  footer.hop-shared-footer .footer-brush{
    display:block;
    position:relative;
    flex:none;
    width:min(92%,470px);
    max-height:42%;
    height:auto;
    margin:0 auto;
    object-fit:contain;
  }
  footer.hop-shared-footer .footer-pool-script{
    display:block;
    position:relative;
    flex:none;
    top:auto;
    right:auto;
    width:clamp(125px,39vw,185px);
    max-height:48%;
    height:auto;
    margin:0 auto;
    object-fit:contain;
  }
}
