/* v137: keep the next section below the first mobile viewport.
   A minimum height allows long headings, zoom and small screens to grow freely. */
@media(max-width:768px){
 html body#fh-site-theme .hero{box-sizing:border-box!important;min-height:100vh!important;min-height:100svh!important;height:auto!important;max-height:none!important}
 html body#fh-site-theme #hero-section,
 html body#fh-site-theme .guide-hero{box-sizing:border-box!important;min-height:calc(100vh - 105px)!important;min-height:calc(100svh - 105px)!important;height:auto!important;max-height:none!important}
}
/* v140: keep headings and copy together; reserve flexible space before the CTA. */
@media(max-width:768px){
 html body#fh-site-theme .hero>.hero-content{flex:1 0 auto!important;justify-content:flex-start!important}
 html body#fh-site-theme #hero-section{display:flex!important;flex-direction:column!important}
 html body#fh-site-theme #hero-section>.hero-inner{flex:1 0 auto!important;display:flex!important;align-items:stretch!important}
 html body#fh-site-theme #hero-section .hero-box{display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
 html body#fh-site-theme .guide-hero>.guide-hero-inner{flex:1 0 auto!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}
}

@media(max-width:768px){
 html body#fh-site-theme .hero>.hero-content>.fh-hero-copy>.hero-badge,
 html body#fh-site-theme #hero-section .hero-box>.fh-hero-copy>.hero-badge{margin-top:0!important;margin-bottom:12px!important}
 html body#fh-site-theme .hero>.hero-content>.fh-hero-copy>.hero-title,
 html body#fh-site-theme #hero-section .hero-box>.fh-hero-copy>.hero-title{margin-top:0!important;margin-bottom:12px!important}
 html body#fh-site-theme .hero>.hero-content>.fh-hero-copy>.hero-subtitle,
 html body#fh-site-theme #hero-section .hero-box>.fh-hero-copy>.hero-subtitle{margin-top:0!important;margin-bottom:0!important}
 html body#fh-site-theme .hero>.hero-content>.cta-group{margin-top:auto!important;padding-top:24px!important;flex-shrink:0!important}
 html body#fh-site-theme #hero-section .hero-box>button.cta-button{margin-top:auto!important;margin-bottom:0!important;flex-shrink:0!important}
 html body#fh-site-theme #hero-section .hero-box>.fh-hero-copy>.hero-subtitle{padding-bottom:24px!important}
 html body#fh-site-theme #hero-section .hero-box>.hero-tp-row{margin-top:16px!important;flex-shrink:0!important}
}

@media(max-width:768px){
 html body#fh-site-theme .hero .fh-hero-copy,
 html body#fh-site-theme #hero-section .fh-hero-copy{display:flex!important;flex-direction:column!important;flex:1 0 auto!important;justify-content:center!important}
}

/* v141: price-guide copy starts directly below the image, without vertical centring. */
@media(max-width:768px){
 html body#fh-site-theme .hero>.hero-content>.fh-hero-copy{flex:0 0 auto!important;justify-content:flex-start!important}
}
