/* Align consultation and subscription content with the page and footer grid. */
html body:not([data-page="privacy"]) #ir-contact-consultant .ir-contact-inner,
html body:not([data-page="privacy"]) #ir-newsletter .ir-newsletter-inner {
  width:min(1220px,calc(100% - 40px))!important;
  max-width:none!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}
/* Non-home pages use a narrower footer measure on tablets. */
@media (min-width:621px) and (max-width:1180px) {
  html body:not([data-page="home"]):not([data-page="privacy"]) #ir-contact-consultant .ir-contact-inner,
  html body:not([data-page="home"]):not([data-page="privacy"]) #ir-newsletter .ir-newsletter-inner {
    width:min(1120px,calc(100% - 40px))!important;
  }
}
@media (max-width:620px) {
  html body:not([data-page="privacy"]) #ir-contact-consultant .ir-contact-inner,
  html body:not([data-page="privacy"]) #ir-newsletter .ir-newsletter-inner {
    width:calc(100% - 24px)!important;
  }
}
@media (max-width:360px) {
  html body:not([data-page="home"]):not([data-page="privacy"]) #ir-contact-consultant .ir-contact-inner,
  html body:not([data-page="home"]):not([data-page="privacy"]) #ir-newsletter .ir-newsletter-inner {
    width:calc(100% - 20px)!important;
  }
}

/* Match the homepage's established mobile footer alignment on all pages. */
@media (max-width:620px) {
  html body:not([data-page="home"]) .footer.ir-footer-v208{text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-main{justify-items:center!important;}
  html body:not([data-page="home"]) .ir-footer-brand{width:100%!important;max-width:620px!important;margin-inline:auto!important;text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-brand-logo{width:max-content!important;margin-left:auto!important;margin-right:auto!important;}
  html body:not([data-page="home"]) .ir-footer-about{margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-location{justify-content:center!important;width:100%!important;text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-award{justify-content:center!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-nav-grid{width:100%!important;text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-column h4{text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-column h4::after{left:50%!important;transform:translateX(-50%)!important;}
  html body:not([data-page="home"]) .ir-footer-column>a{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-column>a::before{display:none!important;}
  html body:not([data-page="home"]) .ir-footer-contact-column>a strong,
  html body:not([data-page="home"]) .ir-footer-contact-column>a span{text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-bottom{align-items:center!important;justify-content:center!important;text-align:center!important;}
  html body:not([data-page="home"]) .ir-footer-bottom-links{width:100%!important;justify-content:center!important;}
}
