/* VEHUM shared layout rules, loaded by every site page after the design-system stylesheet.
   In WordPress these belong in the theme stylesheet. `.sc-host-x` is the canvas's component
   wrapper (display:contents); the rules reach through it so they work here and on plain markup. */

@media(max-width:599px){
  /* Hero stat row: one stat per line, value left, label right, hairline between rows */
  .vh-statrow{display:grid!important;grid-template-columns:1fr!important;gap:0!important;border-top:none!important;padding-top:0!important}
  .vh-statrow>:not(.sc-host-x),.vh-statrow>.sc-host-x>*{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-top:1px solid #EDF1F7;min-width:0}
  .vh-statrow>:not(.sc-host-x)>:first-child,.vh-statrow>.sc-host-x>*>:first-child{font-size:22px!important;line-height:1.2!important;flex:0 0 auto}
  .vh-statrow>:not(.sc-host-x)>:last-child,.vh-statrow>.sc-host-x>*>:last-child{text-align:right;margin:0!important;font-size:13px!important;flex:1 1 auto}

  /* Button groups stack full width */
  .vh-btns{flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important}
  .vh-btns>:not(.sc-host-x):not(sc-if),.vh-btns>.sc-host-x>*,.vh-btns>sc-if .sc-host-x>*{width:100%;box-sizing:border-box;justify-content:center;text-align:center}

  /* Closing CTA band: action full width, phone or email link beneath */
  .vh-cta-actions{flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:14px!important;width:100%}
  .vh-cta-actions>.sc-host-x>*{width:100%;box-sizing:border-box;justify-content:center}
  .vh-cta-actions>a{align-self:flex-start}
}
