/* MPMH_FRONTCONV049 — SELECTED HOME ALIGNMENT + FOOTER REFINEMENT
   Late presentation owner only. Production predecessor remains exact live FRONTCONV044;
   reviewed FRONTCONV045-048 preview work is carried forward. No routing, tracking,
   Signal, Category, form, data-authority, or backend-writer changes. */

@media(min-width:981px){
  /* Give the selected Brand-wall copy a clean column start away from the one-line title. */
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh048-selected-brand-wall-head{
    grid-template-columns:minmax(365px,.50fr) minmax(0,1.50fr)!important;
    gap:34px!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh048-selected-brand-wall-head .mpmh280-section-copy{
    padding-left:6px!important;
  }

  /* Selected wall footer is qualification-only and centered. */
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-brand-wall-footer{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:30px!important;
    padding:7px 14px!important;
    text-align:center!important;
    white-space:normal!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-brand-wall-footer .mpmh048-brand-wall-qualification{
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    text-align:center!important;
  }

  /* Orientation copy belongs to the right discovery column directly above the
     black logo wall. The left-side space at this row is intentionally reserved. */
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-cause-orientation-slot{
    width:100%!important;
    margin:0 0 14px!important;
    padding:0!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-cause-orientation{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    font-size:15px!important;
    line-height:1.52!important;
    text-align:left!important;
  }
  /* Reserve the corresponding left-side band instead of letting Category controls
     climb beside the selected-Cause paragraph. */
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-home-discovery-layout>.mpmh027-category-rail{
    padding-top:58px!important;
  }
}

@media(max-width:980px){
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh048-selected-brand-wall-head .mpmh280-section-copy{
    padding-left:0!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-brand-wall-footer{
    display:flex!important;
    justify-content:center!important;
    text-align:center!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-brand-wall-footer .mpmh048-brand-wall-qualification{
    width:100%!important;
    white-space:normal!important;
    text-align:center!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-cause-orientation-slot{
    margin:0 0 14px!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-selected-cause-orientation{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }
  html.mpmh-frontconv049 body #publicShell #shellMain #mpmh280Home[data-home-state="selected"] .mpmh049-home-discovery-layout>.mpmh027-category-rail{
    padding-top:0!important;
  }
}
