/* XMS v1.4.04 — compact, centered footer (homepage and inner pages).
 * Overrides earlier footer rules only; does not alter the contact CTA above it.
 */
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-wrap {
  padding-top: clamp(38px, 3.6vw, 56px);
}
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-main {
  padding-bottom: clamp(23px, 2.8vw, 40px);
  column-gap: clamp(24px, 4vw, 70px);
}
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-brand-logo {
  width: auto;
  max-width: 100%;
  margin-bottom: 10px;
}
/* The uploaded WordPress footer logo may be portrait. Remove global header image limits. */
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-brand-logo img {
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 340px) !important;
  max-height: 185px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 20px;
  text-align: center;
}
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-copyright {
  width: 100%;
  margin: 0;
  text-align: center;
}
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-bottom-right {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  text-align: center;
}
/* Do not reintroduce these removed components from cached theme templates. */
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-side-contact,
body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-location { display: none !important; }
@media (max-width: 760px) {
  body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-wrap {
    padding-top: 36px;
    width: calc(100% - 40px);
  }
  body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-main {
    padding-bottom: 30px;
    column-gap: 22px;
    row-gap: 28px;
  }
  body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-brand-logo img {
    max-height: 145px !important;
    max-width: min(100%, 300px) !important;
  }
  body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-bottom-bar {
    padding: 16px 0 20px;
  }
}
@media (max-width: 390px) {
  body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-wrap {
    width: calc(100% - 32px);
  }
  body.xms-theme .xms-footer.xms-footer-orbit .xms-footer-brand-logo img {
    max-height: 125px !important;
  }
}
