/* Sun House — compact mobile end-of-page treatment
   Keeps desktop unchanged. Applies to phone portrait and landscape only.
   Important: this file changes only end-section/footer spacing and colours;
   it does not alter page structure or element positioning. */

@media (max-width:932px){
  /* Neutralise the legacy 86px body reserve from sunhouse-mobile-final.css.
     That reserve sat outside the footer and exposed the fixed cover image. */
  body{
    padding-bottom:0!important;
  }

  .sh-final-section{
    min-height:0!important;
    margin:0!important;
    padding:34px 16px 30px!important;
    background:#050505!important;
  }

  .sh-final-section .sh-content-wrap{
    width:min(100% - 28px,760px)!important;
    margin:0 auto!important;
  }

  .sh-final-section .sh-content-eyebrow{
    margin-bottom:8px!important;
  }

  .sh-final-section .sh-content-title{
    max-width:680px!important;
    margin:0 auto!important;
    font-size:clamp(2rem,8.5vw,3.2rem)!important;
    line-height:1.02!important;
  }

  .sh-final-section .sh-content-lead{
    max-width:620px!important;
    margin:14px auto 0!important;
    font-size:.93rem!important;
    line-height:1.5!important;
  }

  .sh-final-section .sh-content-cta{
    width:min(100%,420px)!important;
    min-height:46px!important;
    margin-top:18px!important;
  }

  .footer{
    min-height:0!important;
    margin:0!important;
    padding:16px 14px 18px!important;
    background:#050505!important;
    border-top:1px solid rgba(255,255,255,.07)!important;
    color:rgba(255,255,255,.58)!important;
  }

  .footer>.wrap{
    width:min(100% - 20px,760px)!important;
    max-width:760px!important;
    margin:0 auto!important;
    padding:0!important;
    text-align:center!important;
    font-size:.72rem!important;
    line-height:1.4!important;
  }

  .footer .admin-link{
    opacity:.48!important;
  }

  .footer .avyena-credit{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    margin-top:10px!important;
    padding-top:10px!important;
    border-top:1px solid rgba(255,255,255,.06)!important;
  }

  .footer .avyena-credit-link{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
  }

  .footer .avyena-credit-link img{
    width:22px!important;
    height:22px!important;
    object-fit:contain!important;
  }

  .footer .avyena-credit-name{
    font-size:.72rem!important;
  }
}

/* Keep only enough black footer area behind the fixed bottom navigation.
   No extra space exists after the footer anymore. */
@media (max-width:720px) and (orientation:portrait){
  .footer{
    padding-bottom:86px!important;
  }
}

@media (max-width:932px) and (orientation:landscape){
  .sh-final-section{
    padding:24px 20px 22px!important;
  }

  .sh-final-section .sh-content-title{
    font-size:clamp(1.7rem,4.6vw,2.55rem)!important;
  }

  .sh-final-section .sh-content-lead{
    margin-top:9px!important;
    font-size:.82rem!important;
  }

  .sh-final-section .sh-content-cta{
    width:auto!important;
    min-width:190px!important;
    min-height:42px!important;
    margin-top:13px!important;
  }

  .footer{
    padding:13px 18px 18px!important;
  }
}
